redis

package
v0.0.0-...-204702d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 17 Imported by: 8

Documentation

Index

Constants

View Source
const (
	BackupService_Get_FullMethodName    = "/yandex.cloud.mdb.redis.v1.BackupService/Get"
	BackupService_List_FullMethodName   = "/yandex.cloud.mdb.redis.v1.BackupService/List"
	BackupService_Delete_FullMethodName = "/yandex.cloud.mdb.redis.v1.BackupService/Delete"
)
View Source
const (
	ClusterService_Get_FullMethodName                   = "/yandex.cloud.mdb.redis.v1.ClusterService/Get"
	ClusterService_List_FullMethodName                  = "/yandex.cloud.mdb.redis.v1.ClusterService/List"
	ClusterService_Create_FullMethodName                = "/yandex.cloud.mdb.redis.v1.ClusterService/Create"
	ClusterService_Update_FullMethodName                = "/yandex.cloud.mdb.redis.v1.ClusterService/Update"
	ClusterService_Delete_FullMethodName                = "/yandex.cloud.mdb.redis.v1.ClusterService/Delete"
	ClusterService_Start_FullMethodName                 = "/yandex.cloud.mdb.redis.v1.ClusterService/Start"
	ClusterService_Stop_FullMethodName                  = "/yandex.cloud.mdb.redis.v1.ClusterService/Stop"
	ClusterService_Move_FullMethodName                  = "/yandex.cloud.mdb.redis.v1.ClusterService/Move"
	ClusterService_Backup_FullMethodName                = "/yandex.cloud.mdb.redis.v1.ClusterService/Backup"
	ClusterService_Restore_FullMethodName               = "/yandex.cloud.mdb.redis.v1.ClusterService/Restore"
	ClusterService_RescheduleMaintenance_FullMethodName = "/yandex.cloud.mdb.redis.v1.ClusterService/RescheduleMaintenance"
	ClusterService_StartFailover_FullMethodName         = "/yandex.cloud.mdb.redis.v1.ClusterService/StartFailover"
	ClusterService_ListLogs_FullMethodName              = "/yandex.cloud.mdb.redis.v1.ClusterService/ListLogs"
	ClusterService_StreamLogs_FullMethodName            = "/yandex.cloud.mdb.redis.v1.ClusterService/StreamLogs"
	ClusterService_ListOperations_FullMethodName        = "/yandex.cloud.mdb.redis.v1.ClusterService/ListOperations"
	ClusterService_ListBackups_FullMethodName           = "/yandex.cloud.mdb.redis.v1.ClusterService/ListBackups"
	ClusterService_ListHosts_FullMethodName             = "/yandex.cloud.mdb.redis.v1.ClusterService/ListHosts"
	ClusterService_AddHosts_FullMethodName              = "/yandex.cloud.mdb.redis.v1.ClusterService/AddHosts"
	ClusterService_DeleteHosts_FullMethodName           = "/yandex.cloud.mdb.redis.v1.ClusterService/DeleteHosts"
	ClusterService_UpdateHosts_FullMethodName           = "/yandex.cloud.mdb.redis.v1.ClusterService/UpdateHosts"
	ClusterService_GetShard_FullMethodName              = "/yandex.cloud.mdb.redis.v1.ClusterService/GetShard"
	ClusterService_ListShards_FullMethodName            = "/yandex.cloud.mdb.redis.v1.ClusterService/ListShards"
	ClusterService_AddShard_FullMethodName              = "/yandex.cloud.mdb.redis.v1.ClusterService/AddShard"
	ClusterService_DeleteShard_FullMethodName           = "/yandex.cloud.mdb.redis.v1.ClusterService/DeleteShard"
	ClusterService_Rebalance_FullMethodName             = "/yandex.cloud.mdb.redis.v1.ClusterService/Rebalance"
	ClusterService_EnableSharding_FullMethodName        = "/yandex.cloud.mdb.redis.v1.ClusterService/EnableSharding"
)
View Source
const (
	ResourcePresetService_Get_FullMethodName  = "/yandex.cloud.mdb.redis.v1.ResourcePresetService/Get"
	ResourcePresetService_List_FullMethodName = "/yandex.cloud.mdb.redis.v1.ResourcePresetService/List"
)

Variables

View Source
var (
	Backup_BackupType_name = map[int32]string{
		0: "BACKUP_TYPE_UNSPECIFIED",
		1: "AUTOMATED",
		2: "MANUAL",
	}
	Backup_BackupType_value = map[string]int32{
		"BACKUP_TYPE_UNSPECIFIED": 0,
		"AUTOMATED":               1,
		"MANUAL":                  2,
	}
)

Enum value maps for Backup_BackupType.

View Source
var (
	Cluster_Environment_name = map[int32]string{
		0: "ENVIRONMENT_UNSPECIFIED",
		1: "PRODUCTION",
		2: "PRESTABLE",
	}
	Cluster_Environment_value = map[string]int32{
		"ENVIRONMENT_UNSPECIFIED": 0,
		"PRODUCTION":              1,
		"PRESTABLE":               2,
	}
)

Enum value maps for Cluster_Environment.

View Source
var (
	Cluster_Health_name = map[int32]string{
		0: "HEALTH_UNKNOWN",
		1: "ALIVE",
		2: "DEAD",
		3: "DEGRADED",
	}
	Cluster_Health_value = map[string]int32{
		"HEALTH_UNKNOWN": 0,
		"ALIVE":          1,
		"DEAD":           2,
		"DEGRADED":       3,
	}
)

Enum value maps for Cluster_Health.

View Source
var (
	Cluster_Status_name = map[int32]string{
		0: "STATUS_UNKNOWN",
		1: "CREATING",
		2: "RUNNING",
		3: "ERROR",
		4: "UPDATING",
		5: "STOPPING",
		6: "STOPPED",
		7: "STARTING",
	}
	Cluster_Status_value = map[string]int32{
		"STATUS_UNKNOWN": 0,
		"CREATING":       1,
		"RUNNING":        2,
		"ERROR":          3,
		"UPDATING":       4,
		"STOPPING":       5,
		"STOPPED":        6,
		"STARTING":       7,
	}
)

Enum value maps for Cluster_Status.

View Source
var (
	Cluster_PersistenceMode_name = map[int32]string{
		0: "ON",
		1: "OFF",
	}
	Cluster_PersistenceMode_value = map[string]int32{
		"ON":  0,
		"OFF": 1,
	}
)

Enum value maps for Cluster_PersistenceMode.

View Source
var (
	Host_Role_name = map[int32]string{
		0: "ROLE_UNKNOWN",
		1: "MASTER",
		2: "REPLICA",
	}
	Host_Role_value = map[string]int32{
		"ROLE_UNKNOWN": 0,
		"MASTER":       1,
		"REPLICA":      2,
	}
)

Enum value maps for Host_Role.

View Source
var (
	Host_Health_name = map[int32]string{
		0: "HEALTH_UNKNOWN",
		1: "ALIVE",
		2: "DEAD",
		3: "DEGRADED",
	}
	Host_Health_value = map[string]int32{
		"HEALTH_UNKNOWN": 0,
		"ALIVE":          1,
		"DEAD":           2,
		"DEGRADED":       3,
	}
)

Enum value maps for Host_Health.

View Source
var (
	Service_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "REDIS",
		2: "ARBITER",
		3: "REDIS_CLUSTER",
	}
	Service_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"REDIS":            1,
		"ARBITER":          2,
		"REDIS_CLUSTER":    3,
	}
)

Enum value maps for Service_Type.

View Source
var (
	Service_Health_name = map[int32]string{
		0: "HEALTH_UNKNOWN",
		1: "ALIVE",
		2: "DEAD",
	}
	Service_Health_value = map[string]int32{
		"HEALTH_UNKNOWN": 0,
		"ALIVE":          1,
		"DEAD":           2,
	}
)

Enum value maps for Service_Health.

View Source
var (
	RescheduleMaintenanceRequest_RescheduleType_name = map[int32]string{
		0: "RESCHEDULE_TYPE_UNSPECIFIED",
		1: "IMMEDIATE",
		2: "NEXT_AVAILABLE_WINDOW",
		3: "SPECIFIC_TIME",
	}
	RescheduleMaintenanceRequest_RescheduleType_value = map[string]int32{
		"RESCHEDULE_TYPE_UNSPECIFIED": 0,
		"IMMEDIATE":                   1,
		"NEXT_AVAILABLE_WINDOW":       2,
		"SPECIFIC_TIME":               3,
	}
)

Enum value maps for RescheduleMaintenanceRequest_RescheduleType.

View Source
var (
	ListClusterLogsRequest_ServiceType_name = map[int32]string{
		0: "SERVICE_TYPE_UNSPECIFIED",
		1: "REDIS",
	}
	ListClusterLogsRequest_ServiceType_value = map[string]int32{
		"SERVICE_TYPE_UNSPECIFIED": 0,
		"REDIS":                    1,
	}
)

Enum value maps for ListClusterLogsRequest_ServiceType.

View Source
var (
	StreamClusterLogsRequest_ServiceType_name = map[int32]string{
		0: "SERVICE_TYPE_UNSPECIFIED",
		1: "REDIS",
	}
	StreamClusterLogsRequest_ServiceType_value = map[string]int32{
		"SERVICE_TYPE_UNSPECIFIED": 0,
		"REDIS":                    1,
	}
)

Enum value maps for StreamClusterLogsRequest_ServiceType.

View Source
var (
	WeeklyMaintenanceWindow_WeekDay_name = map[int32]string{
		0: "WEEK_DAY_UNSPECIFIED",
		1: "MON",
		2: "TUE",
		3: "WED",
		4: "THU",
		5: "FRI",
		6: "SAT",
		7: "SUN",
	}
	WeeklyMaintenanceWindow_WeekDay_value = map[string]int32{
		"WEEK_DAY_UNSPECIFIED": 0,
		"MON":                  1,
		"TUE":                  2,
		"WED":                  3,
		"THU":                  4,
		"FRI":                  5,
		"SAT":                  6,
		"SUN":                  7,
	}
)

Enum value maps for WeeklyMaintenanceWindow_WeekDay.

View Source
var BackupService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.mdb.redis.v1.BackupService",
	HandlerType: (*BackupServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _BackupService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _BackupService_List_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _BackupService_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/mdb/redis/v1/backup_service.proto",
}

BackupService_ServiceDesc is the grpc.ServiceDesc for BackupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ClusterService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.mdb.redis.v1.ClusterService",
	HandlerType: (*ClusterServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _ClusterService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _ClusterService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _ClusterService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _ClusterService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ClusterService_Delete_Handler,
		},
		{
			MethodName: "Start",
			Handler:    _ClusterService_Start_Handler,
		},
		{
			MethodName: "Stop",
			Handler:    _ClusterService_Stop_Handler,
		},
		{
			MethodName: "Move",
			Handler:    _ClusterService_Move_Handler,
		},
		{
			MethodName: "Backup",
			Handler:    _ClusterService_Backup_Handler,
		},
		{
			MethodName: "Restore",
			Handler:    _ClusterService_Restore_Handler,
		},
		{
			MethodName: "RescheduleMaintenance",
			Handler:    _ClusterService_RescheduleMaintenance_Handler,
		},
		{
			MethodName: "StartFailover",
			Handler:    _ClusterService_StartFailover_Handler,
		},
		{
			MethodName: "ListLogs",
			Handler:    _ClusterService_ListLogs_Handler,
		},
		{
			MethodName: "ListOperations",
			Handler:    _ClusterService_ListOperations_Handler,
		},
		{
			MethodName: "ListBackups",
			Handler:    _ClusterService_ListBackups_Handler,
		},
		{
			MethodName: "ListHosts",
			Handler:    _ClusterService_ListHosts_Handler,
		},
		{
			MethodName: "AddHosts",
			Handler:    _ClusterService_AddHosts_Handler,
		},
		{
			MethodName: "DeleteHosts",
			Handler:    _ClusterService_DeleteHosts_Handler,
		},
		{
			MethodName: "UpdateHosts",
			Handler:    _ClusterService_UpdateHosts_Handler,
		},
		{
			MethodName: "GetShard",
			Handler:    _ClusterService_GetShard_Handler,
		},
		{
			MethodName: "ListShards",
			Handler:    _ClusterService_ListShards_Handler,
		},
		{
			MethodName: "AddShard",
			Handler:    _ClusterService_AddShard_Handler,
		},
		{
			MethodName: "DeleteShard",
			Handler:    _ClusterService_DeleteShard_Handler,
		},
		{
			MethodName: "Rebalance",
			Handler:    _ClusterService_Rebalance_Handler,
		},
		{
			MethodName: "EnableSharding",
			Handler:    _ClusterService_EnableSharding_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamLogs",
			Handler:       _ClusterService_StreamLogs_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "yandex/cloud/mdb/redis/v1/cluster_service.proto",
}

ClusterService_ServiceDesc is the grpc.ServiceDesc for ClusterService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_yandex_cloud_mdb_redis_v1_backup_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_redis_v1_backup_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_redis_v1_cluster_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_redis_v1_cluster_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_redis_v1_maintenance_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_redis_v1_resource_preset_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_redis_v1_resource_preset_service_proto protoreflect.FileDescriptor
View Source
var ResourcePresetService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.mdb.redis.v1.ResourcePresetService",
	HandlerType: (*ResourcePresetServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _ResourcePresetService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _ResourcePresetService_List_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/mdb/redis/v1/resource_preset_service.proto",
}

ResourcePresetService_ServiceDesc is the grpc.ServiceDesc for ResourcePresetService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterBackupServiceServer

func RegisterBackupServiceServer(s grpc.ServiceRegistrar, srv BackupServiceServer)

func RegisterClusterServiceServer

func RegisterClusterServiceServer(s grpc.ServiceRegistrar, srv ClusterServiceServer)

func RegisterResourcePresetServiceServer

func RegisterResourcePresetServiceServer(s grpc.ServiceRegistrar, srv ResourcePresetServiceServer)

Types

type Access

type Access struct {

	// Allow access for DataLens
	DataLens bool `protobuf:"varint,1,opt,name=data_lens,json=dataLens,proto3" json:"data_lens,omitempty"`
	// Allow access for Web SQL.
	WebSql bool `protobuf:"varint,2,opt,name=web_sql,json=webSql,proto3" json:"web_sql,omitempty"`
	// contains filtered or unexported fields
}

func (*Access) Descriptor deprecated

func (*Access) Descriptor() ([]byte, []int)

Deprecated: Use Access.ProtoReflect.Descriptor instead.

func (*Access) GetDataLens

func (x *Access) GetDataLens() bool

func (*Access) GetWebSql

func (x *Access) GetWebSql() bool

func (*Access) ProtoMessage

func (*Access) ProtoMessage()

func (*Access) ProtoReflect

func (x *Access) ProtoReflect() protoreflect.Message

func (*Access) Reset

func (x *Access) Reset()

func (*Access) SetDataLens

func (m *Access) SetDataLens(v bool)

func (*Access) SetWebSql

func (m *Access) SetWebSql(v bool)

func (*Access) String

func (x *Access) String() string

type AddClusterHostsMetadata

type AddClusterHostsMetadata struct {

	// ID of the Redis cluster to which the hosts are being added.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Names of hosts that are being added to the cluster.
	HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	// contains filtered or unexported fields
}

func (*AddClusterHostsMetadata) Descriptor deprecated

func (*AddClusterHostsMetadata) Descriptor() ([]byte, []int)

Deprecated: Use AddClusterHostsMetadata.ProtoReflect.Descriptor instead.

func (*AddClusterHostsMetadata) GetClusterId

func (x *AddClusterHostsMetadata) GetClusterId() string

func (*AddClusterHostsMetadata) GetHostNames

func (x *AddClusterHostsMetadata) GetHostNames() []string

func (*AddClusterHostsMetadata) ProtoMessage

func (*AddClusterHostsMetadata) ProtoMessage()

func (*AddClusterHostsMetadata) ProtoReflect

func (x *AddClusterHostsMetadata) ProtoReflect() protoreflect.Message

func (*AddClusterHostsMetadata) Reset

func (x *AddClusterHostsMetadata) Reset()

func (*AddClusterHostsMetadata) SetClusterId

func (m *AddClusterHostsMetadata) SetClusterId(v string)

func (*AddClusterHostsMetadata) SetHostNames

func (m *AddClusterHostsMetadata) SetHostNames(v []string)

func (*AddClusterHostsMetadata) String

func (x *AddClusterHostsMetadata) String() string

type AddClusterHostsRequest

type AddClusterHostsRequest struct {

	// ID of the Redis cluster to add hosts to.
	// To get the Redis cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Configurations for Redis hosts that should be added to the cluster.
	HostSpecs []*HostSpec `protobuf:"bytes,2,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"`
	// contains filtered or unexported fields
}

func (*AddClusterHostsRequest) Descriptor deprecated

