PostgreSqlMigrationSecretParameters Class

Definition

Migration secret parameters.

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

Constructors

PostgreSqlMigrationSecretParameters(PostgreSqlMigrationAdminCredentials)

Initializes a new instance of PostgreSqlMigrationSecretParameters.

Properties

AdminCredentials

Admin credentials for source and target servers.

SourceServerUsername

Gets or sets the username for the source server. This user need not be an admin.

TargetServerUsername

Gets or sets the username for the target server. This user need not be an admin.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PostgreSqlMigrationSecretParameters>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PostgreSqlMigrationSecretParameters>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PostgreSqlMigrationSecretParameters>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PostgreSqlMigrationSecretParameters>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PostgreSqlMigrationSecretParameters>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to