Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterBackupServiceServer(s grpc.ServiceRegistrar, srv BackupServiceServer)
- func RegisterClusterServiceServer(s grpc.ServiceRegistrar, srv ClusterServiceServer)
- func RegisterDatabaseServiceServer(s grpc.ServiceRegistrar, srv DatabaseServiceServer)
- func RegisterResourcePresetServiceServer(s grpc.ServiceRegistrar, srv ResourcePresetServiceServer)
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type Access
- func (*Access) Descriptor() ([]byte, []int)deprecated
- func (x *Access) GetDataLens() bool
- func (x *Access) GetWebSql() bool
- func (*Access) ProtoMessage()
- func (x *Access) ProtoReflect() protoreflect.Message
- func (x *Access) Reset()
- func (m *Access) SetDataLens(v bool)
- func (m *Access) SetWebSql(v bool)
- func (x *Access) String() string
- type Backup
- func (*Backup) Descriptor() ([]byte, []int)deprecated
- func (x *Backup) GetCreatedAt() *timestamppb.Timestamp
- func (x *Backup) GetDatabases() []string
- func (x *Backup) GetFolderId() string
- func (x *Backup) GetId() string
- func (x *Backup) GetSourceClusterId() string
- func (x *Backup) GetStartedAt() *timestamppb.Timestamp
- func (*Backup) ProtoMessage()
- func (x *Backup) ProtoReflect() protoreflect.Message
- func (x *Backup) Reset()
- func (m *Backup) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Backup) SetDatabases(v []string)
- func (m *Backup) SetFolderId(v string)
- func (m *Backup) SetId(v string)
- func (m *Backup) SetSourceClusterId(v string)
- func (m *Backup) SetStartedAt(v *timestamppb.Timestamp)
- func (x *Backup) String() string
- type BackupClusterMetadata
- func (*BackupClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *BackupClusterMetadata) GetClusterId() string
- func (*BackupClusterMetadata) ProtoMessage()
- func (x *BackupClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *BackupClusterMetadata) Reset()
- func (m *BackupClusterMetadata) SetClusterId(v string)
- func (x *BackupClusterMetadata) String() string
- type BackupClusterRequest
- func (*BackupClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BackupClusterRequest) GetClusterId() string
- func (*BackupClusterRequest) ProtoMessage()
- func (x *BackupClusterRequest) ProtoReflect() protoreflect.Message
- func (x *BackupClusterRequest) Reset()
- func (m *BackupClusterRequest) SetClusterId(v string)
- func (x *BackupClusterRequest) String() string
- type BackupServiceClient
- type BackupServiceServer
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster) GetConfig() *ClusterConfig
- func (x *Cluster) GetCreatedAt() *timestamppb.Timestamp
- func (x *Cluster) GetDeletionProtection() bool
- func (x *Cluster) GetDescription() string
- func (x *Cluster) GetEnvironment() Cluster_Environment
- func (x *Cluster) GetFolderId() string
- func (x *Cluster) GetHealth() Cluster_Health
- func (x *Cluster) GetHostGroupIds() []string
- func (x *Cluster) GetId() string
- func (x *Cluster) GetLabels() map[string]string
- func (x *Cluster) GetMonitoring() []*Monitoring
- func (x *Cluster) GetName() string
- func (x *Cluster) GetNetworkId() string
- func (x *Cluster) GetSecurityGroupIds() []string
- func (x *Cluster) GetServiceAccountId() string
- func (x *Cluster) GetSqlcollation() string
- func (x *Cluster) GetStatus() Cluster_Status
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (x *Cluster) Reset()
- func (m *Cluster) SetConfig(v *ClusterConfig)
- func (m *Cluster) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Cluster) SetDeletionProtection(v bool)
- func (m *Cluster) SetDescription(v string)
- func (m *Cluster) SetEnvironment(v Cluster_Environment)
- func (m *Cluster) SetFolderId(v string)
- func (m *Cluster) SetHealth(v Cluster_Health)
- func (m *Cluster) SetHostGroupIds(v []string)
- func (m *Cluster) SetId(v string)
- func (m *Cluster) SetLabels(v map[string]string)
- func (m *Cluster) SetMonitoring(v []*Monitoring)
- func (m *Cluster) SetName(v string)
- func (m *Cluster) SetNetworkId(v string)
- func (m *Cluster) SetSecurityGroupIds(v []string)
- func (m *Cluster) SetServiceAccountId(v string)
- func (m *Cluster) SetSqlcollation(v string)
- func (m *Cluster) SetStatus(v Cluster_Status)
- func (x *Cluster) String() string
- type ClusterConfig
- func (*ClusterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterConfig) GetAccess() *Access
- func (x *ClusterConfig) GetBackupWindowStart() *timeofday.TimeOfDay
- func (x *ClusterConfig) GetResources() *Resources
- func (x *ClusterConfig) GetSecondaryConnections() ClusterConfig_SecondaryConnections
- func (m *ClusterConfig) GetSqlserverConfig() isClusterConfig_SqlserverConfig
- func (x *ClusterConfig) GetSqlserverConfig_2016Sp2Ent() *config.SQLServerConfigSet2016Sp2Ent
- func (x *ClusterConfig) GetSqlserverConfig_2016Sp2Std() *config.SQLServerConfigSet2016Sp2Std
- func (x *ClusterConfig) GetSqlserverConfig_2017Ent() *config.SQLServerConfigSet2017Ent
- func (x *ClusterConfig) GetSqlserverConfig_2017Std() *config.SQLServerConfigSet2017Std
- func (x *ClusterConfig) GetSqlserverConfig_2019Ent() *config.SQLServerConfigSet2019Ent
- func (x *ClusterConfig) GetSqlserverConfig_2019Std() *config.SQLServerConfigSet2019Std
- func (x *ClusterConfig) GetVersion() string
- func (*ClusterConfig) ProtoMessage()
- func (x *ClusterConfig) ProtoReflect() protoreflect.Message
- func (x *ClusterConfig) Reset()
- func (m *ClusterConfig) SetAccess(v *Access)
- func (m *ClusterConfig) SetBackupWindowStart(v *timeofday.TimeOfDay)
- func (m *ClusterConfig) SetResources(v *Resources)
- func (m *ClusterConfig) SetSecondaryConnections(v ClusterConfig_SecondaryConnections)
- func (m *ClusterConfig) SetSqlserverConfig(v ClusterConfig_SqlserverConfig)
- func (m *ClusterConfig) SetSqlserverConfig_2016Sp2Ent(v *config.SQLServerConfigSet2016Sp2Ent)
- func (m *ClusterConfig) SetSqlserverConfig_2016Sp2Std(v *config.SQLServerConfigSet2016Sp2Std)
- func (m *ClusterConfig) SetSqlserverConfig_2017Ent(v *config.SQLServerConfigSet2017Ent)
- func (m *ClusterConfig) SetSqlserverConfig_2017Std(v *config.SQLServerConfigSet2017Std)
- func (m *ClusterConfig) SetSqlserverConfig_2019Ent(v *config.SQLServerConfigSet2019Ent)
- func (m *ClusterConfig) SetSqlserverConfig_2019Std(v *config.SQLServerConfigSet2019Std)
- func (m *ClusterConfig) SetVersion(v string)
- func (x *ClusterConfig) String() string
- type ClusterConfig_SecondaryConnections
- func (ClusterConfig_SecondaryConnections) Descriptor() protoreflect.EnumDescriptor
- func (x ClusterConfig_SecondaryConnections) Enum() *ClusterConfig_SecondaryConnections
- func (ClusterConfig_SecondaryConnections) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClusterConfig_SecondaryConnections) Number() protoreflect.EnumNumber
- func (x ClusterConfig_SecondaryConnections) String() string
- func (ClusterConfig_SecondaryConnections) Type() protoreflect.EnumType
- type ClusterConfig_SqlserverConfig
- type ClusterConfig_SqlserverConfig_2016Sp2Ent
- type ClusterConfig_SqlserverConfig_2016Sp2Std
- type ClusterConfig_SqlserverConfig_2017Ent
- type ClusterConfig_SqlserverConfig_2017Std
- type ClusterConfig_SqlserverConfig_2019Ent
- type ClusterConfig_SqlserverConfig_2019Std
- type ClusterServiceClient
- type ClusterServiceServer
- type Cluster_Environment
- func (Cluster_Environment) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_Environment) Enum() *Cluster_Environment
- func (Cluster_Environment) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_Environment) Number() protoreflect.EnumNumber
- func (x Cluster_Environment) String() string
- func (Cluster_Environment) Type() protoreflect.EnumType
- type Cluster_Health
- func (Cluster_Health) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_Health) Enum() *Cluster_Health
- func (Cluster_Health) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_Health) Number() protoreflect.EnumNumber
- func (x Cluster_Health) String() string
- func (Cluster_Health) Type() protoreflect.EnumType
- type Cluster_Status
- func (Cluster_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_Status) Enum() *Cluster_Status
- func (Cluster_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_Status) Number() protoreflect.EnumNumber
- func (x Cluster_Status) String() string
- func (Cluster_Status) Type() protoreflect.EnumType
- type ConfigSpec
- func (*ConfigSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigSpec) GetAccess() *Access
- func (x *ConfigSpec) GetBackupWindowStart() *timeofday.TimeOfDay
- func (x *ConfigSpec) GetResources() *Resources
- func (x *ConfigSpec) GetSecondaryConnections() ClusterConfig_SecondaryConnections
- func (m *ConfigSpec) GetSqlserverConfig() isConfigSpec_SqlserverConfig
- func (x *ConfigSpec) GetSqlserverConfig_2016Sp2Ent() *config.SQLServerConfig2016Sp2Ent
- func (x *ConfigSpec) GetSqlserverConfig_2016Sp2Std() *config.SQLServerConfig2016Sp2Std
- func (x *ConfigSpec) GetSqlserverConfig_2017Ent() *config.SQLServerConfig2017Ent
- func (x *ConfigSpec) GetSqlserverConfig_2017Std() *config.SQLServerConfig2017Std
- func (x *ConfigSpec) GetSqlserverConfig_2019Ent() *config.SQLServerConfig2019Ent
- func (x *ConfigSpec) GetSqlserverConfig_2019Std() *config.SQLServerConfig2019Std
- func (x *ConfigSpec) GetVersion() string
- func (*ConfigSpec) ProtoMessage()
- func (x *ConfigSpec) ProtoReflect() protoreflect.Message
- func (x *ConfigSpec) Reset()
- func (m *ConfigSpec) SetAccess(v *Access)
- func (m *ConfigSpec) SetBackupWindowStart(v *timeofday.TimeOfDay)
- func (m *ConfigSpec) SetResources(v *Resources)
- func (m *ConfigSpec) SetSecondaryConnections(v ClusterConfig_SecondaryConnections)
- func (m *ConfigSpec) SetSqlserverConfig(v ConfigSpec_SqlserverConfig)
- func (m *ConfigSpec) SetSqlserverConfig_2016Sp2Ent(v *config.SQLServerConfig2016Sp2Ent)
- func (m *ConfigSpec) SetSqlserverConfig_2016Sp2Std(v *config.SQLServerConfig2016Sp2Std)
- func (m *ConfigSpec) SetSqlserverConfig_2017Ent(v *config.SQLServerConfig2017Ent)
- func (m *ConfigSpec) SetSqlserverConfig_2017Std(v *config.SQLServerConfig2017Std)
- func (m *ConfigSpec) SetSqlserverConfig_2019Ent(v *config.SQLServerConfig2019Ent)
- func (m *ConfigSpec) SetSqlserverConfig_2019Std(v *config.SQLServerConfig2019Std)
- func (m *ConfigSpec) SetVersion(v string)
- func (x *ConfigSpec) String() string
- type ConfigSpec_SqlserverConfig
- type ConfigSpec_SqlserverConfig_2016Sp2Ent
- type ConfigSpec_SqlserverConfig_2016Sp2Std
- type ConfigSpec_SqlserverConfig_2017Ent
- type ConfigSpec_SqlserverConfig_2017Std
- type ConfigSpec_SqlserverConfig_2019Ent
- type ConfigSpec_SqlserverConfig_2019Std
- type CreateClusterMetadata
- func (*CreateClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClusterMetadata) GetClusterId() string
- func (*CreateClusterMetadata) ProtoMessage()
- func (x *CreateClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateClusterMetadata) Reset()
- func (m *CreateClusterMetadata) SetClusterId(v string)
- func (x *CreateClusterMetadata) String() string
- type CreateClusterRequest
- func (*CreateClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClusterRequest) GetConfigSpec() *ConfigSpec
- func (x *CreateClusterRequest) GetDatabaseSpecs() []*DatabaseSpec
- func (x *CreateClusterRequest) GetDeletionProtection() bool
- func (x *CreateClusterRequest) GetDescription() string
- func (x *CreateClusterRequest) GetEnvironment() Cluster_Environment
- func (x *CreateClusterRequest) GetFolderId() string
- func (x *CreateClusterRequest) GetHostGroupIds() []string
- func (x *CreateClusterRequest) GetHostSpecs() []*HostSpec
- func (x *CreateClusterRequest) GetLabels() map[string]string
- func (x *CreateClusterRequest) GetName() string
- func (x *CreateClusterRequest) GetNetworkId() string
- func (x *CreateClusterRequest) GetSecurityGroupIds() []string
- func (x *CreateClusterRequest) GetServiceAccountId() string
- func (x *CreateClusterRequest) GetSqlcollation() string
- func (x *CreateClusterRequest) GetUserSpecs() []*UserSpec
- func (*CreateClusterRequest) ProtoMessage()
- func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
- func (x *CreateClusterRequest) Reset()
- func (m *CreateClusterRequest) SetConfigSpec(v *ConfigSpec)
- func (m *CreateClusterRequest) SetDatabaseSpecs(v []*DatabaseSpec)
- func (m *CreateClusterRequest) SetDeletionProtection(v bool)
- func (m *CreateClusterRequest) SetDescription(v string)
- func (m *CreateClusterRequest) SetEnvironment(v Cluster_Environment)
- func (m *CreateClusterRequest) SetFolderId(v string)
- func (m *CreateClusterRequest) SetHostGroupIds(v []string)
- func (m *CreateClusterRequest) SetHostSpecs(v []*HostSpec)
- func (m *CreateClusterRequest) SetLabels(v map[string]string)
- func (m *CreateClusterRequest) SetName(v string)
- func (m *CreateClusterRequest) SetNetworkId(v string)
- func (m *CreateClusterRequest) SetSecurityGroupIds(v []string)
- func (m *CreateClusterRequest) SetServiceAccountId(v string)
- func (m *CreateClusterRequest) SetSqlcollation(v string)
- func (m *CreateClusterRequest) SetUserSpecs(v []*UserSpec)
- func (x *CreateClusterRequest) String() string
- type CreateDatabaseMetadata
- func (*CreateDatabaseMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDatabaseMetadata) GetClusterId() string
- func (x *CreateDatabaseMetadata) GetDatabaseName() string
- func (*CreateDatabaseMetadata) ProtoMessage()
- func (x *CreateDatabaseMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateDatabaseMetadata) Reset()
- func (m *CreateDatabaseMetadata) SetClusterId(v string)
- func (m *CreateDatabaseMetadata) SetDatabaseName(v string)
- func (x *CreateDatabaseMetadata) String() string
- type CreateDatabaseRequest
- func (*CreateDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDatabaseRequest) GetClusterId() string
- func (x *CreateDatabaseRequest) GetDatabaseSpec() *DatabaseSpec
- func (*CreateDatabaseRequest) ProtoMessage()
- func (x *CreateDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDatabaseRequest) Reset()
- func (m *CreateDatabaseRequest) SetClusterId(v string)
- func (m *CreateDatabaseRequest) SetDatabaseSpec(v *DatabaseSpec)
- func (x *CreateDatabaseRequest) String() string
- type CreateUserMetadata
- func (*CreateUserMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserMetadata) GetClusterId() string
- func (x *CreateUserMetadata) GetUserName() string
- func (*CreateUserMetadata) ProtoMessage()
- func (x *CreateUserMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateUserMetadata) Reset()
- func (m *CreateUserMetadata) SetClusterId(v string)
- func (m *CreateUserMetadata) SetUserName(v string)
- func (x *CreateUserMetadata) String() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetClusterId() string
- func (x *CreateUserRequest) GetUserSpec() *UserSpec
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (m *CreateUserRequest) SetClusterId(v string)
- func (m *CreateUserRequest) SetUserSpec(v *UserSpec)
- func (x *CreateUserRequest) String() string
- type Database
- func (*Database) Descriptor() ([]byte, []int)deprecated
- func (x *Database) GetClusterId() string
- func (x *Database) GetName() string
- func (*Database) ProtoMessage()
- func (x *Database) ProtoReflect() protoreflect.Message
- func (x *Database) Reset()
- func (m *Database) SetClusterId(v string)
- func (m *Database) SetName(v string)
- func (x *Database) String() string
- type DatabaseServiceClient
- type DatabaseServiceServer
- type DatabaseSpec
- func (*DatabaseSpec) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseSpec) GetName() string
- func (*DatabaseSpec) ProtoMessage()
- func (x *DatabaseSpec) ProtoReflect() protoreflect.Message
- func (x *DatabaseSpec) Reset()
- func (m *DatabaseSpec) SetName(v string)
- func (x *DatabaseSpec) String() string
- type DeleteClusterMetadata
- func (*DeleteClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClusterMetadata) GetClusterId() string
- func (*DeleteClusterMetadata) ProtoMessage()
- func (x *DeleteClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteClusterMetadata) Reset()
- func (m *DeleteClusterMetadata) SetClusterId(v string)
- func (x *DeleteClusterMetadata) String() string
- type DeleteClusterRequest
- func (*DeleteClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClusterRequest) GetClusterId() string
- func (*DeleteClusterRequest) ProtoMessage()
- func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteClusterRequest) Reset()
- func (m *DeleteClusterRequest) SetClusterId(v string)
- func (x *DeleteClusterRequest) String() string
- type DeleteDatabaseMetadata
- func (*DeleteDatabaseMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDatabaseMetadata) GetClusterId() string
- func (x *DeleteDatabaseMetadata) GetDatabaseName() string
- func (*DeleteDatabaseMetadata) ProtoMessage()
- func (x *DeleteDatabaseMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteDatabaseMetadata) Reset()
- func (m *DeleteDatabaseMetadata) SetClusterId(v string)
- func (m *DeleteDatabaseMetadata) SetDatabaseName(v string)
- func (x *DeleteDatabaseMetadata) String() string
- type DeleteDatabaseRequest
- func (*DeleteDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDatabaseRequest) GetClusterId() string
- func (x *DeleteDatabaseRequest) GetDatabaseName() string
- func (*DeleteDatabaseRequest) ProtoMessage()
- func (x *DeleteDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDatabaseRequest) Reset()
- func (m *DeleteDatabaseRequest) SetClusterId(v string)
- func (m *DeleteDatabaseRequest) SetDatabaseName(v string)
- func (x *DeleteDatabaseRequest) String() string
- type DeleteUserMetadata
- func (*DeleteUserMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserMetadata) GetClusterId() string
- func (x *DeleteUserMetadata) GetUserName() string
- func (*DeleteUserMetadata) ProtoMessage()
- func (x *DeleteUserMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteUserMetadata) Reset()
- func (m *DeleteUserMetadata) SetClusterId(v string)
- func (m *DeleteUserMetadata) SetUserName(v string)
- func (x *DeleteUserMetadata) String() string
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetClusterId() string
- func (x *DeleteUserRequest) GetUserName() string
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (m *DeleteUserRequest) SetClusterId(v string)
- func (m *DeleteUserRequest) SetUserName(v string)
- func (x *DeleteUserRequest) String() string
- type ExportDatabaseBackupMetadata
- func (*ExportDatabaseBackupMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ExportDatabaseBackupMetadata) GetClusterId() string
- func (x *ExportDatabaseBackupMetadata) GetDatabaseName() string
- func (x *ExportDatabaseBackupMetadata) GetS3Bucket() string
- func (x *ExportDatabaseBackupMetadata) GetS3Path() string
- func (*ExportDatabaseBackupMetadata) ProtoMessage()
- func (x *ExportDatabaseBackupMetadata) ProtoReflect() protoreflect.Message
- func (x *ExportDatabaseBackupMetadata) Reset()
- func (m *ExportDatabaseBackupMetadata) SetClusterId(v string)
- func (m *ExportDatabaseBackupMetadata) SetDatabaseName(v string)
- func (m *ExportDatabaseBackupMetadata) SetS3Bucket(v string)
- func (m *ExportDatabaseBackupMetadata) SetS3Path(v string)
- func (x *ExportDatabaseBackupMetadata) String() string
- type ExportDatabaseBackupRequest
- func (*ExportDatabaseBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportDatabaseBackupRequest) GetClusterId() string
- func (x *ExportDatabaseBackupRequest) GetDatabaseName() string
- func (x *ExportDatabaseBackupRequest) GetPrefix() string
- func (x *ExportDatabaseBackupRequest) GetS3Bucket() string
- func (x *ExportDatabaseBackupRequest) GetS3Path() string
- func (*ExportDatabaseBackupRequest) ProtoMessage()
- func (x *ExportDatabaseBackupRequest) ProtoReflect() protoreflect.Message
- func (x *ExportDatabaseBackupRequest) Reset()
- func (m *ExportDatabaseBackupRequest) SetClusterId(v string)
- func (m *ExportDatabaseBackupRequest) SetDatabaseName(v string)
- func (m *ExportDatabaseBackupRequest) SetPrefix(v string)
- func (m *ExportDatabaseBackupRequest) SetS3Bucket(v string)
- func (m *ExportDatabaseBackupRequest) SetS3Path(v string)
- func (x *ExportDatabaseBackupRequest) String() string
- type GetBackupRequest
- func (*GetBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBackupRequest) GetBackupId() string
- func (*GetBackupRequest) ProtoMessage()
- func (x *GetBackupRequest) ProtoReflect() protoreflect.Message
- func (x *GetBackupRequest) Reset()
- func (m *GetBackupRequest) SetBackupId(v string)
- func (x *GetBackupRequest) String() string
- type GetClusterRequest
- func (*GetClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClusterRequest) GetClusterId() string
- func (*GetClusterRequest) ProtoMessage()
- func (x *GetClusterRequest) ProtoReflect() protoreflect.Message
- func (x *GetClusterRequest) Reset()
- func (m *GetClusterRequest) SetClusterId(v string)
- func (x *GetClusterRequest) String() string
- type GetDatabaseRequest
- func (*GetDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDatabaseRequest) GetClusterId() string
- func (x *GetDatabaseRequest) GetDatabaseName() string
- func (*GetDatabaseRequest) ProtoMessage()
- func (x *GetDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *GetDatabaseRequest) Reset()
- func (m *GetDatabaseRequest) SetClusterId(v string)
- func (m *GetDatabaseRequest) SetDatabaseName(v string)
- func (x *GetDatabaseRequest) String() string
- type GetResourcePresetRequest
- func (*GetResourcePresetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourcePresetRequest) GetResourcePresetId() string
- func (*GetResourcePresetRequest) ProtoMessage()
- func (x *GetResourcePresetRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourcePresetRequest) Reset()
- func (m *GetResourcePresetRequest) SetResourcePresetId(v string)
- func (x *GetResourcePresetRequest) String() string
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetClusterId() string
- func (x *GetUserRequest) GetUserName() string
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (m *GetUserRequest) SetClusterId(v string)
- func (m *GetUserRequest) SetUserName(v string)
- func (x *GetUserRequest) String() string
- type GrantUserPermissionMetadata
- func (*GrantUserPermissionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *GrantUserPermissionMetadata) GetClusterId() string
- func (x *GrantUserPermissionMetadata) GetUserName() string
- func (*GrantUserPermissionMetadata) ProtoMessage()
- func (x *GrantUserPermissionMetadata) ProtoReflect() protoreflect.Message
- func (x *GrantUserPermissionMetadata) Reset()
- func (m *GrantUserPermissionMetadata) SetClusterId(v string)
- func (m *GrantUserPermissionMetadata) SetUserName(v string)
- func (x *GrantUserPermissionMetadata) String() string
- type GrantUserPermissionRequest
- func (*GrantUserPermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GrantUserPermissionRequest) GetClusterId() string
- func (x *GrantUserPermissionRequest) GetPermission() *Permission
- func (x *GrantUserPermissionRequest) GetUserName() string
- func (*GrantUserPermissionRequest) ProtoMessage()
- func (x *GrantUserPermissionRequest) ProtoReflect() protoreflect.Message
- func (x *GrantUserPermissionRequest) Reset()
- func (m *GrantUserPermissionRequest) SetClusterId(v string)
- func (m *GrantUserPermissionRequest) SetPermission(v *Permission)
- func (m *GrantUserPermissionRequest) SetUserName(v string)
- func (x *GrantUserPermissionRequest) String() string
- type Host
- func (*Host) Descriptor() ([]byte, []int)deprecated
- func (x *Host) GetAssignPublicIp() bool
- func (x *Host) GetClusterId() string
- func (x *Host) GetHealth() Host_Health
- func (x *Host) GetName() string
- func (x *Host) GetResources() *Resources
- func (x *Host) GetRole() Host_Role
- func (x *Host) GetServices() []*Service
- func (x *Host) GetSubnetId() string
- func (x *Host) GetZoneId() string
- func (*Host) ProtoMessage()
- func (x *Host) ProtoReflect() protoreflect.Message
- func (x *Host) Reset()
- func (m *Host) SetAssignPublicIp(v bool)
- func (m *Host) SetClusterId(v string)
- func (m *Host) SetHealth(v Host_Health)
- func (m *Host) SetName(v string)
- func (m *Host) SetResources(v *Resources)
- func (m *Host) SetRole(v Host_Role)
- func (m *Host) SetServices(v []*Service)
- func (m *Host) SetSubnetId(v string)
- func (m *Host) SetZoneId(v string)
- func (x *Host) String() string
- type HostSpec
- func (*HostSpec) Descriptor() ([]byte, []int)deprecated
- func (x *HostSpec) GetAssignPublicIp() bool
- func (x *HostSpec) GetSubnetId() string
- func (x *HostSpec) GetZoneId() string
- func (*HostSpec) ProtoMessage()
- func (x *HostSpec) ProtoReflect() protoreflect.Message
- func (x *HostSpec) Reset()
- func (m *HostSpec) SetAssignPublicIp(v bool)
- func (m *HostSpec) SetSubnetId(v string)
- func (m *HostSpec) SetZoneId(v string)
- func (x *HostSpec) String() string
- type Host_Health
- func (Host_Health) Descriptor() protoreflect.EnumDescriptor
- func (x Host_Health) Enum() *Host_Health
- func (Host_Health) EnumDescriptor() ([]byte, []int)deprecated
- func (x Host_Health) Number() protoreflect.EnumNumber
- func (x Host_Health) String() string
- func (Host_Health) Type() protoreflect.EnumType
- type Host_Role
- type ImportDatabaseBackupMetadata
- func (*ImportDatabaseBackupMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ImportDatabaseBackupMetadata) GetClusterId() string
- func (x *ImportDatabaseBackupMetadata) GetDatabaseName() string
- func (x *ImportDatabaseBackupMetadata) GetS3Bucket() string
- func (x *ImportDatabaseBackupMetadata) GetS3Path() string
- func (*ImportDatabaseBackupMetadata) ProtoMessage()
- func (x *ImportDatabaseBackupMetadata) ProtoReflect() protoreflect.Message
- func (x *ImportDatabaseBackupMetadata) Reset()
- func (m *ImportDatabaseBackupMetadata) SetClusterId(v string)
- func (m *ImportDatabaseBackupMetadata) SetDatabaseName(v string)
- func (m *ImportDatabaseBackupMetadata) SetS3Bucket(v string)
- func (m *ImportDatabaseBackupMetadata) SetS3Path(v string)
- func (x *ImportDatabaseBackupMetadata) String() string
- type ImportDatabaseBackupRequest
- func (*ImportDatabaseBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportDatabaseBackupRequest) GetClusterId() string
- func (x *ImportDatabaseBackupRequest) GetDatabaseName() string
- func (x *ImportDatabaseBackupRequest) GetFiles() []string
- func (x *ImportDatabaseBackupRequest) GetS3Bucket() string
- func (x *ImportDatabaseBackupRequest) GetS3Path() string
- func (*ImportDatabaseBackupRequest) ProtoMessage()
- func (x *ImportDatabaseBackupRequest) ProtoReflect() protoreflect.Message
- func (x *ImportDatabaseBackupRequest) Reset()
- func (m *ImportDatabaseBackupRequest) SetClusterId(v string)
- func (m *ImportDatabaseBackupRequest) SetDatabaseName(v string)
- func (m *ImportDatabaseBackupRequest) SetFiles(v []string)
- func (m *ImportDatabaseBackupRequest) SetS3Bucket(v string)
- func (m *ImportDatabaseBackupRequest) SetS3Path(v string)
- func (x *ImportDatabaseBackupRequest) String() string
- type ListBackupsRequest
- func (*ListBackupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsRequest) GetFolderId() string
- func (x *ListBackupsRequest) GetPageSize() int64
- func (x *ListBackupsRequest) GetPageToken() string
- func (*ListBackupsRequest) ProtoMessage()
- func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackupsRequest) Reset()
- func (m *ListBackupsRequest) SetFolderId(v string)
- func (m *ListBackupsRequest) SetPageSize(v int64)
- func (m *ListBackupsRequest) SetPageToken(v string)
- func (x *ListBackupsRequest) String() string
- type ListBackupsResponse
- func (*ListBackupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsResponse) GetBackups() []*Backup
- func (x *ListBackupsResponse) GetNextPageToken() string
- func (*ListBackupsResponse) ProtoMessage()
- func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackupsResponse) Reset()
- func (m *ListBackupsResponse) SetBackups(v []*Backup)
- func (m *ListBackupsResponse) SetNextPageToken(v string)
- func (x *ListBackupsResponse) String() string
- type ListClusterBackupsRequest
- func (*ListClusterBackupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterBackupsRequest) GetClusterId() string
- func (x *ListClusterBackupsRequest) GetPageSize() int64
- func (x *ListClusterBackupsRequest) GetPageToken() string
- func (*ListClusterBackupsRequest) ProtoMessage()
- func (x *ListClusterBackupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListClusterBackupsRequest) Reset()
- func (m *ListClusterBackupsRequest) SetClusterId(v string)
- func (m *ListClusterBackupsRequest) SetPageSize(v int64)
- func (m *ListClusterBackupsRequest) SetPageToken(v string)
- func (x *ListClusterBackupsRequest) String() string
- type ListClusterBackupsResponse
- func (*ListClusterBackupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterBackupsResponse) GetBackups() []*Backup
- func (x *ListClusterBackupsResponse) GetNextPageToken() string
- func (*ListClusterBackupsResponse) ProtoMessage()
- func (x *ListClusterBackupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListClusterBackupsResponse) Reset()
- func (m *ListClusterBackupsResponse) SetBackups(v []*Backup)
- func (m *ListClusterBackupsResponse) SetNextPageToken(v string)
- func (x *ListClusterBackupsResponse) String() string
- type ListClusterHostsRequest
- func (*ListClusterHostsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterHostsRequest) GetClusterId() string
- func (x *ListClusterHostsRequest) GetPageSize() int64
- func (x *ListClusterHostsRequest) GetPageToken() string
- func (*ListClusterHostsRequest) ProtoMessage()
- func (x *ListClusterHostsRequest) ProtoReflect() protoreflect.Message
- func (x *ListClusterHostsRequest) Reset()
- func (m *ListClusterHostsRequest) SetClusterId(v string)
- func (m *ListClusterHostsRequest) SetPageSize(v int64)
- func (m *ListClusterHostsRequest) SetPageToken(v string)
- func (x *ListClusterHostsRequest) String() string
- type ListClusterHostsResponse
- func (*ListClusterHostsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterHostsResponse) GetHosts() []*Host
- func (x *ListClusterHostsResponse) GetNextPageToken() string
- func (*ListClusterHostsResponse) ProtoMessage()
- func (x *ListClusterHostsResponse) ProtoReflect() protoreflect.Message
- func (x *ListClusterHostsResponse) Reset()
- func (m *ListClusterHostsResponse) SetHosts(v []*Host)
- func (m *ListClusterHostsResponse) SetNextPageToken(v string)
- func (x *ListClusterHostsResponse) String() string
- type ListClusterLogsRequest
- func (*ListClusterLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterLogsRequest) GetAlwaysNextPageToken() bool
- func (x *ListClusterLogsRequest) GetClusterId() string
- func (x *ListClusterLogsRequest) GetColumnFilter() []string
- func (x *ListClusterLogsRequest) GetFilter() string
- func (x *ListClusterLogsRequest) GetFromTime() *timestamppb.Timestamp
- func (x *ListClusterLogsRequest) GetPageSize() int64
- func (x *ListClusterLogsRequest) GetPageToken() string
- func (x *ListClusterLogsRequest) GetServiceType() ListClusterLogsRequest_ServiceType
- func (x *ListClusterLogsRequest) GetToTime() *timestamppb.Timestamp
- func (*ListClusterLogsRequest) ProtoMessage()
- func (x *ListClusterLogsRequest) ProtoReflect() protoreflect.Message
- func (x *ListClusterLogsRequest) Reset()
- func (m *ListClusterLogsRequest) SetAlwaysNextPageToken(v bool)
- func (m *ListClusterLogsRequest) SetClusterId(v string)
- func (m *ListClusterLogsRequest) SetColumnFilter(v []string)
- func (m *ListClusterLogsRequest) SetFilter(v string)
- func (m *ListClusterLogsRequest) SetFromTime(v *timestamppb.Timestamp)
- func (m *ListClusterLogsRequest) SetPageSize(v int64)
- func (m *ListClusterLogsRequest) SetPageToken(v string)
- func (m *ListClusterLogsRequest) SetServiceType(v ListClusterLogsRequest_ServiceType)
- func (m *ListClusterLogsRequest) SetToTime(v *timestamppb.Timestamp)
- func (x *ListClusterLogsRequest) String() string
- type ListClusterLogsRequest_ServiceType
- func (ListClusterLogsRequest_ServiceType) Descriptor() protoreflect.EnumDescriptor
- func (x ListClusterLogsRequest_ServiceType) Enum() *ListClusterLogsRequest_ServiceType
- func (ListClusterLogsRequest_ServiceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListClusterLogsRequest_ServiceType) Number() protoreflect.EnumNumber
- func (x ListClusterLogsRequest_ServiceType) String() string
- func (ListClusterLogsRequest_ServiceType) Type() protoreflect.EnumType
- type ListClusterLogsResponse
- func (*ListClusterLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterLogsResponse) GetLogs() []*LogRecord
- func (x *ListClusterLogsResponse) GetNextPageToken() string
- func (*ListClusterLogsResponse) ProtoMessage()
- func (x *ListClusterLogsResponse) ProtoReflect() protoreflect.Message
- func (x *ListClusterLogsResponse) Reset()
- func (m *ListClusterLogsResponse) SetLogs(v []*LogRecord)
- func (m *ListClusterLogsResponse) SetNextPageToken(v string)
- func (x *ListClusterLogsResponse) String() string
- type ListClusterOperationsRequest
- func (*ListClusterOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterOperationsRequest) GetClusterId() string
- func (x *ListClusterOperationsRequest) GetPageSize() int64
- func (x *ListClusterOperationsRequest) GetPageToken() string
- func (*ListClusterOperationsRequest) ProtoMessage()
- func (x *ListClusterOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListClusterOperationsRequest) Reset()
- func (m *ListClusterOperationsRequest) SetClusterId(v string)
- func (m *ListClusterOperationsRequest) SetPageSize(v int64)
- func (m *ListClusterOperationsRequest) SetPageToken(v string)
- func (x *ListClusterOperationsRequest) String() string
- type ListClusterOperationsResponse
- func (*ListClusterOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterOperationsResponse) GetNextPageToken() string
- func (x *ListClusterOperationsResponse) GetOperations() []*operation.Operation
- func (*ListClusterOperationsResponse) ProtoMessage()
- func (x *ListClusterOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListClusterOperationsResponse) Reset()
- func (m *ListClusterOperationsResponse) SetNextPageToken(v string)
- func (m *ListClusterOperationsResponse) SetOperations(v []*operation.Operation)
- func (x *ListClusterOperationsResponse) String() string
- type ListClustersRequest
- func (*ListClustersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClustersRequest) GetFilter() string
- func (x *ListClustersRequest) GetFolderId() string
- func (x *ListClustersRequest) GetPageSize() int64
- func (x *ListClustersRequest) GetPageToken() string
- func (*ListClustersRequest) ProtoMessage()
- func (x *ListClustersRequest) ProtoReflect() protoreflect.Message
- func (x *ListClustersRequest) Reset()
- func (m *ListClustersRequest) SetFilter(v string)
- func (m *ListClustersRequest) SetFolderId(v string)
- func (m *ListClustersRequest) SetPageSize(v int64)
- func (m *ListClustersRequest) SetPageToken(v string)
- func (x *ListClustersRequest) String() string
- type ListClustersResponse
- func (*ListClustersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClustersResponse) GetClusters() []*Cluster
- func (x *ListClustersResponse) GetNextPageToken() string
- func (*ListClustersResponse) ProtoMessage()
- func (x *ListClustersResponse) ProtoReflect() protoreflect.Message
- func (x *ListClustersResponse) Reset()
- func (m *ListClustersResponse) SetClusters(v []*Cluster)
- func (m *ListClustersResponse) SetNextPageToken(v string)
- func (x *ListClustersResponse) String() string
- type ListDatabasesRequest
- func (*ListDatabasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatabasesRequest) GetClusterId() string
- func (x *ListDatabasesRequest) GetPageSize() int64
- func (x *ListDatabasesRequest) GetPageToken() string
- func (*ListDatabasesRequest) ProtoMessage()
- func (x *ListDatabasesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDatabasesRequest) Reset()
- func (m *ListDatabasesRequest) SetClusterId(v string)
- func (m *ListDatabasesRequest) SetPageSize(v int64)
- func (m *ListDatabasesRequest) SetPageToken(v string)
- func (x *ListDatabasesRequest) String() string
- type ListDatabasesResponse
- func (*ListDatabasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatabasesResponse) GetDatabases() []*Database
- func (x *ListDatabasesResponse) GetNextPageToken() string
- func (*ListDatabasesResponse) ProtoMessage()
- func (x *ListDatabasesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDatabasesResponse) Reset()
- func (m *ListDatabasesResponse) SetDatabases(v []*Database)
- func (m *ListDatabasesResponse) SetNextPageToken(v string)
- func (x *ListDatabasesResponse) String() string
- type ListResourcePresetsRequest
- func (*ListResourcePresetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourcePresetsRequest) GetPageSize() int64
- func (x *ListResourcePresetsRequest) GetPageToken() string
- func (*ListResourcePresetsRequest) ProtoMessage()
- func (x *ListResourcePresetsRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourcePresetsRequest) Reset()
- func (m *ListResourcePresetsRequest) SetPageSize(v int64)
- func (m *ListResourcePresetsRequest) SetPageToken(v string)
- func (x *ListResourcePresetsRequest) String() string
- type ListResourcePresetsResponse
- func (*ListResourcePresetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourcePresetsResponse) GetNextPageToken() string
- func (x *ListResourcePresetsResponse) GetResourcePresets() []*ResourcePreset
- func (*ListResourcePresetsResponse) ProtoMessage()
- func (x *ListResourcePresetsResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourcePresetsResponse) Reset()
- func (m *ListResourcePresetsResponse) SetNextPageToken(v string)
- func (m *ListResourcePresetsResponse) SetResourcePresets(v []*ResourcePreset)
- func (x *ListResourcePresetsResponse) String() string
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersRequest) GetClusterId() string
- func (x *ListUsersRequest) GetPageSize() int64
- func (x *ListUsersRequest) GetPageToken() string
- func (*ListUsersRequest) ProtoMessage()
- func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsersRequest) Reset()
- func (m *ListUsersRequest) SetClusterId(v string)
- func (m *ListUsersRequest) SetPageSize(v int64)
- func (m *ListUsersRequest) SetPageToken(v string)
- func (x *ListUsersRequest) String() string
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersResponse) GetNextPageToken() string
- func (x *ListUsersResponse) GetUsers() []*User
- func (*ListUsersResponse) ProtoMessage()
- func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsersResponse) Reset()
- func (m *ListUsersResponse) SetNextPageToken(v string)
- func (m *ListUsersResponse) SetUsers(v []*User)
- func (x *ListUsersResponse) String() string
- type LogRecord
- func (*LogRecord) Descriptor() ([]byte, []int)deprecated
- func (x *LogRecord) GetMessage() map[string]string
- func (x *LogRecord) GetTimestamp() *timestamppb.Timestamp
- func (*LogRecord) ProtoMessage()
- func (x *LogRecord) ProtoReflect() protoreflect.Message
- func (x *LogRecord) Reset()
- func (m *LogRecord) SetMessage(v map[string]string)
- func (m *LogRecord) SetTimestamp(v *timestamppb.Timestamp)
- func (x *LogRecord) String() string
- type Monitoring
- func (*Monitoring) Descriptor() ([]byte, []int)deprecated
- func (x *Monitoring) GetDescription() string
- func (x *Monitoring) GetLink() string
- func (x *Monitoring) GetName() string
- func (*Monitoring) ProtoMessage()
- func (x *Monitoring) ProtoReflect() protoreflect.Message
- func (x *Monitoring) Reset()
- func (m *Monitoring) SetDescription(v string)
- func (m *Monitoring) SetLink(v string)
- func (m *Monitoring) SetName(v string)
- func (x *Monitoring) String() string
- type MoveClusterMetadata
- func (*MoveClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *MoveClusterMetadata) GetClusterId() string
- func (x *MoveClusterMetadata) GetDestinationFolderId() string
- func (x *MoveClusterMetadata) GetSourceFolderId() string
- func (*MoveClusterMetadata) ProtoMessage()
- func (x *MoveClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *MoveClusterMetadata) Reset()
- func (m *MoveClusterMetadata) SetClusterId(v string)
- func (m *MoveClusterMetadata) SetDestinationFolderId(v string)
- func (m *MoveClusterMetadata) SetSourceFolderId(v string)
- func (x *MoveClusterMetadata) String() string
- type MoveClusterRequest
- func (*MoveClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveClusterRequest) GetClusterId() string
- func (x *MoveClusterRequest) GetDestinationFolderId() string
- func (*MoveClusterRequest) ProtoMessage()
- func (x *MoveClusterRequest) ProtoReflect() protoreflect.Message
- func (x *MoveClusterRequest) Reset()
- func (m *MoveClusterRequest) SetClusterId(v string)
- func (m *MoveClusterRequest) SetDestinationFolderId(v string)
- func (x *MoveClusterRequest) String() string
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)deprecated
- func (x *Permission) GetDatabaseName() string
- func (x *Permission) GetRoles() []Permission_Role
- func (*Permission) ProtoMessage()
- func (x *Permission) ProtoReflect() protoreflect.Message
- func (x *Permission) Reset()
- func (m *Permission) SetDatabaseName(v string)
- func (m *Permission) SetRoles(v []Permission_Role)
- func (x *Permission) String() string
- type Permission_Role
- func (Permission_Role) Descriptor() protoreflect.EnumDescriptor
- func (x Permission_Role) Enum() *Permission_Role
- func (Permission_Role) EnumDescriptor() ([]byte, []int)deprecated
- func (x Permission_Role) Number() protoreflect.EnumNumber
- func (x Permission_Role) String() string
- func (Permission_Role) Type() protoreflect.EnumType
- type ResourcePreset
- func (*ResourcePreset) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcePreset) GetCores() int64
- func (x *ResourcePreset) GetId() string
- func (x *ResourcePreset) GetMemory() int64
- func (x *ResourcePreset) GetZoneIds() []string
- func (*ResourcePreset) ProtoMessage()
- func (x *ResourcePreset) ProtoReflect() protoreflect.Message
- func (x *ResourcePreset) Reset()
- func (m *ResourcePreset) SetCores(v int64)
- func (m *ResourcePreset) SetId(v string)
- func (m *ResourcePreset) SetMemory(v int64)
- func (m *ResourcePreset) SetZoneIds(v []string)
- func (x *ResourcePreset) String() string
- type ResourcePresetServiceClient
- type ResourcePresetServiceServer
- type Resources
- func (*Resources) Descriptor() ([]byte, []int)deprecated
- func (x *Resources) GetDiskSize() int64
- func (x *Resources) GetDiskTypeId() string
- func (x *Resources) GetResourcePresetId() string
- func (*Resources) ProtoMessage()
- func (x *Resources) ProtoReflect() protoreflect.Message
- func (x *Resources) Reset()
- func (m *Resources) SetDiskSize(v int64)
- func (m *Resources) SetDiskTypeId(v string)
- func (m *Resources) SetResourcePresetId(v string)
- func (x *Resources) String() string
- type RestoreClusterMetadata
- func (*RestoreClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreClusterMetadata) GetBackupId() string
- func (x *RestoreClusterMetadata) GetClusterId() string
- func (*RestoreClusterMetadata) ProtoMessage()
- func (x *RestoreClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *RestoreClusterMetadata) Reset()
- func (m *RestoreClusterMetadata) SetBackupId(v string)
- func (m *RestoreClusterMetadata) SetClusterId(v string)
- func (x *RestoreClusterMetadata) String() string
- type RestoreClusterRequest
- func (*RestoreClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreClusterRequest) GetBackupId() string
- func (x *RestoreClusterRequest) GetConfigSpec() *ConfigSpec
- func (x *RestoreClusterRequest) GetDeletionProtection() bool
- func (x *RestoreClusterRequest) GetDescription() string
- func (x *RestoreClusterRequest) GetEnvironment() Cluster_Environment
- func (x *RestoreClusterRequest) GetFolderId() string
- func (x *RestoreClusterRequest) GetHostGroupIds() []string
- func (x *RestoreClusterRequest) GetHostSpecs() []*HostSpec
- func (x *RestoreClusterRequest) GetLabels() map[string]string
- func (x *RestoreClusterRequest) GetName() string
- func (x *RestoreClusterRequest) GetNetworkId() string
- func (x *RestoreClusterRequest) GetSecurityGroupIds() []string
- func (x *RestoreClusterRequest) GetServiceAccountId() string
- func (x *RestoreClusterRequest) GetTime() *timestamppb.Timestamp
- func (*RestoreClusterRequest) ProtoMessage()
- func (x *RestoreClusterRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreClusterRequest) Reset()
- func (m *RestoreClusterRequest) SetBackupId(v string)
- func (m *RestoreClusterRequest) SetConfigSpec(v *ConfigSpec)
- func (m *RestoreClusterRequest) SetDeletionProtection(v bool)
- func (m *RestoreClusterRequest) SetDescription(v string)
- func (m *RestoreClusterRequest) SetEnvironment(v Cluster_Environment)
- func (m *RestoreClusterRequest) SetFolderId(v string)
- func (m *RestoreClusterRequest) SetHostGroupIds(v []string)
- func (m *RestoreClusterRequest) SetHostSpecs(v []*HostSpec)
- func (m *RestoreClusterRequest) SetLabels(v map[string]string)
- func (m *RestoreClusterRequest) SetName(v string)
- func (m *RestoreClusterRequest) SetNetworkId(v string)
- func (m *RestoreClusterRequest) SetSecurityGroupIds(v []string)
- func (m *RestoreClusterRequest) SetServiceAccountId(v string)
- func (m *RestoreClusterRequest) SetTime(v *timestamppb.Timestamp)
- func (x *RestoreClusterRequest) String() string
- type RestoreDatabaseMetadata
- func (*RestoreDatabaseMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreDatabaseMetadata) GetBackupId() string
- func (x *RestoreDatabaseMetadata) GetClusterId() string
- func (x *RestoreDatabaseMetadata) GetDatabaseName() string
- func (x *RestoreDatabaseMetadata) GetFromDatabase() string
- func (*RestoreDatabaseMetadata) ProtoMessage()
- func (x *RestoreDatabaseMetadata) ProtoReflect() protoreflect.Message
- func (x *RestoreDatabaseMetadata) Reset()
- func (m *RestoreDatabaseMetadata) SetBackupId(v string)
- func (m *RestoreDatabaseMetadata) SetClusterId(v string)
- func (m *RestoreDatabaseMetadata) SetDatabaseName(v string)
- func (m *RestoreDatabaseMetadata) SetFromDatabase(v string)
- func (x *RestoreDatabaseMetadata) String() string
- type RestoreDatabaseRequest
- func (*RestoreDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreDatabaseRequest) GetBackupId() string
- func (x *RestoreDatabaseRequest) GetClusterId() string
- func (x *RestoreDatabaseRequest) GetDatabaseName() string
- func (x *RestoreDatabaseRequest) GetFromDatabase() string
- func (x *RestoreDatabaseRequest) GetTime() *timestamppb.Timestamp
- func (*RestoreDatabaseRequest) ProtoMessage()
- func (x *RestoreDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreDatabaseRequest) Reset()
- func (m *RestoreDatabaseRequest) SetBackupId(v string)
- func (m *RestoreDatabaseRequest) SetClusterId(v string)
- func (m *RestoreDatabaseRequest) SetDatabaseName(v string)
- func (m *RestoreDatabaseRequest) SetFromDatabase(v string)
- func (m *RestoreDatabaseRequest) SetTime(v *timestamppb.Timestamp)
- func (x *RestoreDatabaseRequest) String() string
- type RevokeUserPermissionMetadata
- func (*RevokeUserPermissionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeUserPermissionMetadata) GetClusterId() string
- func (x *RevokeUserPermissionMetadata) GetUserName() string
- func (*RevokeUserPermissionMetadata) ProtoMessage()
- func (x *RevokeUserPermissionMetadata) ProtoReflect() protoreflect.Message
- func (x *RevokeUserPermissionMetadata) Reset()
- func (m *RevokeUserPermissionMetadata) SetClusterId(v string)
- func (m *RevokeUserPermissionMetadata) SetUserName(v string)
- func (x *RevokeUserPermissionMetadata) String() string
- type RevokeUserPermissionRequest
- func (*RevokeUserPermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeUserPermissionRequest) GetClusterId() string
- func (x *RevokeUserPermissionRequest) GetPermission() *Permission
- func (x *RevokeUserPermissionRequest) GetUserName() string
- func (*RevokeUserPermissionRequest) ProtoMessage()
- func (x *RevokeUserPermissionRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeUserPermissionRequest) Reset()
- func (m *RevokeUserPermissionRequest) SetClusterId(v string)
- func (m *RevokeUserPermissionRequest) SetPermission(v *Permission)
- func (m *RevokeUserPermissionRequest) SetUserName(v string)
- func (x *RevokeUserPermissionRequest) String() string
- type ServerRole
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetHealth() Service_Health
- func (x *Service) GetType() Service_Type
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (m *Service) SetHealth(v Service_Health)
- func (m *Service) SetType(v Service_Type)
- func (x *Service) String() string
- type Service_Health
- func (Service_Health) Descriptor() protoreflect.EnumDescriptor
- func (x Service_Health) Enum() *Service_Health
- func (Service_Health) EnumDescriptor() ([]byte, []int)deprecated
- func (x Service_Health) Number() protoreflect.EnumNumber
- func (x Service_Health) String() string
- func (Service_Health) Type() protoreflect.EnumType
- type Service_Type
- func (Service_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Service_Type) Enum() *Service_Type
- func (Service_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Service_Type) Number() protoreflect.EnumNumber
- func (x Service_Type) String() string
- func (Service_Type) Type() protoreflect.EnumType
- type StartClusterFailoverMetadata
- func (*StartClusterFailoverMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *StartClusterFailoverMetadata) GetClusterId() string
- func (*StartClusterFailoverMetadata) ProtoMessage()
- func (x *StartClusterFailoverMetadata) ProtoReflect() protoreflect.Message
- func (x *StartClusterFailoverMetadata) Reset()
- func (m *StartClusterFailoverMetadata) SetClusterId(v string)
- func (x *StartClusterFailoverMetadata) String() string
- type StartClusterFailoverRequest
- func (*StartClusterFailoverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartClusterFailoverRequest) GetClusterId() string
- func (x *StartClusterFailoverRequest) GetHostName() string
- func (*StartClusterFailoverRequest) ProtoMessage()
- func (x *StartClusterFailoverRequest) ProtoReflect() protoreflect.Message
- func (x *StartClusterFailoverRequest) Reset()
- func (m *StartClusterFailoverRequest) SetClusterId(v string)
- func (m *StartClusterFailoverRequest) SetHostName(v string)
- func (x *StartClusterFailoverRequest) String() string
- type StartClusterMetadata
- func (*StartClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *StartClusterMetadata) GetClusterId() string
- func (*StartClusterMetadata) ProtoMessage()
- func (x *StartClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *StartClusterMetadata) Reset()
- func (m *StartClusterMetadata) SetClusterId(v string)
- func (x *StartClusterMetadata) String() string
- type StartClusterRequest
- func (*StartClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartClusterRequest) GetClusterId() string
- func (*StartClusterRequest) ProtoMessage()
- func (x *StartClusterRequest) ProtoReflect() protoreflect.Message
- func (x *StartClusterRequest) Reset()
- func (m *StartClusterRequest) SetClusterId(v string)
- func (x *StartClusterRequest) String() string
- type StopClusterMetadata
- func (*StopClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *StopClusterMetadata) GetClusterId() string
- func (*StopClusterMetadata) ProtoMessage()
- func (x *StopClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *StopClusterMetadata) Reset()
- func (m *StopClusterMetadata) SetClusterId(v string)
- func (x *StopClusterMetadata) String() string
- type StopClusterRequest
- func (*StopClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopClusterRequest) GetClusterId() string
- func (*StopClusterRequest) ProtoMessage()
- func (x *StopClusterRequest) ProtoReflect() protoreflect.Message
- func (x *StopClusterRequest) Reset()
- func (m *StopClusterRequest) SetClusterId(v string)
- func (x *StopClusterRequest) String() string
- type UnimplementedBackupServiceServer
- type UnimplementedClusterServiceServer
- func (UnimplementedClusterServiceServer) Backup(context.Context, *BackupClusterRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) Create(context.Context, *CreateClusterRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) Delete(context.Context, *DeleteClusterRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) Get(context.Context, *GetClusterRequest) (*Cluster, error)
- func (UnimplementedClusterServiceServer) List(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
- func (UnimplementedClusterServiceServer) ListBackups(context.Context, *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error)
- func (UnimplementedClusterServiceServer) ListHosts(context.Context, *ListClusterHostsRequest) (*ListClusterHostsResponse, error)
- func (UnimplementedClusterServiceServer) ListLogs(context.Context, *ListClusterLogsRequest) (*ListClusterLogsResponse, error)
- func (UnimplementedClusterServiceServer) ListOperations(context.Context, *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error)
- func (UnimplementedClusterServiceServer) Move(context.Context, *MoveClusterRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) Restore(context.Context, *RestoreClusterRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) Start(context.Context, *StartClusterRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) StartFailover(context.Context, *StartClusterFailoverRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) Stop(context.Context, *StopClusterRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) Update(context.Context, *UpdateClusterRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) UpdateHosts(context.Context, *UpdateClusterHostsRequest) (*operation.Operation, error)
- type UnimplementedDatabaseServiceServer
- func (UnimplementedDatabaseServiceServer) Create(context.Context, *CreateDatabaseRequest) (*operation.Operation, error)
- func (UnimplementedDatabaseServiceServer) Delete(context.Context, *DeleteDatabaseRequest) (*operation.Operation, error)
- func (UnimplementedDatabaseServiceServer) ExportBackup(context.Context, *ExportDatabaseBackupRequest) (*operation.Operation, error)
- func (UnimplementedDatabaseServiceServer) Get(context.Context, *GetDatabaseRequest) (*Database, error)
- func (UnimplementedDatabaseServiceServer) ImportBackup(context.Context, *ImportDatabaseBackupRequest) (*operation.Operation, error)
- func (UnimplementedDatabaseServiceServer) List(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)
- func (UnimplementedDatabaseServiceServer) Restore(context.Context, *RestoreDatabaseRequest) (*operation.Operation, error)
- type UnimplementedResourcePresetServiceServer
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) Create(context.Context, *CreateUserRequest) (*operation.Operation, error)
- func (UnimplementedUserServiceServer) Delete(context.Context, *DeleteUserRequest) (*operation.Operation, error)
- func (UnimplementedUserServiceServer) Get(context.Context, *GetUserRequest) (*User, error)
- func (UnimplementedUserServiceServer) GrantPermission(context.Context, *GrantUserPermissionRequest) (*operation.Operation, error)
- func (UnimplementedUserServiceServer) List(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
- func (UnimplementedUserServiceServer) RevokePermission(context.Context, *RevokeUserPermissionRequest) (*operation.Operation, error)
- func (UnimplementedUserServiceServer) Update(context.Context, *UpdateUserRequest) (*operation.Operation, error)
- type UnsafeBackupServiceServer
- type UnsafeClusterServiceServer
- type UnsafeDatabaseServiceServer
- type UnsafeResourcePresetServiceServer
- type UnsafeUserServiceServer
- type UpdateClusterHostsMetadata
- func (*UpdateClusterHostsMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClusterHostsMetadata) GetClusterId() string
- func (x *UpdateClusterHostsMetadata) GetHostNames() []string
- func (*UpdateClusterHostsMetadata) ProtoMessage()
- func (x *UpdateClusterHostsMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateClusterHostsMetadata) Reset()
- func (m *UpdateClusterHostsMetadata) SetClusterId(v string)
- func (m *UpdateClusterHostsMetadata) SetHostNames(v []string)
- func (x *UpdateClusterHostsMetadata) String() string
- type UpdateClusterHostsRequest
- func (*UpdateClusterHostsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClusterHostsRequest) GetClusterId() string
- func (x *UpdateClusterHostsRequest) GetUpdateHostSpecs() []*UpdateHostSpec
- func (*UpdateClusterHostsRequest) ProtoMessage()
- func (x *UpdateClusterHostsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateClusterHostsRequest) Reset()
- func (m *UpdateClusterHostsRequest) SetClusterId(v string)
- func (m *UpdateClusterHostsRequest) SetUpdateHostSpecs(v []*UpdateHostSpec)
- func (x *UpdateClusterHostsRequest) String() string
- type UpdateClusterMetadata
- func (*UpdateClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClusterMetadata) GetClusterId() string
- func (*UpdateClusterMetadata) ProtoMessage()
- func (x *UpdateClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateClusterMetadata) Reset()
- func (m *UpdateClusterMetadata) SetClusterId(v string)
- func (x *UpdateClusterMetadata) String() string
- type UpdateClusterRequest
- func (*UpdateClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClusterRequest) GetClusterId() string
- func (x *UpdateClusterRequest) GetConfigSpec() *ConfigSpec
- func (x *UpdateClusterRequest) GetDeletionProtection() bool
- func (x *UpdateClusterRequest) GetDescription() string
- func (x *UpdateClusterRequest) GetLabels() map[string]string
- func (x *UpdateClusterRequest) GetName() string
- func (x *UpdateClusterRequest) GetSecurityGroupIds() []string
- func (x *UpdateClusterRequest) GetServiceAccountId() string
- func (x *UpdateClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateClusterRequest) ProtoMessage()
- func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateClusterRequest) Reset()
- func (m *UpdateClusterRequest) SetClusterId(v string)
- func (m *UpdateClusterRequest) SetConfigSpec(v *ConfigSpec)
- func (m *UpdateClusterRequest) SetDeletionProtection(v bool)
- func (m *UpdateClusterRequest) SetDescription(v string)
- func (m *UpdateClusterRequest) SetLabels(v map[string]string)
- func (m *UpdateClusterRequest) SetName(v string)
- func (m *UpdateClusterRequest) SetSecurityGroupIds(v []string)
- func (m *UpdateClusterRequest) SetServiceAccountId(v string)
- func (m *UpdateClusterRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateClusterRequest) String() string
- type UpdateHostSpec
- func (*UpdateHostSpec) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateHostSpec) GetAssignPublicIp() bool
- func (x *UpdateHostSpec) GetHostName() string
- func (x *UpdateHostSpec) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateHostSpec) ProtoMessage()
- func (x *UpdateHostSpec) ProtoReflect() protoreflect.Message
- func (x *UpdateHostSpec) Reset()
- func (m *UpdateHostSpec) SetAssignPublicIp(v bool)
- func (m *UpdateHostSpec) SetHostName(v string)
- func (m *UpdateHostSpec) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateHostSpec) String() string
- type UpdateUserMetadata
- func (*UpdateUserMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserMetadata) GetClusterId() string
- func (x *UpdateUserMetadata) GetUserName() string
- func (*UpdateUserMetadata) ProtoMessage()
- func (x *UpdateUserMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateUserMetadata) Reset()
- func (m *UpdateUserMetadata) SetClusterId(v string)
- func (m *UpdateUserMetadata) SetUserName(v string)
- func (x *UpdateUserMetadata) String() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetClusterId() string
- func (x *UpdateUserRequest) GetPassword() string
- func (x *UpdateUserRequest) GetPermissions() []*Permission
- func (x *UpdateUserRequest) GetServerRoles() []ServerRole
- func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateUserRequest) GetUserName() string
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (m *UpdateUserRequest) SetClusterId(v string)
- func (m *UpdateUserRequest) SetPassword(v string)
- func (m *UpdateUserRequest) SetPermissions(v []*Permission)
- func (m *UpdateUserRequest) SetServerRoles(v []ServerRole)
- func (m *UpdateUserRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (m *UpdateUserRequest) SetUserName(v string)
- func (x *UpdateUserRequest) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetClusterId() string
- func (x *User) GetName() string
- func (x *User) GetPermissions() []*Permission
- func (x *User) GetServerRoles() []ServerRole
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (m *User) SetClusterId(v string)
- func (m *User) SetName(v string)
- func (m *User) SetPermissions(v []*Permission)
- func (m *User) SetServerRoles(v []ServerRole)
- func (x *User) String() string
- type UserServiceClient
- type UserServiceServer
- type UserSpec
- func (*UserSpec) Descriptor() ([]byte, []int)deprecated
- func (x *UserSpec) GetName() string
- func (x *UserSpec) GetPassword() string
- func (x *UserSpec) GetPermissions() []*Permission
- func (x *UserSpec) GetServerRoles() []ServerRole
- func (*UserSpec) ProtoMessage()
- func (x *UserSpec) ProtoReflect() protoreflect.Message
- func (x *UserSpec) Reset()
- func (m *UserSpec) SetName(v string)
- func (m *UserSpec) SetPassword(v string)
- func (m *UserSpec) SetPermissions(v []*Permission)
- func (m *UserSpec) SetServerRoles(v []ServerRole)
- func (x *UserSpec) String() string
Constants ¶
const ( BackupService_Get_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.BackupService/Get" BackupService_List_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.BackupService/List" )
const ( ClusterService_Get_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ClusterService/Get" ClusterService_List_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ClusterService/List" ClusterService_Create_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ClusterService/Create" ClusterService_Update_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ClusterService/Update" ClusterService_Delete_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ClusterService/Delete" ClusterService_Start_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ClusterService/Start" ClusterService_Stop_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ClusterService/Stop" ClusterService_Move_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ClusterService/Move" ClusterService_Backup_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ClusterService/Backup" ClusterService_Restore_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ClusterService/Restore" ClusterService_StartFailover_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ClusterService/StartFailover" ClusterService_ListLogs_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ClusterService/ListLogs" ClusterService_ListOperations_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ClusterService/ListOperations" ClusterService_ListBackups_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ClusterService/ListBackups" ClusterService_ListHosts_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ClusterService/ListHosts" ClusterService_UpdateHosts_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ClusterService/UpdateHosts" )
const ( DatabaseService_Get_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.DatabaseService/Get" DatabaseService_List_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.DatabaseService/List" DatabaseService_Create_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.DatabaseService/Create" DatabaseService_Restore_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.DatabaseService/Restore" DatabaseService_ImportBackup_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.DatabaseService/ImportBackup" DatabaseService_ExportBackup_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.DatabaseService/ExportBackup" DatabaseService_Delete_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.DatabaseService/Delete" )
const ( ResourcePresetService_Get_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ResourcePresetService/Get" ResourcePresetService_List_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.ResourcePresetService/List" )
const ( UserService_Get_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.UserService/Get" UserService_List_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.UserService/List" UserService_Create_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.UserService/Create" UserService_Update_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.UserService/Update" UserService_Delete_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.UserService/Delete" UserService_GrantPermission_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.UserService/GrantPermission" UserService_RevokePermission_FullMethodName = "/yandex.cloud.mdb.sqlserver.v1.UserService/RevokePermission" )
Variables ¶
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.
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.
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.
var ( ClusterConfig_SecondaryConnections_name = map[int32]string{ 0: "SECONDARY_CONNECTIONS_UNSPECIFIED", 1: "SECONDARY_CONNECTIONS_OFF", 2: "SECONDARY_CONNECTIONS_READ_ONLY", } ClusterConfig_SecondaryConnections_value = map[string]int32{ "SECONDARY_CONNECTIONS_UNSPECIFIED": 0, "SECONDARY_CONNECTIONS_OFF": 1, "SECONDARY_CONNECTIONS_READ_ONLY": 2, } )
Enum value maps for ClusterConfig_SecondaryConnections.
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.
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.
var ( Service_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "SQLSERVER", } Service_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "SQLSERVER": 1, } )
Enum value maps for Service_Type.
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.
var ( ListClusterLogsRequest_ServiceType_name = map[int32]string{ 0: "SERVICE_TYPE_UNSPECIFIED", 1: "SQLSERVER_ERROR", 2: "SQLSERVER_APPLICATION", } ListClusterLogsRequest_ServiceType_value = map[string]int32{ "SERVICE_TYPE_UNSPECIFIED": 0, "SQLSERVER_ERROR": 1, "SQLSERVER_APPLICATION": 2, } )
Enum value maps for ListClusterLogsRequest_ServiceType.
var ( ServerRole_name = map[int32]string{ 0: "SERVER_ROLE_UNSPECIFIED", 1: "MDB_MONITOR", } ServerRole_value = map[string]int32{ "SERVER_ROLE_UNSPECIFIED": 0, "MDB_MONITOR": 1, } )
Enum value maps for ServerRole.
var ( Permission_Role_name = map[int32]string{ 0: "ROLE_UNSPECIFIED", 1: "DB_OWNER", 2: "DB_SECURITYADMIN", 3: "DB_ACCESSADMIN", 4: "DB_BACKUPOPERATOR", 5: "DB_DDLADMIN", 6: "DB_DATAWRITER", 7: "DB_DATAREADER", 8: "DB_DENYDATAWRITER", 9: "DB_DENYDATAREADER", } Permission_Role_value = map[string]int32{ "ROLE_UNSPECIFIED": 0, "DB_OWNER": 1, "DB_SECURITYADMIN": 2, "DB_ACCESSADMIN": 3, "DB_BACKUPOPERATOR": 4, "DB_DDLADMIN": 5, "DB_DATAWRITER": 6, "DB_DATAREADER": 7, "DB_DENYDATAWRITER": 8, "DB_DENYDATAREADER": 9, } )
Enum value maps for Permission_Role.
var BackupService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.mdb.sqlserver.v1.BackupService", HandlerType: (*BackupServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _BackupService_Get_Handler, }, { MethodName: "List", Handler: _BackupService_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/sqlserver/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)
var ClusterService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.mdb.sqlserver.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: "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: "UpdateHosts", Handler: _ClusterService_UpdateHosts_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/sqlserver/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)
var DatabaseService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.mdb.sqlserver.v1.DatabaseService", HandlerType: (*DatabaseServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _DatabaseService_Get_Handler, }, { MethodName: "List", Handler: _DatabaseService_List_Handler, }, { MethodName: "Create", Handler: _DatabaseService_Create_Handler, }, { MethodName: "Restore", Handler: _DatabaseService_Restore_Handler, }, { MethodName: "ImportBackup", Handler: _DatabaseService_ImportBackup_Handler, }, { MethodName: "ExportBackup", Handler: _DatabaseService_ExportBackup_Handler, }, { MethodName: "Delete", Handler: _DatabaseService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/sqlserver/v1/database_service.proto", }
DatabaseService_ServiceDesc is the grpc.ServiceDesc for DatabaseService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_yandex_cloud_mdb_sqlserver_v1_backup_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_sqlserver_v1_backup_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_sqlserver_v1_cluster_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_sqlserver_v1_cluster_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_sqlserver_v1_database_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_sqlserver_v1_database_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_sqlserver_v1_resource_preset_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_sqlserver_v1_resource_preset_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_sqlserver_v1_user_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_sqlserver_v1_user_service_proto protoreflect.FileDescriptor
var ResourcePresetService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.mdb.sqlserver.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/sqlserver/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)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.mdb.sqlserver.v1.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _UserService_Get_Handler, }, { MethodName: "List", Handler: _UserService_List_Handler, }, { MethodName: "Create", Handler: _UserService_Create_Handler, }, { MethodName: "Update", Handler: _UserService_Update_Handler, }, { MethodName: "Delete", Handler: _UserService_Delete_Handler, }, { MethodName: "GrantPermission", Handler: _UserService_GrantPermission_Handler, }, { MethodName: "RevokePermission", Handler: _UserService_RevokePermission_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/sqlserver/v1/user_service.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService 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 RegisterDatabaseServiceServer ¶
func RegisterDatabaseServiceServer(s grpc.ServiceRegistrar, srv DatabaseServiceServer)
func RegisterResourcePresetServiceServer ¶
func RegisterResourcePresetServiceServer(s grpc.ServiceRegistrar, srv ResourcePresetServiceServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type Access ¶
type Access struct { // Allows access for DataLens. DataLens bool `protobuf:"varint,1,opt,name=data_lens,json=dataLens,proto3" json:"data_lens,omitempty"` // Allows 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) GetDataLens ¶
func (*Access) ProtoMessage ¶
func (*Access) ProtoMessage()
func (*Access) ProtoReflect ¶
func (x *Access) ProtoReflect() protoreflect.Message
func (*Access) SetDataLens ¶
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"` // Time 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 SQL Server 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"` // Time when the backup operation was started. StartedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // List of databases included in the backup. Databases []string `protobuf:"bytes,6,rep,name=databases,proto3" json:"databases,omitempty"` // contains filtered or unexported fields }
An SQL Server backup resource.
For more information, see the Backup(/docs/managed-sqlserver/concepts/backup) section in the documentation.
func (*Backup) Descriptor
deprecated
func (*Backup) GetCreatedAt ¶
func (x *Backup) GetCreatedAt() *timestamppb.Timestamp
func (*Backup) GetDatabases ¶
func (*Backup) GetFolderId ¶
func (*Backup) GetSourceClusterId ¶
func (*Backup) GetStartedAt ¶
func (x *Backup) GetStartedAt() *timestamppb.Timestamp
func (*Backup) ProtoMessage ¶
func (*Backup) ProtoMessage()
func (*Backup) ProtoReflect ¶
func (x *Backup) ProtoReflect() protoreflect.Message
func (*Backup) SetCreatedAt ¶
func (m *Backup) SetCreatedAt(v *timestamppb.Timestamp)
func (*Backup) SetDatabases ¶
func (*Backup) SetFolderId ¶
func (*Backup) SetSourceClusterId ¶
func (*Backup) SetStartedAt ¶
func (m *Backup) SetStartedAt(v *timestamppb.Timestamp)
type BackupClusterMetadata ¶
type BackupClusterMetadata struct { // ID of the SQL Server cluster 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 SQL Server cluster to back up. // // To get the SQL Server 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 SQL Server backup. // // To get the list of available SQL Server backups, make a [List] request. Get(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error) // Retrieves the list of SQL Server backups available for the specified folder. List(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, 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 SQL Server backups.
func NewBackupServiceClient ¶
func NewBackupServiceClient(cc grpc.ClientConnInterface) BackupServiceClient
type BackupServiceServer ¶
type BackupServiceServer interface { // Returns the specified SQL Server backup. // // To get the list of available SQL Server backups, make a [List] request. Get(context.Context, *GetBackupRequest) (*Backup, error) // Retrieves the list of SQL Server backups available for the specified folder. List(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error) }
BackupServiceServer is the server API for BackupService service. All implementations should embed UnimplementedBackupServiceServer for forward compatibility.
A set of methods for managing SQL Server backups.
type Cluster ¶
type Cluster struct { // ID of the SQL Server cluster. // // This ID is assigned by Managed Service for SQL Server at the moment of creation. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the folder the SQL Server cluster belongs to. FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Time when SQL Server cluster was created. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Name of the SQL Server cluster. // // The name must be unique within the folder, comply with [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt) and be 1-63 characters long. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Description of the SQL Server cluster. // // Must be 0-256 characters long. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Custom labels for the SQL Server cluster as `key:value` pairs. // // Maximum 64 per resource. Labels map[string]string `` /* 153-byte string literal not displayed */ // Deployment environment of the SQL Server cluster. Environment Cluster_Environment `` /* 131-byte string literal not displayed */ // Description of monitoring systems relevant to the SQL Server cluster. Monitoring []*Monitoring `protobuf:"bytes,8,rep,name=monitoring,proto3" json:"monitoring,omitempty"` // Configuration of the SQL Server cluster. Config *ClusterConfig `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"` // ID of the network that the cluster belongs to. 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.sqlserver.v1.Cluster_Health" json:"health,omitempty"` // Current state of the cluster. Status Cluster_Status `protobuf:"varint,12,opt,name=status,proto3,enum=yandex.cloud.mdb.sqlserver.v1.Cluster_Status" json:"status,omitempty"` // User security groups. SecurityGroupIds []string `protobuf:"bytes,13,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"` // Determines whether the cluster is protected from being deleted. DeletionProtection bool `protobuf:"varint,14,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"` // SQL Server Collation. Sqlcollation string `protobuf:"bytes,15,opt,name=sqlcollation,proto3" json:"sqlcollation,omitempty"` // Host groups hosting VMs of the cluster. HostGroupIds []string `protobuf:"bytes,16,rep,name=host_group_ids,json=hostGroupIds,proto3" json:"host_group_ids,omitempty"` // ID of the service account which is used for access to Object Storage. ServiceAccountId string `protobuf:"bytes,17,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // contains filtered or unexported fields }
An SQL Server cluster.
For more information, see the [Concepts](/docs/managed-sqlserver/concepts) section of the documentation.
func (*Cluster) Descriptor
deprecated
func (*Cluster) GetConfig ¶
func (x *Cluster) GetConfig() *ClusterConfig
func (*Cluster) GetCreatedAt ¶
func (x *Cluster) GetCreatedAt() *timestamppb.Timestamp
func (*Cluster) GetDeletionProtection ¶
func (*Cluster) GetDescription ¶
func (*Cluster) GetEnvironment ¶
func (x *Cluster) GetEnvironment() Cluster_Environment
func (*Cluster) GetFolderId ¶
func (*Cluster) GetHealth ¶
func (x *Cluster) GetHealth() Cluster_Health
func (*Cluster) GetHostGroupIds ¶
func (*Cluster) GetMonitoring ¶
func (x *Cluster) GetMonitoring() []*Monitoring
func (*Cluster) GetNetworkId ¶
func (*Cluster) GetSecurityGroupIds ¶
func (*Cluster) GetServiceAccountId ¶
func (*Cluster) GetSqlcollation ¶
func (*Cluster) GetStatus ¶
func (x *Cluster) GetStatus() Cluster_Status
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶
func (x *Cluster) ProtoReflect() protoreflect.Message
func (*Cluster) SetConfig ¶
func (m *Cluster) SetConfig(v *ClusterConfig)
func (*Cluster) SetCreatedAt ¶
func (m *Cluster) SetCreatedAt(v *timestamppb.Timestamp)
func (*Cluster) SetDeletionProtection ¶
func (*Cluster) SetDescription ¶
func (*Cluster) SetEnvironment ¶
func (m *Cluster) SetEnvironment(v Cluster_Environment)
func (*Cluster) SetFolderId ¶
func (*Cluster) SetHealth ¶
func (m *Cluster) SetHealth(v Cluster_Health)
func (*Cluster) SetHostGroupIds ¶
func (*Cluster) SetMonitoring ¶
func (m *Cluster) SetMonitoring(v []*Monitoring)
func (*Cluster) SetNetworkId ¶
func (*Cluster) SetSecurityGroupIds ¶
func (*Cluster) SetServiceAccountId ¶
func (*Cluster) SetSqlcollation ¶
func (*Cluster) SetStatus ¶
func (m *Cluster) SetStatus(v Cluster_Status)
type ClusterConfig ¶
type ClusterConfig struct { // Version of the SQL Server. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Configuration of the SQL Server instances in the cluster. // // Types that are assignable to SqlserverConfig: // // *ClusterConfig_SqlserverConfig_2016Sp2Std // *ClusterConfig_SqlserverConfig_2016Sp2Ent // *ClusterConfig_SqlserverConfig_2017Std // *ClusterConfig_SqlserverConfig_2017Ent // *ClusterConfig_SqlserverConfig_2019Std // *ClusterConfig_SqlserverConfig_2019Ent SqlserverConfig isClusterConfig_SqlserverConfig `protobuf_oneof:"sqlserver_config"` // Resources allocated to SQL Server hosts. Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` // Start time for the daily backup in UTC timezone. BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` // Database access policy. Access *Access `protobuf:"bytes,6,opt,name=access,proto3" json:"access,omitempty"` // Secondary replicas connection mode SecondaryConnections ClusterConfig_SecondaryConnections `` /* 192-byte string literal not displayed */ // 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) GetResources ¶
func (x *ClusterConfig) GetResources() *Resources
func (*ClusterConfig) GetSecondaryConnections ¶
func (x *ClusterConfig) GetSecondaryConnections() ClusterConfig_SecondaryConnections
func (*ClusterConfig) GetSqlserverConfig ¶
func (m *ClusterConfig) GetSqlserverConfig() isClusterConfig_SqlserverConfig
func (*ClusterConfig) GetSqlserverConfig_2016Sp2Ent ¶
func (x *ClusterConfig) GetSqlserverConfig_2016Sp2Ent() *config.SQLServerConfigSet2016Sp2Ent
func (*ClusterConfig) GetSqlserverConfig_2016Sp2Std ¶
func (x *ClusterConfig) GetSqlserverConfig_2016Sp2Std() *config.SQLServerConfigSet2016Sp2Std
func (*ClusterConfig) GetSqlserverConfig_2017Ent ¶
func (x *ClusterConfig) GetSqlserverConfig_2017Ent() *config.SQLServerConfigSet2017Ent
func (*ClusterConfig) GetSqlserverConfig_2017Std ¶
func (x *ClusterConfig) GetSqlserverConfig_2017Std() *config.SQLServerConfigSet2017Std
func (*ClusterConfig) GetSqlserverConfig_2019Ent ¶
func (x *ClusterConfig) GetSqlserverConfig_2019Ent() *config.SQLServerConfigSet2019Ent
func (*ClusterConfig) GetSqlserverConfig_2019Std ¶
func (x *ClusterConfig) GetSqlserverConfig_2019Std() *config.SQLServerConfigSet2019Std
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) SetResources ¶
func (m *ClusterConfig) SetResources(v *Resources)
func (*ClusterConfig) SetSecondaryConnections ¶
func (m *ClusterConfig) SetSecondaryConnections(v ClusterConfig_SecondaryConnections)
func (*ClusterConfig) SetSqlserverConfig ¶
func (m *ClusterConfig) SetSqlserverConfig(v ClusterConfig_SqlserverConfig)
func (*ClusterConfig) SetSqlserverConfig_2016Sp2Ent ¶
func (m *ClusterConfig) SetSqlserverConfig_2016Sp2Ent(v *config.SQLServerConfigSet2016Sp2Ent)
func (*ClusterConfig) SetSqlserverConfig_2016Sp2Std ¶
func (m *ClusterConfig) SetSqlserverConfig_2016Sp2Std(v *config.SQLServerConfigSet2016Sp2Std)
func (*ClusterConfig) SetSqlserverConfig_2017Ent ¶
func (m *ClusterConfig) SetSqlserverConfig_2017Ent(v *config.SQLServerConfigSet2017Ent)
func (*ClusterConfig) SetSqlserverConfig_2017Std ¶
func (m *ClusterConfig) SetSqlserverConfig_2017Std(v *config.SQLServerConfigSet2017Std)
func (*ClusterConfig) SetSqlserverConfig_2019Ent ¶
func (m *ClusterConfig) SetSqlserverConfig_2019Ent(v *config.SQLServerConfigSet2019Ent)
func (*ClusterConfig) SetSqlserverConfig_2019Std ¶
func (m *ClusterConfig) SetSqlserverConfig_2019Std(v *config.SQLServerConfigSet2019Std)
func (*ClusterConfig) SetVersion ¶
func (m *ClusterConfig) SetVersion(v string)
func (*ClusterConfig) String ¶
func (x *ClusterConfig) String() string
type ClusterConfig_SecondaryConnections ¶
type ClusterConfig_SecondaryConnections int32
const ( ClusterConfig_SECONDARY_CONNECTIONS_UNSPECIFIED ClusterConfig_SecondaryConnections = 0 // Connections to secondary replicas are prohibited ClusterConfig_SECONDARY_CONNECTIONS_OFF ClusterConfig_SecondaryConnections = 1 // Secondary replicas are read-only ClusterConfig_SECONDARY_CONNECTIONS_READ_ONLY ClusterConfig_SecondaryConnections = 2 )
func (ClusterConfig_SecondaryConnections) Descriptor ¶
func (ClusterConfig_SecondaryConnections) Descriptor() protoreflect.EnumDescriptor
func (ClusterConfig_SecondaryConnections) Enum ¶
func (x ClusterConfig_SecondaryConnections) Enum() *ClusterConfig_SecondaryConnections
func (ClusterConfig_SecondaryConnections) EnumDescriptor
deprecated
func (ClusterConfig_SecondaryConnections) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClusterConfig_SecondaryConnections.Descriptor instead.
func (ClusterConfig_SecondaryConnections) Number ¶
func (x ClusterConfig_SecondaryConnections) Number() protoreflect.EnumNumber
func (ClusterConfig_SecondaryConnections) String ¶
func (x ClusterConfig_SecondaryConnections) String() string
func (ClusterConfig_SecondaryConnections) Type ¶
func (ClusterConfig_SecondaryConnections) Type() protoreflect.EnumType
type ClusterConfig_SqlserverConfig ¶
type ClusterConfig_SqlserverConfig = isClusterConfig_SqlserverConfig
type ClusterConfig_SqlserverConfig_2016Sp2Ent ¶
type ClusterConfig_SqlserverConfig_2016Sp2Ent struct { // Configuration of the SQL Server 2016sp2 enterprise edition instance. SqlserverConfig_2016Sp2Ent *config.SQLServerConfigSet2016Sp2Ent `protobuf:"bytes,5,opt,name=sqlserver_config_2016sp2ent,json=sqlserverConfig_2016sp2ent,proto3,oneof"` }
type ClusterConfig_SqlserverConfig_2016Sp2Std ¶
type ClusterConfig_SqlserverConfig_2016Sp2Std struct { // Configuration of the SQL Server 2016sp2 standard edition instance. SqlserverConfig_2016Sp2Std *config.SQLServerConfigSet2016Sp2Std `protobuf:"bytes,2,opt,name=sqlserver_config_2016sp2std,json=sqlserverConfig_2016sp2std,proto3,oneof"` }
type ClusterConfig_SqlserverConfig_2017Ent ¶
type ClusterConfig_SqlserverConfig_2017Ent struct { // Configuration of the SQL Server 2017 enterprise edition instance. SqlserverConfig_2017Ent *config.SQLServerConfigSet2017Ent `protobuf:"bytes,9,opt,name=sqlserver_config_2017ent,json=sqlserverConfig_2017ent,proto3,oneof"` }
type ClusterConfig_SqlserverConfig_2017Std ¶
type ClusterConfig_SqlserverConfig_2017Std struct { // Configuration of the SQL Server 2017 standard edition instance. SqlserverConfig_2017Std *config.SQLServerConfigSet2017Std `protobuf:"bytes,8,opt,name=sqlserver_config_2017std,json=sqlserverConfig_2017std,proto3,oneof"` }
type ClusterConfig_SqlserverConfig_2019Ent ¶
type ClusterConfig_SqlserverConfig_2019Ent struct { // Configuration of the SQL Server 2019 enterprise edition instance. SqlserverConfig_2019Ent *config.SQLServerConfigSet2019Ent `protobuf:"bytes,11,opt,name=sqlserver_config_2019ent,json=sqlserverConfig_2019ent,proto3,oneof"` }
type ClusterConfig_SqlserverConfig_2019Std ¶
type ClusterConfig_SqlserverConfig_2019Std struct { // Configuration of the SQL Server 2019 standard edition instance. SqlserverConfig_2019Std *config.SQLServerConfigSet2019Std `protobuf:"bytes,10,opt,name=sqlserver_config_2019std,json=sqlserverConfig_2019std,proto3,oneof"` }
type ClusterServiceClient ¶
type ClusterServiceClient interface { // Returns the specified SQL Server cluster. // // To get the list of available SQL Server clusters, make a [List] request. Get(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) // Retrieves the list of SQL Server clusters that belong to the specified folder. List(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) // Creates an SQL Server cluster in the specified folder. Create(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Modifies the specified SQL Server cluster. Update(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified SQL Server cluster. Delete(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Starts the specified SQL Server cluster. Start(ctx context.Context, in *StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Stops the specified SQL Server cluster. Stop(ctx context.Context, in *StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Moves the specified SQL Server cluster to the specified folder. Move(ctx context.Context, in *MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Creates a backup for the specified SQL Server cluster. Backup(ctx context.Context, in *BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Creates a new SQL Server cluster using the specified backup. Restore(ctx context.Context, in *RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Starts a manual failover for a cluster. StartFailover(ctx context.Context, in *StartClusterFailoverRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Retrieves logs for the specified SQL Server cluster. // // For more information about logs, see the [Logs](/docs/managed-sqlserver/operations/cluster-logs) section in the documentation. ListLogs(ctx context.Context, in *ListClusterLogsRequest, opts ...grpc.CallOption) (*ListClusterLogsResponse, error) // Retrieves the list of operations for the specified SQL Server cluster. ListOperations(ctx context.Context, in *ListClusterOperationsRequest, opts ...grpc.CallOption) (*ListClusterOperationsResponse, error) // Retrieves the list of available backups for the specified SQL Server cluster. ListBackups(ctx context.Context, in *ListClusterBackupsRequest, opts ...grpc.CallOption) (*ListClusterBackupsResponse, error) // Retrieves the list of hosts for the specified SQL Server cluster. ListHosts(ctx context.Context, in *ListClusterHostsRequest, opts ...grpc.CallOption) (*ListClusterHostsResponse, error) // Updates the specified hosts. UpdateHosts(ctx context.Context, in *UpdateClusterHostsRequest, 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 SQL Server clusters.
func NewClusterServiceClient ¶
func NewClusterServiceClient(cc grpc.ClientConnInterface) ClusterServiceClient
type ClusterServiceServer ¶
type ClusterServiceServer interface { // Returns the specified SQL Server cluster. // // To get the list of available SQL Server clusters, make a [List] request. Get(context.Context, *GetClusterRequest) (*Cluster, error) // Retrieves the list of SQL Server clusters that belong to the specified folder. List(context.Context, *ListClustersRequest) (*ListClustersResponse, error) // Creates an SQL Server cluster in the specified folder. Create(context.Context, *CreateClusterRequest) (*operation.Operation, error) // Modifies the specified SQL Server cluster. Update(context.Context, *UpdateClusterRequest) (*operation.Operation, error) // Deletes the specified SQL Server cluster. Delete(context.Context, *DeleteClusterRequest) (*operation.Operation, error) // Starts the specified SQL Server cluster. Start(context.Context, *StartClusterRequest) (*operation.Operation, error) // Stops the specified SQL Server cluster. Stop(context.Context, *StopClusterRequest) (*operation.Operation, error) // Moves the specified SQL Server cluster to the specified folder. Move(context.Context, *MoveClusterRequest) (*operation.Operation, error) // Creates a backup for the specified SQL Server cluster. Backup(context.Context, *BackupClusterRequest) (*operation.Operation, error) // Creates a new SQL Server cluster using the specified backup. Restore(context.Context, *RestoreClusterRequest) (*operation.Operation, error) // Starts a manual failover for a cluster. StartFailover(context.Context, *StartClusterFailoverRequest) (*operation.Operation, error) // Retrieves logs for the specified SQL Server cluster. // // For more information about logs, see the [Logs](/docs/managed-sqlserver/operations/cluster-logs) section in the documentation. ListLogs(context.Context, *ListClusterLogsRequest) (*ListClusterLogsResponse, error) // Retrieves the list of operations for the specified SQL Server cluster. ListOperations(context.Context, *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error) // Retrieves the list of available backups for the specified SQL Server cluster. ListBackups(context.Context, *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error) // Retrieves the list of hosts for the specified SQL Server cluster. ListHosts(context.Context, *ListClusterHostsRequest) (*ListClusterHostsResponse, error) // Updates the specified hosts. UpdateHosts(context.Context, *UpdateClusterHostsRequest) (*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 SQL Server clusters.
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) Descriptor() protoreflect.EnumDescriptor
func (Cluster_Environment) Enum ¶
func (x Cluster_Environment) Enum() *Cluster_Environment
func (Cluster_Environment) EnumDescriptor
deprecated
func (Cluster_Environment) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_Environment.Descriptor instead.
func (Cluster_Environment) Number ¶
func (x Cluster_Environment) Number() protoreflect.EnumNumber
func (Cluster_Environment) String ¶
func (x Cluster_Environment) String() string
func (Cluster_Environment) Type ¶
func (Cluster_Environment) Type() protoreflect.EnumType
type Cluster_Health ¶
type Cluster_Health int32
const ( // State of the cluster is unknown ([Host.health] of all hosts in the cluster is `UNKNOWN`). Cluster_HEALTH_UNKNOWN Cluster_Health = 0 // Cluster is alive and works well ([Host.health] of all hosts in the cluster is `ALIVE`). Cluster_ALIVE Cluster_Health = 1 // Cluster is inoperable ([Host.health] of all hosts in the cluster is `DEAD`). Cluster_DEAD Cluster_Health = 2 // Cluster is in degraded state ([Host.health] of at least one of the hosts in the cluster is not `ALIVE`). Cluster_DEGRADED Cluster_Health = 3 )
func (Cluster_Health) Descriptor ¶
func (Cluster_Health) Descriptor() protoreflect.EnumDescriptor
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 (x Cluster_Health) Number() protoreflect.EnumNumber
func (Cluster_Health) String ¶
func (x Cluster_Health) String() string
func (Cluster_Health) Type ¶
func (Cluster_Health) Type() protoreflect.EnumType
type Cluster_Status ¶
type Cluster_Status int32
const ( // Cluster state is unknown. Cluster_STATUS_UNKNOWN Cluster_Status = 0 // Cluster is being created. Cluster_CREATING Cluster_Status = 1 // Cluster is running normally. Cluster_RUNNING Cluster_Status = 2 // Cluster encountered a problem and cannot operate. 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) Descriptor() protoreflect.EnumDescriptor
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 (x Cluster_Status) Number() protoreflect.EnumNumber
func (Cluster_Status) String ¶
func (x Cluster_Status) String() string
func (Cluster_Status) Type ¶
func (Cluster_Status) Type() protoreflect.EnumType
type ConfigSpec ¶
type ConfigSpec struct { // Version of SQL Server used in the cluster. // // Possible values: // * 2016sp2std, // * 2016sp2ent, // * 2017std, // * 2017ent, // * 2019std, // * 2019ent. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // No formal validation, a list of supported versions should suffice. // Configuration of an SQL Server cluster. // // Types that are assignable to SqlserverConfig: // // *ConfigSpec_SqlserverConfig_2016Sp2Std // *ConfigSpec_SqlserverConfig_2016Sp2Ent // *ConfigSpec_SqlserverConfig_2017Std // *ConfigSpec_SqlserverConfig_2017Ent // *ConfigSpec_SqlserverConfig_2019Std // *ConfigSpec_SqlserverConfig_2019Ent SqlserverConfig isConfigSpec_SqlserverConfig `protobuf_oneof:"sqlserver_config"` // Resources allocated to SQL Server hosts. Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` // Start time for the daily backup in UTC timezone. BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` // Database access policy. Access *Access `protobuf:"bytes,6,opt,name=access,proto3" json:"access,omitempty"` // Secondary replicas connection mode SecondaryConnections ClusterConfig_SecondaryConnections `` /* 192-byte string literal not displayed */ // 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) GetResources ¶
func (x *ConfigSpec) GetResources() *Resources
func (*ConfigSpec) GetSecondaryConnections ¶
func (x *ConfigSpec) GetSecondaryConnections() ClusterConfig_SecondaryConnections
func (*ConfigSpec) GetSqlserverConfig ¶
func (m *ConfigSpec) GetSqlserverConfig() isConfigSpec_SqlserverConfig
func (*ConfigSpec) GetSqlserverConfig_2016Sp2Ent ¶
func (x *ConfigSpec) GetSqlserverConfig_2016Sp2Ent() *config.SQLServerConfig2016Sp2Ent
func (*ConfigSpec) GetSqlserverConfig_2016Sp2Std ¶
func (x *ConfigSpec) GetSqlserverConfig_2016Sp2Std() *config.SQLServerConfig2016Sp2Std
func (*ConfigSpec) GetSqlserverConfig_2017Ent ¶
func (x *ConfigSpec) GetSqlserverConfig_2017Ent() *config.SQLServerConfig2017Ent
func (*ConfigSpec) GetSqlserverConfig_2017Std ¶
func (x *ConfigSpec) GetSqlserverConfig_2017Std() *config.SQLServerConfig2017Std
func (*ConfigSpec) GetSqlserverConfig_2019Ent ¶
func (x *ConfigSpec) GetSqlserverConfig_2019Ent() *config.SQLServerConfig2019Ent
func (*ConfigSpec) GetSqlserverConfig_2019Std ¶
func (x *ConfigSpec) GetSqlserverConfig_2019Std() *config.SQLServerConfig2019Std
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) SetResources ¶
func (m *ConfigSpec) SetResources(v *Resources)
func (*ConfigSpec) SetSecondaryConnections ¶
func (m *ConfigSpec) SetSecondaryConnections(v ClusterConfig_SecondaryConnections)
func (*ConfigSpec) SetSqlserverConfig ¶
func (m *ConfigSpec) SetSqlserverConfig(v ConfigSpec_SqlserverConfig)
func (*ConfigSpec) SetSqlserverConfig_2016Sp2Ent ¶
func (m *ConfigSpec) SetSqlserverConfig_2016Sp2Ent(v *config.SQLServerConfig2016Sp2Ent)
func (*ConfigSpec) SetSqlserverConfig_2016Sp2Std ¶
func (m *ConfigSpec) SetSqlserverConfig_2016Sp2Std(v *config.SQLServerConfig2016Sp2Std)
func (*ConfigSpec) SetSqlserverConfig_2017Ent ¶
func (m *ConfigSpec) SetSqlserverConfig_2017Ent(v *config.SQLServerConfig2017Ent)
func (*ConfigSpec) SetSqlserverConfig_2017Std ¶
func (m *ConfigSpec) SetSqlserverConfig_2017Std(v *config.SQLServerConfig2017Std)
func (*ConfigSpec) SetSqlserverConfig_2019Ent ¶
func (m *ConfigSpec) SetSqlserverConfig_2019Ent(v *config.SQLServerConfig2019Ent)
func (*ConfigSpec) SetSqlserverConfig_2019Std ¶
func (m *ConfigSpec) SetSqlserverConfig_2019Std(v *config.SQLServerConfig2019Std)
func (*ConfigSpec) SetVersion ¶
func (m *ConfigSpec) SetVersion(v string)
func (*ConfigSpec) String ¶
func (x *ConfigSpec) String() string
type ConfigSpec_SqlserverConfig ¶
type ConfigSpec_SqlserverConfig = isConfigSpec_SqlserverConfig
type ConfigSpec_SqlserverConfig_2016Sp2Ent ¶
type ConfigSpec_SqlserverConfig_2016Sp2Ent struct { // Configuration for an SQL Server 2016 SP2 Enterprise edition cluster. SqlserverConfig_2016Sp2Ent *config.SQLServerConfig2016Sp2Ent `protobuf:"bytes,5,opt,name=sqlserver_config_2016sp2ent,json=sqlserverConfig_2016sp2ent,proto3,oneof"` }
type ConfigSpec_SqlserverConfig_2016Sp2Std ¶
type ConfigSpec_SqlserverConfig_2016Sp2Std struct { // Configuration for an SQL Server 2016 SP2 Standard edition cluster. SqlserverConfig_2016Sp2Std *config.SQLServerConfig2016Sp2Std `protobuf:"bytes,2,opt,name=sqlserver_config_2016sp2std,json=sqlserverConfig_2016sp2std,proto3,oneof"` }
type ConfigSpec_SqlserverConfig_2017Ent ¶
type ConfigSpec_SqlserverConfig_2017Ent struct { // Configuration for an SQL Server 2017 Enterprise edition cluster. SqlserverConfig_2017Ent *config.SQLServerConfig2017Ent `protobuf:"bytes,9,opt,name=sqlserver_config_2017ent,json=sqlserverConfig_2017ent,proto3,oneof"` }
type ConfigSpec_SqlserverConfig_2017Std ¶
type ConfigSpec_SqlserverConfig_2017Std struct { // Configuration for an SQL Server 2017 Standard edition cluster. SqlserverConfig_2017Std *config.SQLServerConfig2017Std `protobuf:"bytes,8,opt,name=sqlserver_config_2017std,json=sqlserverConfig_2017std,proto3,oneof"` }
type ConfigSpec_SqlserverConfig_2019Ent ¶
type ConfigSpec_SqlserverConfig_2019Ent struct { // Configuration for an SQL Server 2019 Enterprise edition cluster. SqlserverConfig_2019Ent *config.SQLServerConfig2019Ent `protobuf:"bytes,11,opt,name=sqlserver_config_2019ent,json=sqlserverConfig_2019ent,proto3,oneof"` }
type ConfigSpec_SqlserverConfig_2019Std ¶
type ConfigSpec_SqlserverConfig_2019Std struct { // Configuration for an SQL Server 2019 Standard edition cluster. SqlserverConfig_2019Std *config.SQLServerConfig2019Std `protobuf:"bytes,10,opt,name=sqlserver_config_2019std,json=sqlserverConfig_2019std,proto3,oneof"` }
type CreateClusterMetadata ¶
type CreateClusterMetadata struct { // ID of the SQL Server cluster 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 SQL Server cluster 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"` // Name of the SQL Server cluster. The name must be unique within the folder. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the SQL Server cluster. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Custom labels for the SQL Server cluster as `key:value` pairs. // For example, "project":"mvp" or "source":"dictionary". Labels map[string]string `` /* 153-byte string literal not displayed */ // Deployment environment of the SQL Server cluster. Environment Cluster_Environment `` /* 131-byte string literal not displayed */ // Configurations of SQL Server and hosts of the cluster. ConfigSpec *ConfigSpec `protobuf:"bytes,6,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"` // One or more configurations of databases to be created in the SQL Server cluster. DatabaseSpecs []*DatabaseSpec `protobuf:"bytes,7,rep,name=database_specs,json=databaseSpecs,proto3" json:"database_specs,omitempty"` // One or more configurations of database users to be created in the SQL Server cluster. UserSpecs []*UserSpec `protobuf:"bytes,8,rep,name=user_specs,json=userSpecs,proto3" json:"user_specs,omitempty"` // One or more configurations of hosts to be created in the SQL Server cluster. HostSpecs []*HostSpec `protobuf:"bytes,9,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` // ID of the network to create the SQL Server cluster in. NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` // User security groups. SecurityGroupIds []string `protobuf:"bytes,11,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"` // Determines whether the cluster is protected from being deleted. DeletionProtection bool `protobuf:"varint,12,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"` // Name of SQL Collation that cluster will be created with. Sqlcollation string `protobuf:"bytes,13,opt,name=sqlcollation,proto3" json:"sqlcollation,omitempty"` // Host groups hosting VMs of the cluster. HostGroupIds []string `protobuf:"bytes,14,rep,name=host_group_ids,json=hostGroupIds,proto3" json:"host_group_ids,omitempty"` // ID of the service account used for access to Object Storage. ServiceAccountId string `protobuf:"bytes,15,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // contains filtered or unexported fields }
func (*CreateClusterRequest) Descriptor
deprecated
func (*CreateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateClusterRequest) GetConfigSpec ¶
func (x *CreateClusterRequest) GetConfigSpec() *ConfigSpec
func (*CreateClusterRequest) GetDatabaseSpecs ¶
func (x *CreateClusterRequest) GetDatabaseSpecs() []*DatabaseSpec
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) GetHostGroupIds ¶
func (x *CreateClusterRequest) GetHostGroupIds() []string
func (*CreateClusterRequest) GetHostSpecs ¶
func (x *CreateClusterRequest) GetHostSpecs() []*HostSpec
func (*CreateClusterRequest) GetLabels ¶
func (x *CreateClusterRequest) GetLabels() map[string]string
func (*CreateClusterRequest) GetName ¶
func (x *CreateClusterRequest) GetName() string
func (*CreateClusterRequest) GetNetworkId ¶
func (x *CreateClusterRequest) GetNetworkId() string
func (*CreateClusterRequest) GetSecurityGroupIds ¶
func (x *CreateClusterRequest) GetSecurityGroupIds() []string
func (*CreateClusterRequest) GetServiceAccountId ¶
func (x *CreateClusterRequest) GetServiceAccountId() string
func (*CreateClusterRequest) GetSqlcollation ¶
func (x *CreateClusterRequest) GetSqlcollation() string
func (*CreateClusterRequest) GetUserSpecs ¶
func (x *CreateClusterRequest) GetUserSpecs() []*UserSpec
func (*CreateClusterRequest) ProtoMessage ¶
func (*CreateClusterRequest) ProtoMessage()
func (*CreateClusterRequest) ProtoReflect ¶
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
func (*CreateClusterRequest) Reset ¶
func (x *CreateClusterRequest) Reset()
func (*CreateClusterRequest) SetConfigSpec ¶
func (m *CreateClusterRequest) SetConfigSpec(v *ConfigSpec)
func (*CreateClusterRequest) SetDatabaseSpecs ¶
func (m *CreateClusterRequest) SetDatabaseSpecs(v []*DatabaseSpec)
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) SetHostGroupIds ¶
func (m *CreateClusterRequest) SetHostGroupIds(v []string)
func (*CreateClusterRequest) SetHostSpecs ¶
func (m *CreateClusterRequest) SetHostSpecs(v []*HostSpec)
func (*CreateClusterRequest) SetLabels ¶
func (m *CreateClusterRequest) SetLabels(v map[string]string)
func (*CreateClusterRequest) SetName ¶
func (m *CreateClusterRequest) SetName(v string)
func (*CreateClusterRequest) SetNetworkId ¶
func (m *CreateClusterRequest) SetNetworkId(v string)
func (*CreateClusterRequest) SetSecurityGroupIds ¶
func (m *CreateClusterRequest) SetSecurityGroupIds(v []string)
func (*CreateClusterRequest) SetServiceAccountId ¶
func (m *CreateClusterRequest) SetServiceAccountId(v string)
func (*CreateClusterRequest) SetSqlcollation ¶
func (m *CreateClusterRequest) SetSqlcollation(v string)
func (*CreateClusterRequest) SetUserSpecs ¶
func (m *CreateClusterRequest) SetUserSpecs(v []*UserSpec)
func (*CreateClusterRequest) String ¶
func (x *CreateClusterRequest) String() string
type CreateDatabaseMetadata ¶
type CreateDatabaseMetadata struct { // ID of the SQL Server cluster where the database is being created. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Name of the SQL Server database being created. DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` // contains filtered or unexported fields }
func (*CreateDatabaseMetadata) Descriptor
deprecated
func (*CreateDatabaseMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateDatabaseMetadata.ProtoReflect.Descriptor instead.
func (*CreateDatabaseMetadata) GetClusterId ¶
func (x *CreateDatabaseMetadata) GetClusterId() string
func (*CreateDatabaseMetadata) GetDatabaseName ¶
func (x *CreateDatabaseMetadata) GetDatabaseName() string
func (*CreateDatabaseMetadata) ProtoMessage ¶
func (*CreateDatabaseMetadata) ProtoMessage()
func (*CreateDatabaseMetadata) ProtoReflect ¶
func (x *CreateDatabaseMetadata) ProtoReflect() protoreflect.Message
func (*CreateDatabaseMetadata) Reset ¶
func (x *CreateDatabaseMetadata) Reset()
func (*CreateDatabaseMetadata) SetClusterId ¶
func (m *CreateDatabaseMetadata) SetClusterId(v string)
func (*CreateDatabaseMetadata) SetDatabaseName ¶
func (m *CreateDatabaseMetadata) SetDatabaseName(v string)
func (*CreateDatabaseMetadata) String ¶
func (x *CreateDatabaseMetadata) String() string
type CreateDatabaseRequest ¶
type CreateDatabaseRequest struct { // ID of the SQL Server cluster to create a database 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"` // Configuration of the database to create. DatabaseSpec *DatabaseSpec `protobuf:"bytes,2,opt,name=database_spec,json=databaseSpec,proto3" json:"database_spec,omitempty"` // contains filtered or unexported fields }
func (*CreateDatabaseRequest) Descriptor
deprecated
func (*CreateDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDatabaseRequest.ProtoReflect.Descriptor instead.
func (*CreateDatabaseRequest) GetClusterId ¶
func (x *CreateDatabaseRequest) GetClusterId() string
func (*CreateDatabaseRequest) GetDatabaseSpec ¶
func (x *CreateDatabaseRequest) GetDatabaseSpec() *DatabaseSpec
func (*CreateDatabaseRequest) ProtoMessage ¶
func (*CreateDatabaseRequest) ProtoMessage()
func (*CreateDatabaseRequest) ProtoReflect ¶
func (x *CreateDatabaseRequest) ProtoReflect() protoreflect.Message
func (*CreateDatabaseRequest) Reset ¶
func (x *CreateDatabaseRequest) Reset()
func (*CreateDatabaseRequest) SetClusterId ¶
func (m *CreateDatabaseRequest) SetClusterId(v string)
func (*CreateDatabaseRequest) SetDatabaseSpec ¶
func (m *CreateDatabaseRequest) SetDatabaseSpec(v *DatabaseSpec)
func (*CreateDatabaseRequest) String ¶
func (x *CreateDatabaseRequest) String() string
type CreateUserMetadata ¶
type CreateUserMetadata struct { // ID of the SQL Server cluster the user is being created for. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Name of the user being created. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // contains filtered or unexported fields }
func (*CreateUserMetadata) Descriptor
deprecated
func (*CreateUserMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserMetadata.ProtoReflect.Descriptor instead.
func (*CreateUserMetadata) GetClusterId ¶
func (x *CreateUserMetadata) GetClusterId() string
func (*CreateUserMetadata) GetUserName ¶
func (x *CreateUserMetadata) GetUserName() string
func (*CreateUserMetadata) ProtoMessage ¶
func (*CreateUserMetadata) ProtoMessage()
func (*CreateUserMetadata) ProtoReflect ¶
func (x *CreateUserMetadata) ProtoReflect() protoreflect.Message
func (*CreateUserMetadata) Reset ¶
func (x *CreateUserMetadata) Reset()
func (*CreateUserMetadata) SetClusterId ¶
func (m *CreateUserMetadata) SetClusterId(v string)
func (*CreateUserMetadata) SetUserName ¶
func (m *CreateUserMetadata) SetUserName(v string)
func (*CreateUserMetadata) String ¶
func (x *CreateUserMetadata) String() string
type CreateUserRequest ¶
type CreateUserRequest struct { // ID of the SQL Server cluster to create a user for. // // 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"` // Properties of the user to be created. UserSpec *UserSpec `protobuf:"bytes,2,opt,name=user_spec,json=userSpec,proto3" json:"user_spec,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetClusterId ¶
func (x *CreateUserRequest) GetClusterId() string
func (*CreateUserRequest) GetUserSpec ¶
func (x *CreateUserRequest) GetUserSpec() *UserSpec
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) SetClusterId ¶
func (m *CreateUserRequest) SetClusterId(v string)
func (*CreateUserRequest) SetUserSpec ¶
func (m *CreateUserRequest) SetUserSpec(v *UserSpec)
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type Database ¶
type Database struct { // Name of the database. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // ID of the SQL Server cluster that the database belongs to. ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // contains filtered or unexported fields }
An SQL Server database.
For more information, see the [Concepts](/docs/managed-sqlserver/concepts) section of the documentation.
func (*Database) Descriptor
deprecated
func (*Database) GetClusterId ¶
func (*Database) ProtoMessage ¶
func (*Database) ProtoMessage()
func (*Database) ProtoReflect ¶
func (x *Database) ProtoReflect() protoreflect.Message
func (*Database) SetClusterId ¶
type DatabaseServiceClient ¶
type DatabaseServiceClient interface { // Returns the specified SQL Server database. // // To get the list of available SQL Server databases, make a [List] request. Get(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*Database, error) // Retrieves the list of SQL Server databases in the specified cluster. List(ctx context.Context, in *ListDatabasesRequest, opts ...grpc.CallOption) (*ListDatabasesResponse, error) // Creates a new SQL Server database in the specified cluster. Create(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Creates a new SQL Server database in the specified cluster from a backup. Restore(ctx context.Context, in *RestoreDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Imports a new SQL Server database from an external backup. ImportBackup(ctx context.Context, in *ImportDatabaseBackupRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Exports the last database backup to an external backup. ExportBackup(ctx context.Context, in *ExportDatabaseBackupRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified SQL Server database. Delete(ctx context.Context, in *DeleteDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
DatabaseServiceClient is the client API for DatabaseService 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 SQL Server databases.
func NewDatabaseServiceClient ¶
func NewDatabaseServiceClient(cc grpc.ClientConnInterface) DatabaseServiceClient
type DatabaseServiceServer ¶
type DatabaseServiceServer interface { // Returns the specified SQL Server database. // // To get the list of available SQL Server databases, make a [List] request. Get(context.Context, *GetDatabaseRequest) (*Database, error) // Retrieves the list of SQL Server databases in the specified cluster. List(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error) // Creates a new SQL Server database in the specified cluster. Create(context.Context, *CreateDatabaseRequest) (*operation.Operation, error) // Creates a new SQL Server database in the specified cluster from a backup. Restore(context.Context, *RestoreDatabaseRequest) (*operation.Operation, error) // Imports a new SQL Server database from an external backup. ImportBackup(context.Context, *ImportDatabaseBackupRequest) (*operation.Operation, error) // Exports the last database backup to an external backup. ExportBackup(context.Context, *ExportDatabaseBackupRequest) (*operation.Operation, error) // Deletes the specified SQL Server database. Delete(context.Context, *DeleteDatabaseRequest) (*operation.Operation, error) }
DatabaseServiceServer is the server API for DatabaseService service. All implementations should embed UnimplementedDatabaseServiceServer for forward compatibility.
A set of methods for managing SQL Server databases.
type DatabaseSpec ¶
type DatabaseSpec struct { // Name of the database. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DatabaseSpec) Descriptor
deprecated
func (*DatabaseSpec) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseSpec.ProtoReflect.Descriptor instead.
func (*DatabaseSpec) GetName ¶
func (x *DatabaseSpec) GetName() string
func (*DatabaseSpec) ProtoMessage ¶
func (*DatabaseSpec) ProtoMessage()
func (*DatabaseSpec) ProtoReflect ¶
func (x *DatabaseSpec) ProtoReflect() protoreflect.Message
func (*DatabaseSpec) Reset ¶
func (x *DatabaseSpec) Reset()
func (*DatabaseSpec) SetName ¶
func (m *DatabaseSpec) SetName(v string)
func (*DatabaseSpec) String ¶
func (x *DatabaseSpec) String() string
type DeleteClusterMetadata ¶
type DeleteClusterMetadata struct { // ID of the SQL Server cluster 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 SQL Server cluster to delete. // // To get the SQL Server 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 DeleteDatabaseMetadata ¶
type DeleteDatabaseMetadata struct { // ID of the SQL Server cluster where the database is being deleted. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Name of the SQL Server database being deleted. DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` // contains filtered or unexported fields }
func (*DeleteDatabaseMetadata) Descriptor
deprecated
func (*DeleteDatabaseMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDatabaseMetadata.ProtoReflect.Descriptor instead.
func (*DeleteDatabaseMetadata) GetClusterId ¶
func (x *DeleteDatabaseMetadata) GetClusterId() string
func (*DeleteDatabaseMetadata) GetDatabaseName ¶
func (x *DeleteDatabaseMetadata) GetDatabaseName() string
func (*DeleteDatabaseMetadata) ProtoMessage ¶
func (*DeleteDatabaseMetadata) ProtoMessage()
func (*DeleteDatabaseMetadata) ProtoReflect ¶
func (x *DeleteDatabaseMetadata) ProtoReflect() protoreflect.Message
func (*DeleteDatabaseMetadata) Reset ¶
func (x *DeleteDatabaseMetadata) Reset()
func (*DeleteDatabaseMetadata) SetClusterId ¶
func (m *DeleteDatabaseMetadata) SetClusterId(v string)
func (*DeleteDatabaseMetadata) SetDatabaseName ¶
func (m *DeleteDatabaseMetadata) SetDatabaseName(v string)
func (*DeleteDatabaseMetadata) String ¶
func (x *DeleteDatabaseMetadata) String() string
type DeleteDatabaseRequest ¶
type DeleteDatabaseRequest struct { // ID of the SQL Server cluster to delete a database 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 database to delete. // // To get the name of the database, use a [DatabaseService.List] request. DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` // contains filtered or unexported fields }
func (*DeleteDatabaseRequest) Descriptor
deprecated
func (*DeleteDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDatabaseRequest.ProtoReflect.Descriptor instead.
func (*DeleteDatabaseRequest) GetClusterId ¶
func (x *DeleteDatabaseRequest) GetClusterId() string
func (*DeleteDatabaseRequest) GetDatabaseName ¶
func (x *DeleteDatabaseRequest) GetDatabaseName() string
func (*DeleteDatabaseRequest) ProtoMessage ¶
func (*DeleteDatabaseRequest) ProtoMessage()
func (*DeleteDatabaseRequest) ProtoReflect ¶
func (x *DeleteDatabaseRequest) ProtoReflect() protoreflect.Message
func (*DeleteDatabaseRequest) Reset ¶
func (x *DeleteDatabaseRequest) Reset()
func (*DeleteDatabaseRequest) SetClusterId ¶
func (m *DeleteDatabaseRequest) SetClusterId(v string)
func (*DeleteDatabaseRequest) SetDatabaseName ¶
func (m *DeleteDatabaseRequest) SetDatabaseName(v string)
func (*DeleteDatabaseRequest) String ¶
func (x *DeleteDatabaseRequest) String() string
type DeleteUserMetadata ¶
type DeleteUserMetadata struct { // ID of the SQL Server cluster the user belongs to. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Name of the user being deleted. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserMetadata) Descriptor
deprecated
func (*DeleteUserMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserMetadata.ProtoReflect.Descriptor instead.
func (*DeleteUserMetadata) GetClusterId ¶
func (x *DeleteUserMetadata) GetClusterId() string
func (*DeleteUserMetadata) GetUserName ¶
func (x *DeleteUserMetadata) GetUserName() string
func (*DeleteUserMetadata) ProtoMessage ¶
func (*DeleteUserMetadata) ProtoMessage()
func (*DeleteUserMetadata) ProtoReflect ¶
func (x *DeleteUserMetadata) ProtoReflect() protoreflect.Message
func (*DeleteUserMetadata) Reset ¶
func (x *DeleteUserMetadata) Reset()
func (*DeleteUserMetadata) SetClusterId ¶
func (m *DeleteUserMetadata) SetClusterId(v string)
func (*DeleteUserMetadata) SetUserName ¶
func (m *DeleteUserMetadata) SetUserName(v string)
func (*DeleteUserMetadata) String ¶
func (x *DeleteUserMetadata) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct { // ID of the SQL Server cluster the user 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 user to delete. // // To get the name of the user, use a [UserService.List] request. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetClusterId ¶
func (x *DeleteUserRequest) GetClusterId() string
func (*DeleteUserRequest) GetUserName ¶
func (x *DeleteUserRequest) GetUserName() string
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) SetClusterId ¶
func (m *DeleteUserRequest) SetClusterId(v string)
func (*DeleteUserRequest) SetUserName ¶
func (m *DeleteUserRequest) SetUserName(v string)
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
type ExportDatabaseBackupMetadata ¶
type ExportDatabaseBackupMetadata struct { // ID of the SQL Server cluster where a database is being exported. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Name of the SQL Server database that is being exported. DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` // Name of object storage bucket to export backups to. S3Bucket string `protobuf:"bytes,3,opt,name=s3_bucket,json=s3Bucket,proto3" json:"s3_bucket,omitempty"` // Path in object storage bucket to export backups to. S3Path string `protobuf:"bytes,4,opt,name=s3_path,json=s3Path,proto3" json:"s3_path,omitempty"` // contains filtered or unexported fields }
func (*ExportDatabaseBackupMetadata) Descriptor
deprecated
func (*ExportDatabaseBackupMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ExportDatabaseBackupMetadata.ProtoReflect.Descriptor instead.
func (*ExportDatabaseBackupMetadata) GetClusterId ¶
func (x *ExportDatabaseBackupMetadata) GetClusterId() string
func (*ExportDatabaseBackupMetadata) GetDatabaseName ¶
func (x *ExportDatabaseBackupMetadata) GetDatabaseName() string
func (*ExportDatabaseBackupMetadata) GetS3Bucket ¶
func (x *ExportDatabaseBackupMetadata) GetS3Bucket() string
func (*ExportDatabaseBackupMetadata) GetS3Path ¶
func (x *ExportDatabaseBackupMetadata) GetS3Path() string
func (*ExportDatabaseBackupMetadata) ProtoMessage ¶
func (*ExportDatabaseBackupMetadata) ProtoMessage()
func (*ExportDatabaseBackupMetadata) ProtoReflect ¶
func (x *ExportDatabaseBackupMetadata) ProtoReflect() protoreflect.Message
func (*ExportDatabaseBackupMetadata) Reset ¶
func (x *ExportDatabaseBackupMetadata) Reset()
func (*ExportDatabaseBackupMetadata) SetClusterId ¶
func (m *ExportDatabaseBackupMetadata) SetClusterId(v string)
func (*ExportDatabaseBackupMetadata) SetDatabaseName ¶
func (m *ExportDatabaseBackupMetadata) SetDatabaseName(v string)
func (*ExportDatabaseBackupMetadata) SetS3Bucket ¶
func (m *ExportDatabaseBackupMetadata) SetS3Bucket(v string)
func (*ExportDatabaseBackupMetadata) SetS3Path ¶
func (m *ExportDatabaseBackupMetadata) SetS3Path(v string)
func (*ExportDatabaseBackupMetadata) String ¶
func (x *ExportDatabaseBackupMetadata) String() string
type ExportDatabaseBackupRequest ¶
type ExportDatabaseBackupRequest struct { // ID of the SQL Server cluster to export a database from. // // 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 SQL Server database that is being exported. DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` // Name of object storage bucket to export backups to. S3Bucket string `protobuf:"bytes,3,opt,name=s3_bucket,json=s3Bucket,proto3" json:"s3_bucket,omitempty"` // Path in object storage bucket to export backups to. S3Path string `protobuf:"bytes,4,opt,name=s3_path,json=s3Path,proto3" json:"s3_path,omitempty"` // Prefix for .bak files to export. Prefix string `protobuf:"bytes,5,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
func (*ExportDatabaseBackupRequest) Descriptor
deprecated
func (*ExportDatabaseBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportDatabaseBackupRequest.ProtoReflect.Descriptor instead.
func (*ExportDatabaseBackupRequest) GetClusterId ¶
func (x *ExportDatabaseBackupRequest) GetClusterId() string
func (*ExportDatabaseBackupRequest) GetDatabaseName ¶
func (x *ExportDatabaseBackupRequest) GetDatabaseName() string
func (*ExportDatabaseBackupRequest) GetPrefix ¶
func (x *ExportDatabaseBackupRequest) GetPrefix() string
func (*ExportDatabaseBackupRequest) GetS3Bucket ¶
func (x *ExportDatabaseBackupRequest) GetS3Bucket() string
func (*ExportDatabaseBackupRequest) GetS3Path ¶
func (x *ExportDatabaseBackupRequest) GetS3Path() string
func (*ExportDatabaseBackupRequest) ProtoMessage ¶
func (*ExportDatabaseBackupRequest) ProtoMessage()
func (*ExportDatabaseBackupRequest) ProtoReflect ¶
func (x *ExportDatabaseBackupRequest) ProtoReflect() protoreflect.Message
func (*ExportDatabaseBackupRequest) Reset ¶
func (x *ExportDatabaseBackupRequest) Reset()
func (*ExportDatabaseBackupRequest) SetClusterId ¶
func (m *ExportDatabaseBackupRequest) SetClusterId(v string)
func (*ExportDatabaseBackupRequest) SetDatabaseName ¶
func (m *ExportDatabaseBackupRequest) SetDatabaseName(v string)
func (*ExportDatabaseBackupRequest) SetPrefix ¶
func (m *ExportDatabaseBackupRequest) SetPrefix(v string)
func (*ExportDatabaseBackupRequest) SetS3Bucket ¶
func (m *ExportDatabaseBackupRequest) SetS3Bucket(v string)
func (*ExportDatabaseBackupRequest) SetS3Path ¶
func (m *ExportDatabaseBackupRequest) SetS3Path(v string)
func (*ExportDatabaseBackupRequest) String ¶
func (x *ExportDatabaseBackupRequest) String() string
type GetBackupRequest ¶
type GetBackupRequest struct { // ID of the backup to return information about. // // 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 SQL Server 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 GetDatabaseRequest ¶
type GetDatabaseRequest struct { // ID of the SQL Server cluster the database 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 SQL Server database to return. // // To get the name of the database use a [DatabaseService.List] request. DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` // contains filtered or unexported fields }
func (*GetDatabaseRequest) Descriptor
deprecated
func (*GetDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDatabaseRequest.ProtoReflect.Descriptor instead.
func (*GetDatabaseRequest) GetClusterId ¶
func (x *GetDatabaseRequest) GetClusterId() string
func (*GetDatabaseRequest) GetDatabaseName ¶
func (x *GetDatabaseRequest) GetDatabaseName() string
func (*GetDatabaseRequest) ProtoMessage ¶
func (*GetDatabaseRequest) ProtoMessage()
func (*GetDatabaseRequest) ProtoReflect ¶
func (x *GetDatabaseRequest) ProtoReflect() protoreflect.Message
func (*GetDatabaseRequest) Reset ¶
func (x *GetDatabaseRequest) Reset()
func (*GetDatabaseRequest) SetClusterId ¶
func (m *GetDatabaseRequest) SetClusterId(v string)
func (*GetDatabaseRequest) SetDatabaseName ¶
func (m *GetDatabaseRequest) SetDatabaseName(v string)
func (*GetDatabaseRequest) String ¶
func (x *GetDatabaseRequest) 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 GetUserRequest ¶
type GetUserRequest struct { // ID of the SQL Server cluster the user 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 SQL Server user to return. // // To get the name of the user use a [DatabaseService.List] request. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetClusterId ¶
func (x *GetUserRequest) GetClusterId() string
func (*GetUserRequest) GetUserName ¶
func (x *GetUserRequest) GetUserName() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) SetClusterId ¶
func (m *GetUserRequest) SetClusterId(v string)
func (*GetUserRequest) SetUserName ¶
func (m *GetUserRequest) SetUserName(v string)
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GrantUserPermissionMetadata ¶
type GrantUserPermissionMetadata struct { // ID of the SQL Server cluster the user 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 user being granted a permission. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // contains filtered or unexported fields }
func (*GrantUserPermissionMetadata) Descriptor
deprecated
func (*GrantUserPermissionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use GrantUserPermissionMetadata.ProtoReflect.Descriptor instead.
func (*GrantUserPermissionMetadata) GetClusterId ¶
func (x *GrantUserPermissionMetadata) GetClusterId() string
func (*GrantUserPermissionMetadata) GetUserName ¶
func (x *GrantUserPermissionMetadata) GetUserName() string
func (*GrantUserPermissionMetadata) ProtoMessage ¶
func (*GrantUserPermissionMetadata) ProtoMessage()
func (*GrantUserPermissionMetadata) ProtoReflect ¶
func (x *GrantUserPermissionMetadata) ProtoReflect() protoreflect.Message
func (*GrantUserPermissionMetadata) Reset ¶
func (x *GrantUserPermissionMetadata) Reset()
func (*GrantUserPermissionMetadata) SetClusterId ¶
func (m *GrantUserPermissionMetadata) SetClusterId(v string)
func (*GrantUserPermissionMetadata) SetUserName ¶
func (m *GrantUserPermissionMetadata) SetUserName(v string)
func (*GrantUserPermissionMetadata) String ¶
func (x *GrantUserPermissionMetadata) String() string
type GrantUserPermissionRequest ¶
type GrantUserPermissionRequest struct { // ID of the SQL Server cluster the user 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 user to grant the permission to. // // To get the name of the user, use a [UserService.List] request. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // Permission that should be granted to the specified user. Permission *Permission `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
func (*GrantUserPermissionRequest) Descriptor
deprecated
func (*GrantUserPermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GrantUserPermissionRequest.ProtoReflect.Descriptor instead.
func (*GrantUserPermissionRequest) GetClusterId ¶
func (x *GrantUserPermissionRequest) GetClusterId() string
func (*GrantUserPermissionRequest) GetPermission ¶
func (x *GrantUserPermissionRequest) GetPermission() *Permission
func (*GrantUserPermissionRequest) GetUserName ¶
func (x *GrantUserPermissionRequest) GetUserName() string
func (*GrantUserPermissionRequest) ProtoMessage ¶
func (*GrantUserPermissionRequest) ProtoMessage()
func (*GrantUserPermissionRequest) ProtoReflect ¶
func (x *GrantUserPermissionRequest) ProtoReflect() protoreflect.Message
func (*GrantUserPermissionRequest) Reset ¶
func (x *GrantUserPermissionRequest) Reset()
func (*GrantUserPermissionRequest) SetClusterId ¶
func (m *GrantUserPermissionRequest) SetClusterId(v string)
func (*GrantUserPermissionRequest) SetPermission ¶
func (m *GrantUserPermissionRequest) SetPermission(v *Permission)
func (*GrantUserPermissionRequest) SetUserName ¶
func (m *GrantUserPermissionRequest) SetUserName(v string)
func (*GrantUserPermissionRequest) String ¶
func (x *GrantUserPermissionRequest) String() string
type Host ¶
type Host struct { // Name of the SQL Server host. // // The host name is assigned by Managed Service for SQL Server at the moment of creation and cannot be changed. 1-63 characters long. // // The name is unique across all database 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 SQL Server host. // // The ID is assigned by Managed Service for SQL Server at the moment of creation. ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // ID of the availability zone where the SQL Server host resides. ZoneId string `protobuf:"bytes,3,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` // Resources allocated to the host. Resources *Resources `protobuf:"bytes,4,opt,name=resources,proto3" json:"resources,omitempty"` // Role of the host in the cluster. Role Host_Role `protobuf:"varint,5,opt,name=role,proto3,enum=yandex.cloud.mdb.sqlserver.v1.Host_Role" json:"role,omitempty"` // Status code of the aggregated health of the host. Health Host_Health `protobuf:"varint,6,opt,name=health,proto3,enum=yandex.cloud.mdb.sqlserver.v1.Host_Health" json:"health,omitempty"` // Services provided by the host. Services []*Service `protobuf:"bytes,7,rep,name=services,proto3" json:"services,omitempty"` // ID of the subnet that the host belongs to. SubnetId string `protobuf:"bytes,8,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` // Flag showing public IP assignment status to this host. AssignPublicIp bool `protobuf:"varint,9,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"` // contains filtered or unexported fields }
func (*Host) Descriptor
deprecated
func (*Host) GetAssignPublicIp ¶
func (*Host) GetClusterId ¶
func (*Host) GetHealth ¶
func (x *Host) GetHealth() Host_Health
func (*Host) GetResources ¶
func (*Host) GetServices ¶
func (*Host) GetSubnetId ¶
func (*Host) ProtoMessage ¶
func (*Host) ProtoMessage()
func (*Host) ProtoReflect ¶
func (x *Host) ProtoReflect() protoreflect.Message
func (*Host) SetAssignPublicIp ¶
func (*Host) SetClusterId ¶
func (*Host) SetHealth ¶
func (m *Host) SetHealth(v Host_Health)
func (*Host) SetResources ¶
func (*Host) SetServices ¶
func (*Host) SetSubnetId ¶
type HostSpec ¶
type HostSpec struct { // ID of the availability zone where the host resides. // // To get the 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"` // Determines whether the host gets a public IP address on creation. // // After a host has been created, this setting cannot be changed. To remove an assigned public IP, or to assign a public IP to a host without one, recreate the host with [assign_public_ip] set as needed. // // Possible values: // * `false` - do not assign a public IP to the host; // * `true` - assign a public IP to the host. AssignPublicIp bool `protobuf:"varint,3,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"` // contains filtered or unexported fields }
func (*HostSpec) Descriptor
deprecated
func (*HostSpec) GetAssignPublicIp ¶
func (*HostSpec) GetSubnetId ¶
func (*HostSpec) ProtoMessage ¶
func (*HostSpec) ProtoMessage()
func (*HostSpec) ProtoReflect ¶
func (x *HostSpec) ProtoReflect() protoreflect.Message
func (*HostSpec) SetAssignPublicIp ¶
func (*HostSpec) SetSubnetId ¶
type Host_Health ¶
type Host_Health int32
const ( // Health of the host is unknown. 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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (Host_Health) Type() protoreflect.EnumType
type Host_Role ¶
type Host_Role int32
func (Host_Role) Descriptor ¶
func (Host_Role) Descriptor() protoreflect.EnumDescriptor
func (Host_Role) EnumDescriptor
deprecated
func (Host_Role) Number ¶
func (x Host_Role) Number() protoreflect.EnumNumber
func (Host_Role) Type ¶
func (Host_Role) Type() protoreflect.EnumType
type ImportDatabaseBackupMetadata ¶
type ImportDatabaseBackupMetadata struct { // ID of the SQL Server cluster where a database is being imported. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Name of the SQL Server database that is being imported. DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` // Name of object storage bucket to import backups from. S3Bucket string `protobuf:"bytes,3,opt,name=s3_bucket,json=s3Bucket,proto3" json:"s3_bucket,omitempty"` // Path in object storage bucket to import backups from. S3Path string `protobuf:"bytes,4,opt,name=s3_path,json=s3Path,proto3" json:"s3_path,omitempty"` // contains filtered or unexported fields }
func (*ImportDatabaseBackupMetadata) Descriptor
deprecated
func (*ImportDatabaseBackupMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportDatabaseBackupMetadata.ProtoReflect.Descriptor instead.
func (*ImportDatabaseBackupMetadata) GetClusterId ¶
func (x *ImportDatabaseBackupMetadata) GetClusterId() string
func (*ImportDatabaseBackupMetadata) GetDatabaseName ¶
func (x *ImportDatabaseBackupMetadata) GetDatabaseName() string
func (*ImportDatabaseBackupMetadata) GetS3Bucket ¶
func (x *ImportDatabaseBackupMetadata) GetS3Bucket() string
func (*ImportDatabaseBackupMetadata) GetS3Path ¶
func (x *ImportDatabaseBackupMetadata) GetS3Path() string
func (*ImportDatabaseBackupMetadata) ProtoMessage ¶
func (*ImportDatabaseBackupMetadata) ProtoMessage()
func (*ImportDatabaseBackupMetadata) ProtoReflect ¶
func (x *ImportDatabaseBackupMetadata) ProtoReflect() protoreflect.Message
func (*ImportDatabaseBackupMetadata) Reset ¶
func (x *ImportDatabaseBackupMetadata) Reset()
func (*ImportDatabaseBackupMetadata) SetClusterId ¶
func (m *ImportDatabaseBackupMetadata) SetClusterId(v string)
func (*ImportDatabaseBackupMetadata) SetDatabaseName ¶
func (m *ImportDatabaseBackupMetadata) SetDatabaseName(v string)
func (*ImportDatabaseBackupMetadata) SetS3Bucket ¶
func (m *ImportDatabaseBackupMetadata) SetS3Bucket(v string)
func (*ImportDatabaseBackupMetadata) SetS3Path ¶
func (m *ImportDatabaseBackupMetadata) SetS3Path(v string)
func (*ImportDatabaseBackupMetadata) String ¶
func (x *ImportDatabaseBackupMetadata) String() string
type ImportDatabaseBackupRequest ¶
type ImportDatabaseBackupRequest struct { // ID of the SQL Server cluster to import a database 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 SQL Server database that is being imported. DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` // Name of object storage bucket to import backups from. S3Bucket string `protobuf:"bytes,3,opt,name=s3_bucket,json=s3Bucket,proto3" json:"s3_bucket,omitempty"` // Path in object storage bucket to import backups from. S3Path string `protobuf:"bytes,4,opt,name=s3_path,json=s3Path,proto3" json:"s3_path,omitempty"` // List of .bak files in bucket containing database backup. Files []string `protobuf:"bytes,5,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
func (*ImportDatabaseBackupRequest) Descriptor
deprecated
func (*ImportDatabaseBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportDatabaseBackupRequest.ProtoReflect.Descriptor instead.
func (*ImportDatabaseBackupRequest) GetClusterId ¶
func (x *ImportDatabaseBackupRequest) GetClusterId() string
func (*ImportDatabaseBackupRequest) GetDatabaseName ¶
func (x *ImportDatabaseBackupRequest) GetDatabaseName() string
func (*ImportDatabaseBackupRequest) GetFiles ¶
func (x *ImportDatabaseBackupRequest) GetFiles() []string
func (*ImportDatabaseBackupRequest) GetS3Bucket ¶
func (x *ImportDatabaseBackupRequest) GetS3Bucket() string
func (*ImportDatabaseBackupRequest) GetS3Path ¶
func (x *ImportDatabaseBackupRequest) GetS3Path() string
func (*ImportDatabaseBackupRequest) ProtoMessage ¶
func (*ImportDatabaseBackupRequest) ProtoMessage()
func (*ImportDatabaseBackupRequest) ProtoReflect ¶
func (x *ImportDatabaseBackupRequest) ProtoReflect() protoreflect.Message
func (*ImportDatabaseBackupRequest) Reset ¶
func (x *ImportDatabaseBackupRequest) Reset()
func (*ImportDatabaseBackupRequest) SetClusterId ¶
func (m *ImportDatabaseBackupRequest) SetClusterId(v string)
func (*ImportDatabaseBackupRequest) SetDatabaseName ¶
func (m *ImportDatabaseBackupRequest) SetDatabaseName(v string)
func (*ImportDatabaseBackupRequest) SetFiles ¶
func (m *ImportDatabaseBackupRequest) SetFiles(v []string)
func (*ImportDatabaseBackupRequest) SetS3Bucket ¶
func (m *ImportDatabaseBackupRequest) SetS3Bucket(v string)
func (*ImportDatabaseBackupRequest) SetS3Path ¶
func (m *ImportDatabaseBackupRequest) SetS3Path(v string)
func (*ImportDatabaseBackupRequest) String ¶
func (x *ImportDatabaseBackupRequest) String() string
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 { // List of SQL Server 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 ListBackups 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 ListBackups request. // // Each subsequent ListBackups request has 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 SQL Server cluster. // // To get the SQL Server 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 (x *ListClusterBackupsRequest) ProtoReflect() protoreflect.Message
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 SQL Server backups. Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"` // Token that 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 has 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 (x *ListClusterBackupsResponse) ProtoReflect() protoreflect.Message
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 SQL Server cluster. // // To get the SQL Server 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 SQL Server hosts. Hosts []*Host `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"` // Token that 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 has 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 SQL Server cluster to request logs for. // // To get the SQL Server 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"` // Type of the service to request logs about. ServiceType ListClusterLogsRequest_ServiceType `` /* 165-byte string literal not displayed */ // Specifies a moment that the logs are requested from. FromTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"` // Specifies a moment that the logs are requested till. 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"` // The service returns [next_page_token] even if the current page is empty. AlwaysNextPageToken bool `protobuf:"varint,8,opt,name=always_next_page_token,json=alwaysNextPageToken,proto3" json:"always_next_page_token,omitempty"` // A filter expression that filters resources listed in the response. // // The expression must specify: // // 1. A field name to filter by. Currently filtering can be applied to the [LogRecord.logs.message.hostname] field only. // 2. A conditional operator. Can be either `=` or `!=` for single values, `IN` or `NOT IN` for lists of values. // 3. A value. Must be 1-63 characters long and match the regular expression `[a-z0-9.-]{1,61}`. // // Example of a filter: `message.hostname='node1.db.cloud.yandex.net'`. Filter string `protobuf:"bytes,9,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListClusterLogsRequest) Descriptor
deprecated
func (*ListClusterLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListClusterLogsRequest.ProtoReflect.Descriptor instead.
func (*ListClusterLogsRequest) GetAlwaysNextPageToken ¶
func (x *ListClusterLogsRequest) GetAlwaysNextPageToken() bool
func (*ListClusterLogsRequest) GetClusterId ¶
func (x *ListClusterLogsRequest) GetClusterId() string
func (*ListClusterLogsRequest) GetColumnFilter ¶
func (x *ListClusterLogsRequest) GetColumnFilter() []string
func (*ListClusterLogsRequest) GetFilter ¶
func (x *ListClusterLogsRequest) GetFilter() 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 (x *ListClusterLogsRequest) GetServiceType() ListClusterLogsRequest_ServiceType
func (*ListClusterLogsRequest) GetToTime ¶
func (x *ListClusterLogsRequest) GetToTime() *timestamppb.Timestamp
func (*ListClusterLogsRequest) ProtoMessage ¶
func (*ListClusterLogsRequest) ProtoMessage()
func (*ListClusterLogsRequest) ProtoReflect ¶
func (x *ListClusterLogsRequest) ProtoReflect() protoreflect.Message
func (*ListClusterLogsRequest) Reset ¶
func (x *ListClusterLogsRequest) Reset()
func (*ListClusterLogsRequest) SetAlwaysNextPageToken ¶
func (m *ListClusterLogsRequest) SetAlwaysNextPageToken(v bool)
func (*ListClusterLogsRequest) SetClusterId ¶
func (m *ListClusterLogsRequest) SetClusterId(v string)
func (*ListClusterLogsRequest) SetColumnFilter ¶
func (m *ListClusterLogsRequest) SetColumnFilter(v []string)
func (*ListClusterLogsRequest) SetFilter ¶
func (m *ListClusterLogsRequest) SetFilter(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 (m *ListClusterLogsRequest) SetServiceType(v ListClusterLogsRequest_ServiceType)
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 // SQL Server error log. ListClusterLogsRequest_SQLSERVER_ERROR ListClusterLogsRequest_ServiceType = 1 // SQL Server application log. ListClusterLogsRequest_SQLSERVER_APPLICATION ListClusterLogsRequest_ServiceType = 2 )
func (ListClusterLogsRequest_ServiceType) Descriptor ¶
func (ListClusterLogsRequest_ServiceType) Descriptor() protoreflect.EnumDescriptor
func (ListClusterLogsRequest_ServiceType) Enum ¶
func (x ListClusterLogsRequest_ServiceType) Enum() *ListClusterLogsRequest_ServiceType
func (ListClusterLogsRequest_ServiceType) EnumDescriptor
deprecated
func (ListClusterLogsRequest_ServiceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListClusterLogsRequest_ServiceType.Descriptor instead.
func (ListClusterLogsRequest_ServiceType) Number ¶
func (x ListClusterLogsRequest_ServiceType) Number() protoreflect.EnumNumber
func (ListClusterLogsRequest_ServiceType) String ¶
func (x ListClusterLogsRequest_ServiceType) String() string
func (ListClusterLogsRequest_ServiceType) Type ¶
func (ListClusterLogsRequest_ServiceType) Type() protoreflect.EnumType
type ListClusterLogsResponse ¶
type ListClusterLogsResponse struct { // Requested log records. Logs []*LogRecord `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` // Token that 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 has 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 (*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 SQL Server cluster to list operations for. // // 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 [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 (x *ListClusterOperationsRequest) ProtoReflect() protoreflect.Message
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 ¶
func (x *ListClusterOperationsRequest) String() string
type ListClusterOperationsResponse ¶
type ListClusterOperationsResponse struct { // List of operations for the specified SQL Server cluster. Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` // Token that 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 has 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 (x *ListClusterOperationsResponse) ProtoReflect() protoreflect.Message
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 ¶
func (x *ListClusterOperationsResponse) String() string
type ListClustersRequest ¶
type ListClustersRequest struct { // ID of the folder to list SQL Server 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 resources listed in the response. // // The expression must specify: // // 1. A field name to filter by. Currently you can only use filtering with the [Cluster.name] field. // 2. A conditional operator. Can be either `=` or `!=` for single values, `IN` or `NOT IN` for lists of values. // 3. A value. Must be 1-63 characters long and match the regular expression `[a-zA-Z0-9_-]+`. // // Example of a filter expression: `name NOT IN 'test,beta'`. 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 SQL Server clusters. Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` // Token that 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 has 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 ListDatabasesRequest ¶
type ListDatabasesRequest struct { // ID of the SQL Server cluster to list databases 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 [ListDatabasesResponse.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 [ListDatabasesResponse.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 (*ListDatabasesRequest) Descriptor
deprecated
func (*ListDatabasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDatabasesRequest.ProtoReflect.Descriptor instead.
func (*ListDatabasesRequest) GetClusterId ¶
func (x *ListDatabasesRequest) GetClusterId() string
func (*ListDatabasesRequest) GetPageSize ¶
func (x *ListDatabasesRequest) GetPageSize() int64
func (*ListDatabasesRequest) GetPageToken ¶
func (x *ListDatabasesRequest) GetPageToken() string
func (*ListDatabasesRequest) ProtoMessage ¶
func (*ListDatabasesRequest) ProtoMessage()
func (*ListDatabasesRequest) ProtoReflect ¶
func (x *ListDatabasesRequest) ProtoReflect() protoreflect.Message
func (*ListDatabasesRequest) Reset ¶
func (x *ListDatabasesRequest) Reset()
func (*ListDatabasesRequest) SetClusterId ¶
func (m *ListDatabasesRequest) SetClusterId(v string)
func (*ListDatabasesRequest) SetPageSize ¶
func (m *ListDatabasesRequest) SetPageSize(v int64)
func (*ListDatabasesRequest) SetPageToken ¶
func (m *ListDatabasesRequest) SetPageToken(v string)
func (*ListDatabasesRequest) String ¶
func (x *ListDatabasesRequest) String() string
type ListDatabasesResponse ¶
type ListDatabasesResponse struct { // List of SQL Server databases. Databases []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"` // Token that allows you to get the next page of results for list requests. // // If the number of results is larger than [ListDatabasesRequest.page_size], use the [next_page_token] as the value for the [ListDatabasesRequest.page_token] parameter in the next list request. // // Each subsequent list request has 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 (*ListDatabasesResponse) Descriptor
deprecated
func (*ListDatabasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDatabasesResponse.ProtoReflect.Descriptor instead.
func (*ListDatabasesResponse) GetDatabases ¶
func (x *ListDatabasesResponse) GetDatabases() []*Database
func (*ListDatabasesResponse) GetNextPageToken ¶
func (x *ListDatabasesResponse) GetNextPageToken() string
func (*ListDatabasesResponse) ProtoMessage ¶
func (*ListDatabasesResponse) ProtoMessage()
func (*ListDatabasesResponse) ProtoReflect ¶
func (x *ListDatabasesResponse) ProtoReflect() protoreflect.Message
func (*ListDatabasesResponse) Reset ¶
func (x *ListDatabasesResponse) Reset()
func (*ListDatabasesResponse) SetDatabases ¶
func (m *ListDatabasesResponse) SetDatabases(v []*Database)
func (*ListDatabasesResponse) SetNextPageToken ¶
func (m *ListDatabasesResponse) SetNextPageToken(v string)
func (*ListDatabasesResponse) String ¶
func (x *ListDatabasesResponse) 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 (x *ListResourcePresetsRequest) ProtoReflect() protoreflect.Message
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"` // Token that 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 has 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 (x *ListResourcePresetsResponse) ProtoReflect() protoreflect.Message
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 ListUsersRequest ¶
type ListUsersRequest struct { // ID of the cluster to list SQL Server users 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 [ListUsersResponse.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 [ListUsersResponse.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 (*ListUsersRequest) Descriptor
deprecated
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
func (*ListUsersRequest) GetClusterId ¶
func (x *ListUsersRequest) GetClusterId() string
func (*ListUsersRequest) GetPageSize ¶
func (x *ListUsersRequest) GetPageSize() int64
func (*ListUsersRequest) GetPageToken ¶
func (x *ListUsersRequest) GetPageToken() string
func (*ListUsersRequest) ProtoMessage ¶
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) SetClusterId ¶
func (m *ListUsersRequest) SetClusterId(v string)
func (*ListUsersRequest) SetPageSize ¶
func (m *ListUsersRequest) SetPageSize(v int64)
func (*ListUsersRequest) SetPageToken ¶
func (m *ListUsersRequest) SetPageToken(v string)
func (*ListUsersRequest) String ¶
func (x *ListUsersRequest) String() string
type ListUsersResponse ¶
type ListUsersResponse struct { // Requested list of SQL Server users. Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // Token that allows you to get the next page of results for list requests. // // If the number of results is larger than [ListUsersRequest.page_size], use the [next_page_token] as the value for the [ListUsersRequest.page_token] parameter in the next list request. // // Each subsequent list request has 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 (*ListUsersResponse) Descriptor
deprecated
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetNextPageToken ¶
func (x *ListUsersResponse) GetNextPageToken() string
func (*ListUsersResponse) GetUsers ¶
func (x *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) SetNextPageToken ¶
func (m *ListUsersResponse) SetNextPageToken(v string)
func (*ListUsersResponse) SetUsers ¶
func (m *ListUsersResponse) SetUsers(v []*User)
func (*ListUsersResponse) String ¶
func (x *ListUsersResponse) String() string
type LogRecord ¶
type LogRecord struct { // Log record timestamp. 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) GetMessage ¶
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) SetMessage ¶
func (*LogRecord) SetTimestamp ¶
func (m *LogRecord) SetTimestamp(v *timestamppb.Timestamp)
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 SQL Server 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 (*Monitoring) GetLink ¶
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 (*Monitoring) SetLink ¶
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 SQL Server 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 SQL Server cluster to move. // // 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"` // ID of the destination folder. // // To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. 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 Permission ¶
type Permission struct { // Name of the database the permission grants access to. DatabaseName string `protobuf:"bytes,1,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` // Roles granted to the user within the database. Roles []Permission_Role `protobuf:"varint,2,rep,packed,name=roles,proto3,enum=yandex.cloud.mdb.sqlserver.v1.Permission_Role" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*Permission) Descriptor
deprecated
func (*Permission) Descriptor() ([]byte, []int)
Deprecated: Use Permission.ProtoReflect.Descriptor instead.
func (*Permission) GetDatabaseName ¶
func (x *Permission) GetDatabaseName() string
func (*Permission) GetRoles ¶
func (x *Permission) GetRoles() []Permission_Role
func (*Permission) ProtoMessage ¶
func (*Permission) ProtoMessage()
func (*Permission) ProtoReflect ¶
func (x *Permission) ProtoReflect() protoreflect.Message
func (*Permission) Reset ¶
func (x *Permission) Reset()
func (*Permission) SetDatabaseName ¶
func (m *Permission) SetDatabaseName(v string)
func (*Permission) SetRoles ¶
func (m *Permission) SetRoles(v []Permission_Role)
func (*Permission) String ¶
func (x *Permission) String() string
type Permission_Role ¶
type Permission_Role int32
Role granted to the user within the database.
const ( Permission_ROLE_UNSPECIFIED Permission_Role = 0 // Members of this fixed database role can perform all configuration and maintenance activities on a database and can also drop a database in SQL Server. Permission_DB_OWNER Permission_Role = 1 // Members of this fixed database role can modify role membership for custom roles only and manage permissions. They can potentially elevate their privileges and their actions should be monitored. Permission_DB_SECURITYADMIN Permission_Role = 2 // Members of this fixed database role can add or remove access to a database for Windows logins, Windows groups, and SQL Server logins. Permission_DB_ACCESSADMIN Permission_Role = 3 // Members of this fixed database role can back up the database. Permission_DB_BACKUPOPERATOR Permission_Role = 4 // Members of this fixed database role can run any Data Definition Language (DDL) command in a database. Permission_DB_DDLADMIN Permission_Role = 5 // Members of this fixed database role can add, delete, or change data in all user tables. Permission_DB_DATAWRITER Permission_Role = 6 // Members of this fixed database role can read all data from all user tables. Permission_DB_DATAREADER Permission_Role = 7 // Members of this fixed database role cannot add, modify, or delete any data in the user tables within a database. A denial has a higher priority than a grant, so you can use this role to quickly restrict one's privileges without explicitly revoking permissions or roles. Permission_DB_DENYDATAWRITER Permission_Role = 8 // Members of this fixed database role cannot read any data in the user tables within a database. A denial has a higher priority than a grant, so you can use this role to quickly restrict one's privileges without explicitly revoking permissions or roles. Permission_DB_DENYDATAREADER Permission_Role = 9 )
func (Permission_Role) Descriptor ¶
func (Permission_Role) Descriptor() protoreflect.EnumDescriptor
func (Permission_Role) Enum ¶
func (x Permission_Role) Enum() *Permission_Role
func (Permission_Role) EnumDescriptor
deprecated
func (Permission_Role) EnumDescriptor() ([]byte, []int)
Deprecated: Use Permission_Role.Descriptor instead.
func (Permission_Role) Number ¶
func (x Permission_Role) Number() protoreflect.EnumNumber
func (Permission_Role) String ¶
func (x Permission_Role) String() string
func (Permission_Role) Type ¶
func (Permission_Role) Type() protoreflect.EnumType
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"` // Number of CPU cores for an SQL Server host created with the preset. Cores int64 `protobuf:"varint,3,opt,name=cores,proto3" json:"cores,omitempty"` // RAM volume for an SQL Server host created with the preset, in bytes. Memory int64 `protobuf:"varint,4,opt,name=memory,proto3" json:"memory,omitempty"` // contains filtered or unexported fields }
A preset of resources for hardware configuration of SQL Server hosts.
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 managing resource presets.
func NewResourcePresetServiceClient ¶
func NewResourcePresetServiceClient(cc grpc.ClientConnInterface) ResourcePresetServiceClient
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 managing 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-sqlserver/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. 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-hdd` - network HDD drive; // * `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) GetDiskSize ¶
func (*Resources) GetDiskTypeId ¶
func (*Resources) GetResourcePresetId ¶
func (*Resources) ProtoMessage ¶
func (*Resources) ProtoMessage()
func (*Resources) ProtoReflect ¶
func (x *Resources) ProtoReflect() protoreflect.Message
func (*Resources) SetDiskSize ¶
func (*Resources) SetDiskTypeId ¶
func (*Resources) SetResourcePresetId ¶
type RestoreClusterMetadata ¶
type RestoreClusterMetadata struct { // ID of the new SQL Server cluster 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 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 new 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"` // Timestamp of the moment to which the SQL Server cluster should be restored. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // Name of the new SQL Server cluster to be created from the backup. The name must be unique within the folder. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Description of the new SQL Server cluster to be created from the backup. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Custom labels for the new SQL Server cluster to be created from the backup as `key:value` pairs. // // For example, `"project":"mvp"` or `"source":"dictionary"`. Labels map[string]string `` /* 153-byte string literal not displayed */ // Deployment environment of the new SQL Server cluster to be created from the backup. Environment Cluster_Environment `` /* 131-byte string literal not displayed */ // Configuration for the new SQL Server cluster to be created from the backup. ConfigSpec *ConfigSpec `protobuf:"bytes,8,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"` // Configurations for SQL Server hosts that should be added to the cluster being created from the backup. HostSpecs []*HostSpec `protobuf:"bytes,9,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` // ID of the network to create the SQL Server cluster in. NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` // ID of the folder to create the SQL Server cluster in. // // To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,11,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // User security groups. SecurityGroupIds []string `protobuf:"bytes,12,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"` // Determines whether the cluster is protected from being deleted. DeletionProtection bool `protobuf:"varint,13,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"` // Host groups hosting VMs of the cluster. HostGroupIds []string `protobuf:"bytes,14,rep,name=host_group_ids,json=hostGroupIds,proto3" json:"host_group_ids,omitempty"` // ID of the service account used for access to Object Storage. ServiceAccountId string `protobuf:"bytes,15,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // contains filtered or unexported fields }
func (*RestoreClusterRequest) Descriptor
deprecated
func (*RestoreClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreClusterRequest.ProtoReflect.Descriptor instead.
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) GetHostGroupIds ¶
func (x *RestoreClusterRequest) GetHostGroupIds() []string
func (*RestoreClusterRequest) GetHostSpecs ¶
func (x *RestoreClusterRequest) GetHostSpecs() []*HostSpec
func (*RestoreClusterRequest) GetLabels ¶
func (x *RestoreClusterRequest) GetLabels() map[string]string
func (*RestoreClusterRequest) GetName ¶
func (x *RestoreClusterRequest) GetName() string
func (*RestoreClusterRequest) GetNetworkId ¶
func (x *RestoreClusterRequest) GetNetworkId() string
func (*RestoreClusterRequest) GetSecurityGroupIds ¶
func (x *RestoreClusterRequest) GetSecurityGroupIds() []string
func (*RestoreClusterRequest) GetServiceAccountId ¶
func (x *RestoreClusterRequest) GetServiceAccountId() string
func (*RestoreClusterRequest) GetTime ¶
func (x *RestoreClusterRequest) GetTime() *timestamppb.Timestamp
func (*RestoreClusterRequest) ProtoMessage ¶
func (*RestoreClusterRequest) ProtoMessage()
func (*RestoreClusterRequest) ProtoReflect ¶
func (x *RestoreClusterRequest) ProtoReflect() protoreflect.Message
func (*RestoreClusterRequest) Reset ¶
func (x *RestoreClusterRequest) Reset()
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) SetHostGroupIds ¶
func (m *RestoreClusterRequest) SetHostGroupIds(v []string)
func (*RestoreClusterRequest) SetHostSpecs ¶
func (m *RestoreClusterRequest) SetHostSpecs(v []*HostSpec)
func (*RestoreClusterRequest) SetLabels ¶
func (m *RestoreClusterRequest) SetLabels(v map[string]string)
func (*RestoreClusterRequest) SetName ¶
func (m *RestoreClusterRequest) SetName(v string)
func (*RestoreClusterRequest) SetNetworkId ¶
func (m *RestoreClusterRequest) SetNetworkId(v string)
func (*RestoreClusterRequest) SetSecurityGroupIds ¶
func (m *RestoreClusterRequest) SetSecurityGroupIds(v []string)
func (*RestoreClusterRequest) SetServiceAccountId ¶
func (m *RestoreClusterRequest) SetServiceAccountId(v string)
func (*RestoreClusterRequest) SetTime ¶
func (m *RestoreClusterRequest) SetTime(v *timestamppb.Timestamp)
func (*RestoreClusterRequest) String ¶
func (x *RestoreClusterRequest) String() string
type RestoreDatabaseMetadata ¶
type RestoreDatabaseMetadata struct { // ID of the SQL Server cluster where a database is being created. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Name of an SQL Server database that is being created. DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` // Name of the database which backup is used to restore the database. FromDatabase string `protobuf:"bytes,3,opt,name=from_database,json=fromDatabase,proto3" json:"from_database,omitempty"` // ID of a backup to be used. BackupId string `protobuf:"bytes,4,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` // contains filtered or unexported fields }
func (*RestoreDatabaseMetadata) Descriptor
deprecated
func (*RestoreDatabaseMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RestoreDatabaseMetadata.ProtoReflect.Descriptor instead.
func (*RestoreDatabaseMetadata) GetBackupId ¶
func (x *RestoreDatabaseMetadata) GetBackupId() string
func (*RestoreDatabaseMetadata) GetClusterId ¶
func (x *RestoreDatabaseMetadata) GetClusterId() string
func (*RestoreDatabaseMetadata) GetDatabaseName ¶
func (x *RestoreDatabaseMetadata) GetDatabaseName() string
func (*RestoreDatabaseMetadata) GetFromDatabase ¶
func (x *RestoreDatabaseMetadata) GetFromDatabase() string
func (*RestoreDatabaseMetadata) ProtoMessage ¶
func (*RestoreDatabaseMetadata) ProtoMessage()
func (*RestoreDatabaseMetadata) ProtoReflect ¶
func (x *RestoreDatabaseMetadata) ProtoReflect() protoreflect.Message
func (*RestoreDatabaseMetadata) Reset ¶
func (x *RestoreDatabaseMetadata) Reset()
func (*RestoreDatabaseMetadata) SetBackupId ¶
func (m *RestoreDatabaseMetadata) SetBackupId(v string)
func (*RestoreDatabaseMetadata) SetClusterId ¶
func (m *RestoreDatabaseMetadata) SetClusterId(v string)
func (*RestoreDatabaseMetadata) SetDatabaseName ¶
func (m *RestoreDatabaseMetadata) SetDatabaseName(v string)
func (*RestoreDatabaseMetadata) SetFromDatabase ¶
func (m *RestoreDatabaseMetadata) SetFromDatabase(v string)
func (*RestoreDatabaseMetadata) String ¶
func (x *RestoreDatabaseMetadata) String() string
type RestoreDatabaseRequest ¶
type RestoreDatabaseRequest struct { // ID of the SQL Server cluster to restore a database 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 SQL Server database that is being restored. DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` // Name of the database which backup is used to restore the database. FromDatabase string `protobuf:"bytes,3,opt,name=from_database,json=fromDatabase,proto3" json:"from_database,omitempty"` // ID of a backup to be used. BackupId string `protobuf:"bytes,4,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` // Timestamp which is used for Point-in-Time recovery. Time *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*RestoreDatabaseRequest) Descriptor
deprecated
func (*RestoreDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreDatabaseRequest.ProtoReflect.Descriptor instead.
func (*RestoreDatabaseRequest) GetBackupId ¶
func (x *RestoreDatabaseRequest) GetBackupId() string
func (*RestoreDatabaseRequest) GetClusterId ¶
func (x *RestoreDatabaseRequest) GetClusterId() string
func (*RestoreDatabaseRequest) GetDatabaseName ¶
func (x *RestoreDatabaseRequest) GetDatabaseName() string
func (*RestoreDatabaseRequest) GetFromDatabase ¶
func (x *RestoreDatabaseRequest) GetFromDatabase() string
func (*RestoreDatabaseRequest) GetTime ¶
func (x *RestoreDatabaseRequest) GetTime() *timestamppb.Timestamp
func (*RestoreDatabaseRequest) ProtoMessage ¶
func (*RestoreDatabaseRequest) ProtoMessage()
func (*RestoreDatabaseRequest) ProtoReflect ¶
func (x *RestoreDatabaseRequest) ProtoReflect() protoreflect.Message
func (*RestoreDatabaseRequest) Reset ¶
func (x *RestoreDatabaseRequest) Reset()
func (*RestoreDatabaseRequest) SetBackupId ¶
func (m *RestoreDatabaseRequest) SetBackupId(v string)
func (*RestoreDatabaseRequest) SetClusterId ¶
func (m *RestoreDatabaseRequest) SetClusterId(v string)
func (*RestoreDatabaseRequest) SetDatabaseName ¶
func (m *RestoreDatabaseRequest) SetDatabaseName(v string)
func (*RestoreDatabaseRequest) SetFromDatabase ¶
func (m *RestoreDatabaseRequest) SetFromDatabase(v string)
func (*RestoreDatabaseRequest) SetTime ¶
func (m *RestoreDatabaseRequest) SetTime(v *timestamppb.Timestamp)
func (*RestoreDatabaseRequest) String ¶
func (x *RestoreDatabaseRequest) String() string
type RevokeUserPermissionMetadata ¶
type RevokeUserPermissionMetadata struct { // ID of the SQL Server cluster the user belongs to. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Name of the user whose permission is being revoked. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // contains filtered or unexported fields }
func (*RevokeUserPermissionMetadata) Descriptor
deprecated
func (*RevokeUserPermissionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RevokeUserPermissionMetadata.ProtoReflect.Descriptor instead.
func (*RevokeUserPermissionMetadata) GetClusterId ¶
func (x *RevokeUserPermissionMetadata) GetClusterId() string
func (*RevokeUserPermissionMetadata) GetUserName ¶
func (x *RevokeUserPermissionMetadata) GetUserName() string
func (*RevokeUserPermissionMetadata) ProtoMessage ¶
func (*RevokeUserPermissionMetadata) ProtoMessage()
func (*RevokeUserPermissionMetadata) ProtoReflect ¶
func (x *RevokeUserPermissionMetadata) ProtoReflect() protoreflect.Message
func (*RevokeUserPermissionMetadata) Reset ¶
func (x *RevokeUserPermissionMetadata) Reset()
func (*RevokeUserPermissionMetadata) SetClusterId ¶
func (m *RevokeUserPermissionMetadata) SetClusterId(v string)
func (*RevokeUserPermissionMetadata) SetUserName ¶
func (m *RevokeUserPermissionMetadata) SetUserName(v string)
func (*RevokeUserPermissionMetadata) String ¶
func (x *RevokeUserPermissionMetadata) String() string
type RevokeUserPermissionRequest ¶
type RevokeUserPermissionRequest struct { // ID of the SQL Server cluster the user 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 user to revoke a permission from. // // To get the name of the user, use a [UserService.List] request. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // Permission that should be revoked from the specified user. Permission *Permission `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
func (*RevokeUserPermissionRequest) Descriptor
deprecated
func (*RevokeUserPermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeUserPermissionRequest.ProtoReflect.Descriptor instead.
func (*RevokeUserPermissionRequest) GetClusterId ¶
func (x *RevokeUserPermissionRequest) GetClusterId() string
func (*RevokeUserPermissionRequest) GetPermission ¶
func (x *RevokeUserPermissionRequest) GetPermission() *Permission
func (*RevokeUserPermissionRequest) GetUserName ¶
func (x *RevokeUserPermissionRequest) GetUserName() string
func (*RevokeUserPermissionRequest) ProtoMessage ¶
func (*RevokeUserPermissionRequest) ProtoMessage()
func (*RevokeUserPermissionRequest) ProtoReflect ¶
func (x *RevokeUserPermissionRequest) ProtoReflect() protoreflect.Message
func (*RevokeUserPermissionRequest) Reset ¶
func (x *RevokeUserPermissionRequest) Reset()
func (*RevokeUserPermissionRequest) SetClusterId ¶
func (m *RevokeUserPermissionRequest) SetClusterId(v string)
func (*RevokeUserPermissionRequest) SetPermission ¶
func (m *RevokeUserPermissionRequest) SetPermission(v *Permission)
func (*RevokeUserPermissionRequest) SetUserName ¶
func (m *RevokeUserPermissionRequest) SetUserName(v string)
func (*RevokeUserPermissionRequest) String ¶
func (x *RevokeUserPermissionRequest) String() string
type ServerRole ¶
type ServerRole int32
Set of server roles.
const ( ServerRole_SERVER_ROLE_UNSPECIFIED ServerRole = 0 // Effectively grants VIEW SERVER STATE to the login. // // That gives an ability to use various dynamic management views to monitor server state, including Activity Monitor tool that is built-in into SSMS. // // No intrusive actions are allowed, so this is pretty safe to grant. ServerRole_MDB_MONITOR ServerRole = 1 )
func (ServerRole) Descriptor ¶
func (ServerRole) Descriptor() protoreflect.EnumDescriptor
func (ServerRole) Enum ¶
func (x ServerRole) Enum() *ServerRole
func (ServerRole) EnumDescriptor
deprecated
func (ServerRole) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServerRole.Descriptor instead.
func (ServerRole) Number ¶
func (x ServerRole) Number() protoreflect.EnumNumber
func (ServerRole) String ¶
func (x ServerRole) String() string
func (ServerRole) Type ¶
func (ServerRole) Type() protoreflect.EnumType
type Service ¶
type Service struct { // Type of the service provided by the host. Type Service_Type `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.mdb.sqlserver.v1.Service_Type" json:"type,omitempty"` // Status code of server availability. Health Service_Health `protobuf:"varint,2,opt,name=health,proto3,enum=yandex.cloud.mdb.sqlserver.v1.Service_Health" json:"health,omitempty"` // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
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) SetHealth ¶
func (m *Service) SetHealth(v Service_Health)
func (*Service) SetType ¶
func (m *Service) SetType(v Service_Type)
type Service_Health ¶
type Service_Health int32
const ( // Health of the server is unknown. 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) Descriptor() protoreflect.EnumDescriptor
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 (x Service_Health) Number() protoreflect.EnumNumber
func (Service_Health) String ¶
func (x Service_Health) String() string
func (Service_Health) Type ¶
func (Service_Health) Type() protoreflect.EnumType
type Service_Type ¶
type Service_Type int32
const ( Service_TYPE_UNSPECIFIED Service_Type = 0 // SQL Server service. Service_SQLSERVER Service_Type = 1 )
func (Service_Type) Descriptor ¶
func (Service_Type) Descriptor() protoreflect.EnumDescriptor
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 (x Service_Type) Number() protoreflect.EnumNumber
func (Service_Type) String ¶
func (x Service_Type) String() string
func (Service_Type) Type ¶
func (Service_Type) Type() protoreflect.EnumType
type StartClusterFailoverMetadata ¶
type StartClusterFailoverMetadata struct { // ID of the SQL Server cluster being failovered. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,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) ProtoMessage ¶
func (*StartClusterFailoverMetadata) ProtoMessage()
func (*StartClusterFailoverMetadata) ProtoReflect ¶
func (x *StartClusterFailoverMetadata) ProtoReflect() protoreflect.Message
func (*StartClusterFailoverMetadata) Reset ¶
func (x *StartClusterFailoverMetadata) Reset()
func (*StartClusterFailoverMetadata) SetClusterId ¶
func (m *StartClusterFailoverMetadata) SetClusterId(v string)
func (*StartClusterFailoverMetadata) String ¶
func (x *StartClusterFailoverMetadata) String() string
type StartClusterFailoverRequest ¶
type StartClusterFailoverRequest struct { // ID of SQL Server cluster. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Host name to switch master role to. // // To get this name, make a [ClusterService.ListHosts] request. HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,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) GetHostName ¶
func (x *StartClusterFailoverRequest) GetHostName() string
func (*StartClusterFailoverRequest) ProtoMessage ¶
func (*StartClusterFailoverRequest) ProtoMessage()
func (*StartClusterFailoverRequest) ProtoReflect ¶
func (x *StartClusterFailoverRequest) ProtoReflect() protoreflect.Message
func (*StartClusterFailoverRequest) Reset ¶
func (x *StartClusterFailoverRequest) Reset()
func (*StartClusterFailoverRequest) SetClusterId ¶
func (m *StartClusterFailoverRequest) SetClusterId(v string)
func (*StartClusterFailoverRequest) SetHostName ¶
func (m *StartClusterFailoverRequest) SetHostName(v string)
func (*StartClusterFailoverRequest) String ¶
func (x *StartClusterFailoverRequest) String() string
type StartClusterMetadata ¶
type StartClusterMetadata struct { // ID of the SQL Server cluster being started. 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 SQL Server cluster to start. // // 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 (*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 SQL Server cluster being stopped. 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 SQL Server cluster to stop. // // 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 (*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 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) Get ¶
func (UnimplementedBackupServiceServer) Get(context.Context, *GetBackupRequest) (*Backup, error)
func (UnimplementedBackupServiceServer) List ¶
func (UnimplementedBackupServiceServer) List(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
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) Backup ¶
func (UnimplementedClusterServiceServer) Backup(context.Context, *BackupClusterRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) Create ¶
func (UnimplementedClusterServiceServer) Create(context.Context, *CreateClusterRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) Delete ¶
func (UnimplementedClusterServiceServer) Delete(context.Context, *DeleteClusterRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) Get ¶
func (UnimplementedClusterServiceServer) Get(context.Context, *GetClusterRequest) (*Cluster, error)
func (UnimplementedClusterServiceServer) List ¶
func (UnimplementedClusterServiceServer) List(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
func (UnimplementedClusterServiceServer) ListBackups ¶
func (UnimplementedClusterServiceServer) ListBackups(context.Context, *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error)
func (UnimplementedClusterServiceServer) ListHosts ¶
func (UnimplementedClusterServiceServer) ListHosts(context.Context, *ListClusterHostsRequest) (*ListClusterHostsResponse, error)
func (UnimplementedClusterServiceServer) ListLogs ¶
func (UnimplementedClusterServiceServer) ListLogs(context.Context, *ListClusterLogsRequest) (*ListClusterLogsResponse, error)
func (UnimplementedClusterServiceServer) ListOperations ¶
func (UnimplementedClusterServiceServer) ListOperations(context.Context, *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error)
func (UnimplementedClusterServiceServer) Move ¶
func (UnimplementedClusterServiceServer) Move(context.Context, *MoveClusterRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) Restore ¶
func (UnimplementedClusterServiceServer) Restore(context.Context, *RestoreClusterRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) Start ¶
func (UnimplementedClusterServiceServer) Start(context.Context, *StartClusterRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) StartFailover ¶
func (UnimplementedClusterServiceServer) StartFailover(context.Context, *StartClusterFailoverRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) Stop ¶
func (UnimplementedClusterServiceServer) Stop(context.Context, *StopClusterRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) Update ¶
func (UnimplementedClusterServiceServer) Update(context.Context, *UpdateClusterRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) UpdateHosts ¶
func (UnimplementedClusterServiceServer) UpdateHosts(context.Context, *UpdateClusterHostsRequest) (*operation.Operation, error)
type UnimplementedDatabaseServiceServer ¶
type UnimplementedDatabaseServiceServer struct{}
UnimplementedDatabaseServiceServer 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 (UnimplementedDatabaseServiceServer) Create ¶
func (UnimplementedDatabaseServiceServer) Create(context.Context, *CreateDatabaseRequest) (*operation.Operation, error)
func (UnimplementedDatabaseServiceServer) Delete ¶
func (UnimplementedDatabaseServiceServer) Delete(context.Context, *DeleteDatabaseRequest) (*operation.Operation, error)
func (UnimplementedDatabaseServiceServer) ExportBackup ¶
func (UnimplementedDatabaseServiceServer) ExportBackup(context.Context, *ExportDatabaseBackupRequest) (*operation.Operation, error)
func (UnimplementedDatabaseServiceServer) Get ¶
func (UnimplementedDatabaseServiceServer) Get(context.Context, *GetDatabaseRequest) (*Database, error)
func (UnimplementedDatabaseServiceServer) ImportBackup ¶
func (UnimplementedDatabaseServiceServer) ImportBackup(context.Context, *ImportDatabaseBackupRequest) (*operation.Operation, error)
func (UnimplementedDatabaseServiceServer) List ¶
func (UnimplementedDatabaseServiceServer) List(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)
func (UnimplementedDatabaseServiceServer) Restore ¶
func (UnimplementedDatabaseServiceServer) Restore(context.Context, *RestoreDatabaseRequest) (*operation.Operation, error)
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.
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct{}
UnimplementedUserServiceServer 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 (UnimplementedUserServiceServer) Create ¶
func (UnimplementedUserServiceServer) Create(context.Context, *CreateUserRequest) (*operation.Operation, error)
func (UnimplementedUserServiceServer) Delete ¶
func (UnimplementedUserServiceServer) Delete(context.Context, *DeleteUserRequest) (*operation.Operation, error)
func (UnimplementedUserServiceServer) Get ¶
func (UnimplementedUserServiceServer) Get(context.Context, *GetUserRequest) (*User, error)
func (UnimplementedUserServiceServer) GrantPermission ¶
func (UnimplementedUserServiceServer) GrantPermission(context.Context, *GrantUserPermissionRequest) (*operation.Operation, error)
func (UnimplementedUserServiceServer) List ¶
func (UnimplementedUserServiceServer) List(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
func (UnimplementedUserServiceServer) RevokePermission ¶
func (UnimplementedUserServiceServer) RevokePermission(context.Context, *RevokeUserPermissionRequest) (*operation.Operation, error)
func (UnimplementedUserServiceServer) Update ¶
func (UnimplementedUserServiceServer) Update(context.Context, *UpdateUserRequest) (*operation.Operation, error)
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 UnsafeDatabaseServiceServer ¶
type UnsafeDatabaseServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDatabaseServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DatabaseServiceServer 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 UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UpdateClusterHostsMetadata ¶
type UpdateClusterHostsMetadata struct { // ID of the SQL Server cluster to update hosts in. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Names of the hosts 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 (x *UpdateClusterHostsMetadata) ProtoReflect() protoreflect.Message
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 SQL Server cluster to update hosts in. // To get the SQL Server 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 (x *UpdateClusterHostsRequest) ProtoReflect() protoreflect.Message
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 SQL Server cluster 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 SQL Server cluster to update. // // To get the SQL Server 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 SQL Server 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 SQL Server cluster. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Custom labels for the SQL Server cluster as `key:value` pairs. // // For example, `"project":"mvp"` or `"source":"dictionary"`. // // The new set of labels completely replaces the old one. // // 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 SQL Server cluster. ConfigSpec *ConfigSpec `protobuf:"bytes,5,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"` // New name for the SQL Server cluster. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // User security groups. SecurityGroupIds []string `protobuf:"bytes,7,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"` // Determines whether the cluster is protected from being deleted. DeletionProtection bool `protobuf:"varint,8,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"` // ID of the service account used for access to Object Storage. ServiceAccountId string `protobuf:"bytes,9,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateClusterRequest) Descriptor
deprecated
func (*UpdateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClusterRequest.ProtoReflect.Descriptor instead.
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) GetName ¶
func (x *UpdateClusterRequest) GetName() string
func (*UpdateClusterRequest) GetSecurityGroupIds ¶
func (x *UpdateClusterRequest) GetSecurityGroupIds() []string
func (*UpdateClusterRequest) GetServiceAccountId ¶
func (x *UpdateClusterRequest) GetServiceAccountId() 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) 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) SetName ¶
func (m *UpdateClusterRequest) SetName(v string)
func (*UpdateClusterRequest) SetSecurityGroupIds ¶
func (m *UpdateClusterRequest) SetSecurityGroupIds(v []string)
func (*UpdateClusterRequest) SetServiceAccountId ¶
func (m *UpdateClusterRequest) SetServiceAccountId(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 SQL Server host name, use a [ClusterService.ListHosts] request. HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` // Field mask that specifies which fields of the SQL Server host should be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Determines whether the host gets a public IP address on creation. AssignPublicIp bool `protobuf:"varint,3,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,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) 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) SetUpdateMask ¶
func (m *UpdateHostSpec) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateHostSpec) String ¶
func (x *UpdateHostSpec) String() string
type UpdateUserMetadata ¶
type UpdateUserMetadata struct { // ID of the SQL Server cluster the user belongs to. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Name of the user being updated. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserMetadata) Descriptor
deprecated
func (*UpdateUserMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserMetadata.ProtoReflect.Descriptor instead.
func (*UpdateUserMetadata) GetClusterId ¶
func (x *UpdateUserMetadata) GetClusterId() string
func (*UpdateUserMetadata) GetUserName ¶
func (x *UpdateUserMetadata) GetUserName() string
func (*UpdateUserMetadata) ProtoMessage ¶
func (*UpdateUserMetadata) ProtoMessage()
func (*UpdateUserMetadata) ProtoReflect ¶
func (x *UpdateUserMetadata) ProtoReflect() protoreflect.Message
func (*UpdateUserMetadata) Reset ¶
func (x *UpdateUserMetadata) Reset()
func (*UpdateUserMetadata) SetClusterId ¶
func (m *UpdateUserMetadata) SetClusterId(v string)
func (*UpdateUserMetadata) SetUserName ¶
func (m *UpdateUserMetadata) SetUserName(v string)
func (*UpdateUserMetadata) String ¶
func (x *UpdateUserMetadata) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct { // ID of the SQL Server cluster the user 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 user to be updated. // // To get the name of the user use a [UserService.List] request. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // Field mask that specifies which fields of the SQL Server user should be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // New password for the user. Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // New set of permissions for the user. Permissions []*Permission `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"` // New set of server roles granted to the login. ServerRoles []ServerRole `` /* 148-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetClusterId ¶
func (x *UpdateUserRequest) GetClusterId() string
func (*UpdateUserRequest) GetPassword ¶
func (x *UpdateUserRequest) GetPassword() string
func (*UpdateUserRequest) GetPermissions ¶
func (x *UpdateUserRequest) GetPermissions() []*Permission
func (*UpdateUserRequest) GetServerRoles ¶
func (x *UpdateUserRequest) GetServerRoles() []ServerRole
func (*UpdateUserRequest) GetUpdateMask ¶
func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateUserRequest) GetUserName ¶
func (x *UpdateUserRequest) GetUserName() string
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) SetClusterId ¶
func (m *UpdateUserRequest) SetClusterId(v string)
func (*UpdateUserRequest) SetPassword ¶
func (m *UpdateUserRequest) SetPassword(v string)
func (*UpdateUserRequest) SetPermissions ¶
func (m *UpdateUserRequest) SetPermissions(v []*Permission)
func (*UpdateUserRequest) SetServerRoles ¶
func (m *UpdateUserRequest) SetServerRoles(v []ServerRole)
func (*UpdateUserRequest) SetUpdateMask ¶
func (m *UpdateUserRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateUserRequest) SetUserName ¶
func (m *UpdateUserRequest) SetUserName(v string)
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type User ¶
type User struct { // Name of the SQL Server user. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // ID of the SQL Server cluster the user belongs to. ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Set of permissions granted to the user. Permissions []*Permission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"` // Set of server roles granted to the login. ServerRoles []ServerRole `` /* 148-byte string literal not displayed */ // contains filtered or unexported fields }
An SQL Server user.
func (*User) Descriptor
deprecated
func (*User) GetClusterId ¶
func (*User) GetPermissions ¶
func (x *User) GetPermissions() []*Permission
func (*User) GetServerRoles ¶
func (x *User) GetServerRoles() []ServerRole
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) SetClusterId ¶
func (*User) SetPermissions ¶
func (m *User) SetPermissions(v []*Permission)
func (*User) SetServerRoles ¶
func (m *User) SetServerRoles(v []ServerRole)
type UserServiceClient ¶
type UserServiceClient interface { // Returns the specified SQL Server user. // // To get the list of available SQL Server users, make a [List] request. Get(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error) // Retrieves a list of SQL Server users in the specified cluster. List(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) // Creates an SQL Server user in the specified cluster. Create(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Modifies the specified SQL Server user. Update(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified SQL Server user. Delete(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Grants a permission to the specified SQL Server user. GrantPermission(ctx context.Context, in *GrantUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Revokes a permission from the specified SQL Server user. RevokePermission(ctx context.Context, in *RevokeUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
UserServiceClient is the client API for UserService 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 SQL Server users.
func NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { // Returns the specified SQL Server user. // // To get the list of available SQL Server users, make a [List] request. Get(context.Context, *GetUserRequest) (*User, error) // Retrieves a list of SQL Server users in the specified cluster. List(context.Context, *ListUsersRequest) (*ListUsersResponse, error) // Creates an SQL Server user in the specified cluster. Create(context.Context, *CreateUserRequest) (*operation.Operation, error) // Modifies the specified SQL Server user. Update(context.Context, *UpdateUserRequest) (*operation.Operation, error) // Deletes the specified SQL Server user. Delete(context.Context, *DeleteUserRequest) (*operation.Operation, error) // Grants a permission to the specified SQL Server user. GrantPermission(context.Context, *GrantUserPermissionRequest) (*operation.Operation, error) // Revokes a permission from the specified SQL Server user. RevokePermission(context.Context, *RevokeUserPermissionRequest) (*operation.Operation, error) }
UserServiceServer is the server API for UserService service. All implementations should embed UnimplementedUserServiceServer for forward compatibility.
A set of methods for managing SQL Server users.
type UserSpec ¶
type UserSpec struct { // Name of the SQL Server user. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Password of the SQL Server user. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // Set of permissions to grant to the user. Permissions []*Permission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"` // Set of server roles. ServerRoles []ServerRole `` /* 148-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UserSpec) Descriptor
deprecated
func (*UserSpec) GetPassword ¶
func (*UserSpec) GetPermissions ¶
func (x *UserSpec) GetPermissions() []*Permission
func (*UserSpec) GetServerRoles ¶
func (x *UserSpec) GetServerRoles() []ServerRole
func (*UserSpec) ProtoMessage ¶
func (*UserSpec) ProtoMessage()
func (*UserSpec) ProtoReflect ¶
func (x *UserSpec) ProtoReflect() protoreflect.Message
func (*UserSpec) SetPassword ¶
func (*UserSpec) SetPermissions ¶
func (m *UserSpec) SetPermissions(v []*Permission)
func (*UserSpec) SetServerRoles ¶
func (m *UserSpec) SetServerRoles(v []ServerRole)
Source Files
¶
- backup.pb.go
- backup.pbext.go
- backup_service.pb.go
- backup_service.pbext.go
- backup_service_grpc.pb.go
- cluster.pb.go
- cluster.pbext.go
- cluster_service.pb.go
- cluster_service.pbext.go
- cluster_service_grpc.pb.go
- database.pb.go
- database.pbext.go
- database_service.pb.go
- database_service.pbext.go
- database_service_grpc.pb.go
- resource_preset.pb.go
- resource_preset.pbext.go
- resource_preset_service.pb.go
- resource_preset_service.pbext.go
- resource_preset_service_grpc.pb.go
- user.pb.go
- user.pbext.go
- user_service.pb.go
- user_service.pbext.go
- user_service_grpc.pb.go