connecttotargetsqldbtasks

package
v0.20240409.1113035 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/datamigration/2018-04-19/connecttotargetsqldbtasks Documentation

The connecttotargetsqldbtasks SDK allows for interaction with the Azure Resource Manager Service datamigration (API Version 2018-04-19).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/datamigration/2018-04-19/connecttotargetsqldbtasks"

Client Initialization

client := connecttotargetsqldbtasks.NewConnectToTargetSqlDbTasksClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Documentation

Index

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 ConnectToTargetSqlDbTasksClient

type ConnectToTargetSqlDbTasksClient struct {
	Client *resourcemanager.Client
}

func NewConnectToTargetSqlDbTasksClientWithBaseURI

func NewConnectToTargetSqlDbTasksClientWithBaseURI(sdkApi sdkEnv.Api) (*ConnectToTargetSqlDbTasksClient, error)

type ConnectionInfo

type ConnectionInfo interface {
}

type RawConnectionInfoImpl

type RawConnectionInfoImpl struct {
	Type   string
	Values map[string]interface{}
}

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

Jump to

Keyboard shortcuts

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