README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/datamigration/2018-04-19/taskscommons
Documentation
The taskscommons
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/taskscommons"
Client Initialization
client := taskscommons.NewTasksCommonsClientWithBaseURI("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 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 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
type TasksCommonsClient ¶
type TasksCommonsClient struct {
Client *resourcemanager.Client
}
func NewTasksCommonsClientWithBaseURI ¶
func NewTasksCommonsClientWithBaseURI(sdkApi sdkEnv.Api) (*TasksCommonsClient, error)
Click to show internal directories.
Click to hide internal directories.