Documentation ¶
Index ¶
- Variables
- type AllocatedComputationalUnit
- func (*AllocatedComputationalUnit) Descriptor() ([]byte, []int)deprecated
- func (x *AllocatedComputationalUnit) GetHost() string
- func (x *AllocatedComputationalUnit) GetPort() uint32
- func (x *AllocatedComputationalUnit) GetUnitKind() string
- func (*AllocatedComputationalUnit) ProtoMessage()
- func (x *AllocatedComputationalUnit) ProtoReflect() protoreflect.Message
- func (x *AllocatedComputationalUnit) Reset()
- func (x *AllocatedComputationalUnit) String() string
- type AlterDatabaseRequest
- func (*AlterDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AlterDatabaseRequest) GetAlterAttributes() map[string]string
- func (x *AlterDatabaseRequest) GetComputationalUnitsToAdd() []*ComputationalUnits
- func (x *AlterDatabaseRequest) GetComputationalUnitsToDeregister() []*AllocatedComputationalUnit
- func (x *AlterDatabaseRequest) GetComputationalUnitsToRegister() []*AllocatedComputationalUnit
- func (x *AlterDatabaseRequest) GetComputationalUnitsToRemove() []*ComputationalUnits
- func (x *AlterDatabaseRequest) GetDatabaseQuotas() *DatabaseQuotas
- func (x *AlterDatabaseRequest) GetGeneration() uint64
- func (x *AlterDatabaseRequest) GetIdempotencyKey() string
- func (x *AlterDatabaseRequest) GetOperationParams() *Ydb_Operations.OperationParams
- func (x *AlterDatabaseRequest) GetPath() string
- func (x *AlterDatabaseRequest) GetSchemaOperationQuotas() *SchemaOperationQuotas
- func (x *AlterDatabaseRequest) GetStorageUnitsToAdd() []*StorageUnits
- func (*AlterDatabaseRequest) ProtoMessage()
- func (x *AlterDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *AlterDatabaseRequest) Reset()
- func (x *AlterDatabaseRequest) String() string
- type AlterDatabaseResponse
- func (*AlterDatabaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AlterDatabaseResponse) GetOperation() *Ydb_Operations.Operation
- func (*AlterDatabaseResponse) ProtoMessage()
- func (x *AlterDatabaseResponse) ProtoReflect() protoreflect.Message
- func (x *AlterDatabaseResponse) Reset()
- func (x *AlterDatabaseResponse) String() string
- type AvailabilityZoneDescription
- func (*AvailabilityZoneDescription) Descriptor() ([]byte, []int)deprecated
- func (x *AvailabilityZoneDescription) GetLabels() map[string]string
- func (x *AvailabilityZoneDescription) GetName() string
- func (*AvailabilityZoneDescription) ProtoMessage()
- func (x *AvailabilityZoneDescription) ProtoReflect() protoreflect.Message
- func (x *AvailabilityZoneDescription) Reset()
- func (x *AvailabilityZoneDescription) String() string
- type ComputationalUnitDescription
- func (*ComputationalUnitDescription) Descriptor() ([]byte, []int)deprecated
- func (x *ComputationalUnitDescription) GetAllowedAvailabilityZones() []string
- func (x *ComputationalUnitDescription) GetKind() string
- func (x *ComputationalUnitDescription) GetLabels() map[string]string
- func (*ComputationalUnitDescription) ProtoMessage()
- func (x *ComputationalUnitDescription) ProtoReflect() protoreflect.Message
- func (x *ComputationalUnitDescription) Reset()
- func (x *ComputationalUnitDescription) String() string
- type ComputationalUnits
- func (*ComputationalUnits) Descriptor() ([]byte, []int)deprecated
- func (x *ComputationalUnits) GetAvailabilityZone() string
- func (x *ComputationalUnits) GetCount() uint64
- func (x *ComputationalUnits) GetUnitKind() string
- func (*ComputationalUnits) ProtoMessage()
- func (x *ComputationalUnits) ProtoReflect() protoreflect.Message
- func (x *ComputationalUnits) Reset()
- func (x *ComputationalUnits) String() string
- type CreateDatabaseRequest
- func (*CreateDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDatabaseRequest) GetAttributes() map[string]string
- func (x *CreateDatabaseRequest) GetDatabaseQuotas() *DatabaseQuotas
- func (x *CreateDatabaseRequest) GetIdempotencyKey() string
- func (x *CreateDatabaseRequest) GetOperationParams() *Ydb_Operations.OperationParams
- func (x *CreateDatabaseRequest) GetOptions() *DatabaseOptions
- func (x *CreateDatabaseRequest) GetPath() string
- func (x *CreateDatabaseRequest) GetResources() *Resources
- func (m *CreateDatabaseRequest) GetResourcesKind() isCreateDatabaseRequest_ResourcesKind
- func (x *CreateDatabaseRequest) GetSchemaOperationQuotas() *SchemaOperationQuotas
- func (x *CreateDatabaseRequest) GetServerlessResources() *ServerlessResources
- func (x *CreateDatabaseRequest) GetSharedResources() *Resources
- func (*CreateDatabaseRequest) ProtoMessage()
- func (x *CreateDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDatabaseRequest) Reset()
- func (x *CreateDatabaseRequest) String() string
- type CreateDatabaseRequest_Resources
- type CreateDatabaseRequest_ServerlessResources
- type CreateDatabaseRequest_SharedResources
- type CreateDatabaseResponse
- func (*CreateDatabaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDatabaseResponse) GetOperation() *Ydb_Operations.Operation
- func (*CreateDatabaseResponse) ProtoMessage()
- func (x *CreateDatabaseResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDatabaseResponse) Reset()
- func (x *CreateDatabaseResponse) String() string
- type DatabaseOptions
- func (*DatabaseOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseOptions) GetDisableExternalSubdomain() bool
- func (x *DatabaseOptions) GetDisableTxService() bool
- func (x *DatabaseOptions) GetPlanResolution() uint32
- func (*DatabaseOptions) ProtoMessage()
- func (x *DatabaseOptions) ProtoReflect() protoreflect.Message
- func (x *DatabaseOptions) Reset()
- func (x *DatabaseOptions) String() string
- type DatabaseQuotas
- func (*DatabaseQuotas) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseQuotas) GetDataSizeHardQuota() uint64
- func (x *DatabaseQuotas) GetDataSizeSoftQuota() uint64
- func (x *DatabaseQuotas) GetDataStreamReservedStorageQuota() uint64
- func (x *DatabaseQuotas) GetDataStreamShardsQuota() uint64
- func (x *DatabaseQuotas) GetTtlMinRunInternalSeconds() uint32
- func (*DatabaseQuotas) ProtoMessage()
- func (x *DatabaseQuotas) ProtoReflect() protoreflect.Message
- func (x *DatabaseQuotas) Reset()
- func (x *DatabaseQuotas) String() string
- type DescribeDatabaseOptionsRequest
- func (*DescribeDatabaseOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeDatabaseOptionsRequest) GetOperationParams() *Ydb_Operations.OperationParams
- func (*DescribeDatabaseOptionsRequest) ProtoMessage()
- func (x *DescribeDatabaseOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeDatabaseOptionsRequest) Reset()
- func (x *DescribeDatabaseOptionsRequest) String() string
- type DescribeDatabaseOptionsResponse
- func (*DescribeDatabaseOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeDatabaseOptionsResponse) GetOperation() *Ydb_Operations.Operation
- func (*DescribeDatabaseOptionsResponse) ProtoMessage()
- func (x *DescribeDatabaseOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeDatabaseOptionsResponse) Reset()
- func (x *DescribeDatabaseOptionsResponse) String() string
- type DescribeDatabaseOptionsResult
- func (*DescribeDatabaseOptionsResult) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeDatabaseOptionsResult) GetAvailabilityZones() []*AvailabilityZoneDescription
- func (x *DescribeDatabaseOptionsResult) GetComputationalUnits() []*ComputationalUnitDescription
- func (x *DescribeDatabaseOptionsResult) GetStorageUnits() []*StorageUnitDescription
- func (*DescribeDatabaseOptionsResult) ProtoMessage()
- func (x *DescribeDatabaseOptionsResult) ProtoReflect() protoreflect.Message
- func (x *DescribeDatabaseOptionsResult) Reset()
- func (x *DescribeDatabaseOptionsResult) String() string
- type GetDatabaseStatusRequest
- func (*GetDatabaseStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDatabaseStatusRequest) GetOperationParams() *Ydb_Operations.OperationParams
- func (x *GetDatabaseStatusRequest) GetPath() string
- func (*GetDatabaseStatusRequest) ProtoMessage()
- func (x *GetDatabaseStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetDatabaseStatusRequest) Reset()
- func (x *GetDatabaseStatusRequest) String() string
- type GetDatabaseStatusResponse
- func (*GetDatabaseStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDatabaseStatusResponse) GetOperation() *Ydb_Operations.Operation
- func (*GetDatabaseStatusResponse) ProtoMessage()
- func (x *GetDatabaseStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetDatabaseStatusResponse) Reset()
- func (x *GetDatabaseStatusResponse) String() string
- type GetDatabaseStatusResult
- func (*GetDatabaseStatusResult) Descriptor() ([]byte, []int)deprecated
- func (x *GetDatabaseStatusResult) GetAllocatedResources() *Resources
- func (x *GetDatabaseStatusResult) GetDatabaseQuotas() *DatabaseQuotas
- func (x *GetDatabaseStatusResult) GetGeneration() uint64
- func (x *GetDatabaseStatusResult) GetPath() string
- func (x *GetDatabaseStatusResult) GetRegisteredResources() []*AllocatedComputationalUnit
- func (x *GetDatabaseStatusResult) GetRequiredResources() *Resources
- func (x *GetDatabaseStatusResult) GetRequiredSharedResources() *Resources
- func (m *GetDatabaseStatusResult) GetResourcesKind() isGetDatabaseStatusResult_ResourcesKind
- func (x *GetDatabaseStatusResult) GetSchemaOperationQuotas() *SchemaOperationQuotas
- func (x *GetDatabaseStatusResult) GetServerlessResources() *ServerlessResources
- func (x *GetDatabaseStatusResult) GetState() GetDatabaseStatusResult_State
- func (*GetDatabaseStatusResult) ProtoMessage()
- func (x *GetDatabaseStatusResult) ProtoReflect() protoreflect.Message
- func (x *GetDatabaseStatusResult) Reset()
- func (x *GetDatabaseStatusResult) String() string
- type GetDatabaseStatusResult_RequiredResources
- type GetDatabaseStatusResult_RequiredSharedResources
- type GetDatabaseStatusResult_ServerlessResources
- type GetDatabaseStatusResult_State
- func (GetDatabaseStatusResult_State) Descriptor() protoreflect.EnumDescriptor
- func (x GetDatabaseStatusResult_State) Enum() *GetDatabaseStatusResult_State
- func (GetDatabaseStatusResult_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetDatabaseStatusResult_State) Number() protoreflect.EnumNumber
- func (x GetDatabaseStatusResult_State) String() string
- func (GetDatabaseStatusResult_State) Type() protoreflect.EnumType
- type ListDatabasesRequest
- func (*ListDatabasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatabasesRequest) GetOperationParams() *Ydb_Operations.OperationParams
- func (*ListDatabasesRequest) ProtoMessage()
- func (x *ListDatabasesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDatabasesRequest) Reset()
- func (x *ListDatabasesRequest) String() string
- type ListDatabasesResponse
- func (*ListDatabasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatabasesResponse) GetOperation() *Ydb_Operations.Operation
- func (*ListDatabasesResponse) ProtoMessage()
- func (x *ListDatabasesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDatabasesResponse) Reset()
- func (x *ListDatabasesResponse) String() string
- type ListDatabasesResult
- func (*ListDatabasesResult) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatabasesResult) GetPaths() []string
- func (*ListDatabasesResult) ProtoMessage()
- func (x *ListDatabasesResult) ProtoReflect() protoreflect.Message
- func (x *ListDatabasesResult) Reset()
- func (x *ListDatabasesResult) String() string
- type RemoveDatabaseRequest
- func (*RemoveDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDatabaseRequest) GetOperationParams() *Ydb_Operations.OperationParams
- func (x *RemoveDatabaseRequest) GetPath() string
- func (*RemoveDatabaseRequest) ProtoMessage()
- func (x *RemoveDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveDatabaseRequest) Reset()
- func (x *RemoveDatabaseRequest) String() string
- type RemoveDatabaseResponse
- func (*RemoveDatabaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDatabaseResponse) GetOperation() *Ydb_Operations.Operation
- func (*RemoveDatabaseResponse) ProtoMessage()
- func (x *RemoveDatabaseResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveDatabaseResponse) Reset()
- func (x *RemoveDatabaseResponse) String() string
- type Resources
- func (*Resources) Descriptor() ([]byte, []int)deprecated
- func (x *Resources) GetComputationalUnits() []*ComputationalUnits
- func (x *Resources) GetStorageUnits() []*StorageUnits
- func (*Resources) ProtoMessage()
- func (x *Resources) ProtoReflect() protoreflect.Message
- func (x *Resources) Reset()
- func (x *Resources) String() string
- type SchemaOperationQuotas
- func (*SchemaOperationQuotas) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaOperationQuotas) GetLeakyBucketQuotas() []*SchemaOperationQuotas_LeakyBucket
- func (*SchemaOperationQuotas) ProtoMessage()
- func (x *SchemaOperationQuotas) ProtoReflect() protoreflect.Message
- func (x *SchemaOperationQuotas) Reset()
- func (x *SchemaOperationQuotas) String() string
- type SchemaOperationQuotas_LeakyBucket
- func (*SchemaOperationQuotas_LeakyBucket) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaOperationQuotas_LeakyBucket) GetBucketSeconds() uint64
- func (x *SchemaOperationQuotas_LeakyBucket) GetBucketSize() float64
- func (*SchemaOperationQuotas_LeakyBucket) ProtoMessage()
- func (x *SchemaOperationQuotas_LeakyBucket) ProtoReflect() protoreflect.Message
- func (x *SchemaOperationQuotas_LeakyBucket) Reset()
- func (x *SchemaOperationQuotas_LeakyBucket) String() string
- type ServerlessResources
- func (*ServerlessResources) Descriptor() ([]byte, []int)deprecated
- func (x *ServerlessResources) GetSharedDatabasePath() string
- func (*ServerlessResources) ProtoMessage()
- func (x *ServerlessResources) ProtoReflect() protoreflect.Message
- func (x *ServerlessResources) Reset()
- func (x *ServerlessResources) String() string
- type StorageUnitDescription
- func (*StorageUnitDescription) Descriptor() ([]byte, []int)deprecated
- func (x *StorageUnitDescription) GetKind() string
- func (x *StorageUnitDescription) GetLabels() map[string]string
- func (*StorageUnitDescription) ProtoMessage()
- func (x *StorageUnitDescription) ProtoReflect() protoreflect.Message
- func (x *StorageUnitDescription) Reset()
- func (x *StorageUnitDescription) String() string
- type StorageUnits
- func (*StorageUnits) Descriptor() ([]byte, []int)deprecated
- func (x *StorageUnits) GetCount() uint64
- func (x *StorageUnits) GetUnitKind() string
- func (*StorageUnits) ProtoMessage()
- func (x *StorageUnits) ProtoReflect() protoreflect.Message
- func (x *StorageUnits) Reset()
- func (x *StorageUnits) String() string
Constants ¶
This section is empty.
Variables ¶
var ( GetDatabaseStatusResult_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "RUNNING", 3: "REMOVING", 4: "PENDING_RESOURCES", 5: "CONFIGURING", } GetDatabaseStatusResult_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "RUNNING": 2, "REMOVING": 3, "PENDING_RESOURCES": 4, "CONFIGURING": 5, } )
Enum value maps for GetDatabaseStatusResult_State.
var File_protos_ydb_cms_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AllocatedComputationalUnit ¶
type AllocatedComputationalUnit struct { // Required. Computational unit host name. Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // Required. Computational unit port. Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // Required. Computational unit kind. UnitKind string `protobuf:"bytes,3,opt,name=unit_kind,json=unitKind,proto3" json:"unit_kind,omitempty"` // contains filtered or unexported fields }
Computational unit allocated for database. Used to register externally allocated computational resources in CMS.
func (*AllocatedComputationalUnit) Descriptor
deprecated
func (*AllocatedComputationalUnit) Descriptor() ([]byte, []int)
Deprecated: Use AllocatedComputationalUnit.ProtoReflect.Descriptor instead.
func (*AllocatedComputationalUnit) GetHost ¶
func (x *AllocatedComputationalUnit) GetHost() string
func (*AllocatedComputationalUnit) GetPort ¶
func (x *AllocatedComputationalUnit) GetPort() uint32
func (*AllocatedComputationalUnit) GetUnitKind ¶
func (x *AllocatedComputationalUnit) GetUnitKind() string
func (*AllocatedComputationalUnit) ProtoMessage ¶
func (*AllocatedComputationalUnit) ProtoMessage()
func (*AllocatedComputationalUnit) ProtoReflect ¶
func (x *AllocatedComputationalUnit) ProtoReflect() protoreflect.Message
func (*AllocatedComputationalUnit) Reset ¶
func (x *AllocatedComputationalUnit) Reset()
func (*AllocatedComputationalUnit) String ¶
func (x *AllocatedComputationalUnit) String() string
type AlterDatabaseRequest ¶
type AlterDatabaseRequest struct { // Required. Full path to database's home dir. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Additional computational units to allocate for database. ComputationalUnitsToAdd []*ComputationalUnits `` /* 134-byte string literal not displayed */ // Computational units to deallocate. ComputationalUnitsToRemove []*ComputationalUnits `` /* 143-byte string literal not displayed */ // Additional storage units to allocate for database. StorageUnitsToAdd []*StorageUnits `protobuf:"bytes,4,rep,name=storage_units_to_add,json=storageUnitsToAdd,proto3" json:"storage_units_to_add,omitempty"` // Externally allocated computational units to register for database. ComputationalUnitsToRegister []*AllocatedComputationalUnit `` /* 149-byte string literal not displayed */ // Externally allocated computational units to deregister. ComputationalUnitsToDeregister []*AllocatedComputationalUnit `` /* 155-byte string literal not displayed */ // Operation parameters. OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,7,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"` // Current generation of altered database. Generation uint64 `protobuf:"varint,8,opt,name=generation,proto3" json:"generation,omitempty"` // Change quotas for schema operations SchemaOperationQuotas *SchemaOperationQuotas `` /* 126-byte string literal not displayed */ // Optional idempotency key IdempotencyKey string `protobuf:"bytes,10,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"` // Change quotas for the database DatabaseQuotas *DatabaseQuotas `protobuf:"bytes,11,opt,name=database_quotas,json=databaseQuotas,proto3" json:"database_quotas,omitempty"` // Alter attributes. Leave the value blank to drop an attribute. AlterAttributes map[string]string `` /* 195-byte string literal not displayed */ // contains filtered or unexported fields }
Change resources allocated for database.
func (*AlterDatabaseRequest) Descriptor
deprecated
func (*AlterDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use AlterDatabaseRequest.ProtoReflect.Descriptor instead.
func (*AlterDatabaseRequest) GetAlterAttributes ¶
func (x *AlterDatabaseRequest) GetAlterAttributes() map[string]string
func (*AlterDatabaseRequest) GetComputationalUnitsToAdd ¶
func (x *AlterDatabaseRequest) GetComputationalUnitsToAdd() []*ComputationalUnits
func (*AlterDatabaseRequest) GetComputationalUnitsToDeregister ¶
func (x *AlterDatabaseRequest) GetComputationalUnitsToDeregister() []*AllocatedComputationalUnit
func (*AlterDatabaseRequest) GetComputationalUnitsToRegister ¶
func (x *AlterDatabaseRequest) GetComputationalUnitsToRegister() []*AllocatedComputationalUnit
func (*AlterDatabaseRequest) GetComputationalUnitsToRemove ¶
func (x *AlterDatabaseRequest) GetComputationalUnitsToRemove() []*ComputationalUnits
func (*AlterDatabaseRequest) GetDatabaseQuotas ¶
func (x *AlterDatabaseRequest) GetDatabaseQuotas() *DatabaseQuotas
func (*AlterDatabaseRequest) GetGeneration ¶
func (x *AlterDatabaseRequest) GetGeneration() uint64
func (*AlterDatabaseRequest) GetIdempotencyKey ¶
func (x *AlterDatabaseRequest) GetIdempotencyKey() string
func (*AlterDatabaseRequest) GetOperationParams ¶
func (x *AlterDatabaseRequest) GetOperationParams() *Ydb_Operations.OperationParams
func (*AlterDatabaseRequest) GetPath ¶
func (x *AlterDatabaseRequest) GetPath() string
func (*AlterDatabaseRequest) GetSchemaOperationQuotas ¶
func (x *AlterDatabaseRequest) GetSchemaOperationQuotas() *SchemaOperationQuotas
func (*AlterDatabaseRequest) GetStorageUnitsToAdd ¶
func (x *AlterDatabaseRequest) GetStorageUnitsToAdd() []*StorageUnits
func (*AlterDatabaseRequest) ProtoMessage ¶
func (*AlterDatabaseRequest) ProtoMessage()
func (*AlterDatabaseRequest) ProtoReflect ¶
func (x *AlterDatabaseRequest) ProtoReflect() protoreflect.Message
func (*AlterDatabaseRequest) Reset ¶
func (x *AlterDatabaseRequest) Reset()
func (*AlterDatabaseRequest) String ¶
func (x *AlterDatabaseRequest) String() string
type AlterDatabaseResponse ¶
type AlterDatabaseResponse struct { Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*AlterDatabaseResponse) Descriptor
deprecated
func (*AlterDatabaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use AlterDatabaseResponse.ProtoReflect.Descriptor instead.
func (*AlterDatabaseResponse) GetOperation ¶
func (x *AlterDatabaseResponse) GetOperation() *Ydb_Operations.Operation
func (*AlterDatabaseResponse) ProtoMessage ¶
func (*AlterDatabaseResponse) ProtoMessage()
func (*AlterDatabaseResponse) ProtoReflect ¶
func (x *AlterDatabaseResponse) ProtoReflect() protoreflect.Message
func (*AlterDatabaseResponse) Reset ¶
func (x *AlterDatabaseResponse) Reset()
func (*AlterDatabaseResponse) String ¶
func (x *AlterDatabaseResponse) String() string
type AvailabilityZoneDescription ¶
type AvailabilityZoneDescription struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AvailabilityZoneDescription) Descriptor
deprecated
func (*AvailabilityZoneDescription) Descriptor() ([]byte, []int)
Deprecated: Use AvailabilityZoneDescription.ProtoReflect.Descriptor instead.
func (*AvailabilityZoneDescription) GetLabels ¶
func (x *AvailabilityZoneDescription) GetLabels() map[string]string
func (*AvailabilityZoneDescription) GetName ¶
func (x *AvailabilityZoneDescription) GetName() string
func (*AvailabilityZoneDescription) ProtoMessage ¶
func (*AvailabilityZoneDescription) ProtoMessage()
func (*AvailabilityZoneDescription) ProtoReflect ¶
func (x *AvailabilityZoneDescription) ProtoReflect() protoreflect.Message
func (*AvailabilityZoneDescription) Reset ¶
func (x *AvailabilityZoneDescription) Reset()
func (*AvailabilityZoneDescription) String ¶
func (x *AvailabilityZoneDescription) String() string
type ComputationalUnitDescription ¶
type ComputationalUnitDescription struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ AllowedAvailabilityZones []string `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ComputationalUnitDescription) Descriptor
deprecated
func (*ComputationalUnitDescription) Descriptor() ([]byte, []int)
Deprecated: Use ComputationalUnitDescription.ProtoReflect.Descriptor instead.
func (*ComputationalUnitDescription) GetAllowedAvailabilityZones ¶
func (x *ComputationalUnitDescription) GetAllowedAvailabilityZones() []string
func (*ComputationalUnitDescription) GetKind ¶
func (x *ComputationalUnitDescription) GetKind() string
func (*ComputationalUnitDescription) GetLabels ¶
func (x *ComputationalUnitDescription) GetLabels() map[string]string
func (*ComputationalUnitDescription) ProtoMessage ¶
func (*ComputationalUnitDescription) ProtoMessage()
func (*ComputationalUnitDescription) ProtoReflect ¶
func (x *ComputationalUnitDescription) ProtoReflect() protoreflect.Message
func (*ComputationalUnitDescription) Reset ¶
func (x *ComputationalUnitDescription) Reset()
func (*ComputationalUnitDescription) String ¶
func (x *ComputationalUnitDescription) String() string
type ComputationalUnits ¶
type ComputationalUnits struct { // Required. Kind of the computational unit. Determine main // unit parameters like available memory, CPU, etc. UnitKind string `protobuf:"bytes,1,opt,name=unit_kind,json=unitKind,proto3" json:"unit_kind,omitempty"` // The availability zone all unit should be located in. // By default any availability zone can be used. AvailabilityZone string `protobuf:"bytes,2,opt,name=availability_zone,json=availabilityZone,proto3" json:"availability_zone,omitempty"` // Required. The number of units in this set. Count uint64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
A set of uniform computational units.
func (*ComputationalUnits) Descriptor
deprecated
func (*ComputationalUnits) Descriptor() ([]byte, []int)
Deprecated: Use ComputationalUnits.ProtoReflect.Descriptor instead.
func (*ComputationalUnits) GetAvailabilityZone ¶
func (x *ComputationalUnits) GetAvailabilityZone() string
func (*ComputationalUnits) GetCount ¶
func (x *ComputationalUnits) GetCount() uint64
func (*ComputationalUnits) GetUnitKind ¶
func (x *ComputationalUnits) GetUnitKind() string
func (*ComputationalUnits) ProtoMessage ¶
func (*ComputationalUnits) ProtoMessage()
func (*ComputationalUnits) ProtoReflect ¶
func (x *ComputationalUnits) ProtoReflect() protoreflect.Message
func (*ComputationalUnits) Reset ¶
func (x *ComputationalUnits) Reset()
func (*ComputationalUnits) String ¶
func (x *ComputationalUnits) String() string
type CreateDatabaseRequest ¶
type CreateDatabaseRequest struct { OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"` // Required. Full path to database's home dir. Used as database ID. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // Types that are assignable to ResourcesKind: // // *CreateDatabaseRequest_Resources // *CreateDatabaseRequest_SharedResources // *CreateDatabaseRequest_ServerlessResources ResourcesKind isCreateDatabaseRequest_ResourcesKind `protobuf_oneof:"resources_kind"` // Additional database options. Options *DatabaseOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"` // Attach attributes to database. Attributes map[string]string `` /* 161-byte string literal not displayed */ // Optional quotas for schema operations SchemaOperationQuotas *SchemaOperationQuotas `` /* 126-byte string literal not displayed */ // Optional idempotency key IdempotencyKey string `protobuf:"bytes,9,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"` // Optional quotas for the database DatabaseQuotas *DatabaseQuotas `protobuf:"bytes,10,opt,name=database_quotas,json=databaseQuotas,proto3" json:"database_quotas,omitempty"` // contains filtered or unexported fields }
Request to create a new database. For successfull creation specified database shouldn't exist. At least one storage unit should be requested for the database.
func (*CreateDatabaseRequest) Descriptor
deprecated
func (*CreateDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDatabaseRequest.ProtoReflect.Descriptor instead.
func (*CreateDatabaseRequest) GetAttributes ¶
func (x *CreateDatabaseRequest) GetAttributes() map[string]string
func (*CreateDatabaseRequest) GetDatabaseQuotas ¶
func (x *CreateDatabaseRequest) GetDatabaseQuotas() *DatabaseQuotas
func (*CreateDatabaseRequest) GetIdempotencyKey ¶
func (x *CreateDatabaseRequest) GetIdempotencyKey() string
func (*CreateDatabaseRequest) GetOperationParams ¶
func (x *CreateDatabaseRequest) GetOperationParams() *Ydb_Operations.OperationParams
func (*CreateDatabaseRequest) GetOptions ¶
func (x *CreateDatabaseRequest) GetOptions() *DatabaseOptions
func (*CreateDatabaseRequest) GetPath ¶
func (x *CreateDatabaseRequest) GetPath() string
func (*CreateDatabaseRequest) GetResources ¶
func (x *CreateDatabaseRequest) GetResources() *Resources
func (*CreateDatabaseRequest) GetResourcesKind ¶
func (m *CreateDatabaseRequest) GetResourcesKind() isCreateDatabaseRequest_ResourcesKind
func (*CreateDatabaseRequest) GetSchemaOperationQuotas ¶
func (x *CreateDatabaseRequest) GetSchemaOperationQuotas() *SchemaOperationQuotas
func (*CreateDatabaseRequest) GetServerlessResources ¶
func (x *CreateDatabaseRequest) GetServerlessResources() *ServerlessResources
func (*CreateDatabaseRequest) GetSharedResources ¶
func (x *CreateDatabaseRequest) GetSharedResources() *Resources
func (*CreateDatabaseRequest) ProtoMessage ¶
func (*CreateDatabaseRequest) ProtoMessage()
func (*CreateDatabaseRequest) ProtoReflect ¶
func (x *CreateDatabaseRequest) ProtoReflect() protoreflect.Message
func (*CreateDatabaseRequest) Reset ¶
func (x *CreateDatabaseRequest) Reset()
func (*CreateDatabaseRequest) String ¶
func (x *CreateDatabaseRequest) String() string
type CreateDatabaseRequest_Resources ¶
type CreateDatabaseRequest_Resources struct { // Resources to allocate for database by CMS. Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3,oneof"` }
type CreateDatabaseRequest_ServerlessResources ¶
type CreateDatabaseRequest_ServerlessResources struct { // If specified, the created database will be "serverless". ServerlessResources *ServerlessResources `protobuf:"bytes,7,opt,name=serverless_resources,json=serverlessResources,proto3,oneof"` }
type CreateDatabaseRequest_SharedResources ¶
type CreateDatabaseRequest_SharedResources struct { Resources `protobuf:"bytes,6,opt,name=shared_resources,json=sharedResources,proto3,oneof"` }SharedResources *
type CreateDatabaseResponse ¶
type CreateDatabaseResponse struct { Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*CreateDatabaseResponse) Descriptor
deprecated
func (*CreateDatabaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDatabaseResponse.ProtoReflect.Descriptor instead.
func (*CreateDatabaseResponse) GetOperation ¶
func (x *CreateDatabaseResponse) GetOperation() *Ydb_Operations.Operation
func (*CreateDatabaseResponse) ProtoMessage ¶
func (*CreateDatabaseResponse) ProtoMessage()
func (*CreateDatabaseResponse) ProtoReflect ¶
func (x *CreateDatabaseResponse) ProtoReflect() protoreflect.Message
func (*CreateDatabaseResponse) Reset ¶
func (x *CreateDatabaseResponse) Reset()
func (*CreateDatabaseResponse) String ¶
func (x *CreateDatabaseResponse) String() string
type DatabaseOptions ¶
type DatabaseOptions struct { // Do not initialize services required for transactions processing. DisableTxService bool `protobuf:"varint,1,opt,name=disable_tx_service,json=disableTxService,proto3" json:"disable_tx_service,omitempty"` // Old-style database, do not create external schemeshard for database DisableExternalSubdomain bool `` /* 136-byte string literal not displayed */ // Transaction plan resolution in milliseconds PlanResolution uint32 `protobuf:"varint,3,opt,name=plan_resolution,json=planResolution,proto3" json:"plan_resolution,omitempty"` // contains filtered or unexported fields }
func (*DatabaseOptions) Descriptor
deprecated
func (*DatabaseOptions) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseOptions.ProtoReflect.Descriptor instead.
func (*DatabaseOptions) GetDisableExternalSubdomain ¶
func (x *DatabaseOptions) GetDisableExternalSubdomain() bool
func (*DatabaseOptions) GetDisableTxService ¶
func (x *DatabaseOptions) GetDisableTxService() bool
func (*DatabaseOptions) GetPlanResolution ¶
func (x *DatabaseOptions) GetPlanResolution() uint32
func (*DatabaseOptions) ProtoMessage ¶
func (*DatabaseOptions) ProtoMessage()
func (*DatabaseOptions) ProtoReflect ¶
func (x *DatabaseOptions) ProtoReflect() protoreflect.Message
func (*DatabaseOptions) Reset ¶
func (x *DatabaseOptions) Reset()
func (*DatabaseOptions) String ¶
func (x *DatabaseOptions) String() string
type DatabaseQuotas ¶
type DatabaseQuotas struct { // A maximum data size in bytes, new data will be rejected when exceeded DataSizeHardQuota uint64 `protobuf:"varint,1,opt,name=data_size_hard_quota,json=dataSizeHardQuota,proto3" json:"data_size_hard_quota,omitempty"` // An optional size in bytes (lower than data_size_hard_quota). When data // size becomes lower than this value new data ingestion is re-enabled // again. This is useful to help avoid database from rapidly entering and // exiting from the overloaded state. DataSizeSoftQuota uint64 `protobuf:"varint,2,opt,name=data_size_soft_quota,json=dataSizeSoftQuota,proto3" json:"data_size_soft_quota,omitempty"` // A maximum count of shards in all data streams. DataStreamShardsQuota uint64 `` /* 129-byte string literal not displayed */ // A maximum storage that will be reserved for all data stream shards. DataStreamReservedStorageQuota uint64 `` /* 158-byte string literal not displayed */ // A minimum value of `TtlSettings.run_interval_seconds` that can be specified. // Default is 1800 (15 minutes). TtlMinRunInternalSeconds uint32 `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
A set of quotas for the database
func (*DatabaseQuotas) Descriptor
deprecated
func (*DatabaseQuotas) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseQuotas.ProtoReflect.Descriptor instead.
func (*DatabaseQuotas) GetDataSizeHardQuota ¶
func (x *DatabaseQuotas) GetDataSizeHardQuota() uint64
func (*DatabaseQuotas) GetDataSizeSoftQuota ¶
func (x *DatabaseQuotas) GetDataSizeSoftQuota() uint64
func (*DatabaseQuotas) GetDataStreamReservedStorageQuota ¶
func (x *DatabaseQuotas) GetDataStreamReservedStorageQuota() uint64
func (*DatabaseQuotas) GetDataStreamShardsQuota ¶
func (x *DatabaseQuotas) GetDataStreamShardsQuota() uint64
func (*DatabaseQuotas) GetTtlMinRunInternalSeconds ¶
func (x *DatabaseQuotas) GetTtlMinRunInternalSeconds() uint32
func (*DatabaseQuotas) ProtoMessage ¶
func (*DatabaseQuotas) ProtoMessage()
func (*DatabaseQuotas) ProtoReflect ¶
func (x *DatabaseQuotas) ProtoReflect() protoreflect.Message
func (*DatabaseQuotas) Reset ¶
func (x *DatabaseQuotas) Reset()
func (*DatabaseQuotas) String ¶
func (x *DatabaseQuotas) String() string
type DescribeDatabaseOptionsRequest ¶
type DescribeDatabaseOptionsRequest struct { // Operation parameters OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"` // contains filtered or unexported fields }
func (*DescribeDatabaseOptionsRequest) Descriptor
deprecated
func (*DescribeDatabaseOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeDatabaseOptionsRequest.ProtoReflect.Descriptor instead.
func (*DescribeDatabaseOptionsRequest) GetOperationParams ¶
func (x *DescribeDatabaseOptionsRequest) GetOperationParams() *Ydb_Operations.OperationParams
func (*DescribeDatabaseOptionsRequest) ProtoMessage ¶
func (*DescribeDatabaseOptionsRequest) ProtoMessage()
func (*DescribeDatabaseOptionsRequest) ProtoReflect ¶
func (x *DescribeDatabaseOptionsRequest) ProtoReflect() protoreflect.Message
func (*DescribeDatabaseOptionsRequest) Reset ¶
func (x *DescribeDatabaseOptionsRequest) Reset()
func (*DescribeDatabaseOptionsRequest) String ¶
func (x *DescribeDatabaseOptionsRequest) String() string
type DescribeDatabaseOptionsResponse ¶
type DescribeDatabaseOptionsResponse struct { // operation.result holds DescribeDatabaseOptionsResult Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*DescribeDatabaseOptionsResponse) Descriptor
deprecated
func (*DescribeDatabaseOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeDatabaseOptionsResponse.ProtoReflect.Descriptor instead.
func (*DescribeDatabaseOptionsResponse) GetOperation ¶
func (x *DescribeDatabaseOptionsResponse) GetOperation() *Ydb_Operations.Operation
func (*DescribeDatabaseOptionsResponse) ProtoMessage ¶
func (*DescribeDatabaseOptionsResponse) ProtoMessage()
func (*DescribeDatabaseOptionsResponse) ProtoReflect ¶
func (x *DescribeDatabaseOptionsResponse) ProtoReflect() protoreflect.Message
func (*DescribeDatabaseOptionsResponse) Reset ¶
func (x *DescribeDatabaseOptionsResponse) Reset()
func (*DescribeDatabaseOptionsResponse) String ¶
func (x *DescribeDatabaseOptionsResponse) String() string
type DescribeDatabaseOptionsResult ¶
type DescribeDatabaseOptionsResult struct { StorageUnits []*StorageUnitDescription `protobuf:"bytes,1,rep,name=storage_units,json=storageUnits,proto3" json:"storage_units,omitempty"` AvailabilityZones []*AvailabilityZoneDescription `protobuf:"bytes,2,rep,name=availability_zones,json=availabilityZones,proto3" json:"availability_zones,omitempty"` ComputationalUnits []*ComputationalUnitDescription `protobuf:"bytes,3,rep,name=computational_units,json=computationalUnits,proto3" json:"computational_units,omitempty"` // contains filtered or unexported fields }
func (*DescribeDatabaseOptionsResult) Descriptor
deprecated
func (*DescribeDatabaseOptionsResult) Descriptor() ([]byte, []int)
Deprecated: Use DescribeDatabaseOptionsResult.ProtoReflect.Descriptor instead.
func (*DescribeDatabaseOptionsResult) GetAvailabilityZones ¶
func (x *DescribeDatabaseOptionsResult) GetAvailabilityZones() []*AvailabilityZoneDescription
func (*DescribeDatabaseOptionsResult) GetComputationalUnits ¶
func (x *DescribeDatabaseOptionsResult) GetComputationalUnits() []*ComputationalUnitDescription
func (*DescribeDatabaseOptionsResult) GetStorageUnits ¶
func (x *DescribeDatabaseOptionsResult) GetStorageUnits() []*StorageUnitDescription
func (*DescribeDatabaseOptionsResult) ProtoMessage ¶
func (*DescribeDatabaseOptionsResult) ProtoMessage()
func (*DescribeDatabaseOptionsResult) ProtoReflect ¶
func (x *DescribeDatabaseOptionsResult) ProtoReflect() protoreflect.Message
func (*DescribeDatabaseOptionsResult) Reset ¶
func (x *DescribeDatabaseOptionsResult) Reset()
func (*DescribeDatabaseOptionsResult) String ¶
func (x *DescribeDatabaseOptionsResult) String() string
type GetDatabaseStatusRequest ¶
type GetDatabaseStatusRequest struct { // Required. Full path to database's home dir. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Operation parameters OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,2,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"` // contains filtered or unexported fields }
Get current database status.
func (*GetDatabaseStatusRequest) Descriptor
deprecated
func (*GetDatabaseStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDatabaseStatusRequest.ProtoReflect.Descriptor instead.
func (*GetDatabaseStatusRequest) GetOperationParams ¶
func (x *GetDatabaseStatusRequest) GetOperationParams() *Ydb_Operations.OperationParams
func (*GetDatabaseStatusRequest) GetPath ¶
func (x *GetDatabaseStatusRequest) GetPath() string
func (*GetDatabaseStatusRequest) ProtoMessage ¶
func (*GetDatabaseStatusRequest) ProtoMessage()
func (*GetDatabaseStatusRequest) ProtoReflect ¶
func (x *GetDatabaseStatusRequest) ProtoReflect() protoreflect.Message
func (*GetDatabaseStatusRequest) Reset ¶
func (x *GetDatabaseStatusRequest) Reset()
func (*GetDatabaseStatusRequest) String ¶
func (x *GetDatabaseStatusRequest) String() string
type GetDatabaseStatusResponse ¶
type GetDatabaseStatusResponse struct { // operation.result holds GetDatabaseStatusResult Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*GetDatabaseStatusResponse) Descriptor
deprecated
func (*GetDatabaseStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDatabaseStatusResponse.ProtoReflect.Descriptor instead.
func (*GetDatabaseStatusResponse) GetOperation ¶
func (x *GetDatabaseStatusResponse) GetOperation() *Ydb_Operations.Operation
func (*GetDatabaseStatusResponse) ProtoMessage ¶
func (*GetDatabaseStatusResponse) ProtoMessage()
func (*GetDatabaseStatusResponse) ProtoReflect ¶
func (x *GetDatabaseStatusResponse) ProtoReflect() protoreflect.Message
func (*GetDatabaseStatusResponse) Reset ¶
func (x *GetDatabaseStatusResponse) Reset()
func (*GetDatabaseStatusResponse) String ¶
func (x *GetDatabaseStatusResponse) String() string
type GetDatabaseStatusResult ¶
type GetDatabaseStatusResult struct { // Full path to database's home dir. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Current database state. State GetDatabaseStatusResult_State `protobuf:"varint,2,opt,name=state,proto3,enum=Ydb.Cms.GetDatabaseStatusResult_State" json:"state,omitempty"` // Types that are assignable to ResourcesKind: // // *GetDatabaseStatusResult_RequiredResources // *GetDatabaseStatusResult_RequiredSharedResources // *GetDatabaseStatusResult_ServerlessResources ResourcesKind isGetDatabaseStatusResult_ResourcesKind `protobuf_oneof:"resources_kind"` // Database resources allocated by CMS. AllocatedResources *Resources `protobuf:"bytes,4,opt,name=allocated_resources,json=allocatedResources,proto3" json:"allocated_resources,omitempty"` // Externally allocated database resources registered in CMS. RegisteredResources []*AllocatedComputationalUnit `protobuf:"bytes,5,rep,name=registered_resources,json=registeredResources,proto3" json:"registered_resources,omitempty"` // Current database generation. Incremented at each successful // alter request. Generation uint64 `protobuf:"varint,6,opt,name=generation,proto3" json:"generation,omitempty"` // Current quotas for schema operations SchemaOperationQuotas *SchemaOperationQuotas `` /* 126-byte string literal not displayed */ // Current quotas for the database DatabaseQuotas *DatabaseQuotas `protobuf:"bytes,10,opt,name=database_quotas,json=databaseQuotas,proto3" json:"database_quotas,omitempty"` // contains filtered or unexported fields }
func (*GetDatabaseStatusResult) Descriptor
deprecated
func (*GetDatabaseStatusResult) Descriptor() ([]byte, []int)
Deprecated: Use GetDatabaseStatusResult.ProtoReflect.Descriptor instead.
func (*GetDatabaseStatusResult) GetAllocatedResources ¶
func (x *GetDatabaseStatusResult) GetAllocatedResources() *Resources
func (*GetDatabaseStatusResult) GetDatabaseQuotas ¶
func (x *GetDatabaseStatusResult) GetDatabaseQuotas() *DatabaseQuotas
func (*GetDatabaseStatusResult) GetGeneration ¶
func (x *GetDatabaseStatusResult) GetGeneration() uint64
func (*GetDatabaseStatusResult) GetPath ¶
func (x *GetDatabaseStatusResult) GetPath() string
func (*GetDatabaseStatusResult) GetRegisteredResources ¶
func (x *GetDatabaseStatusResult) GetRegisteredResources() []*AllocatedComputationalUnit
func (*GetDatabaseStatusResult) GetRequiredResources ¶
func (x *GetDatabaseStatusResult) GetRequiredResources() *Resources
func (*GetDatabaseStatusResult) GetRequiredSharedResources ¶
func (x *GetDatabaseStatusResult) GetRequiredSharedResources() *Resources
func (*GetDatabaseStatusResult) GetResourcesKind ¶
func (m *GetDatabaseStatusResult) GetResourcesKind() isGetDatabaseStatusResult_ResourcesKind
func (*GetDatabaseStatusResult) GetSchemaOperationQuotas ¶
func (x *GetDatabaseStatusResult) GetSchemaOperationQuotas() *SchemaOperationQuotas
func (*GetDatabaseStatusResult) GetServerlessResources ¶
func (x *GetDatabaseStatusResult) GetServerlessResources() *ServerlessResources
func (*GetDatabaseStatusResult) GetState ¶
func (x *GetDatabaseStatusResult) GetState() GetDatabaseStatusResult_State
func (*GetDatabaseStatusResult) ProtoMessage ¶
func (*GetDatabaseStatusResult) ProtoMessage()
func (*GetDatabaseStatusResult) ProtoReflect ¶
func (x *GetDatabaseStatusResult) ProtoReflect() protoreflect.Message
func (*GetDatabaseStatusResult) Reset ¶
func (x *GetDatabaseStatusResult) Reset()
func (*GetDatabaseStatusResult) String ¶
func (x *GetDatabaseStatusResult) String() string
type GetDatabaseStatusResult_RequiredResources ¶
type GetDatabaseStatusResult_RequiredResources struct { // Database resources requested for allocation. RequiredResources *Resources `protobuf:"bytes,3,opt,name=required_resources,json=requiredResources,proto3,oneof"` }
type GetDatabaseStatusResult_RequiredSharedResources ¶
type GetDatabaseStatusResult_RequiredSharedResources struct {
}type GetDatabaseStatusResult_ServerlessResources ¶
type GetDatabaseStatusResult_ServerlessResources struct {
ServerlessResources *ServerlessResources `protobuf:"bytes,8,opt,name=serverless_resources,json=serverlessResources,proto3,oneof"`
}
type GetDatabaseStatusResult_State ¶
type GetDatabaseStatusResult_State int32
const ( GetDatabaseStatusResult_STATE_UNSPECIFIED GetDatabaseStatusResult_State = 0 GetDatabaseStatusResult_CREATING GetDatabaseStatusResult_State = 1 GetDatabaseStatusResult_RUNNING GetDatabaseStatusResult_State = 2 GetDatabaseStatusResult_REMOVING GetDatabaseStatusResult_State = 3 GetDatabaseStatusResult_PENDING_RESOURCES GetDatabaseStatusResult_State = 4 GetDatabaseStatusResult_CONFIGURING GetDatabaseStatusResult_State = 5 )
func (GetDatabaseStatusResult_State) Descriptor ¶
func (GetDatabaseStatusResult_State) Descriptor() protoreflect.EnumDescriptor
func (GetDatabaseStatusResult_State) Enum ¶
func (x GetDatabaseStatusResult_State) Enum() *GetDatabaseStatusResult_State
func (GetDatabaseStatusResult_State) EnumDescriptor
deprecated
func (GetDatabaseStatusResult_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetDatabaseStatusResult_State.Descriptor instead.
func (GetDatabaseStatusResult_State) Number ¶
func (x GetDatabaseStatusResult_State) Number() protoreflect.EnumNumber
func (GetDatabaseStatusResult_State) String ¶
func (x GetDatabaseStatusResult_State) String() string
func (GetDatabaseStatusResult_State) Type ¶
func (GetDatabaseStatusResult_State) Type() protoreflect.EnumType
type ListDatabasesRequest ¶
type ListDatabasesRequest struct { // Operation parameters OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"` // contains filtered or unexported fields }
List all databases known by CMS.
func (*ListDatabasesRequest) Descriptor
deprecated
func (*ListDatabasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDatabasesRequest.ProtoReflect.Descriptor instead.
func (*ListDatabasesRequest) GetOperationParams ¶
func (x *ListDatabasesRequest) GetOperationParams() *Ydb_Operations.OperationParams
func (*ListDatabasesRequest) ProtoMessage ¶
func (*ListDatabasesRequest) ProtoMessage()
func (*ListDatabasesRequest) ProtoReflect ¶
func (x *ListDatabasesRequest) ProtoReflect() protoreflect.Message
func (*ListDatabasesRequest) Reset ¶
func (x *ListDatabasesRequest) Reset()
func (*ListDatabasesRequest) String ¶
func (x *ListDatabasesRequest) String() string
type ListDatabasesResponse ¶
type ListDatabasesResponse struct { // operation.result holds ListDatabasesResult Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*ListDatabasesResponse) Descriptor
deprecated
func (*ListDatabasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDatabasesResponse.ProtoReflect.Descriptor instead.
func (*ListDatabasesResponse) GetOperation ¶
func (x *ListDatabasesResponse) GetOperation() *Ydb_Operations.Operation
func (*ListDatabasesResponse) ProtoMessage ¶
func (*ListDatabasesResponse) ProtoMessage()
func (*ListDatabasesResponse) ProtoReflect ¶
func (x *ListDatabasesResponse) ProtoReflect() protoreflect.Message
func (*ListDatabasesResponse) Reset ¶
func (x *ListDatabasesResponse) Reset()
func (*ListDatabasesResponse) String ¶
func (x *ListDatabasesResponse) String() string
type ListDatabasesResult ¶
type ListDatabasesResult struct { Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
func (*ListDatabasesResult) Descriptor
deprecated
func (*ListDatabasesResult) Descriptor() ([]byte, []int)
Deprecated: Use ListDatabasesResult.ProtoReflect.Descriptor instead.
func (*ListDatabasesResult) GetPaths ¶
func (x *ListDatabasesResult) GetPaths() []string
func (*ListDatabasesResult) ProtoMessage ¶
func (*ListDatabasesResult) ProtoMessage()
func (*ListDatabasesResult) ProtoReflect ¶
func (x *ListDatabasesResult) ProtoReflect() protoreflect.Message
func (*ListDatabasesResult) Reset ¶
func (x *ListDatabasesResult) Reset()
func (*ListDatabasesResult) String ¶
func (x *ListDatabasesResult) String() string
type RemoveDatabaseRequest ¶
type RemoveDatabaseRequest struct { // Required. Full path to database's home dir. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,2,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"` // contains filtered or unexported fields }
Completely remove database and all his data.
func (*RemoveDatabaseRequest) Descriptor
deprecated
func (*RemoveDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDatabaseRequest.ProtoReflect.Descriptor instead.
func (*RemoveDatabaseRequest) GetOperationParams ¶
func (x *RemoveDatabaseRequest) GetOperationParams() *Ydb_Operations.OperationParams
func (*RemoveDatabaseRequest) GetPath ¶
func (x *RemoveDatabaseRequest) GetPath() string
func (*RemoveDatabaseRequest) ProtoMessage ¶
func (*RemoveDatabaseRequest) ProtoMessage()
func (*RemoveDatabaseRequest) ProtoReflect ¶
func (x *RemoveDatabaseRequest) ProtoReflect() protoreflect.Message
func (*RemoveDatabaseRequest) Reset ¶
func (x *RemoveDatabaseRequest) Reset()
func (*RemoveDatabaseRequest) String ¶
func (x *RemoveDatabaseRequest) String() string
type RemoveDatabaseResponse ¶
type RemoveDatabaseResponse struct { Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*RemoveDatabaseResponse) Descriptor
deprecated
func (*RemoveDatabaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDatabaseResponse.ProtoReflect.Descriptor instead.
func (*RemoveDatabaseResponse) GetOperation ¶
func (x *RemoveDatabaseResponse) GetOperation() *Ydb_Operations.Operation
func (*RemoveDatabaseResponse) ProtoMessage ¶
func (*RemoveDatabaseResponse) ProtoMessage()
func (*RemoveDatabaseResponse) ProtoReflect ¶
func (x *RemoveDatabaseResponse) ProtoReflect() protoreflect.Message
func (*RemoveDatabaseResponse) Reset ¶
func (x *RemoveDatabaseResponse) Reset()
func (*RemoveDatabaseResponse) String ¶
func (x *RemoveDatabaseResponse) String() string
type Resources ¶
type Resources struct { // Storage resources. StorageUnits []*StorageUnits `protobuf:"bytes,1,rep,name=storage_units,json=storageUnits,proto3" json:"storage_units,omitempty"` // Computational resources. ComputationalUnits []*ComputationalUnits `protobuf:"bytes,2,rep,name=computational_units,json=computationalUnits,proto3" json:"computational_units,omitempty"` // contains filtered or unexported fields }
A set of computational and storage resources.
func (*Resources) Descriptor
deprecated
func (*Resources) GetComputationalUnits ¶
func (x *Resources) GetComputationalUnits() []*ComputationalUnits
func (*Resources) GetStorageUnits ¶
func (x *Resources) GetStorageUnits() []*StorageUnits
func (*Resources) ProtoMessage ¶
func (*Resources) ProtoMessage()
func (*Resources) ProtoReflect ¶
func (x *Resources) ProtoReflect() protoreflect.Message
type SchemaOperationQuotas ¶
type SchemaOperationQuotas struct { // Leaky bucket based quotas LeakyBucketQuotas []*SchemaOperationQuotas_LeakyBucket `protobuf:"bytes,1,rep,name=leaky_bucket_quotas,json=leakyBucketQuotas,proto3" json:"leaky_bucket_quotas,omitempty"` // contains filtered or unexported fields }
A set of quotas for schema operations
func (*SchemaOperationQuotas) Descriptor
deprecated
func (*SchemaOperationQuotas) Descriptor() ([]byte, []int)
Deprecated: Use SchemaOperationQuotas.ProtoReflect.Descriptor instead.
func (*SchemaOperationQuotas) GetLeakyBucketQuotas ¶
func (x *SchemaOperationQuotas) GetLeakyBucketQuotas() []*SchemaOperationQuotas_LeakyBucket
func (*SchemaOperationQuotas) ProtoMessage ¶
func (*SchemaOperationQuotas) ProtoMessage()
func (*SchemaOperationQuotas) ProtoReflect ¶
func (x *SchemaOperationQuotas) ProtoReflect() protoreflect.Message
func (*SchemaOperationQuotas) Reset ¶
func (x *SchemaOperationQuotas) Reset()
func (*SchemaOperationQuotas) String ¶
func (x *SchemaOperationQuotas) String() string
type SchemaOperationQuotas_LeakyBucket ¶
type SchemaOperationQuotas_LeakyBucket struct { // Bucket size, e.g. <1000> per day BucketSize float64 `protobuf:"fixed64,1,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` // Bucket duration in seconds, e.g. 1000 per <day> BucketSeconds uint64 `protobuf:"varint,2,opt,name=bucket_seconds,json=bucketSeconds,proto3" json:"bucket_seconds,omitempty"` // contains filtered or unexported fields }
A single quota based on leaky bucket
func (*SchemaOperationQuotas_LeakyBucket) Descriptor
deprecated
func (*SchemaOperationQuotas_LeakyBucket) Descriptor() ([]byte, []int)
Deprecated: Use SchemaOperationQuotas_LeakyBucket.ProtoReflect.Descriptor instead.
func (*SchemaOperationQuotas_LeakyBucket) GetBucketSeconds ¶
func (x *SchemaOperationQuotas_LeakyBucket) GetBucketSeconds() uint64
func (*SchemaOperationQuotas_LeakyBucket) GetBucketSize ¶
func (x *SchemaOperationQuotas_LeakyBucket) GetBucketSize() float64
func (*SchemaOperationQuotas_LeakyBucket) ProtoMessage ¶
func (*SchemaOperationQuotas_LeakyBucket) ProtoMessage()
func (*SchemaOperationQuotas_LeakyBucket) ProtoReflect ¶
func (x *SchemaOperationQuotas_LeakyBucket) ProtoReflect() protoreflect.Message
func (*SchemaOperationQuotas_LeakyBucket) Reset ¶
func (x *SchemaOperationQuotas_LeakyBucket) Reset()
func (*SchemaOperationQuotas_LeakyBucket) String ¶
func (x *SchemaOperationQuotas_LeakyBucket) String() string
type ServerlessResources ¶
type ServerlessResources struct { string `protobuf:"bytes,1,opt,name=shared_database_path,json=sharedDatabasePath,proto3" json:"shared_database_path,omitempty"` // contains filtered or unexported fields }SharedDatabasePath
func (*ServerlessResources) Descriptor
deprecated
func (*ServerlessResources) Descriptor() ([]byte, []int)
Deprecated: Use ServerlessResources.ProtoReflect.Descriptor instead.
func (*ServerlessResources) GetSharedDatabasePath ¶
func (x *ServerlessResources) GetSharedDatabasePath() string
func (*ServerlessResources) ProtoMessage ¶
func (*ServerlessResources) ProtoMessage()
func (*ServerlessResources) ProtoReflect ¶
func (x *ServerlessResources) ProtoReflect() protoreflect.Message
func (*ServerlessResources) Reset ¶
func (x *ServerlessResources) Reset()
func (*ServerlessResources) String ¶
func (x *ServerlessResources) String() string
type StorageUnitDescription ¶
type StorageUnitDescription struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*StorageUnitDescription) Descriptor
deprecated
func (*StorageUnitDescription) Descriptor() ([]byte, []int)
Deprecated: Use StorageUnitDescription.ProtoReflect.Descriptor instead.
func (*StorageUnitDescription) GetKind ¶
func (x *StorageUnitDescription) GetKind() string
func (*StorageUnitDescription) GetLabels ¶
func (x *StorageUnitDescription) GetLabels() map[string]string
func (*StorageUnitDescription) ProtoMessage ¶
func (*StorageUnitDescription) ProtoMessage()
func (*StorageUnitDescription) ProtoReflect ¶
func (x *StorageUnitDescription) ProtoReflect() protoreflect.Message
func (*StorageUnitDescription) Reset ¶
func (x *StorageUnitDescription) Reset()
func (*StorageUnitDescription) String ¶
func (x *StorageUnitDescription) String() string
type StorageUnits ¶
type StorageUnits struct { // Required. Kind of the storage unit. Determine guarantees // for all main unit parameters: used hard disk type, capacity // throughput, IOPS etc. UnitKind string `protobuf:"bytes,1,opt,name=unit_kind,json=unitKind,proto3" json:"unit_kind,omitempty"` // Required. The number of units in this set. Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
A set of uniform storage units. Single storage unit can be thought of as a reserved part of a RAID.
func (*StorageUnits) Descriptor
deprecated
func (*StorageUnits) Descriptor() ([]byte, []int)
Deprecated: Use StorageUnits.ProtoReflect.Descriptor instead.
func (*StorageUnits) GetCount ¶
func (x *StorageUnits) GetCount() uint64
func (*StorageUnits) GetUnitKind ¶
func (x *StorageUnits) GetUnitKind() string
func (*StorageUnits) ProtoMessage ¶
func (*StorageUnits) ProtoMessage()
func (*StorageUnits) ProtoReflect ¶
func (x *StorageUnits) ProtoReflect() protoreflect.Message
func (*StorageUnits) Reset ¶
func (x *StorageUnits) Reset()
func (*StorageUnits) String ¶
func (x *StorageUnits) String() string