Share via


PostgreSqlMigrationAdminCredentials Class

Definition

Server admin credentials.

public class PostgreSqlMigrationAdminCredentials : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationAdminCredentials>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationAdminCredentials>
type PostgreSqlMigrationAdminCredentials = class
    interface IJsonModel<PostgreSqlMigrationAdminCredentials>
    interface IPersistableModel<PostgreSqlMigrationAdminCredentials>
Public Class PostgreSqlMigrationAdminCredentials
Implements IJsonModel(Of PostgreSqlMigrationAdminCredentials), IPersistableModel(Of PostgreSqlMigrationAdminCredentials)
Inheritance
PostgreSqlMigrationAdminCredentials
Implements

Constructors

PostgreSqlMigrationAdminCredentials(String, String)

Initializes a new instance of PostgreSqlMigrationAdminCredentials.

Properties

SourceServerPassword

Password for source server.

TargetServerPassword

Password for target server.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PostgreSqlMigrationAdminCredentials>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PostgreSqlMigrationAdminCredentials>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PostgreSqlMigrationAdminCredentials>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PostgreSqlMigrationAdminCredentials>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PostgreSqlMigrationAdminCredentials>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to