Documentation ¶
Index ¶
- func PossibleValuesForAuthenticationType() []string
- func PossibleValuesForSqlSourcePlatform() []string
- type AuthenticationType
- type CommonsClient
- type ConnectionInfo
- type MiSqlConnectionInfo
- type MySqlConnectionInfo
- type PostgreSqlConnectionInfo
- type RawConnectionInfoImpl
- type SqlConnectionInfo
- type SqlSourcePlatform
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAuthenticationType ¶
func PossibleValuesForAuthenticationType() []string
func PossibleValuesForSqlSourcePlatform ¶
func PossibleValuesForSqlSourcePlatform() []string
Types ¶
type AuthenticationType ¶
type AuthenticationType string
const ( AuthenticationTypeActiveDirectoryIntegrated AuthenticationType = "ActiveDirectoryIntegrated" AuthenticationTypeActiveDirectoryPassword AuthenticationType = "ActiveDirectoryPassword" AuthenticationTypeNone AuthenticationType = "None" AuthenticationTypeSqlAuthentication AuthenticationType = "SqlAuthentication" AuthenticationTypeWindowsAuthentication AuthenticationType = "WindowsAuthentication" )
func (*AuthenticationType) UnmarshalJSON ¶
func (s *AuthenticationType) UnmarshalJSON(bytes []byte) error
type CommonsClient ¶
type CommonsClient struct {
Client *resourcemanager.Client
}
func NewCommonsClientWithBaseURI ¶
func NewCommonsClientWithBaseURI(sdkApi sdkEnv.Api) (*CommonsClient, error)
type ConnectionInfo ¶
type ConnectionInfo interface { }
type MiSqlConnectionInfo ¶
type MiSqlConnectionInfo struct { ManagedInstanceResourceId string `json:"managedInstanceResourceId"` // Fields inherited from ConnectionInfo Password *string `json:"password,omitempty"` UserName *string `json:"userName,omitempty"` }
func (MiSqlConnectionInfo) MarshalJSON ¶
func (s MiSqlConnectionInfo) MarshalJSON() ([]byte, error)
type MySqlConnectionInfo ¶
type MySqlConnectionInfo struct { Port int64 `json:"port"` ServerName string `json:"serverName"` // Fields inherited from ConnectionInfo Password *string `json:"password,omitempty"` UserName *string `json:"userName,omitempty"` }
func (MySqlConnectionInfo) MarshalJSON ¶
func (s MySqlConnectionInfo) MarshalJSON() ([]byte, error)
type PostgreSqlConnectionInfo ¶
type PostgreSqlConnectionInfo struct { DatabaseName *string `json:"databaseName,omitempty"` Port int64 `json:"port"` ServerName string `json:"serverName"` // Fields inherited from ConnectionInfo Password *string `json:"password,omitempty"` UserName *string `json:"userName,omitempty"` }
func (PostgreSqlConnectionInfo) MarshalJSON ¶
func (s PostgreSqlConnectionInfo) MarshalJSON() ([]byte, error)
type RawConnectionInfoImpl ¶
RawConnectionInfoImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type SqlConnectionInfo ¶
type SqlConnectionInfo struct { AdditionalSettings *string `json:"additionalSettings,omitempty"` Authentication *AuthenticationType `json:"authentication,omitempty"` DataSource string `json:"dataSource"` EncryptConnection *bool `json:"encryptConnection,omitempty"` Platform *SqlSourcePlatform `json:"platform,omitempty"` TrustServerCertificate *bool `json:"trustServerCertificate,omitempty"` // Fields inherited from ConnectionInfo Password *string `json:"password,omitempty"` UserName *string `json:"userName,omitempty"` }
func (SqlConnectionInfo) MarshalJSON ¶
func (s SqlConnectionInfo) MarshalJSON() ([]byte, error)
type SqlSourcePlatform ¶
type SqlSourcePlatform string
const (
SqlSourcePlatformSqlOnPrem SqlSourcePlatform = "SqlOnPrem"
)
func (*SqlSourcePlatform) UnmarshalJSON ¶
func (s *SqlSourcePlatform) UnmarshalJSON(bytes []byte) error
Click to show internal directories.
Click to hide internal directories.