sqlserveragentconfig

package
v0.0.0-...-11ca375 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_sqlserveragentconfig_sqlserveragentconfig_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CollectionConfiguration

type CollectionConfiguration struct {

	// defaults to True
	// enables or disables guest os collection
	CollectGuestOsMetrics bool `` /* 129-byte string literal not displayed */
	// defaults to 3600 (1 hour)
	// guest os metrics collection interval
	GuestOsMetricsCollectionIntervalInSeconds int32 `` /* 195-byte string literal not displayed */
	// defaultsto True
	// enables or disables SQL Server collection
	CollectSqlMetrics bool `protobuf:"varint,3,opt,name=collect_sql_metrics,json=collectSqlMetrics,proto3" json:"collect_sql_metrics,omitempty"`
	// defaults to 3600 (1 hour)
	// SQL Server metrics collection interval
	SqlMetricsCollectionIntervalInSeconds int32 `` /* 181-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CollectionConfiguration) Descriptor deprecated

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

Deprecated: Use CollectionConfiguration.ProtoReflect.Descriptor instead.

func (*CollectionConfiguration) GetCollectGuestOsMetrics

func (x *CollectionConfiguration) GetCollectGuestOsMetrics() bool

func (*CollectionConfiguration) GetCollectSqlMetrics

func (x *CollectionConfiguration) GetCollectSqlMetrics() bool

func (*CollectionConfiguration) GetGuestOsMetricsCollectionIntervalInSeconds

func (x *CollectionConfiguration) GetGuestOsMetricsCollectionIntervalInSeconds() int32

func (*CollectionConfiguration) GetSqlMetricsCollectionIntervalInSeconds

func (x *CollectionConfiguration) GetSqlMetricsCollectionIntervalInSeconds() int32

func (*CollectionConfiguration) ProtoMessage

func (*CollectionConfiguration) ProtoMessage()

func (*CollectionConfiguration) ProtoReflect

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

func (*CollectionConfiguration) Reset

func (x *CollectionConfiguration) Reset()

func (*CollectionConfiguration) String

func (x *CollectionConfiguration) String() string

type Configuration

type Configuration struct {
	CollectionConfiguration *CollectionConfiguration   `` /* 130-byte string literal not displayed */
	CredentialConfiguration []*CredentialConfiguration `` /* 130-byte string literal not displayed */
	// default logging is INFO level
	LogLevel string `protobuf:"bytes,3,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"`
	// default is 10 seconds
	CollectionTimeoutSeconds int32 `` /* 136-byte string literal not displayed */
	// default max_retries is 3
	MaxRetries int32 `protobuf:"varint,5,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"`
	// default retry_interval is 3600
	RetryIntervalInSeconds int32 `` /* 132-byte string literal not displayed */
	// default remote collection is false
	RemoteCollection bool `protobuf:"varint,7,opt,name=remote_collection,json=remoteCollection,proto3" json:"remote_collection,omitempty"`
	// default log_to_cloud is false
	LogToCloud bool `protobuf:"varint,8,opt,name=log_to_cloud,json=logToCloud,proto3" json:"log_to_cloud,omitempty"`
	// default log_usage is false
	DisableLogUsage bool `protobuf:"varint,9,opt,name=disable_log_usage,json=disableLogUsage,proto3" json:"disable_log_usage,omitempty"`
	// contains filtered or unexported fields
}

func (*Configuration) Descriptor deprecated

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

Deprecated: Use Configuration.ProtoReflect.Descriptor instead.

func (*Configuration) GetCollectionConfiguration

func (x *Configuration) GetCollectionConfiguration() *CollectionConfiguration

func (*Configuration) GetCollectionTimeoutSeconds

func (x *Configuration) GetCollectionTimeoutSeconds() int32

func (*Configuration) GetCredentialConfiguration

func (x *Configuration) GetCredentialConfiguration() []*CredentialConfiguration

func (*Configuration) GetDisableLogUsage

func (x *Configuration) GetDisableLogUsage() bool

func (*Configuration) GetLogLevel

func (x *Configuration) GetLogLevel() string

func (*Configuration) GetLogToCloud

func (x *Configuration) GetLogToCloud() bool

func (*Configuration) GetMaxRetries

func (x *Configuration) GetMaxRetries() int32

func (*Configuration) GetRemoteCollection

func (x *Configuration) GetRemoteCollection() bool

func (*Configuration) GetRetryIntervalInSeconds

func (x *Configuration) GetRetryIntervalInSeconds() int32

func (*Configuration) ProtoMessage

func (*Configuration) ProtoMessage()

func (*Configuration) ProtoReflect

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

func (*Configuration) Reset

func (x *Configuration) Reset()

func (*Configuration) String

func (x *Configuration) String() string

type CredentialConfiguration

