connecttosourcepostgresqlsynctasks

package
v0.20240513.1085605 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/datamigration/2021-06-30/connecttosourcepostgresqlsynctasks Documentation

The connecttosourcepostgresqlsynctasks SDK allows for interaction with the Azure Resource Manager Service datamigration (API Version 2021-06-30).

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/2021-06-30/connecttosourcepostgresqlsynctasks"

Client Initialization

client := connecttosourcepostgresqlsynctasks.NewConnectToSourcePostgreSqlSyncTasksClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectToSourcePostgreSqlSyncTasksClient

type ConnectToSourcePostgreSqlSyncTasksClient struct {
	Client *resourcemanager.Client
}

func NewConnectToSourcePostgreSqlSyncTasksClientWithBaseURI

func NewConnectToSourcePostgreSqlSyncTasksClientWithBaseURI(sdkApi sdkEnv.Api) (*ConnectToSourcePostgreSqlSyncTasksClient, error)

type ConnectionInfo

type ConnectionInfo interface {
}

type PostgreSqlConnectionInfo

type PostgreSqlConnectionInfo struct {
	DatabaseName           *string `json:"databaseName,omitempty"`
	EncryptConnection      *bool   `json:"encryptConnection,omitempty"`
	Port                   int64   `json:"port"`
	ServerName             string  `json:"serverName"`
	TrustServerCertificate *bool   `json:"trustServerCertificate,omitempty"`

	// 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

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).

Jump to

Keyboard shortcuts

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