다음을 통해 공유


PostgreSqlConnectionInfo Class

Definition

Information for connecting to PostgreSQL server.

public class PostgreSqlConnectionInfo : Azure.ResourceManager.DataMigration.Models.ConnectionInfo, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataMigration.Models.PostgreSqlConnectionInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataMigration.Models.PostgreSqlConnectionInfo>
type PostgreSqlConnectionInfo = class
    inherit ConnectionInfo
    interface IJsonModel<PostgreSqlConnectionInfo>
    interface IPersistableModel<PostgreSqlConnectionInfo>
Public Class PostgreSqlConnectionInfo
Inherits ConnectionInfo
Implements IJsonModel(Of PostgreSqlConnectionInfo), IPersistableModel(Of PostgreSqlConnectionInfo)
Inheritance
PostgreSqlConnectionInfo
Implements

Constructors

PostgreSqlConnectionInfo(String, Int32)

Initializes a new instance of PostgreSqlConnectionInfo.

Properties

AdditionalSettings

Additional connection settings.

Authentication

Authentication type to use for connection.

DatabaseName

Name of the database.

DataSource

Data source.

EncryptConnection

Whether to encrypt the connection.

Password

Password credential.

(Inherited from ConnectionInfo)
Port

Port for Server.

ServerBrandVersion

server brand version.

ServerName

Name of the server.

ServerVersion

server version.

TrustServerCertificate

Whether to trust the server certificate.

UserName

User name.

(Inherited from ConnectionInfo)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ConnectionInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ConnectionInfo)
IJsonModel<ConnectionInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ConnectionInfo)
IJsonModel<PostgreSqlConnectionInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<PostgreSqlConnectionInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConnectionInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ConnectionInfo)
IPersistableModel<ConnectionInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ConnectionInfo)
IPersistableModel<ConnectionInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ConnectionInfo)
IPersistableModel<PostgreSqlConnectionInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PostgreSqlConnectionInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<PostgreSqlConnectionInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to