type CredentialConfiguration struct {

	// host name for SQL Server connection
	//
	// Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// full user name for SQL Server connection
	//
	// Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// credential secret name stored in secrets manager
	//
	// Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.
	SecretName string `protobuf:"bytes,3,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"`
	// defaults to 1433
	//
	// Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.
	PortNumber int32 `protobuf:"varint,4,opt,name=port_number,json=portNumber,proto3" json:"port_number,omitempty"`
	// full server name
	//
	// Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.
	ServerName string `protobuf:"bytes,5,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
	// full user name for guest collection
	//
	// Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.
	GuestUserName string `protobuf:"bytes,6,opt,name=guest_user_name,json=guestUserName,proto3" json:"guest_user_name,omitempty"`
	// credential secret name stored in secrets manager
	//
	// Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.
	GuestSecretName string `protobuf:"bytes,7,opt,name=guest_secret_name,json=guestSecretName,proto3" json:"guest_secret_name,omitempty"`
	// instance_name of target machine, typically the remote machine
	InstanceName string `protobuf:"bytes,8,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"`
	// instance_idof target machine, typically the remote machine
	InstanceId string `protobuf:"bytes,9,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// guest_port_number is port number used for os collection
	//
	// Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.
	GuestPortNumber int32 `protobuf:"varint,10,opt,name=guest_port_number,json=guestPortNumber,proto3" json:"guest_port_number,omitempty"`
	// linux_remote true for remote linux collection, default false for windows
	// remote collection
	//
	// Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.
	LinuxRemote bool `protobuf:"varint,11,opt,name=linux_remote,json=linuxRemote,proto3" json:"linux_remote,omitempty"`
	// private key for linux remote collection
	//
	// Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.
	LinuxSshPrivateKeyPath string                                    `` /* 134-byte string literal not displayed */
	SqlConfigurations      []*CredentialConfiguration_SqlCredentials `protobuf:"bytes,13,rep,name=sql_configurations,json=sqlConfigurations,proto3" json:"sql_configurations,omitempty"`
	// Types that are assignable to GuestConfigurations:
	//
	//	*CredentialConfiguration_LocalCollection
	//	*CredentialConfiguration_RemoteWin
	//	*CredentialConfiguration_RemoteLinux
	GuestConfigurations isCredentialConfiguration_GuestConfigurations `protobuf_oneof:"guest_configurations"`
	// contains filtered or unexported fields
}

func (*CredentialConfiguration) Descriptor deprecated

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

Deprecated: Use CredentialConfiguration.ProtoReflect.Descriptor instead.

func (*CredentialConfiguration) GetGuestConfigurations

func (m *CredentialConfiguration) GetGuestConfigurations() isCredentialConfiguration_GuestConfigurations

func (*CredentialConfiguration) GetGuestPortNumber deprecated

func (x *CredentialConfiguration) GetGuestPortNumber() int32

Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.

func (*CredentialConfiguration) GetGuestSecretName deprecated

func (x *CredentialConfiguration) GetGuestSecretName() string

Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.

func (*CredentialConfiguration) GetGuestUserName deprecated

func (x *CredentialConfiguration) GetGuestUserName() string

Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.

func (*CredentialConfiguration) GetHost deprecated

func (x *CredentialConfiguration) GetHost() string

Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.

func (*CredentialConfiguration) GetInstanceId

func (x *CredentialConfiguration) GetInstanceId() string

func (*CredentialConfiguration) GetInstanceName

func (x *CredentialConfiguration) GetInstanceName() string

func (*CredentialConfiguration) GetLinuxRemote deprecated

func (x *CredentialConfiguration) GetLinuxRemote() bool

Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.

func (*CredentialConfiguration) GetLinuxSshPrivateKeyPath deprecated

func (x *CredentialConfiguration) GetLinuxSshPrivateKeyPath() string

Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.

func (*CredentialConfiguration) GetLocalCollection

func (x *CredentialConfiguration) GetLocalCollection() bool

func (*CredentialConfiguration) GetPortNumber deprecated

func (x *CredentialConfiguration) GetPortNumber() int32

Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.

func (*CredentialConfiguration) GetRemoteLinux

func (*CredentialConfiguration) GetRemoteWin

func (*CredentialConfiguration) GetSecretName deprecated

func (x *CredentialConfiguration) GetSecretName() string

Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.

func (*CredentialConfiguration) GetServerName deprecated

func (x *CredentialConfiguration) GetServerName() string

Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.

func (*CredentialConfiguration) GetSqlConfigurations

func (*CredentialConfiguration) GetUserName deprecated

func (x *CredentialConfiguration) GetUserName() string

Deprecated: Marked as deprecated in sqlserveragentconfig/sqlserveragentconfig.proto.

func (*CredentialConfiguration) ProtoMessage

func (*CredentialConfiguration) ProtoMessage()

func (*CredentialConfiguration) ProtoReflect

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

func (*CredentialConfiguration) Reset

func (x *CredentialConfiguration) Reset()

func (*CredentialConfiguration) String

func (x *CredentialConfiguration) String() string

type CredentialConfiguration_GuestCredentialsRemoteLinux

type CredentialConfiguration_GuestCredentialsRemoteLinux struct {

	// full server name
	ServerName string `protobuf:"bytes,1,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
	// full user name for guest collection
	GuestUserName string `protobuf:"bytes,2,opt,name=guest_user_name,json=guestUserName,proto3" json:"guest_user_name,omitempty"`
	// credential secret name stored in secrets manager
	GuestPortNumber int32 `protobuf:"varint,3,opt,name=guest_port_number,json=guestPortNumber,proto3" json:"guest_port_number,omitempty"`
	// private key for linux remote collection
	LinuxSshPrivateKeyPath string `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CredentialConfiguration_GuestCredentialsRemoteLinux) Descriptor deprecated

Deprecated: Use CredentialConfiguration_GuestCredentialsRemoteLinux.ProtoReflect.Descriptor instead.

func (*CredentialConfiguration_GuestCredentialsRemoteLinux) GetGuestPortNumber

func (*CredentialConfiguration_GuestCredentialsRemoteLinux) GetGuestUserName

func (*CredentialConfiguration_GuestCredentialsRemoteLinux) GetLinuxSshPrivateKeyPath

func (x *CredentialConfiguration_GuestCredentialsRemoteLinux) GetLinuxSshPrivateKeyPath() string

func (*CredentialConfiguration_GuestCredentialsRemoteLinux) GetServerName

func (*CredentialConfiguration_GuestCredentialsRemoteLinux) ProtoMessage

func (*CredentialConfiguration_GuestCredentialsRemoteLinux) ProtoReflect

func (*CredentialConfiguration_GuestCredentialsRemoteLinux) Reset

func (*CredentialConfiguration_GuestCredentialsRemoteLinux) String

type CredentialConfiguration_GuestCredentialsRemoteWin

type CredentialConfiguration_GuestCredentialsRemoteWin struct {

	// full server name
	ServerName string `protobuf:"bytes,1,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
	// full user name for guest collection
	GuestUserName string `protobuf:"bytes,2,opt,name=guest_user_name,json=guestUserName,proto3" json:"guest_user_name,omitempty"`
	// credential secret name stored in secrets manager
	GuestSecretName string `protobuf:"bytes,3,opt,name=guest_secret_name,json=guestSecretName,proto3" json:"guest_secret_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CredentialConfiguration_GuestCredentialsRemoteWin) Descriptor deprecated

Deprecated: Use CredentialConfiguration_GuestCredentialsRemoteWin.ProtoReflect.Descriptor instead.

func (*CredentialConfiguration_GuestCredentialsRemoteWin) GetGuestSecretName

func (*CredentialConfiguration_GuestCredentialsRemoteWin) GetGuestUserName

func (*CredentialConfiguration_GuestCredentialsRemoteWin) GetServerName

func (*CredentialConfiguration_GuestCredentialsRemoteWin) ProtoMessage

func (*CredentialConfiguration_GuestCredentialsRemoteWin) ProtoReflect

func (*CredentialConfiguration_GuestCredentialsRemoteWin) Reset

func (*CredentialConfiguration_GuestCredentialsRemoteWin) String

type CredentialConfiguration_LocalCollection

type CredentialConfiguration_LocalCollection struct {
	LocalCollection bool `protobuf:"varint,14,opt,name=local_collection,json=localCollection,proto3,oneof"`
}

type CredentialConfiguration_RemoteLinux

type CredentialConfiguration_RemoteLinux struct {
	RemoteLinux *CredentialConfiguration_GuestCredentialsRemoteLinux `protobuf:"bytes,16,opt,name=remote_linux,json=remoteLinux,proto3,oneof"`
}

type CredentialConfiguration_RemoteWin

type CredentialConfiguration_RemoteWin struct {
	RemoteWin *CredentialConfiguration_GuestCredentialsRemoteWin `protobuf:"bytes,15,opt,name=remote_win,json=remoteWin,proto3,oneof"`
}

type CredentialConfiguration_SqlCredentials

type CredentialConfiguration_SqlCredentials struct {

	// host name for SQL Server connection
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// full user name for SQL Server connection
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// credential secret name stored in secrets manager
	SecretName string `protobuf:"bytes,3,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"`
	// defaults to 1433
	PortNumber int32 `protobuf:"varint,4,opt,name=port_number,json=portNumber,proto3" json:"port_number,omitempty"`
	// contains filtered or unexported fields
}

func (*CredentialConfiguration_SqlCredentials) Descriptor deprecated

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

Deprecated: Use CredentialConfiguration_SqlCredentials.ProtoReflect.Descriptor instead.

func (*CredentialConfiguration_SqlCredentials) GetHost

func (*CredentialConfiguration_SqlCredentials) GetPortNumber

func (x *CredentialConfiguration_SqlCredentials) GetPortNumber() int32

func (*CredentialConfiguration_SqlCredentials) GetSecretName

func (*CredentialConfiguration_SqlCredentials) GetUserName

func (*CredentialConfiguration_SqlCredentials) ProtoMessage

func (*CredentialConfiguration_SqlCredentials) ProtoReflect

func (*CredentialConfiguration_SqlCredentials) Reset

func (*CredentialConfiguration_SqlCredentials) String

Jump to

Keyboard shortcuts

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