func (*AddClusterHostsRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddClusterHostsRequest.ProtoReflect.Descriptor instead.

func (*AddClusterHostsRequest) GetClusterId

func (x *AddClusterHostsRequest) GetClusterId() string

func (*AddClusterHostsRequest) GetHostSpecs

func (x *AddClusterHostsRequest) GetHostSpecs() []*HostSpec

func (*AddClusterHostsRequest) ProtoMessage

func (*AddClusterHostsRequest) ProtoMessage()

func (*AddClusterHostsRequest) ProtoReflect

func (x *AddClusterHostsRequest) ProtoReflect() protoreflect.Message

func (*AddClusterHostsRequest) Reset

func (x *AddClusterHostsRequest) Reset()

func (*AddClusterHostsRequest) SetClusterId

func (m *AddClusterHostsRequest) SetClusterId(v string)

func (*AddClusterHostsRequest) SetHostSpecs

func (m *AddClusterHostsRequest) SetHostSpecs(v []*HostSpec)

func (*AddClusterHostsRequest) String

func (x *AddClusterHostsRequest) String() string

type AddClusterShardMetadata

type AddClusterShardMetadata struct {

	// ID of the Redis cluster that a shard is being added to.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the Redis shard that is being created.
	ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"`
	// contains filtered or unexported fields
}

func (*AddClusterShardMetadata) Descriptor deprecated

func (*AddClusterShardMetadata) Descriptor() ([]byte, []int)

Deprecated: Use AddClusterShardMetadata.ProtoReflect.Descriptor instead.

func (*AddClusterShardMetadata) GetClusterId

func (x *AddClusterShardMetadata) GetClusterId() string

func (*AddClusterShardMetadata) GetShardName

func (x *AddClusterShardMetadata) GetShardName() string

func (*AddClusterShardMetadata) ProtoMessage

func (*AddClusterShardMetadata) ProtoMessage()

func (*AddClusterShardMetadata) ProtoReflect

func (x *AddClusterShardMetadata) ProtoReflect() protoreflect.Message

func (*AddClusterShardMetadata) Reset

func (x *AddClusterShardMetadata) Reset()

func (*AddClusterShardMetadata) SetClusterId

func (m *AddClusterShardMetadata) SetClusterId(v string)

func (*AddClusterShardMetadata) SetShardName

func (m *AddClusterShardMetadata) SetShardName(v string)

func (*AddClusterShardMetadata) String

func (x *AddClusterShardMetadata) String() string

type AddClusterShardRequest

type AddClusterShardRequest struct {

	// ID of the Redis cluster to create a shard in.
	// To get the cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the shard.
	// The name must be unique within the cluster.
	ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"`
	// Configurations for Redis hosts that should be created with the shard.
	// Must contain at least one element.
	HostSpecs []*HostSpec `protobuf:"bytes,4,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"`
	// contains filtered or unexported fields
}

func (*AddClusterShardRequest) Descriptor deprecated

func (*AddClusterShardRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddClusterShardRequest.ProtoReflect.Descriptor instead.

func (*AddClusterShardRequest) GetClusterId

func (x *AddClusterShardRequest) GetClusterId() string

func (*AddClusterShardRequest) GetHostSpecs

func (x *AddClusterShardRequest) GetHostSpecs() []*HostSpec

func (*AddClusterShardRequest) GetShardName

func (x *AddClusterShardRequest) GetShardName() string

func (*AddClusterShardRequest) ProtoMessage

func (*AddClusterShardRequest) ProtoMessage()

func (*AddClusterShardRequest) ProtoReflect

func (x *AddClusterShardRequest) ProtoReflect() protoreflect.Message

func (*AddClusterShardRequest) Reset

func (x *AddClusterShardRequest) Reset()

func (*AddClusterShardRequest) SetClusterId

func (m *AddClusterShardRequest) SetClusterId(v string)

func (*AddClusterShardRequest) SetHostSpecs

func (m *AddClusterShardRequest) SetHostSpecs(v []*HostSpec)

func (*AddClusterShardRequest) SetShardName

func (m *AddClusterShardRequest) SetShardName(v string)

func (*AddClusterShardRequest) String

func (x *AddClusterShardRequest) String() string

type AnytimeMaintenanceWindow

type AnytimeMaintenanceWindow struct {
	// contains filtered or unexported fields
}

func (*AnytimeMaintenanceWindow) Descriptor deprecated

func (*AnytimeMaintenanceWindow) Descriptor() ([]byte, []int)

Deprecated: Use AnytimeMaintenanceWindow.ProtoReflect.Descriptor instead.

func (*AnytimeMaintenanceWindow) ProtoMessage

func (*AnytimeMaintenanceWindow) ProtoMessage()

func (*AnytimeMaintenanceWindow) ProtoReflect

func (x *AnytimeMaintenanceWindow) ProtoReflect() protoreflect.Message

func (*AnytimeMaintenanceWindow) Reset

func (x *AnytimeMaintenanceWindow) Reset()

func (*AnytimeMaintenanceWindow) String

func (x *AnytimeMaintenanceWindow) String() string

type Backup

type Backup struct {

	// ID of the backup.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the backup belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format
	// (i.e. when the backup operation was completed).
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// ID of the Redis cluster that the backup was created for.
	SourceClusterId string `protobuf:"bytes,4,opt,name=source_cluster_id,json=sourceClusterId,proto3" json:"source_cluster_id,omitempty"`
	// Start timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format
	// (i.e. when the backup operation was started).
	StartedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// Shard names used as a source for backup.
	SourceShardNames []string `protobuf:"bytes,6,rep,name=source_shard_names,json=sourceShardNames,proto3" json:"source_shard_names,omitempty"`
	// How this backup was created (manual/automatic/etc...)
	Type Backup_BackupType `protobuf:"varint,7,opt,name=type,proto3,enum=yandex.cloud.mdb.redis.v1.Backup_BackupType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Description of a Redis backup. For more information, see the Managed Service for Redis [documentation](/docs/managed-redis/concepts/backup).

func (*Backup) Descriptor deprecated

func (*Backup) Descriptor() ([]byte, []int)

Deprecated: Use Backup.ProtoReflect.Descriptor instead.

func (*Backup) GetCreatedAt

func (x *Backup) GetCreatedAt() *timestamppb.Timestamp

func (*Backup) GetFolderId

func (x *Backup) GetFolderId() string

func (*Backup) GetId

func (x *Backup) GetId() string

func (*Backup) GetSourceClusterId

func (x *Backup) GetSourceClusterId() string

func (*Backup) GetSourceShardNames

func (x *Backup) GetSourceShardNames() []string

func (*Backup) GetStartedAt

func (x *Backup) GetStartedAt() *timestamppb.Timestamp

func (*Backup) GetType

func (x *Backup) GetType() Backup_BackupType

func (*Backup) ProtoMessage

func (*Backup) ProtoMessage()

func (*Backup) ProtoReflect

func (x *Backup) ProtoReflect() protoreflect.Message

func (*Backup) Reset

func (x *Backup) Reset()

func (*Backup) SetCreatedAt

func (m *Backup) SetCreatedAt(v *timestamppb.Timestamp)

func (*Backup) SetFolderId

func (m *Backup) SetFolderId(v string)

func (*Backup) SetId

func (m *Backup) SetId(v string)

func (*Backup) SetSourceClusterId

func (m *Backup) SetSourceClusterId(v string)

func (*Backup) SetSourceShardNames

func (m *Backup) SetSourceShardNames(v []string)

func (*Backup) SetStartedAt

func (m *Backup) SetStartedAt(v *timestamppb.Timestamp)

func (*Backup) SetType

func (m *Backup) SetType(v Backup_BackupType)

func (*Backup) String

func (x *Backup) String() string

type BackupClusterMetadata

type BackupClusterMetadata struct {

	// ID of the Redis cluster that is being backed up.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupClusterMetadata) Descriptor deprecated

func (*BackupClusterMetadata) Descriptor() ([]byte, []int)

Deprecated: Use BackupClusterMetadata.ProtoReflect.Descriptor instead.

func (*BackupClusterMetadata) GetClusterId

func (x *BackupClusterMetadata) GetClusterId() string

func (*BackupClusterMetadata) ProtoMessage

func (*BackupClusterMetadata) ProtoMessage()

func (*BackupClusterMetadata) ProtoReflect

func (x *BackupClusterMetadata) ProtoReflect() protoreflect.Message

func (*BackupClusterMetadata) Reset

func (x *BackupClusterMetadata) Reset()

func (*BackupClusterMetadata) SetClusterId

func (m *BackupClusterMetadata) SetClusterId(v string)

func (*BackupClusterMetadata) String

func (x *BackupClusterMetadata) String() string

type BackupClusterRequest

type BackupClusterRequest struct {

	// ID of the Redis cluster to back up.
	// To get the Redis cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupClusterRequest) Descriptor deprecated

func (*BackupClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use BackupClusterRequest.ProtoReflect.Descriptor instead.

func (*BackupClusterRequest) GetClusterId

func (x *BackupClusterRequest) GetClusterId() string

func (*BackupClusterRequest) ProtoMessage

func (*BackupClusterRequest) ProtoMessage()

func (*BackupClusterRequest) ProtoReflect

func (x *BackupClusterRequest) ProtoReflect() protoreflect.Message

func (*BackupClusterRequest) Reset

func (x *BackupClusterRequest) Reset()

func (*BackupClusterRequest) SetClusterId

func (m *BackupClusterRequest) SetClusterId(v string)

func (*BackupClusterRequest) String

func (x *BackupClusterRequest) String() string

type BackupServiceClient

type BackupServiceClient interface {
	// Returns the specified Redis backup.
	//
	// To get the list of available Redis backups, make a [List] request.
	Get(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error)
	// Retrieves the list of Redis backups available for the specified folder.
	List(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error)
	// Returns the list of available backups for the specified Redis cluster.
	Delete(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

BackupServiceClient is the client API for BackupService 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.

A set of methods for managing Redis backups.

type BackupServiceServer

type BackupServiceServer interface {
	// Returns the specified Redis backup.
	//
	// To get the list of available Redis backups, make a [List] request.
	Get(context.Context, *GetBackupRequest) (*Backup, error)
	// Retrieves the list of Redis backups available for the specified folder.
	List(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
	// Returns the list of available backups for the specified Redis cluster.
	Delete(context.Context, *DeleteBackupRequest) (*operation.Operation, error)
}

BackupServiceServer is the server API for BackupService service. All implementations should embed UnimplementedBackupServiceServer for forward compatibility.

A set of methods for managing Redis backups.

type Backup_BackupType

type Backup_BackupType int32
const (
	Backup_BACKUP_TYPE_UNSPECIFIED Backup_BackupType = 0
	// Backup created by automated daily schedule
	Backup_AUTOMATED Backup_BackupType = 1
	// Backup created by user request
	Backup_MANUAL Backup_BackupType = 2
)

func (Backup_BackupType) Descriptor

func (Backup_BackupType) Enum

func (Backup_BackupType) EnumDescriptor deprecated

func (Backup_BackupType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Backup_BackupType.Descriptor instead.

func (Backup_BackupType) Number

func (Backup_BackupType) String

func (x Backup_BackupType) String() string

func (Backup_BackupType) Type

type Cluster

type Cluster struct {

	// ID of the Redis cluster.
	// This ID is assigned by MDB at creation time.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the Redis cluster belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the Redis cluster.
	// The name is unique within the folder. 3-63 characters long.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the Redis cluster. 0-256 characters long.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the Redis cluster as `key:value` pairs.
	// Maximum 64 per cluster.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Deployment environment of the Redis cluster.
	Environment Cluster_Environment `` /* 127-byte string literal not displayed */
	// Description of monitoring systems relevant to the Redis cluster.
	Monitoring []*Monitoring `protobuf:"bytes,8,rep,name=monitoring,proto3" json:"monitoring,omitempty"`
	// Configuration of the Redis cluster.
	Config    *ClusterConfig `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"`
	NetworkId string         `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// Aggregated cluster health.
	Health Cluster_Health `protobuf:"varint,11,opt,name=health,proto3,enum=yandex.cloud.mdb.redis.v1.Cluster_Health" json:"health,omitempty"`
	// Cluster status.
	Status Cluster_Status `protobuf:"varint,12,opt,name=status,proto3,enum=yandex.cloud.mdb.redis.v1.Cluster_Status" json:"status,omitempty"`
	// Redis cluster mode on/off.
	Sharded bool `protobuf:"varint,13,opt,name=sharded,proto3" json:"sharded,omitempty"`
	// Maintenance window for the cluster.
	MaintenanceWindow *MaintenanceWindow `protobuf:"bytes,14,opt,name=maintenance_window,json=maintenanceWindow,proto3" json:"maintenance_window,omitempty"`
	// Planned maintenance operation to be started for the cluster within the nearest [maintenance_window].
	PlannedOperation *MaintenanceOperation `protobuf:"bytes,15,opt,name=planned_operation,json=plannedOperation,proto3" json:"planned_operation,omitempty"`
	// User security groups
	SecurityGroupIds []string `protobuf:"bytes,16,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// TLS port and functionality on\off
	TlsEnabled bool `protobuf:"varint,17,opt,name=tls_enabled,json=tlsEnabled,proto3" json:"tls_enabled,omitempty"`
	// Deletion Protection inhibits deletion of the cluster
	DeletionProtection bool `protobuf:"varint,18,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// Persistence mode
	PersistenceMode Cluster_PersistenceMode `` /* 163-byte string literal not displayed */
	// Enable FQDN instead of ip
	AnnounceHostnames bool `protobuf:"varint,20,opt,name=announce_hostnames,json=announceHostnames,proto3" json:"announce_hostnames,omitempty"`
	// contains filtered or unexported fields
}

Description of a Redis cluster. For more information, see the Managed Service for Redis [documentation](/docs/managed-redis/concepts/).

func (*Cluster) Descriptor deprecated

func (*Cluster) Descriptor() ([]byte, []int)

Deprecated: Use Cluster.ProtoReflect.Descriptor instead.

func (*Cluster) GetAnnounceHostnames

func (x *Cluster) GetAnnounceHostnames() bool

func (*Cluster) GetConfig

func (x *Cluster) GetConfig() *ClusterConfig

func (*Cluster) GetCreatedAt

func (x *Cluster) GetCreatedAt() *timestamppb.Timestamp

func (*Cluster) GetDeletionProtection

func (x *Cluster) GetDeletionProtection() bool

func (*Cluster) GetDescription

func (x *Cluster) GetDescription() string

func (*Cluster) GetEnvironment

func (x *Cluster) GetEnvironment() Cluster_Environment

func (*Cluster) GetFolderId

func (x *Cluster) GetFolderId() string

func (*Cluster) GetHealth

func (x *Cluster) GetHealth() Cluster_Health

func (*Cluster) GetId

func (x *Cluster) GetId() string

func (*Cluster) GetLabels

func (x *Cluster) GetLabels() map[string]string

func (*Cluster) GetMaintenanceWindow

func (x *Cluster) GetMaintenanceWindow() *MaintenanceWindow

func (*Cluster) GetMonitoring

func (x *Cluster) GetMonitoring() []*Monitoring

func (*Cluster) GetName

func (x *Cluster) GetName() string

func (*Cluster) GetNetworkId

func (x *Cluster) GetNetworkId() string

func (*Cluster) GetPersistenceMode

func (x *Cluster) GetPersistenceMode() Cluster_PersistenceMode

func (*Cluster) GetPlannedOperation

func (x *Cluster) GetPlannedOperation() *MaintenanceOperation

func (*Cluster) GetSecurityGroupIds

func (x *Cluster) GetSecurityGroupIds() []string

func (*Cluster) GetSharded

func (x *Cluster) GetSharded() bool

func (*Cluster) GetStatus

func (x *Cluster) GetStatus() Cluster_Status

func (*Cluster) GetTlsEnabled

func (x *Cluster) GetTlsEnabled() bool

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) ProtoReflect

func (x *Cluster) ProtoReflect() protoreflect.Message

func (*Cluster) Reset

func (x *Cluster) Reset()

func (*Cluster) SetAnnounceHostnames

func (m *Cluster) SetAnnounceHostnames(v bool)

func (*Cluster) SetConfig

func (m *Cluster) SetConfig(v *ClusterConfig)

func (*Cluster) SetCreatedAt

func (m *Cluster) SetCreatedAt(v *timestamppb.Timestamp)

func (*Cluster) SetDeletionProtection

func (m *Cluster) SetDeletionProtection(v bool)

func (*Cluster) SetDescription

func (m *Cluster) SetDescription(v string)

func (*Cluster) SetEnvironment

func (m *Cluster) SetEnvironment(v Cluster_Environment)

func (*Cluster) SetFolderId

func (m *Cluster) SetFolderId(v string)

func (*Cluster) SetHealth

func (m *Cluster) SetHealth(v Cluster_Health)

func (*Cluster) SetId

func (m *Cluster) SetId(v string)

func (*Cluster) SetLabels

func (m *Cluster) SetLabels(v map[string]string)

func (*Cluster) SetMaintenanceWindow

func (m *Cluster) SetMaintenanceWindow(v *MaintenanceWindow)

func (*Cluster) SetMonitoring

func (m *Cluster) SetMonitoring(v []*Monitoring)

func (*Cluster) SetName

func (m *Cluster) SetName(v string)

func (*Cluster) SetNetworkId

func (m *Cluster) SetNetworkId(v string)

func (*Cluster) SetPersistenceMode

func (m *Cluster) SetPersistenceMode(v Cluster_PersistenceMode)

func (*Cluster) SetPlannedOperation

func (m *Cluster) SetPlannedOperation(v *MaintenanceOperation)

func (*Cluster) SetSecurityGroupIds

func (m *Cluster) SetSecurityGroupIds(v []string)

func (*Cluster) SetSharded

func (m *Cluster) SetSharded(v bool)

func (*Cluster) SetStatus

func (m *Cluster) SetStatus(v Cluster_Status)

func (*Cluster) SetTlsEnabled

func (m *Cluster) SetTlsEnabled(v bool)

func (*Cluster) String

func (x *Cluster) String() string

type ClusterConfig

type ClusterConfig struct {

	// Version of Redis server software.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Configuration for Redis servers in the cluster.
	//
	// Types that are assignable to RedisConfig:
	//
	//	*ClusterConfig_RedisConfig_5_0
	//	*ClusterConfig_RedisConfig_6_0
	//	*ClusterConfig_RedisConfig_6_2
	//	*ClusterConfig_RedisConfig_7_0
	RedisConfig isClusterConfig_RedisConfig `protobuf_oneof:"redis_config"`
	// Resources allocated to Redis hosts.
	Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
	// Time to start the daily backup, in the UTC timezone.
	BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"`
	// Access policy to DB
	Access *Access `protobuf:"bytes,5,opt,name=access,proto3" json:"access,omitempty"`
	// Unified configuration of a Redis cluster.
	Redis *config.RedisConfigSet `protobuf:"bytes,9,opt,name=redis,proto3" json:"redis,omitempty"`
	// Disk size autoscaling settings
	DiskSizeAutoscaling *DiskSizeAutoscaling `protobuf:"bytes,10,opt,name=disk_size_autoscaling,json=diskSizeAutoscaling,proto3" json:"disk_size_autoscaling,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterConfig) Descriptor deprecated

func (*ClusterConfig) Descriptor() ([]byte, []int)

Deprecated: Use ClusterConfig.ProtoReflect.Descriptor instead.

func (*ClusterConfig) GetAccess

func (x *ClusterConfig) GetAccess() *Access

func (*ClusterConfig) GetBackupWindowStart

func (x *ClusterConfig) GetBackupWindowStart() *timeofday.TimeOfDay

func (*ClusterConfig) GetDiskSizeAutoscaling

func (x *ClusterConfig) GetDiskSizeAutoscaling() *DiskSizeAutoscaling

func (*ClusterConfig) GetRedis

func (x *ClusterConfig) GetRedis() *config.RedisConfigSet

func (*ClusterConfig) GetRedisConfig

func (m *ClusterConfig) GetRedisConfig() isClusterConfig_RedisConfig

func (*ClusterConfig) GetRedisConfig_5_0

func (x *ClusterConfig) GetRedisConfig_5_0() *config.RedisConfigSet5_0

func (*ClusterConfig) GetRedisConfig_6_0

func (x *ClusterConfig) GetRedisConfig_6_0() *config.RedisConfigSet6_0

func (*ClusterConfig) GetRedisConfig_6_2

func (x *ClusterConfig) GetRedisConfig_6_2() *config.RedisConfigSet6_2

func (*ClusterConfig) GetRedisConfig_7_0

func (x *ClusterConfig) GetRedisConfig_7_0() *config.RedisConfigSet7_0

func (*ClusterConfig) GetResources

func (x *ClusterConfig) GetResources() *Resources

func (*ClusterConfig) GetVersion

func (x *ClusterConfig) GetVersion() string

func (*ClusterConfig) ProtoMessage

func (*ClusterConfig) ProtoMessage()

func (*ClusterConfig) ProtoReflect

func (x *ClusterConfig) ProtoReflect() protoreflect.Message

func (*ClusterConfig) Reset

func (x *ClusterConfig) Reset()

func (*ClusterConfig) SetAccess

func (m *ClusterConfig) SetAccess(v *Access)

func (*ClusterConfig) SetBackupWindowStart

func (m *ClusterConfig) SetBackupWindowStart(v *timeofday.TimeOfDay)

func (*ClusterConfig) SetDiskSizeAutoscaling

func (m *ClusterConfig) SetDiskSizeAutoscaling(v *DiskSizeAutoscaling)

func (*ClusterConfig) SetRedis

func (m *ClusterConfig) SetRedis(v *config.RedisConfigSet)

func (*ClusterConfig) SetRedisConfig

func (m *ClusterConfig) SetRedisConfig(v ClusterConfig_RedisConfig)

func (*ClusterConfig) SetRedisConfig_5_0

func (m *ClusterConfig) SetRedisConfig_5_0(v *config.RedisConfigSet5_0)

func (*ClusterConfig) SetRedisConfig_6_0

func (m *ClusterConfig) SetRedisConfig_6_0(v *config.RedisConfigSet6_0)

func (*ClusterConfig) SetRedisConfig_6_2

func (m *ClusterConfig) SetRedisConfig_6_2(v *config.RedisConfigSet6_2)

func (*ClusterConfig) SetRedisConfig_7_0

func (m *ClusterConfig) SetRedisConfig_7_0(v *config.RedisConfigSet7_0)

func (*ClusterConfig) SetResources

func (m *ClusterConfig) SetResources(v *Resources)

func (*ClusterConfig) SetVersion

func (m *ClusterConfig) SetVersion(v string)

func (*ClusterConfig) String

func (x *ClusterConfig) String() string

type ClusterConfig_RedisConfig

type ClusterConfig_RedisConfig = isClusterConfig_RedisConfig

type ClusterConfig_RedisConfig_5_0

type ClusterConfig_RedisConfig_5_0 struct {
	// Configuration of a Redis 5.0 server.
	RedisConfig_5_0 *config.RedisConfigSet5_0 `protobuf:"bytes,2,opt,name=redis_config_5_0,json=redisConfig_5_0,proto3,oneof"`
}

type ClusterConfig_RedisConfig_6_0

type ClusterConfig_RedisConfig_6_0 struct {
	// Configuration of a Redis 6.0 server.
	RedisConfig_6_0 *config.RedisConfigSet6_0 `protobuf:"bytes,6,opt,name=redis_config_6_0,json=redisConfig_6_0,proto3,oneof"`
}

type ClusterConfig_RedisConfig_6_2

type ClusterConfig_RedisConfig_6_2 struct {
	// Configuration of a Redis 6.2 server.
	RedisConfig_6_2 *config.RedisConfigSet6_2 `protobuf:"bytes,7,opt,name=redis_config_6_2,json=redisConfig_6_2,proto3,oneof"`
}

type ClusterConfig_RedisConfig_7_0

type ClusterConfig_RedisConfig_7_0 struct {
	// Configuration of a Redis 7.0 server.
	RedisConfig_7_0 *config.RedisConfigSet7_0 `protobuf:"bytes,8,opt,name=redis_config_7_0,json=redisConfig_7_0,proto3,oneof"`
}

type ClusterServiceClient

type ClusterServiceClient interface {
	// Returns the specified Redis cluster.
	//
	// To get the list of available Redis clusters, make a [List] request.
	Get(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
	// Retrieves the list of Redis clusters that belong
	// to the specified folder.
	List(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
	// Creates a Redis cluster in the specified folder.
	Create(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified Redis cluster.
	Update(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified Redis cluster.
	Delete(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Start the specified Redis cluster.
	Start(ctx context.Context, in *StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Stop the specified Redis cluster.
	Stop(ctx context.Context, in *StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Moves a Redis cluster to the specified folder.
	Move(ctx context.Context, in *MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Creates a backup for the specified Redis cluster.
	Backup(ctx context.Context, in *BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Creates a new Redis cluster using the specified backup.
	Restore(ctx context.Context, in *RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Reschedules planned maintenance operation.
	RescheduleMaintenance(ctx context.Context, in *RescheduleMaintenanceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Start a manual failover on the specified Redis cluster.
	StartFailover(ctx context.Context, in *StartClusterFailoverRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Retrieves logs for the specified Redis cluster.
	ListLogs(ctx context.Context, in *ListClusterLogsRequest, opts ...grpc.CallOption) (*ListClusterLogsResponse, error)
	// Same as ListLogs but using server-side streaming. Also allows for 'tail -f' semantics.
	StreamLogs(ctx context.Context, in *StreamClusterLogsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[StreamLogRecord], error)
	// Retrieves the list of operations for the specified cluster.
	ListOperations(ctx context.Context, in *ListClusterOperationsRequest, opts ...grpc.CallOption) (*ListClusterOperationsResponse, error)
	// Retrieves the list of available backups for the specified Redis cluster.
	ListBackups(ctx context.Context, in *ListClusterBackupsRequest, opts ...grpc.CallOption) (*ListClusterBackupsResponse, error)
	// Retrieves a list of hosts for the specified cluster.
	ListHosts(ctx context.Context, in *ListClusterHostsRequest, opts ...grpc.CallOption) (*ListClusterHostsResponse, error)
	// Creates new hosts for a cluster.
	AddHosts(ctx context.Context, in *AddClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified hosts for a cluster.
	DeleteHosts(ctx context.Context, in *DeleteClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified hosts.
	UpdateHosts(ctx context.Context, in *UpdateClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Returns the specified shard.
	GetShard(ctx context.Context, in *GetClusterShardRequest, opts ...grpc.CallOption) (*Shard, error)
	// Retrieves a list of shards.
	ListShards(ctx context.Context, in *ListClusterShardsRequest, opts ...grpc.CallOption) (*ListClusterShardsResponse, error)
	// Creates a new shard.
	AddShard(ctx context.Context, in *AddClusterShardRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified shard.
	DeleteShard(ctx context.Context, in *DeleteClusterShardRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Rebalances the cluster. Evenly distributes all the hash slots between the shards.
	Rebalance(ctx context.Context, in *RebalanceClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Enable Sharding on non sharded cluster
	EnableSharding(ctx context.Context, in *EnableShardingClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

ClusterServiceClient is the client API for ClusterService 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.

A set of methods for managing Redis clusters.

type ClusterServiceServer

type ClusterServiceServer interface {
	// Returns the specified Redis cluster.
	//
	// To get the list of available Redis clusters, make a [List] request.
	Get(context.Context, *GetClusterRequest) (*Cluster, error)
	// Retrieves the list of Redis clusters that belong
	// to the specified folder.
	List(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
	// Creates a Redis cluster in the specified folder.
	Create(context.Context, *CreateClusterRequest) (*operation.Operation, error)
	// Updates the specified Redis cluster.
	Update(context.Context, *UpdateClusterRequest) (*operation.Operation, error)
	// Deletes the specified Redis cluster.
	Delete(context.Context, *DeleteClusterRequest) (*operation.Operation, error)
	// Start the specified Redis cluster.
	Start(context.Context, *StartClusterRequest) (*operation.Operation, error)
	// Stop the specified Redis cluster.
	Stop(context.Context, *StopClusterRequest) (*operation.Operation, error)
	// Moves a Redis cluster to the specified folder.
	Move(context.Context, *MoveClusterRequest) (*operation.Operation, error)
	// Creates a backup for the specified Redis cluster.
	Backup(context.Context, *BackupClusterRequest) (*operation.Operation, error)
	// Creates a new Redis cluster using the specified backup.
	Restore(context.Context, *RestoreClusterRequest) (*operation.Operation, error)
	// Reschedules planned maintenance operation.
	RescheduleMaintenance(context.Context, *RescheduleMaintenanceRequest) (*operation.Operation, error)
	// Start a manual failover on the specified Redis cluster.
	StartFailover(context.Context, *StartClusterFailoverRequest) (*operation.Operation, error)
	// Retrieves logs for the specified Redis cluster.
	ListLogs(context.Context, *ListClusterLogsRequest) (*ListClusterLogsResponse, error)
	// Same as ListLogs but using server-side streaming. Also allows for 'tail -f' semantics.
	StreamLogs(*StreamClusterLogsRequest, grpc.ServerStreamingServer[StreamLogRecord]) error
	// Retrieves the list of operations for the specified cluster.
	ListOperations(context.Context, *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error)
	// Retrieves the list of available backups for the specified Redis cluster.
	ListBackups(context.Context, *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error)
	// Retrieves a list of hosts for the specified cluster.
	ListHosts(context.Context, *ListClusterHostsRequest) (*ListClusterHostsResponse, error)
	// Creates new hosts for a cluster.
	AddHosts(context.Context, *AddClusterHostsRequest) (*operation.Operation, error)
	// Deletes the specified hosts for a cluster.
	DeleteHosts(context.Context, *DeleteClusterHostsRequest) (*operation.Operation, error)
	// Updates the specified hosts.
	UpdateHosts(context.Context, *UpdateClusterHostsRequest) (*operation.Operation, error)
	// Returns the specified shard.
	GetShard(context.Context, *GetClusterShardRequest) (*Shard, error)
	// Retrieves a list of shards.
	ListShards(context.Context, *ListClusterShardsRequest) (*ListClusterShardsResponse, error)
	// Creates a new shard.
	AddShard(context.Context, *AddClusterShardRequest) (*operation.Operation, error)
	// Deletes the specified shard.
	DeleteShard(context.Context, *DeleteClusterShardRequest) (*operation.Operation, error)
	// Rebalances the cluster. Evenly distributes all the hash slots between the shards.
	Rebalance(context.Context, *RebalanceClusterRequest) (*operation.Operation, error)
	// Enable Sharding on non sharded cluster
	EnableSharding(context.Context, *EnableShardingClusterRequest) (*operation.Operation, error)
}

ClusterServiceServer is the server API for ClusterService service. All implementations should embed UnimplementedClusterServiceServer for forward compatibility.

A set of methods for managing Redis clusters.

type ClusterService_StreamLogsClient

type ClusterService_StreamLogsClient = grpc.ServerStreamingClient[StreamLogRecord]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ClusterService_StreamLogsServer

type ClusterService_StreamLogsServer = grpc.ServerStreamingServer[StreamLogRecord]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Cluster_Environment

type Cluster_Environment int32
const (
	Cluster_ENVIRONMENT_UNSPECIFIED Cluster_Environment = 0
	// Stable environment with a conservative update policy:
	// only hotfixes are applied during regular maintenance.
	Cluster_PRODUCTION Cluster_Environment = 1
	// Environment with more aggressive update policy: new versions
	// are rolled out irrespective of backward compatibility.
	Cluster_PRESTABLE Cluster_Environment = 2
)

func (Cluster_Environment) Descriptor

func (Cluster_Environment) Enum

func (Cluster_Environment) EnumDescriptor deprecated

func (Cluster_Environment) EnumDescriptor() ([]byte, []int)

Deprecated: Use Cluster_Environment.Descriptor instead.

func (Cluster_Environment) Number

func (Cluster_Environment) String

func (x Cluster_Environment) String() string

func (Cluster_Environment) Type

type Cluster_Health

type Cluster_Health int32
const (
	// Cluster is in unknown state (we have no data)
	Cluster_HEALTH_UNKNOWN Cluster_Health = 0
	// Cluster is alive and well (all hosts are alive)
	Cluster_ALIVE Cluster_Health = 1
	// Cluster is inoperable (it cannot perform any of its essential functions)
	Cluster_DEAD Cluster_Health = 2
	// Cluster is partially alive (it can perform some of its essential functions)
	Cluster_DEGRADED Cluster_Health = 3
)

func (Cluster_Health) Descriptor

func (Cluster_Health) Enum

func (x Cluster_Health) Enum() *Cluster_Health

func (Cluster_Health) EnumDescriptor deprecated

func (Cluster_Health) EnumDescriptor() ([]byte, []int)

Deprecated: Use Cluster_Health.Descriptor instead.

func (Cluster_Health) Number

func (Cluster_Health) String

func (x Cluster_Health) String() string

func (Cluster_Health) Type

type Cluster_PersistenceMode

type Cluster_PersistenceMode int32
const (
	Cluster_ON  Cluster_PersistenceMode = 0 // cluster persistence mode on
	Cluster_OFF Cluster_PersistenceMode = 1 // cluster persistence mode off
)

func (Cluster_PersistenceMode) Descriptor

func (Cluster_PersistenceMode) Enum

func (Cluster_PersistenceMode) EnumDescriptor deprecated

func (Cluster_PersistenceMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use Cluster_PersistenceMode.Descriptor instead.

func (Cluster_PersistenceMode) Number

func (Cluster_PersistenceMode) String

func (x Cluster_PersistenceMode) String() string

func (Cluster_PersistenceMode) Type

type Cluster_Status

type Cluster_Status int32
const (
	// Cluster status is unknown
	Cluster_STATUS_UNKNOWN Cluster_Status = 0
	// Cluster is being created
	Cluster_CREATING Cluster_Status = 1
	// Cluster is running
	Cluster_RUNNING Cluster_Status = 2
	// Cluster failed
	Cluster_ERROR Cluster_Status = 3
	// Cluster is being updated.
	Cluster_UPDATING Cluster_Status = 4
	// Cluster is stopping.
	Cluster_STOPPING Cluster_Status = 5
	// Cluster stopped.
	Cluster_STOPPED Cluster_Status = 6
	// Cluster is starting.
	Cluster_STARTING Cluster_Status = 7
)

func (Cluster_Status) Descriptor

func (Cluster_Status) Enum

func (x Cluster_Status) Enum() *Cluster_Status

func (Cluster_Status) EnumDescriptor deprecated

func (Cluster_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Cluster_Status.Descriptor instead.

func (Cluster_Status) Number

func (Cluster_Status) String

func (x Cluster_Status) String() string

func (Cluster_Status) Type

type ConfigSpec

type ConfigSpec struct {

	// Version of Redis used in the cluster.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Configuration of a Redis cluster.
	//
	// Types that are assignable to RedisSpec:
	//
	//	*ConfigSpec_RedisConfig_5_0
	//	*ConfigSpec_RedisConfig_6_0
	//	*ConfigSpec_RedisConfig_6_2
	//	*ConfigSpec_RedisConfig_7_0
	RedisSpec isConfigSpec_RedisSpec `protobuf_oneof:"redis_spec"`
	// Resources allocated to Redis hosts.
	Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
	// Time to start the daily backup, in the UTC timezone.
	BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"`
	// Access policy to DB
	Access *Access `protobuf:"bytes,5,opt,name=access,proto3" json:"access,omitempty"`
	// Unified configuration of a Redis cluster
	Redis *config.RedisConfig `protobuf:"bytes,11,opt,name=redis,proto3" json:"redis,omitempty"`
	// Disk size autoscaling settings
	DiskSizeAutoscaling *DiskSizeAutoscaling `protobuf:"bytes,12,opt,name=disk_size_autoscaling,json=diskSizeAutoscaling,proto3" json:"disk_size_autoscaling,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigSpec) Descriptor deprecated

func (*ConfigSpec) Descriptor() ([]byte, []int)

Deprecated: Use ConfigSpec.ProtoReflect.Descriptor instead.

func (*ConfigSpec) GetAccess

func (x *ConfigSpec) GetAccess() *Access

func (*ConfigSpec) GetBackupWindowStart

func (x *ConfigSpec) GetBackupWindowStart() *timeofday.TimeOfDay

func (*ConfigSpec) GetDiskSizeAutoscaling

func (x *ConfigSpec) GetDiskSizeAutoscaling() *DiskSizeAutoscaling

func (*ConfigSpec) GetRedis

func (x *ConfigSpec) GetRedis() *config.RedisConfig

func (*ConfigSpec) GetRedisConfig_5_0

func (x *ConfigSpec) GetRedisConfig_5_0() *config.RedisConfig5_0

func (*ConfigSpec) GetRedisConfig_6_0

func (x *ConfigSpec) GetRedisConfig_6_0() *config.RedisConfig6_0

func (*ConfigSpec) GetRedisConfig_6_2

func (x *ConfigSpec) GetRedisConfig_6_2() *config.RedisConfig6_2

func (*ConfigSpec) GetRedisConfig_7_0

func (x *ConfigSpec) GetRedisConfig_7_0() *config.RedisConfig7_0

func (*ConfigSpec) GetRedisSpec

func (m *ConfigSpec) GetRedisSpec() isConfigSpec_RedisSpec

func (*ConfigSpec) GetResources

func (x *ConfigSpec) GetResources() *Resources

func (*ConfigSpec) GetVersion

func (x *ConfigSpec) GetVersion() string

func (*ConfigSpec) ProtoMessage

func (*ConfigSpec) ProtoMessage()

func (*ConfigSpec) ProtoReflect

func (x *ConfigSpec) ProtoReflect() protoreflect.Message

func (*ConfigSpec) Reset

func (x *ConfigSpec) Reset()

func (*ConfigSpec) SetAccess

func (m *ConfigSpec) SetAccess(v *Access)

func (*ConfigSpec) SetBackupWindowStart

func (m *ConfigSpec) SetBackupWindowStart(v *timeofday.TimeOfDay)

func (*ConfigSpec) SetDiskSizeAutoscaling

func (m *ConfigSpec) SetDiskSizeAutoscaling(v *DiskSizeAutoscaling)

func (*ConfigSpec) SetRedis

func (m *ConfigSpec) SetRedis(v *config.RedisConfig)

func (*ConfigSpec) SetRedisConfig_5_0

func (m *ConfigSpec) SetRedisConfig_5_0(v *config.RedisConfig5_0)

func (*ConfigSpec) SetRedisConfig_6_0

func (m *ConfigSpec) SetRedisConfig_6_0(v *config.RedisConfig6_0)

func (*ConfigSpec) SetRedisConfig_6_2

func (m *ConfigSpec) SetRedisConfig_6_2(v *config.RedisConfig6_2)

func (*ConfigSpec) SetRedisConfig_7_0

func (m *ConfigSpec) SetRedisConfig_7_0(v *config.RedisConfig7_0)

func (*ConfigSpec) SetRedisSpec

func (m *ConfigSpec) SetRedisSpec(v ConfigSpec_RedisSpec)

func (*ConfigSpec) SetResources

func (m *ConfigSpec) SetResources(v *Resources)

func (*ConfigSpec) SetVersion

func (m *ConfigSpec) SetVersion(v string)

func (*ConfigSpec) String

func (x *ConfigSpec) String() string

type ConfigSpec_RedisConfig_5_0

type ConfigSpec_RedisConfig_5_0 struct {
	RedisConfig_5_0 *config.RedisConfig5_0 `protobuf:"bytes,2,opt,name=redis_config_5_0,json=redisConfig_5_0,proto3,oneof"`
}

type ConfigSpec_RedisConfig_6_0

type ConfigSpec_RedisConfig_6_0 struct {
	RedisConfig_6_0 *config.RedisConfig6_0 `protobuf:"bytes,6,opt,name=redis_config_6_0,json=redisConfig_6_0,proto3,oneof"`
}

type ConfigSpec_RedisConfig_6_2

type ConfigSpec_RedisConfig_6_2 struct {
	RedisConfig_6_2 *config.RedisConfig6_2 `protobuf:"bytes,7,opt,name=redis_config_6_2,json=redisConfig_6_2,proto3,oneof"`
}

type ConfigSpec_RedisConfig_7_0

type ConfigSpec_RedisConfig_7_0 struct {
	RedisConfig_7_0 *config.RedisConfig7_0 `protobuf:"bytes,8,opt,name=redis_config_7_0,json=redisConfig_7_0,proto3,oneof"`
}

type ConfigSpec_RedisSpec

type ConfigSpec_RedisSpec = isConfigSpec_RedisSpec

type CreateClusterMetadata

type CreateClusterMetadata struct {

	// ID of the Redis cluster that is being created.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateClusterMetadata) Descriptor deprecated

func (*CreateClusterMetadata) Descriptor() ([]byte, []int)

Deprecated: Use CreateClusterMetadata.ProtoReflect.Descriptor instead.

func (*CreateClusterMetadata) GetClusterId

func (x *CreateClusterMetadata) GetClusterId() string

func (*CreateClusterMetadata) ProtoMessage

func (*CreateClusterMetadata) ProtoMessage()

func (*CreateClusterMetadata) ProtoReflect

func (x *CreateClusterMetadata) ProtoReflect() protoreflect.Message

func (*CreateClusterMetadata) Reset

func (x *CreateClusterMetadata) Reset()

func (*CreateClusterMetadata) SetClusterId

func (m *CreateClusterMetadata) SetClusterId(v string)

func (*CreateClusterMetadata) String

func (x *CreateClusterMetadata) String() string

type CreateClusterRequest

type CreateClusterRequest struct {

	// ID of the folder to create the Redis cluster in.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the Redis cluster. The name must be unique within the folder.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the Redis cluster.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the Redis cluster as `key:value` pairs. Maximum 64 per cluster.
	// For example, "project": "mvp" or "source": "dictionary".
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Deployment environment of the Redis cluster.
	Environment Cluster_Environment `` /* 127-byte string literal not displayed */
	// Configuration and resources for hosts that should be created for the Redis cluster.
	ConfigSpec *ConfigSpec `protobuf:"bytes,6,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"`
	// Individual configurations for hosts that should be created for the Redis cluster.
	HostSpecs []*HostSpec `protobuf:"bytes,7,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"`
	// ID of the network to create the cluster in.
	NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// Redis cluster mode on/off.
	Sharded bool `protobuf:"varint,11,opt,name=sharded,proto3" json:"sharded,omitempty"`
	// User security groups
	SecurityGroupIds []string `protobuf:"bytes,12,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// TLS port and functionality on\off
	TlsEnabled *wrapperspb.BoolValue `protobuf:"bytes,13,opt,name=tls_enabled,json=tlsEnabled,proto3" json:"tls_enabled,omitempty"`
	// Deletion Protection inhibits deletion of the cluster
	DeletionProtection bool `protobuf:"varint,14,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// Persistence mode
	PersistenceMode Cluster_PersistenceMode `` /* 163-byte string literal not displayed */
	// Enable FQDN instead of ip
	AnnounceHostnames bool `protobuf:"varint,16,opt,name=announce_hostnames,json=announceHostnames,proto3" json:"announce_hostnames,omitempty"`
	// Window of maintenance operations.
	MaintenanceWindow *MaintenanceWindow `protobuf:"bytes,17,opt,name=maintenance_window,json=maintenanceWindow,proto3" json:"maintenance_window,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateClusterRequest) Descriptor deprecated

func (*CreateClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.

func (*CreateClusterRequest) GetAnnounceHostnames

func (x *CreateClusterRequest) GetAnnounceHostnames() bool

func (*CreateClusterRequest) GetConfigSpec

func (x *CreateClusterRequest) GetConfigSpec() *ConfigSpec

func (*CreateClusterRequest) GetDeletionProtection

func (x *CreateClusterRequest) GetDeletionProtection() bool

func (*CreateClusterRequest) GetDescription

func (x *CreateClusterRequest) GetDescription() string

func (*CreateClusterRequest) GetEnvironment

func (x *CreateClusterRequest) GetEnvironment() Cluster_Environment

func (*CreateClusterRequest) GetFolderId

func (x *CreateClusterRequest) GetFolderId() string

func (*CreateClusterRequest) GetHostSpecs

func (x *CreateClusterRequest) GetHostSpecs() []*HostSpec

func (*CreateClusterRequest) GetLabels

func (x *CreateClusterRequest) GetLabels() map[string]string

func (*CreateClusterRequest) GetMaintenanceWindow

func (x *CreateClusterRequest) GetMaintenanceWindow() *MaintenanceWindow

func (*CreateClusterRequest) GetName

func (x *CreateClusterRequest) GetName() string

func (*CreateClusterRequest) GetNetworkId

func (x *CreateClusterRequest) GetNetworkId() string

func (*CreateClusterRequest) GetPersistenceMode

func (x *CreateClusterRequest) GetPersistenceMode() Cluster_PersistenceMode

func (*CreateClusterRequest) GetSecurityGroupIds

func (x *CreateClusterRequest) GetSecurityGroupIds() []string

func (*CreateClusterRequest) GetSharded

func (x *CreateClusterRequest) GetSharded() bool

func (*CreateClusterRequest) GetTlsEnabled

func (x *CreateClusterRequest) GetTlsEnabled() *wrapperspb.BoolValue

func (*CreateClusterRequest) ProtoMessage

func (*CreateClusterRequest) ProtoMessage()

func (*CreateClusterRequest) ProtoReflect

func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message

func (*CreateClusterRequest) Reset

func (x *CreateClusterRequest) Reset()

func (*CreateClusterRequest) SetAnnounceHostnames

func (m *CreateClusterRequest) SetAnnounceHostnames(v bool)

func (*CreateClusterRequest) SetConfigSpec

func (m *CreateClusterRequest) SetConfigSpec(v *ConfigSpec)

func (*CreateClusterRequest) SetDeletionProtection

func (m *CreateClusterRequest) SetDeletionProtection(v bool)

func (*CreateClusterRequest) SetDescription

func (m *CreateClusterRequest) SetDescription(v string)

func (*CreateClusterRequest) SetEnvironment

func (m *CreateClusterRequest) SetEnvironment(v Cluster_Environment)

func (*CreateClusterRequest) SetFolderId

func (m *CreateClusterRequest) SetFolderId(v string)

func (*CreateClusterRequest) SetHostSpecs

func (m *CreateClusterRequest) SetHostSpecs(v []*HostSpec)

func (*CreateClusterRequest) SetLabels

func (m *CreateClusterRequest) SetLabels(v map[string]string)

func (*CreateClusterRequest) SetMaintenanceWindow

func (m *CreateClusterRequest) SetMaintenanceWindow(v *MaintenanceWindow)

func (*CreateClusterRequest) SetName

func (m *CreateClusterRequest) SetName(v string)

func (*CreateClusterRequest) SetNetworkId

func (m *CreateClusterRequest) SetNetworkId(v string)

func (*CreateClusterRequest) SetPersistenceMode

func (m *CreateClusterRequest) SetPersistenceMode(v Cluster_PersistenceMode)

func (*CreateClusterRequest) SetSecurityGroupIds

func (m *CreateClusterRequest) SetSecurityGroupIds(v []string)

func (*CreateClusterRequest) SetSharded

func (m *CreateClusterRequest) SetSharded(v bool)

func (*CreateClusterRequest) SetTlsEnabled

func (m *CreateClusterRequest) SetTlsEnabled(v *wrapperspb.BoolValue)

func (*CreateClusterRequest) String

func (x *CreateClusterRequest) String() string

type DeleteBackupMetadata

type DeleteBackupMetadata struct {

	// Required. ID of the deleting Redis backup.
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBackupMetadata) Descriptor deprecated

func (*DeleteBackupMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBackupMetadata.ProtoReflect.Descriptor instead.

func (*DeleteBackupMetadata) GetBackupId

func (x *DeleteBackupMetadata) GetBackupId() string

func (*DeleteBackupMetadata) ProtoMessage

func (*DeleteBackupMetadata) ProtoMessage()

func (*DeleteBackupMetadata) ProtoReflect

func (x *DeleteBackupMetadata) ProtoReflect() protoreflect.Message

func (*DeleteBackupMetadata) Reset

func (x *DeleteBackupMetadata) Reset()

func (*DeleteBackupMetadata) SetBackupId

func (m *DeleteBackupMetadata) SetBackupId(v string)

func (*DeleteBackupMetadata) String

func (x *DeleteBackupMetadata) String() string

type DeleteBackupRequest

type DeleteBackupRequest struct {

	// Required. ID of the backup to delete.
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBackupRequest) Descriptor deprecated

func (*DeleteBackupRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.

func (*DeleteBackupRequest) GetBackupId

func (x *DeleteBackupRequest) GetBackupId() string

func (*DeleteBackupRequest) ProtoMessage

func (*DeleteBackupRequest) ProtoMessage()

func (*DeleteBackupRequest) ProtoReflect

func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message

func (*DeleteBackupRequest) Reset

func (x *DeleteBackupRequest) Reset()

func (*DeleteBackupRequest) SetBackupId

func (m *DeleteBackupRequest) SetBackupId(v string)

func (*DeleteBackupRequest) String

func (x *DeleteBackupRequest) String() string

type DeleteClusterHostsMetadata

type DeleteClusterHostsMetadata struct {

	// ID of the Redis cluster to remove hosts from.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Names of hosts that are being deleted.
	HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClusterHostsMetadata) Descriptor deprecated

func (*DeleteClusterHostsMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DeleteClusterHostsMetadata.ProtoReflect.Descriptor instead.

func (*DeleteClusterHostsMetadata) GetClusterId

func (x *DeleteClusterHostsMetadata) GetClusterId() string

func (*DeleteClusterHostsMetadata) GetHostNames

func (x *DeleteClusterHostsMetadata) GetHostNames() []string

func (*DeleteClusterHostsMetadata) ProtoMessage

func (*DeleteClusterHostsMetadata) ProtoMessage()

func (*DeleteClusterHostsMetadata) ProtoReflect

func (*DeleteClusterHostsMetadata) Reset

func (x *DeleteClusterHostsMetadata) Reset()

func (*DeleteClusterHostsMetadata) SetClusterId

func (m *DeleteClusterHostsMetadata) SetClusterId(v string)

func (*DeleteClusterHostsMetadata) SetHostNames

func (m *DeleteClusterHostsMetadata) SetHostNames(v []string)

func (*DeleteClusterHostsMetadata) String

func (x *DeleteClusterHostsMetadata) String() string

type DeleteClusterHostsRequest

type DeleteClusterHostsRequest struct {

	// ID of the Redis cluster to remove hosts from.
	// To get the Redis cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Names of hosts to delete.
	HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClusterHostsRequest) Descriptor deprecated

func (*DeleteClusterHostsRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteClusterHostsRequest.ProtoReflect.Descriptor instead.

func (*DeleteClusterHostsRequest) GetClusterId

func (x *DeleteClusterHostsRequest) GetClusterId() string

func (*DeleteClusterHostsRequest) GetHostNames

func (x *DeleteClusterHostsRequest) GetHostNames() []string

func (*DeleteClusterHostsRequest) ProtoMessage

func (*DeleteClusterHostsRequest) ProtoMessage()

func (*DeleteClusterHostsRequest) ProtoReflect

func (*DeleteClusterHostsRequest) Reset

func (x *DeleteClusterHostsRequest) Reset()

func (*DeleteClusterHostsRequest) SetClusterId

func (m *DeleteClusterHostsRequest) SetClusterId(v string)

func (*DeleteClusterHostsRequest) SetHostNames

func (m *DeleteClusterHostsRequest) SetHostNames(v []string)

func (*DeleteClusterHostsRequest) String

func (x *DeleteClusterHostsRequest) String() string

type DeleteClusterMetadata

type DeleteClusterMetadata struct {

	// ID of the Redis cluster that is being deleted.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClusterMetadata) Descriptor deprecated

func (*DeleteClusterMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DeleteClusterMetadata.ProtoReflect.Descriptor instead.

func (*DeleteClusterMetadata) GetClusterId

func (x *DeleteClusterMetadata) GetClusterId() string

func (*DeleteClusterMetadata) ProtoMessage

func (*DeleteClusterMetadata) ProtoMessage()

func (*DeleteClusterMetadata) ProtoReflect

func (x *DeleteClusterMetadata) ProtoReflect() protoreflect.Message

func (*DeleteClusterMetadata) Reset

func (x *DeleteClusterMetadata) Reset()

func (*DeleteClusterMetadata) SetClusterId

func (m *DeleteClusterMetadata) SetClusterId(v string)

func (*DeleteClusterMetadata) String

func (x *DeleteClusterMetadata) String() string

type DeleteClusterRequest

type DeleteClusterRequest struct {

	// ID of the Redis cluster to delete.
	// To get the Redis cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClusterRequest) Descriptor deprecated

func (*DeleteClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.

func (*DeleteClusterRequest) GetClusterId

func (x *DeleteClusterRequest) GetClusterId() string

func (*DeleteClusterRequest) ProtoMessage

func (*DeleteClusterRequest) ProtoMessage()

func (*DeleteClusterRequest) ProtoReflect

func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message

func (*DeleteClusterRequest) Reset

func (x *DeleteClusterRequest) Reset()

func (*DeleteClusterRequest) SetClusterId

func (m *DeleteClusterRequest) SetClusterId(v string)

func (*DeleteClusterRequest) String

func (x *DeleteClusterRequest) String() string

type DeleteClusterShardMetadata

type DeleteClusterShardMetadata struct {

	// ID of the Redis cluster the shard belongs to.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the Redis shard that is being deleted.
	ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClusterShardMetadata) Descriptor deprecated

func (*DeleteClusterShardMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DeleteClusterShardMetadata.ProtoReflect.Descriptor instead.

func (*DeleteClusterShardMetadata) GetClusterId

func (x *DeleteClusterShardMetadata) GetClusterId() string

func (*DeleteClusterShardMetadata) GetShardName

func (x *DeleteClusterShardMetadata) GetShardName() string

func (*DeleteClusterShardMetadata) ProtoMessage

func (*DeleteClusterShardMetadata) ProtoMessage()

func (*DeleteClusterShardMetadata) ProtoReflect

func (*DeleteClusterShardMetadata) Reset

func (x *DeleteClusterShardMetadata) Reset()

func (*DeleteClusterShardMetadata) SetClusterId

func (m *DeleteClusterShardMetadata) SetClusterId(v string)

func (*DeleteClusterShardMetadata) SetShardName

func (m *DeleteClusterShardMetadata) SetShardName(v string)

func (*DeleteClusterShardMetadata) String

func (x *DeleteClusterShardMetadata) String() string

type DeleteClusterShardRequest

type DeleteClusterShardRequest struct {

	// ID of the Redis cluster the shard belongs to.
	// To get the cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the Redis shard to delete.
	// To get the shard name use a [ClusterService.ListShards] request.
	ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClusterShardRequest) Descriptor deprecated

func (*DeleteClusterShardRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteClusterShardRequest.ProtoReflect.Descriptor instead.

func (*DeleteClusterShardRequest) GetClusterId

func (x *DeleteClusterShardRequest) GetClusterId() string

func (*DeleteClusterShardRequest) GetShardName

func (x *DeleteClusterShardRequest) GetShardName() string

func (*DeleteClusterShardRequest) ProtoMessage

func (*DeleteClusterShardRequest) ProtoMessage()

func (*DeleteClusterShardRequest) ProtoReflect

func (*DeleteClusterShardRequest) Reset

func (x *DeleteClusterShardRequest) Reset()

func (*DeleteClusterShardRequest) SetClusterId

func (m *DeleteClusterShardRequest) SetClusterId(v string)

func (*DeleteClusterShardRequest) SetShardName

func (m *DeleteClusterShardRequest) SetShardName(v string)

func (*DeleteClusterShardRequest) String

func (x *DeleteClusterShardRequest) String() string

type DiskSizeAutoscaling

type DiskSizeAutoscaling struct {

	// Amount of used storage for automatic disk scaling in the maintenance window, 0 means disabled, in percent.
	PlannedUsageThreshold *wrapperspb.Int64Value `` /* 126-byte string literal not displayed */
	// Amount of used storage for immediately  automatic disk scaling, 0 means disabled, in percent.
	EmergencyUsageThreshold *wrapperspb.Int64Value `` /* 132-byte string literal not displayed */
	// Limit on how large the storage for database instances can automatically grow, in bytes.
	DiskSizeLimit *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=disk_size_limit,json=diskSizeLimit,proto3" json:"disk_size_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*DiskSizeAutoscaling) Descriptor deprecated

func (*DiskSizeAutoscaling) Descriptor() ([]byte, []int)

Deprecated: Use DiskSizeAutoscaling.ProtoReflect.Descriptor instead.

func (*DiskSizeAutoscaling) GetDiskSizeLimit

func (x *DiskSizeAutoscaling) GetDiskSizeLimit() *wrapperspb.Int64Value

func (*DiskSizeAutoscaling) GetEmergencyUsageThreshold

func (x *DiskSizeAutoscaling) GetEmergencyUsageThreshold() *wrapperspb.Int64Value

func (*DiskSizeAutoscaling) GetPlannedUsageThreshold

func (x *DiskSizeAutoscaling) GetPlannedUsageThreshold() *wrapperspb.Int64Value

func (*DiskSizeAutoscaling) ProtoMessage

func (*DiskSizeAutoscaling) ProtoMessage()

func (*DiskSizeAutoscaling) ProtoReflect

func (x *DiskSizeAutoscaling) ProtoReflect() protoreflect.Message

func (*DiskSizeAutoscaling) Reset

func (x *DiskSizeAutoscaling) Reset()

func (*DiskSizeAutoscaling) SetDiskSizeLimit

func (m *DiskSizeAutoscaling) SetDiskSizeLimit(v *wrapperspb.Int64Value)

func (*DiskSizeAutoscaling) SetEmergencyUsageThreshold

func (m *DiskSizeAutoscaling) SetEmergencyUsageThreshold(v *wrapperspb.Int64Value)

func (*DiskSizeAutoscaling) SetPlannedUsageThreshold

func (m *DiskSizeAutoscaling) SetPlannedUsageThreshold(v *wrapperspb.Int64Value)

func (*DiskSizeAutoscaling) String

func (x *DiskSizeAutoscaling) String() string

type EnableShardingClusterMetadata

type EnableShardingClusterMetadata struct {
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*EnableShardingClusterMetadata) Descriptor deprecated

func (*EnableShardingClusterMetadata) Descriptor() ([]byte, []int)

Deprecated: Use EnableShardingClusterMetadata.ProtoReflect.Descriptor instead.

func (*EnableShardingClusterMetadata) GetClusterId

func (x *EnableShardingClusterMetadata) GetClusterId() string

func (*EnableShardingClusterMetadata) ProtoMessage

func (*EnableShardingClusterMetadata) ProtoMessage()

func (*EnableShardingClusterMetadata) ProtoReflect

func (*EnableShardingClusterMetadata) Reset

func (x *EnableShardingClusterMetadata) Reset()

func (*EnableShardingClusterMetadata) SetClusterId

func (m *EnableShardingClusterMetadata) SetClusterId(v string)

func (*EnableShardingClusterMetadata) String

type EnableShardingClusterRequest

type EnableShardingClusterRequest struct {

	// Required. ID of the Redis cluster to return.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*EnableShardingClusterRequest) Descriptor deprecated

func (*EnableShardingClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnableShardingClusterRequest.ProtoReflect.Descriptor instead.

func (*EnableShardingClusterRequest) GetClusterId

func (x *EnableShardingClusterRequest) GetClusterId() string

func (*EnableShardingClusterRequest) ProtoMessage

func (*EnableShardingClusterRequest) ProtoMessage()

func (*EnableShardingClusterRequest) ProtoReflect

func (*EnableShardingClusterRequest) Reset

func (x *EnableShardingClusterRequest) Reset()

func (*EnableShardingClusterRequest) SetClusterId

func (m *EnableShardingClusterRequest) SetClusterId(v string)

func (*EnableShardingClusterRequest) String

type GetBackupRequest

type GetBackupRequest struct {

	// ID of the Redis backup to return.
	// To get the backup ID, use a [ClusterService.ListBackups] request.
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBackupRequest) Descriptor deprecated

func (*GetBackupRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.

func (*GetBackupRequest) GetBackupId

func (x *GetBackupRequest) GetBackupId() string

func (*GetBackupRequest) ProtoMessage

func (*GetBackupRequest) ProtoMessage()

func (*GetBackupRequest) ProtoReflect

func (x *GetBackupRequest) ProtoReflect() protoreflect.Message

func (*GetBackupRequest) Reset

func (x *GetBackupRequest) Reset()

func (*GetBackupRequest) SetBackupId

func (m *GetBackupRequest) SetBackupId(v string)

func (*GetBackupRequest) String

func (x *GetBackupRequest) String() string

type GetClusterRequest

type GetClusterRequest struct {

	// ID of the Redis cluster to return.
	// To get the cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClusterRequest) Descriptor deprecated

func (*GetClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.

func (*GetClusterRequest) GetClusterId

func (x *GetClusterRequest) GetClusterId() string

func (*GetClusterRequest) ProtoMessage

func (*GetClusterRequest) ProtoMessage()

func (*GetClusterRequest) ProtoReflect

func (x *GetClusterRequest) ProtoReflect() protoreflect.Message

func (*GetClusterRequest) Reset

func (x *GetClusterRequest) Reset()

func (*GetClusterRequest) SetClusterId

func (m *GetClusterRequest) SetClusterId(v string)

func (*GetClusterRequest) String

func (x *GetClusterRequest) String() string

type GetClusterShardRequest

type GetClusterShardRequest struct {

	// ID of the Redis cluster the shard belongs to.
	// To get the cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of Redis shard to return.
	// To get the shard name use a [ClusterService.ListShards] request.
	ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClusterShardRequest) Descriptor deprecated

func (*GetClusterShardRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetClusterShardRequest.ProtoReflect.Descriptor instead.

func (*GetClusterShardRequest) GetClusterId

func (x *GetClusterShardRequest) GetClusterId() string

func (*GetClusterShardRequest) GetShardName

func (x *GetClusterShardRequest) GetShardName() string

func (*GetClusterShardRequest) ProtoMessage

func (*GetClusterShardRequest) ProtoMessage()

func (*GetClusterShardRequest) ProtoReflect

func (x *GetClusterShardRequest) ProtoReflect() protoreflect.Message

func (*GetClusterShardRequest) Reset

func (x *GetClusterShardRequest) Reset()

func (*GetClusterShardRequest) SetClusterId

func (m *GetClusterShardRequest) SetClusterId(v string)

func (*GetClusterShardRequest) SetShardName

func (m *GetClusterShardRequest) SetShardName(v string)

func (*GetClusterShardRequest) String

func (x *GetClusterShardRequest) String() string

type GetResourcePresetRequest

type GetResourcePresetRequest struct {

	// ID of the resource preset to return.
	// To get the resource preset ID, use a [ResourcePresetService.List] request.
	ResourcePresetId string `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourcePresetRequest) Descriptor deprecated

func (*GetResourcePresetRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetResourcePresetRequest.ProtoReflect.Descriptor instead.

func (*GetResourcePresetRequest) GetResourcePresetId

func (x *GetResourcePresetRequest) GetResourcePresetId() string

func (*GetResourcePresetRequest) ProtoMessage

func (*GetResourcePresetRequest) ProtoMessage()

func (*GetResourcePresetRequest) ProtoReflect

func (x *GetResourcePresetRequest) ProtoReflect() protoreflect.Message

func (*GetResourcePresetRequest) Reset

func (x *GetResourcePresetRequest) Reset()

func (*GetResourcePresetRequest) SetResourcePresetId

func (m *GetResourcePresetRequest) SetResourcePresetId(v string)

func (*GetResourcePresetRequest) String

func (x *GetResourcePresetRequest) String() string

type Host

type Host struct {

	// Name of the Redis host. The host name is assigned by MDB at creation time, and cannot be changed.
	// 1-63 characters long.
	//
	// The name is unique across all MDB hosts that exist on the platform, as it defines the FQDN of the host.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the Redis cluster. The ID is assigned by MDB at creation time.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the availability zone where the Redis host resides.
	ZoneId string `protobuf:"bytes,3,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	// ID of the subnet that the host belongs to.
	SubnetId string `protobuf:"bytes,4,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// Resources allocated to the Redis host.
	Resources *Resources `protobuf:"bytes,5,opt,name=resources,proto3" json:"resources,omitempty"`
	// Role of the host in the cluster. If the field has default value, it is not returned in the response.
	Role Host_Role `protobuf:"varint,6,opt,name=role,proto3,enum=yandex.cloud.mdb.redis.v1.Host_Role" json:"role,omitempty"`
	// Aggregated health of the host. If the field has default value, it is not returned in the response.
	Health Host_Health `protobuf:"varint,7,opt,name=health,proto3,enum=yandex.cloud.mdb.redis.v1.Host_Health" json:"health,omitempty"`
	// Services provided by the host.
	Services  []*Service `protobuf:"bytes,8,rep,name=services,proto3" json:"services,omitempty"`
	ShardName string     `protobuf:"bytes,9,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"`
	// A replica with a low priority number is considered better for promotion.
	// A replica with priority of 0 will never be selected by Redis Sentinel for promotion.
	// Works only for non-sharded clusters. Default value is 100.
	ReplicaPriority *wrapperspb.Int64Value `protobuf:"bytes,10,opt,name=replica_priority,json=replicaPriority,proto3" json:"replica_priority,omitempty"`
	// Flag showing public IP assignment status to this host.
	AssignPublicIp bool `protobuf:"varint,11,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"`
	// contains filtered or unexported fields
}

func (*Host) Descriptor deprecated

func (*Host) Descriptor() ([]byte, []int)

Deprecated: Use Host.ProtoReflect.Descriptor instead.

func (*Host) GetAssignPublicIp

func (x *Host) GetAssignPublicIp() bool

func (*Host) GetClusterId

func (x *Host) GetClusterId() string

func (*Host) GetHealth

func (x *Host) GetHealth() Host_Health

func (*Host) GetName

func (x *Host) GetName() string

func (*Host) GetReplicaPriority

func (x *Host) GetReplicaPriority() *wrapperspb.Int64Value

func (*Host) GetResources

func (x *Host) GetResources() *Resources

func (*Host) GetRole

func (x *Host) GetRole() Host_Role

func (*Host) GetServices

func (x *Host) GetServices() []*Service

func (*Host) GetShardName

func (x *Host) GetShardName() string

func (*Host) GetSubnetId

func (x *Host) GetSubnetId() string

func (*Host) GetZoneId

func (x *Host) GetZoneId() string

func (*Host) ProtoMessage

func (*Host) ProtoMessage()

func (*Host) ProtoReflect

func (x *Host) ProtoReflect() protoreflect.Message

func (*Host) Reset

func (x *Host) Reset()

func (*Host) SetAssignPublicIp

func (m *Host) SetAssignPublicIp(v bool)

func (*Host) SetClusterId

func (m *Host) SetClusterId(v string)

func (*Host) SetHealth

func (m *Host) SetHealth(v Host_Health)

func (*Host) SetName

func (m *Host) SetName(v string)

func (*Host) SetReplicaPriority

func (m *Host) SetReplicaPriority(v *wrapperspb.Int64Value)

func (*Host) SetResources

func (m *Host) SetResources(v *Resources)

func (*Host) SetRole

func (m *Host) SetRole(v Host_Role)

func (*Host) SetServices

func (m *Host) SetServices(v []*Service)

func (*Host) SetShardName

func (m *Host) SetShardName(v string)

func (*Host) SetSubnetId

func (m *Host) SetSubnetId(v string)

func (*Host) SetZoneId

func (m *Host) SetZoneId(v string)

func (*Host) String

func (x *Host) String() string

type HostSpec

type HostSpec struct {

	// ID of the availability zone where the host resides.
	// To get a list of available zones, use the [yandex.cloud.compute.v1.ZoneService.List] request.
	ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	// ID of the subnet that the host should belong to. This subnet should be a part
	// of the network that the cluster belongs to.
	// The ID of the network is set in the field [Cluster.network_id].
	SubnetId string `protobuf:"bytes,2,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// ID of the Redis shard the host belongs to.
	// To get the shard ID use a [ClusterService.ListShards] request.
	ShardName string `protobuf:"bytes,3,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"`
	// A replica with a low priority number is considered better for promotion.
	// A replica with priority of 0 will never be selected by Redis Sentinel for promotion.
	// Works only for non-sharded clusters. Default value is 100.
	ReplicaPriority *wrapperspb.Int64Value `protobuf:"bytes,4,opt,name=replica_priority,json=replicaPriority,proto3" json:"replica_priority,omitempty"`
	// Whether the host should get a public IP address on creation.
	//
	// Possible values:
	// * false - don't assign a public IP to the host.
	// * true - the host should have a public IP address.
	AssignPublicIp bool `protobuf:"varint,5,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"`
	// contains filtered or unexported fields
}

func (*HostSpec) Descriptor deprecated

func (*HostSpec) Descriptor() ([]byte, []int)

Deprecated: Use HostSpec.ProtoReflect.Descriptor instead.

func (*HostSpec) GetAssignPublicIp

func (x *HostSpec) GetAssignPublicIp() bool

func (*HostSpec) GetReplicaPriority

func (x *HostSpec) GetReplicaPriority() *wrapperspb.Int64Value

func (*HostSpec) GetShardName

func (x *HostSpec) GetShardName() string

func (*HostSpec) GetSubnetId

func (x *HostSpec) GetSubnetId() string

func (*HostSpec) GetZoneId

func (x *HostSpec) GetZoneId() string

func (*HostSpec) ProtoMessage

func (*HostSpec) ProtoMessage()

func (*HostSpec) ProtoReflect

func (x *HostSpec) ProtoReflect() protoreflect.Message

func (*HostSpec) Reset

func (x *HostSpec) Reset()

func (*HostSpec) SetAssignPublicIp

func (m *HostSpec) SetAssignPublicIp(v bool)

func (*HostSpec) SetReplicaPriority

func (m *HostSpec) SetReplicaPriority(v *wrapperspb.Int64Value)

func (*HostSpec) SetShardName

func (m *HostSpec) SetShardName(v string)

func (*HostSpec) SetSubnetId

func (m *HostSpec) SetSubnetId(v string)

func (*HostSpec) SetZoneId

func (m *HostSpec) SetZoneId(v string)

func (*HostSpec) String

func (x *HostSpec) String() string

type Host_Health

type Host_Health int32
const (
	// Health of the host is unknown. Default value.
	Host_HEALTH_UNKNOWN Host_Health = 0
	// The host is performing all its functions normally.
	Host_ALIVE Host_Health = 1
	// The host is inoperable, and cannot perform any of its essential functions.
	Host_DEAD Host_Health = 2
	// The host is degraded, and can perform only some of its essential functions.
	Host_DEGRADED Host_Health = 3
)

func (Host_Health) Descriptor

func (Host_Health) Enum

func (x Host_Health) Enum() *Host_Health

func (Host_Health) EnumDescriptor deprecated

func (Host_Health) EnumDescriptor() ([]byte, []int)

Deprecated: Use Host_Health.Descriptor instead.

func (Host_Health) Number

func (x Host_Health) Number() protoreflect.EnumNumber

func (Host_Health) String

func (x Host_Health) String() string

func (Host_Health) Type

type Host_Role

type Host_Role int32
const (
	// Role of the host in the cluster is unknown. Default value.
	Host_ROLE_UNKNOWN Host_Role = 0
	// Host is the master Redis server in the cluster.
	Host_MASTER Host_Role = 1
	// Host is a replica (standby) Redis server in the cluster.
	Host_REPLICA Host_Role = 2
)

func (Host_Role) Descriptor

func (Host_Role) Descriptor() protoreflect.EnumDescriptor

func (Host_Role) Enum

func (x Host_Role) Enum() *Host_Role

func (Host_Role) EnumDescriptor deprecated

func (Host_Role) EnumDescriptor() ([]byte, []int)

Deprecated: Use Host_Role.Descriptor instead.

func (Host_Role) Number

func (x Host_Role) Number() protoreflect.EnumNumber

func (Host_Role) String

func (x Host_Role) String() string

func (Host_Role) Type

type ListBackupsRequest

type ListBackupsRequest struct {

	// ID of the folder to list backups in.
	// To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListBackupsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the [ListBackupsResponse.next_page_token]
	// returned by the previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBackupsRequest) Descriptor deprecated

func (*ListBackupsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.

func (*ListBackupsRequest) GetFolderId

func (x *ListBackupsRequest) GetFolderId() string

func (*ListBackupsRequest) GetPageSize

func (x *ListBackupsRequest) GetPageSize() int64

func (*ListBackupsRequest) GetPageToken

func (x *ListBackupsRequest) GetPageToken() string

func (*ListBackupsRequest) ProtoMessage

func (*ListBackupsRequest) ProtoMessage()

func (*ListBackupsRequest) ProtoReflect

func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message

func (*ListBackupsRequest) Reset

func (x *ListBackupsRequest) Reset()

func (*ListBackupsRequest) SetFolderId

func (m *ListBackupsRequest) SetFolderId(v string)

func (*ListBackupsRequest) SetPageSize

func (m *ListBackupsRequest) SetPageSize(v int64)

func (*ListBackupsRequest) SetPageToken

func (m *ListBackupsRequest) SetPageToken(v string)

func (*ListBackupsRequest) String

func (x *ListBackupsRequest) String() string

type ListBackupsResponse

type ListBackupsResponse struct {

	// Requested list of backups.
	Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListBackupsRequest.page_size], use the [next_page_token] as the value
	// for the [ListBackupsRequest.page_token] parameter in the next list request. Each subsequent
	// list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBackupsResponse) Descriptor deprecated

func (*ListBackupsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.

func (*ListBackupsResponse) GetBackups

func (x *ListBackupsResponse) GetBackups() []*Backup

func (*ListBackupsResponse) GetNextPageToken

func (x *ListBackupsResponse) GetNextPageToken() string

func (*ListBackupsResponse) ProtoMessage

func (*ListBackupsResponse) ProtoMessage()

func (*ListBackupsResponse) ProtoReflect

func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message

func (*ListBackupsResponse) Reset

func (x *ListBackupsResponse) Reset()

func (*ListBackupsResponse) SetBackups

func (m *ListBackupsResponse) SetBackups(v []*Backup)

func (*ListBackupsResponse) SetNextPageToken

func (m *ListBackupsResponse) SetNextPageToken(v string)

func (*ListBackupsResponse) String

func (x *ListBackupsResponse) String() string

type ListClusterBackupsRequest

type ListClusterBackupsRequest struct {

	// ID of the Redis cluster.
	// To get the Redis cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListClusterBackupsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.  To get the next page of results, set [page_token] to the [ListClusterBackupsResponse.next_page_token]
	// returned by the previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterBackupsRequest) Descriptor deprecated

func (*ListClusterBackupsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListClusterBackupsRequest.ProtoReflect.Descriptor instead.

func (*ListClusterBackupsRequest) GetClusterId

func (x *ListClusterBackupsRequest) GetClusterId() string

func (*ListClusterBackupsRequest) GetPageSize

func (x *ListClusterBackupsRequest) GetPageSize() int64

func (*ListClusterBackupsRequest) GetPageToken

func (x *ListClusterBackupsRequest) GetPageToken() string

func (*ListClusterBackupsRequest) ProtoMessage

func (*ListClusterBackupsRequest) ProtoMessage()

func (*ListClusterBackupsRequest) ProtoReflect

func (*ListClusterBackupsRequest) Reset

func (x *ListClusterBackupsRequest) Reset()

func (*ListClusterBackupsRequest) SetClusterId

func (m *ListClusterBackupsRequest) SetClusterId(v string)

func (*ListClusterBackupsRequest) SetPageSize

func (m *ListClusterBackupsRequest) SetPageSize(v int64)

func (*ListClusterBackupsRequest) SetPageToken

func (m *ListClusterBackupsRequest) SetPageToken(v string)

func (*ListClusterBackupsRequest) String

func (x *ListClusterBackupsRequest) String() string

type ListClusterBackupsResponse

type ListClusterBackupsResponse struct {

	// List of Redis backups.
	Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListClusterBackupsRequest.page_size], use the [next_page_token] as the value
	// for the [ListClusterBackupsRequest.page_token] query parameter in the next list request.
	// Each subsequent list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterBackupsResponse) Descriptor deprecated

func (*ListClusterBackupsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListClusterBackupsResponse.ProtoReflect.Descriptor instead.

func (*ListClusterBackupsResponse) GetBackups

func (x *ListClusterBackupsResponse) GetBackups() []*Backup

func (*ListClusterBackupsResponse) GetNextPageToken

func (x *ListClusterBackupsResponse) GetNextPageToken() string

func (*ListClusterBackupsResponse) ProtoMessage

func (*ListClusterBackupsResponse) ProtoMessage()

func (*ListClusterBackupsResponse) ProtoReflect

func (*ListClusterBackupsResponse) Reset

func (x *ListClusterBackupsResponse) Reset()

func (*ListClusterBackupsResponse) SetBackups

func (m *ListClusterBackupsResponse) SetBackups(v []*Backup)

func (*ListClusterBackupsResponse) SetNextPageToken

func (m *ListClusterBackupsResponse) SetNextPageToken(v string)

func (*ListClusterBackupsResponse) String

func (x *ListClusterBackupsResponse) String() string

type ListClusterHostsRequest

type ListClusterHostsRequest struct {

	// ID of the Redis cluster.
	// To get the Redis cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListClusterHostsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.  To get the next page of results, set [page_token] to the [ListClusterHostsResponse.next_page_token]
	// returned by the previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterHostsRequest) Descriptor deprecated

func (*ListClusterHostsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListClusterHostsRequest.ProtoReflect.Descriptor instead.

func (*ListClusterHostsRequest) GetClusterId

func (x *ListClusterHostsRequest) GetClusterId() string

func (*ListClusterHostsRequest) GetPageSize

func (x *ListClusterHostsRequest) GetPageSize() int64

func (*ListClusterHostsRequest) GetPageToken

func (x *ListClusterHostsRequest) GetPageToken() string

func (*ListClusterHostsRequest) ProtoMessage

func (*ListClusterHostsRequest) ProtoMessage()

func (*ListClusterHostsRequest) ProtoReflect

func (x *ListClusterHostsRequest) ProtoReflect() protoreflect.Message

func (*ListClusterHostsRequest) Reset

func (x *ListClusterHostsRequest) Reset()

func (*ListClusterHostsRequest) SetClusterId

func (m *ListClusterHostsRequest) SetClusterId(v string)

func (*ListClusterHostsRequest) SetPageSize

func (m *ListClusterHostsRequest) SetPageSize(v int64)

func (*ListClusterHostsRequest) SetPageToken

func (m *ListClusterHostsRequest) SetPageToken(v string)

func (*ListClusterHostsRequest) String

func (x *ListClusterHostsRequest) String() string

type ListClusterHostsResponse

type ListClusterHostsResponse struct {

	// List of hosts for the cluster.
	Hosts []*Host `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListClusterHostsRequest.page_size], use the [next_page_token] as the value
	// for the [ListClusterHostsRequest.page_token] query parameter in the next list request.
	// Each subsequent list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterHostsResponse) Descriptor deprecated

func (*ListClusterHostsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListClusterHostsResponse.ProtoReflect.Descriptor instead.

func (*ListClusterHostsResponse) GetHosts

func (x *ListClusterHostsResponse) GetHosts() []*Host

func (*ListClusterHostsResponse) GetNextPageToken

func (x *ListClusterHostsResponse) GetNextPageToken() string

func (*ListClusterHostsResponse) ProtoMessage

func (*ListClusterHostsResponse) ProtoMessage()

func (*ListClusterHostsResponse) ProtoReflect

func (x *ListClusterHostsResponse) ProtoReflect() protoreflect.Message

func (*ListClusterHostsResponse) Reset

func (x *ListClusterHostsResponse) Reset()

func (*ListClusterHostsResponse) SetHosts

func (m *ListClusterHostsResponse) SetHosts(v []*Host)

func (*ListClusterHostsResponse) SetNextPageToken

func (m *ListClusterHostsResponse) SetNextPageToken(v string)

func (*ListClusterHostsResponse) String

func (x *ListClusterHostsResponse) String() string

type ListClusterLogsRequest

type ListClusterLogsRequest struct {

	// ID of the Redis cluster to request logs for.
	// To get the Redis cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Columns from the logs table to request.
	// If no columns are specified, entire log records are returned.
	ColumnFilter []string                           `protobuf:"bytes,2,rep,name=column_filter,json=columnFilter,proto3" json:"column_filter,omitempty"`
	ServiceType  ListClusterLogsRequest_ServiceType `` /* 161-byte string literal not displayed */
	// Start timestamp for the logs request, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	FromTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"`
	// End timestamp for the logs request, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	ToTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=to_time,json=toTime,proto3" json:"to_time,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListClusterLogsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the
	// [ListClusterLogsResponse.next_page_token] returned by the previous list request.
	PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterLogsRequest) Descriptor deprecated

func (*ListClusterLogsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListClusterLogsRequest.ProtoReflect.Descriptor instead.

func (*ListClusterLogsRequest) GetClusterId

func (x *ListClusterLogsRequest) GetClusterId() string

func (*ListClusterLogsRequest) GetColumnFilter

func (x *ListClusterLogsRequest) GetColumnFilter() []string

func (*ListClusterLogsRequest) GetFromTime

func (x *ListClusterLogsRequest) GetFromTime() *timestamppb.Timestamp

func (*ListClusterLogsRequest) GetPageSize

func (x *ListClusterLogsRequest) GetPageSize() int64

func (*ListClusterLogsRequest) GetPageToken

func (x *ListClusterLogsRequest) GetPageToken() string

func (*ListClusterLogsRequest) GetServiceType

func (*ListClusterLogsRequest) GetToTime

func (*ListClusterLogsRequest) ProtoMessage

func (*ListClusterLogsRequest) ProtoMessage()

func (*ListClusterLogsRequest) ProtoReflect

func (x *ListClusterLogsRequest) ProtoReflect() protoreflect.Message

func (*ListClusterLogsRequest) Reset

func (x *ListClusterLogsRequest) Reset()

func (*ListClusterLogsRequest) SetClusterId

func (m *ListClusterLogsRequest) SetClusterId(v string)

func (*ListClusterLogsRequest) SetColumnFilter

func (m *ListClusterLogsRequest) SetColumnFilter(v []string)

func (*ListClusterLogsRequest) SetFromTime

func (m *ListClusterLogsRequest) SetFromTime(v *timestamppb.Timestamp)

func (*ListClusterLogsRequest) SetPageSize

func (m *ListClusterLogsRequest) SetPageSize(v int64)

func (*ListClusterLogsRequest) SetPageToken

func (m *ListClusterLogsRequest) SetPageToken(v string)

func (*ListClusterLogsRequest) SetServiceType

func (*ListClusterLogsRequest) SetToTime

func (m *ListClusterLogsRequest) SetToTime(v *timestamppb.Timestamp)

func (*ListClusterLogsRequest) String

func (x *ListClusterLogsRequest) String() string

type ListClusterLogsRequest_ServiceType

type ListClusterLogsRequest_ServiceType int32
const (
	ListClusterLogsRequest_SERVICE_TYPE_UNSPECIFIED ListClusterLogsRequest_ServiceType = 0
	// Logs of Redis activity.
	ListClusterLogsRequest_REDIS ListClusterLogsRequest_ServiceType = 1
)

func (ListClusterLogsRequest_ServiceType) Descriptor

func (ListClusterLogsRequest_ServiceType) Enum

func (ListClusterLogsRequest_ServiceType) EnumDescriptor deprecated

func (ListClusterLogsRequest_ServiceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ListClusterLogsRequest_ServiceType.Descriptor instead.

func (ListClusterLogsRequest_ServiceType) Number

func (ListClusterLogsRequest_ServiceType) String

func (ListClusterLogsRequest_ServiceType) Type

type ListClusterLogsResponse

type ListClusterLogsResponse struct {

	// Requested log records.
	Logs []*LogRecord `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListClusterLogsRequest.page_size], use the [next_page_token] as the value
	// for the [ListClusterLogsRequest.page_token] query parameter in the next list request.
	// Each subsequent list request will have its own [next_page_token] to continue paging through the results.
	// This value is interchangeable with `next_record_token` from StreamLogs method.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterLogsResponse) Descriptor deprecated

func (*ListClusterLogsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListClusterLogsResponse.ProtoReflect.Descriptor instead.

func (*ListClusterLogsResponse) GetLogs

func (x *ListClusterLogsResponse) GetLogs() []*LogRecord

func (*ListClusterLogsResponse) GetNextPageToken

func (x *ListClusterLogsResponse) GetNextPageToken() string

func (*ListClusterLogsResponse) ProtoMessage

func (*ListClusterLogsResponse) ProtoMessage()

func (*ListClusterLogsResponse) ProtoReflect

func (x *ListClusterLogsResponse) ProtoReflect() protoreflect.Message

func (*ListClusterLogsResponse) Reset

func (x *ListClusterLogsResponse) Reset()

func (*ListClusterLogsResponse) SetLogs

func (m *ListClusterLogsResponse) SetLogs(v []*LogRecord)

func (*ListClusterLogsResponse) SetNextPageToken

func (m *ListClusterLogsResponse) SetNextPageToken(v string)

func (*ListClusterLogsResponse) String

func (x *ListClusterLogsResponse) String() string

type ListClusterOperationsRequest

type ListClusterOperationsRequest struct {

	// ID of the Redis cluster to list operations for.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListClusterOperationsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.  To get the next page of results, set [page_token] to the [ListClusterOperationsResponse.next_page_token]
	// returned by the previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterOperationsRequest) Descriptor deprecated

func (*ListClusterOperationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListClusterOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListClusterOperationsRequest) GetClusterId

func (x *ListClusterOperationsRequest) GetClusterId() string

func (*ListClusterOperationsRequest) GetPageSize

func (x *ListClusterOperationsRequest) GetPageSize() int64

func (*ListClusterOperationsRequest) GetPageToken

func (x *ListClusterOperationsRequest) GetPageToken() string

func (*ListClusterOperationsRequest) ProtoMessage

func (*ListClusterOperationsRequest) ProtoMessage()

func (*ListClusterOperationsRequest) ProtoReflect

func (*ListClusterOperationsRequest) Reset

func (x *ListClusterOperationsRequest) Reset()

func (*ListClusterOperationsRequest) SetClusterId

func (m *ListClusterOperationsRequest) SetClusterId(v string)

func (*ListClusterOperationsRequest) SetPageSize

func (m *ListClusterOperationsRequest) SetPageSize(v int64)

func (*ListClusterOperationsRequest) SetPageToken

func (m *ListClusterOperationsRequest) SetPageToken(v string)

func (*ListClusterOperationsRequest) String

type ListClusterOperationsResponse

type ListClusterOperationsResponse struct {

	// List of operations for the specified Redis cluster.
	Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListClusterOperationsRequest.page_size], use the [next_page_token] as the value
	// for the [ListClusterOperationsRequest.page_token] query parameter in the next list request.
	// Each subsequent list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterOperationsResponse) Descriptor deprecated

func (*ListClusterOperationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListClusterOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListClusterOperationsResponse) GetNextPageToken

func (x *ListClusterOperationsResponse) GetNextPageToken() string

func (*ListClusterOperationsResponse) GetOperations

func (x *ListClusterOperationsResponse) GetOperations() []*operation.Operation

func (*ListClusterOperationsResponse) ProtoMessage

func (*ListClusterOperationsResponse) ProtoMessage()

func (*ListClusterOperationsResponse) ProtoReflect

func (*ListClusterOperationsResponse) Reset

func (x *ListClusterOperationsResponse) Reset()

func (*ListClusterOperationsResponse) SetNextPageToken

func (m *ListClusterOperationsResponse) SetNextPageToken(v string)

func (*ListClusterOperationsResponse) SetOperations

func (m *ListClusterOperationsResponse) SetOperations(v []*operation.Operation)

func (*ListClusterOperationsResponse) String

type ListClusterShardsRequest

type ListClusterShardsRequest struct {

	// ID of the Redis cluster to list shards in.
	// To get the cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size],
	// the service returns a [ListClusterShardsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the
	// [ListClusterShardsResponse.next_page_token] returned by the previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterShardsRequest) Descriptor deprecated

func (*ListClusterShardsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListClusterShardsRequest.ProtoReflect.Descriptor instead.

func (*ListClusterShardsRequest) GetClusterId

func (x *ListClusterShardsRequest) GetClusterId() string

func (*ListClusterShardsRequest) GetPageSize

func (x *ListClusterShardsRequest) GetPageSize() int64

func (*ListClusterShardsRequest) GetPageToken

func (x *ListClusterShardsRequest) GetPageToken() string

func (*ListClusterShardsRequest) ProtoMessage

func (*ListClusterShardsRequest) ProtoMessage()

func (*ListClusterShardsRequest) ProtoReflect

func (x *ListClusterShardsRequest) ProtoReflect() protoreflect.Message

func (*ListClusterShardsRequest) Reset

func (x *ListClusterShardsRequest) Reset()

func (*ListClusterShardsRequest) SetClusterId

func (m *ListClusterShardsRequest) SetClusterId(v string)

func (*ListClusterShardsRequest) SetPageSize

func (m *ListClusterShardsRequest) SetPageSize(v int64)

func (*ListClusterShardsRequest) SetPageToken

func (m *ListClusterShardsRequest) SetPageToken(v string)

func (*ListClusterShardsRequest) String

func (x *ListClusterShardsRequest) String() string

type ListClusterShardsResponse

type ListClusterShardsResponse struct {

	// List of Redis shards.
	Shards []*Shard `protobuf:"bytes,1,rep,name=shards,proto3" json:"shards,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListClusterShardsRequest.page_size], use
	// the [next_page_token] as the value
	// for the [ListClusterShardsRequest.page_token] query parameter
	// in the next list request. Each subsequent list request will have its own
	// [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterShardsResponse) Descriptor deprecated

func (*ListClusterShardsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListClusterShardsResponse.ProtoReflect.Descriptor instead.

func (*ListClusterShardsResponse) GetNextPageToken

func (x *ListClusterShardsResponse) GetNextPageToken() string

func (*ListClusterShardsResponse) GetShards

func (x *ListClusterShardsResponse) GetShards() []*Shard

func (*ListClusterShardsResponse) ProtoMessage

func (*ListClusterShardsResponse) ProtoMessage()

func (*ListClusterShardsResponse) ProtoReflect

func (*ListClusterShardsResponse) Reset

func (x *ListClusterShardsResponse) Reset()

func (*ListClusterShardsResponse) SetNextPageToken

func (m *ListClusterShardsResponse) SetNextPageToken(v string)

func (*ListClusterShardsResponse) SetShards

func (m *ListClusterShardsResponse) SetShards(v []*Shard)

func (*ListClusterShardsResponse) String

func (x *ListClusterShardsResponse) String() string

type ListClustersRequest

type ListClustersRequest struct {

	// ID of the folder to list Redis clusters in.
	// To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListClustersResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the [ListClustersResponse.next_page_token]
	// returned by the previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A filter expression that filters clusters listed in the response.
	// The expression must specify:
	// 1. The field name. Currently you can only use filtering with the [Cluster.name] field.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z]([-a-z0-9]{,61}[a-z0-9])?`.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClustersRequest) Descriptor deprecated

func (*ListClustersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.

func (*ListClustersRequest) GetFilter

func (x *ListClustersRequest) GetFilter() string

func (*ListClustersRequest) GetFolderId

func (x *ListClustersRequest) GetFolderId() string

func (*ListClustersRequest) GetPageSize

func (x *ListClustersRequest) GetPageSize() int64

func (*ListClustersRequest) GetPageToken

func (x *ListClustersRequest) GetPageToken() string

func (*ListClustersRequest) ProtoMessage

func (*ListClustersRequest) ProtoMessage()

func (*ListClustersRequest) ProtoReflect

func (x *ListClustersRequest) ProtoReflect() protoreflect.Message

func (*ListClustersRequest) Reset

func (x *ListClustersRequest) Reset()

func (*ListClustersRequest) SetFilter

func (m *ListClustersRequest) SetFilter(v string)

func (*ListClustersRequest) SetFolderId

func (m *ListClustersRequest) SetFolderId(v string)

func (*ListClustersRequest) SetPageSize

func (m *ListClustersRequest) SetPageSize(v int64)

func (*ListClustersRequest) SetPageToken

func (m *ListClustersRequest) SetPageToken(v string)

func (*ListClustersRequest) String

func (x *ListClustersRequest) String() string

type ListClustersResponse

type ListClustersResponse struct {

	// List of Redis clusters.
	Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListClustersRequest.page_size], use the [next_page_token] as the value
	// for the [ListClustersRequest.page_token] parameter in the next list request. Each subsequent
	// list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClustersResponse) Descriptor deprecated

func (*ListClustersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.

func (*ListClustersResponse) GetClusters

func (x *ListClustersResponse) GetClusters() []*Cluster

func (*ListClustersResponse) GetNextPageToken

func (x *ListClustersResponse) GetNextPageToken() string

func (*ListClustersResponse) ProtoMessage

func (*ListClustersResponse) ProtoMessage()

func (*ListClustersResponse) ProtoReflect

func (x *ListClustersResponse) ProtoReflect() protoreflect.Message

func (*ListClustersResponse) Reset

func (x *ListClustersResponse) Reset()

func (*ListClustersResponse) SetClusters

func (m *ListClustersResponse) SetClusters(v []*Cluster)

func (*ListClustersResponse) SetNextPageToken

func (m *ListClustersResponse) SetNextPageToken(v string)

func (*ListClustersResponse) String

func (x *ListClustersResponse) String() string

type ListResourcePresetsRequest

type ListResourcePresetsRequest struct {

	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListResourcePresetsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the [ListResourcePresetsResponse.next_page_token]
	// returned by the previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcePresetsRequest) Descriptor deprecated

func (*ListResourcePresetsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListResourcePresetsRequest.ProtoReflect.Descriptor instead.

func (*ListResourcePresetsRequest) GetPageSize

func (x *ListResourcePresetsRequest) GetPageSize() int64

func (*ListResourcePresetsRequest) GetPageToken

func (x *ListResourcePresetsRequest) GetPageToken() string

func (*ListResourcePresetsRequest) ProtoMessage

func (*ListResourcePresetsRequest) ProtoMessage()

func (*ListResourcePresetsRequest) ProtoReflect

func (*ListResourcePresetsRequest) Reset

func (x *ListResourcePresetsRequest) Reset()

func (*ListResourcePresetsRequest) SetPageSize

func (m *ListResourcePresetsRequest) SetPageSize(v int64)

func (*ListResourcePresetsRequest) SetPageToken

func (m *ListResourcePresetsRequest) SetPageToken(v string)

func (*ListResourcePresetsRequest) String

func (x *ListResourcePresetsRequest) String() string

type ListResourcePresetsResponse

type ListResourcePresetsResponse struct {

	// List of resource presets.
	ResourcePresets []*ResourcePreset `protobuf:"bytes,1,rep,name=resource_presets,json=resourcePresets,proto3" json:"resource_presets,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListResourcePresetsRequest.page_size], use the [next_page_token] as the value
	// for the [ListResourcePresetsRequest.page_token] parameter in the next list request. Each subsequent
	// list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcePresetsResponse) Descriptor deprecated

func (*ListResourcePresetsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListResourcePresetsResponse.ProtoReflect.Descriptor instead.

func (*ListResourcePresetsResponse) GetNextPageToken

func (x *ListResourcePresetsResponse) GetNextPageToken() string

func (*ListResourcePresetsResponse) GetResourcePresets

func (x *ListResourcePresetsResponse) GetResourcePresets() []*ResourcePreset

func (*ListResourcePresetsResponse) ProtoMessage

func (*ListResourcePresetsResponse) ProtoMessage()

func (*ListResourcePresetsResponse) ProtoReflect

func (*ListResourcePresetsResponse) Reset

func (x *ListResourcePresetsResponse) Reset()

func (*ListResourcePresetsResponse) SetNextPageToken

func (m *ListResourcePresetsResponse) SetNextPageToken(v string)

func (*ListResourcePresetsResponse) SetResourcePresets

func (m *ListResourcePresetsResponse) SetResourcePresets(v []*ResourcePreset)

func (*ListResourcePresetsResponse) String

func (x *ListResourcePresetsResponse) String() string

type LogRecord

type LogRecord struct {

	// Log record timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Contents of the log record.
	Message map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LogRecord) Descriptor deprecated

func (*LogRecord) Descriptor() ([]byte, []int)

Deprecated: Use LogRecord.ProtoReflect.Descriptor instead.

func (*LogRecord) GetMessage

func (x *LogRecord) GetMessage() map[string]string

func (*LogRecord) GetTimestamp

func (x *LogRecord) GetTimestamp() *timestamppb.Timestamp

func (*LogRecord) ProtoMessage

func (*LogRecord) ProtoMessage()

func (*LogRecord) ProtoReflect

func (x *LogRecord) ProtoReflect() protoreflect.Message

func (*LogRecord) Reset

func (x *LogRecord) Reset()

func (*LogRecord) SetMessage

func (m *LogRecord) SetMessage(v map[string]string)

func (*LogRecord) SetTimestamp

func (m *LogRecord) SetTimestamp(v *timestamppb.Timestamp)

func (*LogRecord) String

func (x *LogRecord) String() string

type MaintenanceOperation

type MaintenanceOperation struct {

	// Information about this maintenance operation.
	Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// Time until which this maintenance operation is delayed.
	DelayedUntil *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=delayed_until,json=delayedUntil,proto3" json:"delayed_until,omitempty"`
	// contains filtered or unexported fields
}

A planned maintenance operation.

func (*MaintenanceOperation) Descriptor deprecated

func (*MaintenanceOperation) Descriptor() ([]byte, []int)

Deprecated: Use MaintenanceOperation.ProtoReflect.Descriptor instead.

func (*MaintenanceOperation) GetDelayedUntil

func (x *MaintenanceOperation) GetDelayedUntil() *timestamppb.Timestamp

func (*MaintenanceOperation) GetInfo

func (x *MaintenanceOperation) GetInfo() string

func (*MaintenanceOperation) ProtoMessage

func (*MaintenanceOperation) ProtoMessage()

func (*MaintenanceOperation) ProtoReflect

func (x *MaintenanceOperation) ProtoReflect() protoreflect.Message

func (*MaintenanceOperation) Reset

func (x *MaintenanceOperation) Reset()

func (*MaintenanceOperation) SetDelayedUntil

func (m *MaintenanceOperation) SetDelayedUntil(v *timestamppb.Timestamp)

func (*MaintenanceOperation) SetInfo

func (m *MaintenanceOperation) SetInfo(v string)

func (*MaintenanceOperation) String

func (x *MaintenanceOperation) String() string

type MaintenanceWindow

type MaintenanceWindow struct {

	// The maintenance policy in effect.
	//
	// Types that are assignable to Policy:
	//
	//	*MaintenanceWindow_Anytime
	//	*MaintenanceWindow_WeeklyMaintenanceWindow
	Policy isMaintenanceWindow_Policy `protobuf_oneof:"policy"`
	// contains filtered or unexported fields
}

A maintenance window settings.

func (*MaintenanceWindow) Descriptor deprecated

func (*MaintenanceWindow) Descriptor() ([]byte, []int)

Deprecated: Use MaintenanceWindow.ProtoReflect.Descriptor instead.

func (*MaintenanceWindow) GetAnytime

func (*MaintenanceWindow) GetPolicy

func (m *MaintenanceWindow) GetPolicy() isMaintenanceWindow_Policy

func (*MaintenanceWindow) GetWeeklyMaintenanceWindow

func (x *MaintenanceWindow) GetWeeklyMaintenanceWindow() *WeeklyMaintenanceWindow

func (*MaintenanceWindow) ProtoMessage

func (*MaintenanceWindow) ProtoMessage()

func (*MaintenanceWindow) ProtoReflect

func (x *MaintenanceWindow) ProtoReflect() protoreflect.Message

func (*MaintenanceWindow) Reset

func (x *MaintenanceWindow) Reset()

func (*MaintenanceWindow) SetAnytime

func (m *MaintenanceWindow) SetAnytime(v *AnytimeMaintenanceWindow)

func (*MaintenanceWindow) SetPolicy

func (*MaintenanceWindow) SetWeeklyMaintenanceWindow

func (m *MaintenanceWindow) SetWeeklyMaintenanceWindow(v *WeeklyMaintenanceWindow)

func (*MaintenanceWindow) String

func (x *MaintenanceWindow) String() string

type MaintenanceWindow_Anytime

type MaintenanceWindow_Anytime struct {
	// Maintenance operation can be scheduled anytime.
	Anytime *AnytimeMaintenanceWindow `protobuf:"bytes,1,opt,name=anytime,proto3,oneof"`
}

type MaintenanceWindow_Policy

type MaintenanceWindow_Policy = isMaintenanceWindow_Policy

type MaintenanceWindow_WeeklyMaintenanceWindow

type MaintenanceWindow_WeeklyMaintenanceWindow struct {
	// Maintenance operation can be scheduled on a weekly basis.
	WeeklyMaintenanceWindow *WeeklyMaintenanceWindow `protobuf:"bytes,2,opt,name=weekly_maintenance_window,json=weeklyMaintenanceWindow,proto3,oneof"`
}

type Monitoring

type Monitoring struct {

	// Name of the monitoring system.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the monitoring system.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Link to the monitoring system charts for the Redis cluster.
	Link string `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"`
	// contains filtered or unexported fields
}

func (*Monitoring) Descriptor deprecated

func (*Monitoring) Descriptor() ([]byte, []int)

Deprecated: Use Monitoring.ProtoReflect.Descriptor instead.

func (*Monitoring) GetDescription

func (x *Monitoring) GetDescription() string
func (x *Monitoring) GetLink() string

func (*Monitoring) GetName

func (x *Monitoring) GetName() string

func (*Monitoring) ProtoMessage

func (*Monitoring) ProtoMessage()

func (*Monitoring) ProtoReflect

func (x *Monitoring) ProtoReflect() protoreflect.Message

func (*Monitoring) Reset

func (x *Monitoring) Reset()

func (*Monitoring) SetDescription

func (m *Monitoring) SetDescription(v string)
func (m *Monitoring) SetLink(v string)

func (*Monitoring) SetName

func (m *Monitoring) SetName(v string)

func (*Monitoring) String

func (x *Monitoring) String() string

type MoveClusterMetadata

type MoveClusterMetadata struct {

	// ID of the Redis cluster being moved.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the source folder.
	SourceFolderId string `protobuf:"bytes,2,opt,name=source_folder_id,json=sourceFolderId,proto3" json:"source_folder_id,omitempty"`
	// ID of the destination folder.
	DestinationFolderId string `protobuf:"bytes,3,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MoveClusterMetadata) Descriptor deprecated

func (*MoveClusterMetadata) Descriptor() ([]byte, []int)

Deprecated: Use MoveClusterMetadata.ProtoReflect.Descriptor instead.

func (*MoveClusterMetadata) GetClusterId

func (x *MoveClusterMetadata) GetClusterId() string

func (*MoveClusterMetadata) GetDestinationFolderId

func (x *MoveClusterMetadata) GetDestinationFolderId() string

func (*MoveClusterMetadata) GetSourceFolderId

func (x *MoveClusterMetadata) GetSourceFolderId() string

func (*MoveClusterMetadata) ProtoMessage

func (*MoveClusterMetadata) ProtoMessage()

func (*MoveClusterMetadata) ProtoReflect

func (x *MoveClusterMetadata) ProtoReflect() protoreflect.Message

func (*MoveClusterMetadata) Reset

func (x *MoveClusterMetadata) Reset()

func (*MoveClusterMetadata) SetClusterId

func (m *MoveClusterMetadata) SetClusterId(v string)

func (*MoveClusterMetadata) SetDestinationFolderId

func (m *MoveClusterMetadata) SetDestinationFolderId(v string)

func (*MoveClusterMetadata) SetSourceFolderId

func (m *MoveClusterMetadata) SetSourceFolderId(v string)

func (*MoveClusterMetadata) String

func (x *MoveClusterMetadata) String() string

type MoveClusterRequest

type MoveClusterRequest struct {

	// ID of the Redis cluster to move.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the destination folder.
	DestinationFolderId string `protobuf:"bytes,2,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MoveClusterRequest) Descriptor deprecated

func (*MoveClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use MoveClusterRequest.ProtoReflect.Descriptor instead.

func (*MoveClusterRequest) GetClusterId

func (x *MoveClusterRequest) GetClusterId() string

func (*MoveClusterRequest) GetDestinationFolderId

func (x *MoveClusterRequest) GetDestinationFolderId() string

func (*MoveClusterRequest) ProtoMessage

func (*MoveClusterRequest) ProtoMessage()

func (*MoveClusterRequest) ProtoReflect

func (x *MoveClusterRequest) ProtoReflect() protoreflect.Message

func (*MoveClusterRequest) Reset

func (x *MoveClusterRequest) Reset()

func (*MoveClusterRequest) SetClusterId

func (m *MoveClusterRequest) SetClusterId(v string)

func (*MoveClusterRequest) SetDestinationFolderId

func (m *MoveClusterRequest) SetDestinationFolderId(v string)

func (*MoveClusterRequest) String

func (x *MoveClusterRequest) String() string

type RebalanceClusterMetadata

type RebalanceClusterMetadata struct {

	// ID of the Redis cluster that is being rebalancing.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RebalanceClusterMetadata) Descriptor deprecated

func (*RebalanceClusterMetadata) Descriptor() ([]byte, []int)

Deprecated: Use RebalanceClusterMetadata.ProtoReflect.Descriptor instead.

func (*RebalanceClusterMetadata) GetClusterId

func (x *RebalanceClusterMetadata) GetClusterId() string

func (*RebalanceClusterMetadata) ProtoMessage

func (*RebalanceClusterMetadata) ProtoMessage()

func (*RebalanceClusterMetadata) ProtoReflect

func (x *RebalanceClusterMetadata) ProtoReflect() protoreflect.Message

func (*RebalanceClusterMetadata) Reset

func (x *RebalanceClusterMetadata) Reset()

func (*RebalanceClusterMetadata) SetClusterId

func (m *RebalanceClusterMetadata) SetClusterId(v string)

func (*RebalanceClusterMetadata) String

func (x *RebalanceClusterMetadata) String() string

type RebalanceClusterRequest

type RebalanceClusterRequest struct {

	// ID of the Redis cluster to rebalance.
	// To get the cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RebalanceClusterRequest) Descriptor deprecated

func (*RebalanceClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use RebalanceClusterRequest.ProtoReflect.Descriptor instead.

func (*RebalanceClusterRequest) GetClusterId

func (x *RebalanceClusterRequest) GetClusterId() string

func (*RebalanceClusterRequest) ProtoMessage

func (*RebalanceClusterRequest) ProtoMessage()

func (*RebalanceClusterRequest) ProtoReflect

func (x *RebalanceClusterRequest) ProtoReflect() protoreflect.Message

func (*RebalanceClusterRequest) Reset

func (x *RebalanceClusterRequest) Reset()

func (*RebalanceClusterRequest) SetClusterId

func (m *RebalanceClusterRequest) SetClusterId(v string)

func (*RebalanceClusterRequest) String

func (x *RebalanceClusterRequest) String() string

type RescheduleMaintenanceMetadata

type RescheduleMaintenanceMetadata struct {

	// Required. ID of the Redis cluster.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. The time until which this maintenance operation is to be delayed.
	DelayedUntil *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=delayed_until,json=delayedUntil,proto3" json:"delayed_until,omitempty"`
	// contains filtered or unexported fields
}

func (*RescheduleMaintenanceMetadata) Descriptor deprecated

func (*RescheduleMaintenanceMetadata) Descriptor() ([]byte, []int)

Deprecated: Use RescheduleMaintenanceMetadata.ProtoReflect.Descriptor instead.

func (*RescheduleMaintenanceMetadata) GetClusterId

func (x *RescheduleMaintenanceMetadata) GetClusterId() string

func (*RescheduleMaintenanceMetadata) GetDelayedUntil

func (x *RescheduleMaintenanceMetadata) GetDelayedUntil() *timestamppb.Timestamp

func (*RescheduleMaintenanceMetadata) ProtoMessage

func (*RescheduleMaintenanceMetadata) ProtoMessage()

func (*RescheduleMaintenanceMetadata) ProtoReflect

func (*RescheduleMaintenanceMetadata) Reset

func (x *RescheduleMaintenanceMetadata) Reset()

func (*RescheduleMaintenanceMetadata) SetClusterId

func (m *RescheduleMaintenanceMetadata) SetClusterId(v string)

func (*RescheduleMaintenanceMetadata) SetDelayedUntil

func (m *RescheduleMaintenanceMetadata) SetDelayedUntil(v *timestamppb.Timestamp)

func (*RescheduleMaintenanceMetadata) String

type RescheduleMaintenanceRequest

type RescheduleMaintenanceRequest struct {

	// ID of the Redis cluster to reschedule the maintenance operation for.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The type of reschedule request.
	RescheduleType RescheduleMaintenanceRequest_RescheduleType `` /* 179-byte string literal not displayed */
	// The time until which this maintenance operation should be delayed. The value should be ahead of the first time when the maintenance operation has been scheduled for no more than two weeks. The value can also point to the past moment of time if [reschedule_type.IMMEDIATE] reschedule type is chosen.
	DelayedUntil *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=delayed_until,json=delayedUntil,proto3" json:"delayed_until,omitempty"`
	// contains filtered or unexported fields
}

func (*RescheduleMaintenanceRequest) Descriptor deprecated

func (*RescheduleMaintenanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use RescheduleMaintenanceRequest.ProtoReflect.Descriptor instead.

func (*RescheduleMaintenanceRequest) GetClusterId

func (x *RescheduleMaintenanceRequest) GetClusterId() string

func (*RescheduleMaintenanceRequest) GetDelayedUntil

func (x *RescheduleMaintenanceRequest) GetDelayedUntil() *timestamppb.Timestamp

func (*RescheduleMaintenanceRequest) GetRescheduleType

func (*RescheduleMaintenanceRequest) ProtoMessage

func (*RescheduleMaintenanceRequest) ProtoMessage()

func (*RescheduleMaintenanceRequest) ProtoReflect

func (*RescheduleMaintenanceRequest) Reset

func (x *RescheduleMaintenanceRequest) Reset()

func (*RescheduleMaintenanceRequest) SetClusterId

func (m *RescheduleMaintenanceRequest) SetClusterId(v string)

func (*RescheduleMaintenanceRequest) SetDelayedUntil

func (m *RescheduleMaintenanceRequest) SetDelayedUntil(v *timestamppb.Timestamp)

func (*RescheduleMaintenanceRequest) SetRescheduleType

func (*RescheduleMaintenanceRequest) String

type RescheduleMaintenanceRequest_RescheduleType

type RescheduleMaintenanceRequest_RescheduleType int32
const (
	RescheduleMaintenanceRequest_RESCHEDULE_TYPE_UNSPECIFIED RescheduleMaintenanceRequest_RescheduleType = 0
	// Start the maintenance operation immediately.
	RescheduleMaintenanceRequest_IMMEDIATE RescheduleMaintenanceRequest_RescheduleType = 1
	// Start the maintenance operation within the next available maintenance window.
	RescheduleMaintenanceRequest_NEXT_AVAILABLE_WINDOW RescheduleMaintenanceRequest_RescheduleType = 2
	// Start the maintenance operation at the specific time.
	RescheduleMaintenanceRequest_SPECIFIC_TIME RescheduleMaintenanceRequest_RescheduleType = 3
)

func (RescheduleMaintenanceRequest_RescheduleType) Descriptor

func (RescheduleMaintenanceRequest_RescheduleType) Enum

func (RescheduleMaintenanceRequest_RescheduleType) EnumDescriptor deprecated

func (RescheduleMaintenanceRequest_RescheduleType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RescheduleMaintenanceRequest_RescheduleType.Descriptor instead.

func (RescheduleMaintenanceRequest_RescheduleType) Number

func (RescheduleMaintenanceRequest_RescheduleType) String

func (RescheduleMaintenanceRequest_RescheduleType) Type

type ResourcePreset

type ResourcePreset struct {

	// ID of the resource preset.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// IDs of availability zones where the resource preset is available.
	ZoneIds []string `protobuf:"bytes,2,rep,name=zone_ids,json=zoneIds,proto3" json:"zone_ids,omitempty"`
	// RAM volume for a Redis host created with the preset, in bytes.
	Memory int64 `protobuf:"varint,3,opt,name=memory,proto3" json:"memory,omitempty"`
	// Number of CPU cores for a Redis host created with the preset.
	Cores int64 `protobuf:"varint,4,opt,name=cores,proto3" json:"cores,omitempty"`
	// contains filtered or unexported fields
}

A resource preset that describes hardware configuration for a host.

func (*ResourcePreset) Descriptor deprecated

func (*ResourcePreset) Descriptor() ([]byte, []int)

Deprecated: Use ResourcePreset.ProtoReflect.Descriptor instead.

func (*ResourcePreset) GetCores

func (x *ResourcePreset) GetCores() int64

func (*ResourcePreset) GetId

func (x *ResourcePreset) GetId() string

func (*ResourcePreset) GetMemory

func (x *ResourcePreset) GetMemory() int64

func (*ResourcePreset) GetZoneIds

func (x *ResourcePreset) GetZoneIds() []string

func (*ResourcePreset) ProtoMessage

func (*ResourcePreset) ProtoMessage()

func (*ResourcePreset) ProtoReflect

func (x *ResourcePreset) ProtoReflect() protoreflect.Message

func (*ResourcePreset) Reset

func (x *ResourcePreset) Reset()

func (*ResourcePreset) SetCores

func (m *ResourcePreset) SetCores(v int64)

func (*ResourcePreset) SetId

func (m *ResourcePreset) SetId(v string)

func (*ResourcePreset) SetMemory

func (m *ResourcePreset) SetMemory(v int64)

func (*ResourcePreset) SetZoneIds

func (m *ResourcePreset) SetZoneIds(v []string)

func (*ResourcePreset) String

func (x *ResourcePreset) String() string

type ResourcePresetServiceClient

type ResourcePresetServiceClient interface {
	// Returns the specified resource preset.
	//
	// To get the list of available resource presets, make a [List] request.
	Get(ctx context.Context, in *GetResourcePresetRequest, opts ...grpc.CallOption) (*ResourcePreset, error)
	// Retrieves the list of available resource presets.
	List(ctx context.Context, in *ListResourcePresetsRequest, opts ...grpc.CallOption) (*ListResourcePresetsResponse, error)
}

ResourcePresetServiceClient is the client API for ResourcePresetService 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.

A set of methods for working with resource presets.

type ResourcePresetServiceServer

type ResourcePresetServiceServer interface {
	// Returns the specified resource preset.
	//
	// To get the list of available resource presets, make a [List] request.
	Get(context.Context, *GetResourcePresetRequest) (*ResourcePreset, error)
	// Retrieves the list of available resource presets.
	List(context.Context, *ListResourcePresetsRequest) (*ListResourcePresetsResponse, error)
}

ResourcePresetServiceServer is the server API for ResourcePresetService service. All implementations should embed UnimplementedResourcePresetServiceServer for forward compatibility.

A set of methods for working with resource presets.

type Resources

type Resources struct {

	// ID of the preset for computational resources available to a host (CPU, memory etc.).
	// All available presets are listed in the [documentation](/docs/managed-redis/concepts/instance-types).
	ResourcePresetId string `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	// Volume of the storage available to a host, in bytes.
	DiskSize int64 `protobuf:"varint,2,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"`
	// Type of the storage environment for the host.
	// Possible values:
	// * network-ssd - network SSD drive,
	// * local-ssd - local SSD storage.
	DiskTypeId string `protobuf:"bytes,3,opt,name=disk_type_id,json=diskTypeId,proto3" json:"disk_type_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Resources) Descriptor deprecated

func (*Resources) Descriptor() ([]byte, []int)

Deprecated: Use Resources.ProtoReflect.Descriptor instead.

func (*Resources) GetDiskSize

func (x *Resources) GetDiskSize() int64

func (*Resources) GetDiskTypeId

func (x *Resources) GetDiskTypeId() string

func (*Resources) GetResourcePresetId

func (x *Resources) GetResourcePresetId() string

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) ProtoReflect

func (x *Resources) ProtoReflect() protoreflect.Message

func (*Resources) Reset

func (x *Resources) Reset()

func (*Resources) SetDiskSize

func (m *Resources) SetDiskSize(v int64)

func (*Resources) SetDiskTypeId

func (m *Resources) SetDiskTypeId(v string)

func (*Resources) SetResourcePresetId

func (m *Resources) SetResourcePresetId(v string)

func (*Resources) String

func (x *Resources) String() string

type RestoreClusterMetadata

type RestoreClusterMetadata struct {

	// ID of the new Redis cluster that is being created from a backup.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the backup that is being used for creating a cluster.
	BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreClusterMetadata) Descriptor deprecated

func (*RestoreClusterMetadata) Descriptor() ([]byte, []int)

Deprecated: Use RestoreClusterMetadata.ProtoReflect.Descriptor instead.

func (*RestoreClusterMetadata) GetBackupId

func (x *RestoreClusterMetadata) GetBackupId() string

func (*RestoreClusterMetadata) GetClusterId

func (x *RestoreClusterMetadata) GetClusterId() string

func (*RestoreClusterMetadata) ProtoMessage

func (*RestoreClusterMetadata) ProtoMessage()

func (*RestoreClusterMetadata) ProtoReflect

func (x *RestoreClusterMetadata) ProtoReflect() protoreflect.Message

func (*RestoreClusterMetadata) Reset

func (x *RestoreClusterMetadata) Reset()

func (*RestoreClusterMetadata) SetBackupId

func (m *RestoreClusterMetadata) SetBackupId(v string)

func (*RestoreClusterMetadata) SetClusterId

func (m *RestoreClusterMetadata) SetClusterId(v string)

func (*RestoreClusterMetadata) String

func (x *RestoreClusterMetadata) String() string

type RestoreClusterRequest

type RestoreClusterRequest struct {

	// ID of the backup to create a cluster from.
	// To get the backup ID, use a [ClusterService.ListBackups] request.
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// Name of the new Redis cluster. The name must be unique within the folder.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the new Redis cluster.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the Redis cluster as “ key:value “ pairs. Maximum 64 per cluster.
	// For example, "project": "mvp" or "source": "dictionary".
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Deployment environment of the new Redis cluster.
	Environment Cluster_Environment `` /* 127-byte string literal not displayed */
	// Configuration for the Redis cluster to be created.
	ConfigSpec *ConfigSpec `protobuf:"bytes,6,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"`
	// Configurations for Redis hosts that should be created for
	// the cluster that is being created from the backup.
	HostSpecs []*HostSpec `protobuf:"bytes,7,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"`
	// ID of the network to create the Redis cluster in.
	NetworkId string `protobuf:"bytes,8,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// ID of the folder to create the Redis cluster in.
	FolderId string `protobuf:"bytes,9,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// User security groups
	SecurityGroupIds []string `protobuf:"bytes,10,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// TLS port and functionality on\off
	TlsEnabled *wrapperspb.BoolValue `protobuf:"bytes,11,opt,name=tls_enabled,json=tlsEnabled,proto3" json:"tls_enabled,omitempty"`
	// Persistence mode
	PersistenceMode Cluster_PersistenceMode `` /* 163-byte string literal not displayed */
	// Deletion Protection inhibits deletion of the cluster
	DeletionProtection bool `protobuf:"varint,13,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// Enable FQDN instead of ip
	AnnounceHostnames bool `protobuf:"varint,14,opt,name=announce_hostnames,json=announceHostnames,proto3" json:"announce_hostnames,omitempty"`
	// Window of maintenance operations.
	MaintenanceWindow *MaintenanceWindow `protobuf:"bytes,15,opt,name=maintenance_window,json=maintenanceWindow,proto3" json:"maintenance_window,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreClusterRequest) Descriptor deprecated

func (*RestoreClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use RestoreClusterRequest.ProtoReflect.Descriptor instead.

func (*RestoreClusterRequest) GetAnnounceHostnames

func (x *RestoreClusterRequest) GetAnnounceHostnames() bool

func (*RestoreClusterRequest) GetBackupId

func (x *RestoreClusterRequest) GetBackupId() string

func (*RestoreClusterRequest) GetConfigSpec

func (x *RestoreClusterRequest) GetConfigSpec() *ConfigSpec

func (*RestoreClusterRequest) GetDeletionProtection

func (x *RestoreClusterRequest) GetDeletionProtection() bool

func (*RestoreClusterRequest) GetDescription

func (x *RestoreClusterRequest) GetDescription() string

func (*RestoreClusterRequest) GetEnvironment

func (x *RestoreClusterRequest) GetEnvironment() Cluster_Environment

func (*RestoreClusterRequest) GetFolderId

func (x *RestoreClusterRequest) GetFolderId() string

func (*RestoreClusterRequest) GetHostSpecs

func (x *RestoreClusterRequest) GetHostSpecs() []*HostSpec

func (*RestoreClusterRequest) GetLabels

func (x *RestoreClusterRequest) GetLabels() map[string]string

func (*RestoreClusterRequest) GetMaintenanceWindow

func (x *RestoreClusterRequest) GetMaintenanceWindow() *MaintenanceWindow

func (*RestoreClusterRequest) GetName

func (x *RestoreClusterRequest) GetName() string

func (*RestoreClusterRequest) GetNetworkId

func (x *RestoreClusterRequest) GetNetworkId() string

func (*RestoreClusterRequest) GetPersistenceMode

func (x *RestoreClusterRequest) GetPersistenceMode() Cluster_PersistenceMode

func (*RestoreClusterRequest) GetSecurityGroupIds

func (x *RestoreClusterRequest) GetSecurityGroupIds() []string

func (*RestoreClusterRequest) GetTlsEnabled

func (x *RestoreClusterRequest) GetTlsEnabled() *wrapperspb.BoolValue

func (*RestoreClusterRequest) ProtoMessage

func (*RestoreClusterRequest) ProtoMessage()

func (*RestoreClusterRequest) ProtoReflect

func (x *RestoreClusterRequest) ProtoReflect() protoreflect.Message

func (*RestoreClusterRequest) Reset

func (x *RestoreClusterRequest) Reset()

func (*RestoreClusterRequest) SetAnnounceHostnames

func (m *RestoreClusterRequest) SetAnnounceHostnames(v bool)

func (*RestoreClusterRequest) SetBackupId

func (m *RestoreClusterRequest) SetBackupId(v string)

func (*RestoreClusterRequest) SetConfigSpec

func (m *RestoreClusterRequest) SetConfigSpec(v *ConfigSpec)

func (*RestoreClusterRequest) SetDeletionProtection

func (m *RestoreClusterRequest) SetDeletionProtection(v bool)

func (*RestoreClusterRequest) SetDescription

func (m *RestoreClusterRequest) SetDescription(v string)

func (*RestoreClusterRequest) SetEnvironment

func (m *RestoreClusterRequest) SetEnvironment(v Cluster_Environment)

func (*RestoreClusterRequest) SetFolderId

func (m *RestoreClusterRequest) SetFolderId(v string)

func (*RestoreClusterRequest) SetHostSpecs

func (m *RestoreClusterRequest) SetHostSpecs(v []*HostSpec)

func (*RestoreClusterRequest) SetLabels

func (m *RestoreClusterRequest) SetLabels(v map[string]string)

func (*RestoreClusterRequest) SetMaintenanceWindow

func (m *RestoreClusterRequest) SetMaintenanceWindow(v *MaintenanceWindow)

func (*RestoreClusterRequest) SetName

func (m *RestoreClusterRequest) SetName(v string)

func (*RestoreClusterRequest) SetNetworkId

func (m *RestoreClusterRequest) SetNetworkId(v string)

func (*RestoreClusterRequest) SetPersistenceMode

func (m *RestoreClusterRequest) SetPersistenceMode(v Cluster_PersistenceMode)

func (*RestoreClusterRequest) SetSecurityGroupIds

func (m *RestoreClusterRequest) SetSecurityGroupIds(v []string)

func (*RestoreClusterRequest) SetTlsEnabled

func (m *RestoreClusterRequest) SetTlsEnabled(v *wrapperspb.BoolValue)

func (*RestoreClusterRequest) String

func (x *RestoreClusterRequest) String() string

type Service

type Service struct {

	// Type of the service provided by the host. If the field has default value, it is not returned in the response.
	Type Service_Type `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.mdb.redis.v1.Service_Type" json:"type,omitempty"`
	// Aggregated health of the service. If the field has default value, it is not returned in the response.
	Health Service_Health `protobuf:"varint,2,opt,name=health,proto3,enum=yandex.cloud.mdb.redis.v1.Service_Health" json:"health,omitempty"`
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated

func (*Service) Descriptor() ([]byte, []int)

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetHealth

func (x *Service) GetHealth() Service_Health

func (*Service) GetType

func (x *Service) GetType() Service_Type

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

func (x *Service) ProtoReflect() protoreflect.Message

func (*Service) Reset

func (x *Service) Reset()

func (*Service) SetHealth

func (m *Service) SetHealth(v Service_Health)

func (*Service) SetType

func (m *Service) SetType(v Service_Type)

func (*Service) String

func (x *Service) String() string

type Service_Health

type Service_Health int32
const (
	// Health of the server is unknown. Default value.
	Service_HEALTH_UNKNOWN Service_Health = 0
	// The server is working normally.
	Service_ALIVE Service_Health = 1
	// The server is dead or unresponsive.
	Service_DEAD Service_Health = 2
)

func (Service_Health) Descriptor

func (Service_Health) Enum

func (x Service_Health) Enum() *Service_Health

func (Service_Health) EnumDescriptor deprecated

func (Service_Health) EnumDescriptor() ([]byte, []int)

Deprecated: Use Service_Health.Descriptor instead.

func (Service_Health) Number

func (Service_Health) String

func (x Service_Health) String() string

func (Service_Health) Type

type Service_Type

type Service_Type int32
const (
	// Service type of the host is unspecified. Default value.
	Service_TYPE_UNSPECIFIED Service_Type = 0
	// The host is a Redis server.
	Service_REDIS Service_Type = 1
	// The host provides a Sentinel-only service (a quorum node).
	Service_ARBITER Service_Type = 2
	// The host is a Redis Cluster node.
	Service_REDIS_CLUSTER Service_Type = 3
)

func (Service_Type) Descriptor

func (Service_Type) Enum

func (x Service_Type) Enum() *Service_Type

func (Service_Type) EnumDescriptor deprecated

func (Service_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Service_Type.Descriptor instead.

func (Service_Type) Number

func (Service_Type) String

func (x Service_Type) String() string

func (Service_Type) Type

type Shard

type Shard struct {

	// Name of the Redis shard. The shard name is assigned by user at creation time, and cannot be changed.
	// 1-63 characters long.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the Redis cluster the shard belongs to. The ID is assigned by MDB at creation time.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Shard) Descriptor deprecated

func (*Shard) Descriptor() ([]byte, []int)

Deprecated: Use Shard.ProtoReflect.Descriptor instead.

func (*Shard) GetClusterId

func (x *Shard) GetClusterId() string

func (*Shard) GetName

func (x *Shard) GetName() string

func (*Shard) ProtoMessage

func (*Shard) ProtoMessage()

func (*Shard) ProtoReflect

func (x *Shard) ProtoReflect() protoreflect.Message

func (*Shard) Reset

func (x *Shard) Reset()

func (*Shard) SetClusterId

func (m *Shard) SetClusterId(v string)

func (*Shard) SetName

func (m *Shard) SetName(v string)

func (*Shard) String

func (x *Shard) String() string

type StartClusterFailoverMetadata

type StartClusterFailoverMetadata struct {

	// ID of the Redis cluster on which failover will be initiated.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// List of hostnames which should not be masters. Can be empty for sentinel clusters or can contain multiple hosts for sharded clusters.
	HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	// contains filtered or unexported fields
}

func (*StartClusterFailoverMetadata) Descriptor deprecated

func (*StartClusterFailoverMetadata) Descriptor() ([]byte, []int)

Deprecated: Use StartClusterFailoverMetadata.ProtoReflect.Descriptor instead.

func (*StartClusterFailoverMetadata) GetClusterId

func (x *StartClusterFailoverMetadata) GetClusterId() string

func (*StartClusterFailoverMetadata) GetHostNames

func (x *StartClusterFailoverMetadata) GetHostNames() []string

func (*StartClusterFailoverMetadata) ProtoMessage

func (*StartClusterFailoverMetadata) ProtoMessage()

func (*StartClusterFailoverMetadata) ProtoReflect

func (*StartClusterFailoverMetadata) Reset

func (x *StartClusterFailoverMetadata) Reset()

func (*StartClusterFailoverMetadata) SetClusterId

func (m *StartClusterFailoverMetadata) SetClusterId(v string)

func (*StartClusterFailoverMetadata) SetHostNames

func (m *StartClusterFailoverMetadata) SetHostNames(v []string)

func (*StartClusterFailoverMetadata) String

type StartClusterFailoverRequest

type StartClusterFailoverRequest struct {

	// ID of the Redis cluster to start failover on.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// List of hostnames which should not be masters. Can be empty for sentinel clusters or can contain multiple hosts for sharded clusters.
	HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	// contains filtered or unexported fields
}

func (*StartClusterFailoverRequest) Descriptor deprecated

func (*StartClusterFailoverRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartClusterFailoverRequest.ProtoReflect.Descriptor instead.

func (*StartClusterFailoverRequest) GetClusterId

func (x *StartClusterFailoverRequest) GetClusterId() string

func (*StartClusterFailoverRequest) GetHostNames

func (x *StartClusterFailoverRequest) GetHostNames() []string

func (*StartClusterFailoverRequest) ProtoMessage

func (*StartClusterFailoverRequest) ProtoMessage()

func (*StartClusterFailoverRequest) ProtoReflect

func (*StartClusterFailoverRequest) Reset

func (x *StartClusterFailoverRequest) Reset()

func (*StartClusterFailoverRequest) SetClusterId

func (m *StartClusterFailoverRequest) SetClusterId(v string)

func (*StartClusterFailoverRequest) SetHostNames

func (m *StartClusterFailoverRequest) SetHostNames(v []string)

func (*StartClusterFailoverRequest) String

func (x *StartClusterFailoverRequest) String() string

type StartClusterMetadata

type StartClusterMetadata struct {

	// ID of the Redis cluster.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartClusterMetadata) Descriptor deprecated

func (*StartClusterMetadata) Descriptor() ([]byte, []int)

Deprecated: Use StartClusterMetadata.ProtoReflect.Descriptor instead.

func (*StartClusterMetadata) GetClusterId

func (x *StartClusterMetadata) GetClusterId() string

func (*StartClusterMetadata) ProtoMessage

func (*StartClusterMetadata) ProtoMessage()

func (*StartClusterMetadata) ProtoReflect

func (x *StartClusterMetadata) ProtoReflect() protoreflect.Message

func (*StartClusterMetadata) Reset

func (x *StartClusterMetadata) Reset()

func (*StartClusterMetadata) SetClusterId

func (m *StartClusterMetadata) SetClusterId(v string)

func (*StartClusterMetadata) String

func (x *StartClusterMetadata) String() string

type StartClusterRequest

type StartClusterRequest struct {

	// ID of the Redis cluster to start.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartClusterRequest) Descriptor deprecated

func (*StartClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartClusterRequest.ProtoReflect.Descriptor instead.

func (*StartClusterRequest) GetClusterId

func (x *StartClusterRequest) GetClusterId() string

func (*StartClusterRequest) ProtoMessage

func (*StartClusterRequest) ProtoMessage()

func (*StartClusterRequest) ProtoReflect

func (x *StartClusterRequest) ProtoReflect() protoreflect.Message

func (*StartClusterRequest) Reset

func (x *StartClusterRequest) Reset()

func (*StartClusterRequest) SetClusterId

func (m *StartClusterRequest) SetClusterId(v string)

func (*StartClusterRequest) String

func (x *StartClusterRequest) String() string

type StopClusterMetadata

type StopClusterMetadata struct {

	// ID of the Redis cluster.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopClusterMetadata) Descriptor deprecated

func (*StopClusterMetadata) Descriptor() ([]byte, []int)

Deprecated: Use StopClusterMetadata.ProtoReflect.Descriptor instead.

func (*StopClusterMetadata) GetClusterId

func (x *StopClusterMetadata) GetClusterId() string

func (*StopClusterMetadata) ProtoMessage

func (*StopClusterMetadata) ProtoMessage()

func (*StopClusterMetadata) ProtoReflect

func (x *StopClusterMetadata) ProtoReflect() protoreflect.Message

func (*StopClusterMetadata) Reset

func (x *StopClusterMetadata) Reset()

func (*StopClusterMetadata) SetClusterId

func (m *StopClusterMetadata) SetClusterId(v string)

func (*StopClusterMetadata) String

func (x *StopClusterMetadata) String() string

type StopClusterRequest

type StopClusterRequest struct {

	// ID of the Redis cluster to stop.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopClusterRequest) Descriptor deprecated

func (*StopClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopClusterRequest.ProtoReflect.Descriptor instead.

func (*StopClusterRequest) GetClusterId

func (x *StopClusterRequest) GetClusterId() string

func (*StopClusterRequest) ProtoMessage

func (*StopClusterRequest) ProtoMessage()

func (*StopClusterRequest) ProtoReflect

func (x *StopClusterRequest) ProtoReflect() protoreflect.Message

func (*StopClusterRequest) Reset

func (x *StopClusterRequest) Reset()

func (*StopClusterRequest) SetClusterId

func (m *StopClusterRequest) SetClusterId(v string)

func (*StopClusterRequest) String

func (x *StopClusterRequest) String() string

type StreamClusterLogsRequest

type StreamClusterLogsRequest struct {

	// Required. ID of the Redis cluster.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Columns from logs table to get in the response.
	ColumnFilter []string                             `protobuf:"bytes,2,rep,name=column_filter,json=columnFilter,proto3" json:"column_filter,omitempty"`
	ServiceType  StreamClusterLogsRequest_ServiceType `` /* 163-byte string literal not displayed */
	// Start timestamp for the logs request.
	FromTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"`
	// End timestamp for the logs request.
	// If this field is not set, all existing logs will be sent and then the new ones as
	// they appear. In essence it has 'tail -f' semantics.
	ToTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=to_time,json=toTime,proto3" json:"to_time,omitempty"`
	// Record token. Set `record_token` to the `next_record_token` returned by a previous StreamLogs
	// request to start streaming from next log record.
	RecordToken string `protobuf:"bytes,6,opt,name=record_token,json=recordToken,proto3" json:"record_token,omitempty"`
	// A filter expression that filters resources listed in the response.
	// The expression must specify:
	// 1. The field name. Currently filtering can be applied to the [LogRecord.logs.hostname] field
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
	// Examples of a filter `message.hostname='node1.db.cloud.yandex.net'`.
	Filter string `protobuf:"bytes,7,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamClusterLogsRequest) Descriptor deprecated

func (*StreamClusterLogsRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamClusterLogsRequest.ProtoReflect.Descriptor instead.

func (*StreamClusterLogsRequest) GetClusterId

func (x *StreamClusterLogsRequest) GetClusterId() string

func (*StreamClusterLogsRequest) GetColumnFilter

func (x *StreamClusterLogsRequest) GetColumnFilter() []string

func (*StreamClusterLogsRequest) GetFilter

func (x *StreamClusterLogsRequest) GetFilter() string

func (*StreamClusterLogsRequest) GetFromTime

func (*StreamClusterLogsRequest) GetRecordToken

func (x *StreamClusterLogsRequest) GetRecordToken() string

func (*StreamClusterLogsRequest) GetServiceType

func (*StreamClusterLogsRequest) GetToTime

func (*StreamClusterLogsRequest) ProtoMessage

func (*StreamClusterLogsRequest) ProtoMessage()

func (*StreamClusterLogsRequest) ProtoReflect

func (x *StreamClusterLogsRequest) ProtoReflect() protoreflect.Message

func (*StreamClusterLogsRequest) Reset

func (x *StreamClusterLogsRequest) Reset()

func (*StreamClusterLogsRequest) SetClusterId

func (m *StreamClusterLogsRequest) SetClusterId(v string)

func (*StreamClusterLogsRequest) SetColumnFilter

func (m *StreamClusterLogsRequest) SetColumnFilter(v []string)

func (*StreamClusterLogsRequest) SetFilter

func (m *StreamClusterLogsRequest) SetFilter(v string)

func (*StreamClusterLogsRequest) SetFromTime

func (m *StreamClusterLogsRequest) SetFromTime(v *timestamppb.Timestamp)

func (*StreamClusterLogsRequest) SetRecordToken

func (m *StreamClusterLogsRequest) SetRecordToken(v string)

func (*StreamClusterLogsRequest) SetServiceType

func (*StreamClusterLogsRequest) SetToTime

func (*StreamClusterLogsRequest) String

func (x *StreamClusterLogsRequest) String() string

type StreamClusterLogsRequest_ServiceType

type StreamClusterLogsRequest_ServiceType int32
const (
	StreamClusterLogsRequest_SERVICE_TYPE_UNSPECIFIED StreamClusterLogsRequest_ServiceType = 0
	// Logs of Redis activity.
	StreamClusterLogsRequest_REDIS StreamClusterLogsRequest_ServiceType = 1
)

func (StreamClusterLogsRequest_ServiceType) Descriptor

func (StreamClusterLogsRequest_ServiceType) Enum

func (StreamClusterLogsRequest_ServiceType) EnumDescriptor deprecated

func (StreamClusterLogsRequest_ServiceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use StreamClusterLogsRequest_ServiceType.Descriptor instead.

func (StreamClusterLogsRequest_ServiceType) Number

func (StreamClusterLogsRequest_ServiceType) String

func (StreamClusterLogsRequest_ServiceType) Type

type StreamLogRecord

type StreamLogRecord struct {

	// One of the requested log records.
	Record *LogRecord `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
	// This token allows you to continue streaming logs starting from the exact
	// same record. To continue streaming, specify value of `next_record_token`
	// as value for `record_token` parameter in the next StreamLogs request.
	// This value is interchangeable with `next_page_token` from ListLogs method.
	NextRecordToken string `protobuf:"bytes,2,opt,name=next_record_token,json=nextRecordToken,proto3" json:"next_record_token,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamLogRecord) Descriptor deprecated

func (*StreamLogRecord) Descriptor() ([]byte, []int)

Deprecated: Use StreamLogRecord.ProtoReflect.Descriptor instead.

func (*StreamLogRecord) GetNextRecordToken

func (x *StreamLogRecord) GetNextRecordToken() string

func (*StreamLogRecord) GetRecord

func (x *StreamLogRecord) GetRecord() *LogRecord

func (*StreamLogRecord) ProtoMessage

func (*StreamLogRecord) ProtoMessage()

func (*StreamLogRecord) ProtoReflect

func (x *StreamLogRecord) ProtoReflect() protoreflect.Message

func (*StreamLogRecord) Reset

func (x *StreamLogRecord) Reset()

func (*StreamLogRecord) SetNextRecordToken

func (m *StreamLogRecord) SetNextRecordToken(v string)

func (*StreamLogRecord) SetRecord

func (m *StreamLogRecord) SetRecord(v *LogRecord)

func (*StreamLogRecord) String

func (x *StreamLogRecord) String() string

type UnimplementedBackupServiceServer

type UnimplementedBackupServiceServer struct{}

UnimplementedBackupServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedBackupServiceServer) Delete

func (UnimplementedBackupServiceServer) Get

func (UnimplementedBackupServiceServer) List

type UnimplementedClusterServiceServer

type UnimplementedClusterServiceServer struct{}

UnimplementedClusterServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedClusterServiceServer) AddHosts

func (UnimplementedClusterServiceServer) AddShard

func (UnimplementedClusterServiceServer) Backup

func (UnimplementedClusterServiceServer) Create

func (UnimplementedClusterServiceServer) Delete

func (UnimplementedClusterServiceServer) DeleteHosts

func (UnimplementedClusterServiceServer) DeleteShard

func (UnimplementedClusterServiceServer) EnableSharding

func (UnimplementedClusterServiceServer) Get

func (UnimplementedClusterServiceServer) GetShard

func (UnimplementedClusterServiceServer) List

func (UnimplementedClusterServiceServer) ListHosts

func (UnimplementedClusterServiceServer) ListLogs

func (UnimplementedClusterServiceServer) Move

func (UnimplementedClusterServiceServer) Rebalance

func (UnimplementedClusterServiceServer) RescheduleMaintenance

func (UnimplementedClusterServiceServer) Restore

func (UnimplementedClusterServiceServer) Start

func (UnimplementedClusterServiceServer) StartFailover

func (UnimplementedClusterServiceServer) Stop

func (UnimplementedClusterServiceServer) Update

func (UnimplementedClusterServiceServer) UpdateHosts

type UnimplementedResourcePresetServiceServer

type UnimplementedResourcePresetServiceServer struct{}

UnimplementedResourcePresetServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedResourcePresetServiceServer) Get

type UnsafeBackupServiceServer

type UnsafeBackupServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBackupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BackupServiceServer will result in compilation errors.

type UnsafeClusterServiceServer

type UnsafeClusterServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeClusterServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClusterServiceServer will result in compilation errors.

type UnsafeResourcePresetServiceServer

type UnsafeResourcePresetServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeResourcePresetServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourcePresetServiceServer will result in compilation errors.

type UpdateClusterHostsMetadata

type UpdateClusterHostsMetadata struct {

	// ID of the Redis cluster to update hosts in.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Names of hosts that are being updated.
	HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClusterHostsMetadata) Descriptor deprecated

func (*UpdateClusterHostsMetadata) Descriptor() ([]byte, []int)

Deprecated: Use UpdateClusterHostsMetadata.ProtoReflect.Descriptor instead.

func (*UpdateClusterHostsMetadata) GetClusterId

func (x *UpdateClusterHostsMetadata) GetClusterId() string

func (*UpdateClusterHostsMetadata) GetHostNames

func (x *UpdateClusterHostsMetadata) GetHostNames() []string

func (*UpdateClusterHostsMetadata) ProtoMessage

func (*UpdateClusterHostsMetadata) ProtoMessage()

func (*UpdateClusterHostsMetadata) ProtoReflect

func (*UpdateClusterHostsMetadata) Reset

func (x *UpdateClusterHostsMetadata) Reset()

func (*UpdateClusterHostsMetadata) SetClusterId

func (m *UpdateClusterHostsMetadata) SetClusterId(v string)

func (*UpdateClusterHostsMetadata) SetHostNames

func (m *UpdateClusterHostsMetadata) SetHostNames(v []string)

func (*UpdateClusterHostsMetadata) String

func (x *UpdateClusterHostsMetadata) String() string

type UpdateClusterHostsRequest

type UpdateClusterHostsRequest struct {

	// ID of the Redis cluster to update hosts in.
	// To get the Redis cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// New configurations to apply to hosts.
	UpdateHostSpecs []*UpdateHostSpec `protobuf:"bytes,2,rep,name=update_host_specs,json=updateHostSpecs,proto3" json:"update_host_specs,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClusterHostsRequest) Descriptor deprecated

func (*UpdateClusterHostsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateClusterHostsRequest.ProtoReflect.Descriptor instead.

func (*UpdateClusterHostsRequest) GetClusterId

func (x *UpdateClusterHostsRequest) GetClusterId() string

func (*UpdateClusterHostsRequest) GetUpdateHostSpecs

func (x *UpdateClusterHostsRequest) GetUpdateHostSpecs() []*UpdateHostSpec

func (*UpdateClusterHostsRequest) ProtoMessage

func (*UpdateClusterHostsRequest) ProtoMessage()

func (*UpdateClusterHostsRequest) ProtoReflect

func (*UpdateClusterHostsRequest) Reset

func (x *UpdateClusterHostsRequest) Reset()

func (*UpdateClusterHostsRequest) SetClusterId

func (m *UpdateClusterHostsRequest) SetClusterId(v string)

func (*UpdateClusterHostsRequest) SetUpdateHostSpecs

func (m *UpdateClusterHostsRequest) SetUpdateHostSpecs(v []*UpdateHostSpec)

func (*UpdateClusterHostsRequest) String

func (x *UpdateClusterHostsRequest) String() string

type UpdateClusterMetadata

type UpdateClusterMetadata struct {

	// ID of the Redis cluster that is being updated.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClusterMetadata) Descriptor deprecated

func (*UpdateClusterMetadata) Descriptor() ([]byte, []int)

Deprecated: Use UpdateClusterMetadata.ProtoReflect.Descriptor instead.

func (*UpdateClusterMetadata) GetClusterId

func (x *UpdateClusterMetadata) GetClusterId() string

func (*UpdateClusterMetadata) ProtoMessage

func (*UpdateClusterMetadata) ProtoMessage()

func (*UpdateClusterMetadata) ProtoReflect

func (x *UpdateClusterMetadata) ProtoReflect() protoreflect.Message

func (*UpdateClusterMetadata) Reset

func (x *UpdateClusterMetadata) Reset()

func (*UpdateClusterMetadata) SetClusterId

func (m *UpdateClusterMetadata) SetClusterId(v string)

func (*UpdateClusterMetadata) String

func (x *UpdateClusterMetadata) String() string

type UpdateClusterRequest

type UpdateClusterRequest struct {

	// ID of the Redis cluster to update.
	// To get the Redis cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Field mask that specifies which fields of the Redis cluster should be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// New description of the Redis cluster.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the Redis cluster as “ key:value “ pairs. Maximum 64 per cluster.
	// For example, "project": "mvp" or "source": "dictionary".
	//
	// The new set of labels will completely replace the old ones. To add a label, request the current
	// set with the [ClusterService.Get] method, then send an [ClusterService.Update] request with the new label added to the set.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// New configuration and resources for hosts in the cluster.
	ConfigSpec *ConfigSpec `protobuf:"bytes,5,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"`
	// New name for the cluster.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// New maintenance window settings for the cluster.
	MaintenanceWindow *MaintenanceWindow `protobuf:"bytes,7,opt,name=maintenance_window,json=maintenanceWindow,proto3" json:"maintenance_window,omitempty"`
	// User security groups
	SecurityGroupIds []string `protobuf:"bytes,8,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// Deletion Protection inhibits deletion of the cluster
	DeletionProtection bool `protobuf:"varint,9,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// Persistence mode
	PersistenceMode Cluster_PersistenceMode `` /* 163-byte string literal not displayed */
	// ID of the network to move the cluster to.
	NetworkId string `protobuf:"bytes,11,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// Enable FQDN instead of ip
	AnnounceHostnames bool `protobuf:"varint,12,opt,name=announce_hostnames,json=announceHostnames,proto3" json:"announce_hostnames,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClusterRequest) Descriptor deprecated

func (*UpdateClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateClusterRequest.ProtoReflect.Descriptor instead.

func (*UpdateClusterRequest) GetAnnounceHostnames

func (x *UpdateClusterRequest) GetAnnounceHostnames() bool

func (*UpdateClusterRequest) GetClusterId

func (x *UpdateClusterRequest) GetClusterId() string

func (*UpdateClusterRequest) GetConfigSpec

func (x *UpdateClusterRequest) GetConfigSpec() *ConfigSpec

func (*UpdateClusterRequest) GetDeletionProtection

func (x *UpdateClusterRequest) GetDeletionProtection() bool

func (*UpdateClusterRequest) GetDescription

func (x *UpdateClusterRequest) GetDescription() string

func (*UpdateClusterRequest) GetLabels

func (x *UpdateClusterRequest) GetLabels() map[string]string

func (*UpdateClusterRequest) GetMaintenanceWindow

func (x *UpdateClusterRequest) GetMaintenanceWindow() *MaintenanceWindow

func (*UpdateClusterRequest) GetName

func (x *UpdateClusterRequest) GetName() string

func (*UpdateClusterRequest) GetNetworkId

func (x *UpdateClusterRequest) GetNetworkId() string

func (*UpdateClusterRequest) GetPersistenceMode

func (x *UpdateClusterRequest) GetPersistenceMode() Cluster_PersistenceMode

func (*UpdateClusterRequest) GetSecurityGroupIds

func (x *UpdateClusterRequest) GetSecurityGroupIds() []string

func (*UpdateClusterRequest) GetUpdateMask

func (x *UpdateClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateClusterRequest) ProtoMessage

func (*UpdateClusterRequest) ProtoMessage()

func (*UpdateClusterRequest) ProtoReflect

func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message

func (*UpdateClusterRequest) Reset

func (x *UpdateClusterRequest) Reset()

func (*UpdateClusterRequest) SetAnnounceHostnames

func (m *UpdateClusterRequest) SetAnnounceHostnames(v bool)

func (*UpdateClusterRequest) SetClusterId

func (m *UpdateClusterRequest) SetClusterId(v string)

func (*UpdateClusterRequest) SetConfigSpec

func (m *UpdateClusterRequest) SetConfigSpec(v *ConfigSpec)

func (*UpdateClusterRequest) SetDeletionProtection

func (m *UpdateClusterRequest) SetDeletionProtection(v bool)

func (*UpdateClusterRequest) SetDescription

func (m *UpdateClusterRequest) SetDescription(v string)

func (*UpdateClusterRequest) SetLabels

func (m *UpdateClusterRequest) SetLabels(v map[string]string)

func (*UpdateClusterRequest) SetMaintenanceWindow

func (m *UpdateClusterRequest) SetMaintenanceWindow(v *MaintenanceWindow)

func (*UpdateClusterRequest) SetName

func (m *UpdateClusterRequest) SetName(v string)

func (*UpdateClusterRequest) SetNetworkId

func (m *UpdateClusterRequest) SetNetworkId(v string)

func (*UpdateClusterRequest) SetPersistenceMode

func (m *UpdateClusterRequest) SetPersistenceMode(v Cluster_PersistenceMode)

func (*UpdateClusterRequest) SetSecurityGroupIds

func (m *UpdateClusterRequest) SetSecurityGroupIds(v []string)

func (*UpdateClusterRequest) SetUpdateMask

func (m *UpdateClusterRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdateClusterRequest) String

func (x *UpdateClusterRequest) String() string

type UpdateHostSpec

type UpdateHostSpec struct {

	// Name of the host to update.
	// To get the Redis host name, use a [ClusterService.ListHosts] request.
	HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
	// A replica with a low priority number is considered better for promotion.
	// A replica with priority of 0 will never be selected by Redis Sentinel for promotion.
	// Works only for non-sharded clusters. Default value is 100.
	ReplicaPriority *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=replica_priority,json=replicaPriority,proto3" json:"replica_priority,omitempty"`
	// Whether the host should get a public IP address on update.
	AssignPublicIp bool `protobuf:"varint,3,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"`
	// Field mask that specifies which fields of the Redis host should be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateHostSpec) Descriptor deprecated

func (*UpdateHostSpec) Descriptor() ([]byte, []int)

Deprecated: Use UpdateHostSpec.ProtoReflect.Descriptor instead.

func (*UpdateHostSpec) GetAssignPublicIp

func (x *UpdateHostSpec) GetAssignPublicIp() bool

func (*UpdateHostSpec) GetHostName

func (x *UpdateHostSpec) GetHostName() string

func (*UpdateHostSpec) GetReplicaPriority

func (x *UpdateHostSpec) GetReplicaPriority() *wrapperspb.Int64Value

func (*UpdateHostSpec) GetUpdateMask

func (x *UpdateHostSpec) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateHostSpec) ProtoMessage

func (*UpdateHostSpec) ProtoMessage()

func (*UpdateHostSpec) ProtoReflect

func (x *UpdateHostSpec) ProtoReflect() protoreflect.Message

func (*UpdateHostSpec) Reset

func (x *UpdateHostSpec) Reset()

func (*UpdateHostSpec) SetAssignPublicIp

func (m *UpdateHostSpec) SetAssignPublicIp(v bool)

func (*UpdateHostSpec) SetHostName

func (m *UpdateHostSpec) SetHostName(v string)

func (*UpdateHostSpec) SetReplicaPriority

func (m *UpdateHostSpec) SetReplicaPriority(v *wrapperspb.Int64Value)

func (*UpdateHostSpec) SetUpdateMask

func (m *UpdateHostSpec) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdateHostSpec) String

func (x *UpdateHostSpec) String() string

type WeeklyMaintenanceWindow

type WeeklyMaintenanceWindow struct {

	// Day of the week (in `DDD` format).
	Day WeeklyMaintenanceWindow_WeekDay `protobuf:"varint,1,opt,name=day,proto3,enum=yandex.cloud.mdb.redis.v1.WeeklyMaintenanceWindow_WeekDay" json:"day,omitempty"`
	// Hour of the day in UTC (in `HH` format).
	Hour int64 `protobuf:"varint,2,opt,name=hour,proto3" json:"hour,omitempty"`
	// contains filtered or unexported fields
}

Weelky maintenance window settings.

func (*WeeklyMaintenanceWindow) Descriptor deprecated

func (*WeeklyMaintenanceWindow) Descriptor() ([]byte, []int)

Deprecated: Use WeeklyMaintenanceWindow.ProtoReflect.Descriptor instead.

func (*WeeklyMaintenanceWindow) GetDay

func (*WeeklyMaintenanceWindow) GetHour

func (x *WeeklyMaintenanceWindow) GetHour() int64

func (*WeeklyMaintenanceWindow) ProtoMessage

func (*WeeklyMaintenanceWindow) ProtoMessage()

func (*WeeklyMaintenanceWindow) ProtoReflect

func (x *WeeklyMaintenanceWindow) ProtoReflect() protoreflect.Message

func (*WeeklyMaintenanceWindow) Reset

func (x *WeeklyMaintenanceWindow) Reset()

func (*WeeklyMaintenanceWindow) SetDay

func (*WeeklyMaintenanceWindow) SetHour

func (m *WeeklyMaintenanceWindow) SetHour(v int64)

func (*WeeklyMaintenanceWindow) String

func (x *WeeklyMaintenanceWindow) String() string

type WeeklyMaintenanceWindow_WeekDay

type WeeklyMaintenanceWindow_WeekDay int32
const (
	WeeklyMaintenanceWindow_WEEK_DAY_UNSPECIFIED WeeklyMaintenanceWindow_WeekDay = 0
	WeeklyMaintenanceWindow_MON                  WeeklyMaintenanceWindow_WeekDay = 1
	WeeklyMaintenanceWindow_TUE                  WeeklyMaintenanceWindow_WeekDay = 2
	WeeklyMaintenanceWindow_WED                  WeeklyMaintenanceWindow_WeekDay = 3
	WeeklyMaintenanceWindow_THU                  WeeklyMaintenanceWindow_WeekDay = 4
	WeeklyMaintenanceWindow_FRI                  WeeklyMaintenanceWindow_WeekDay = 5
	WeeklyMaintenanceWindow_SAT                  WeeklyMaintenanceWindow_WeekDay = 6
	WeeklyMaintenanceWindow_SUN                  WeeklyMaintenanceWindow_WeekDay = 7
)

func (WeeklyMaintenanceWindow_WeekDay) Descriptor

func (WeeklyMaintenanceWindow_WeekDay) Enum

func (WeeklyMaintenanceWindow_WeekDay) EnumDescriptor deprecated

func (WeeklyMaintenanceWindow_WeekDay) EnumDescriptor() ([]byte, []int)

Deprecated: Use WeeklyMaintenanceWindow_WeekDay.Descriptor instead.

func (WeeklyMaintenanceWindow_WeekDay) Number

func (WeeklyMaintenanceWindow_WeekDay) String

func (WeeklyMaintenanceWindow_WeekDay) Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL