Language

MigrationSecretParameters Class

Definition

Migration secret parameters.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.MigrationSecretParametersTypeConverter))]
public class MigrationSecretParameters : Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IMigrationSecretParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.MigrationSecretParametersTypeConverter))>]
type MigrationSecretParameters = class
    interface IMigrationSecretParameters
    interface IJsonSerializable
Public Class MigrationSecretParameters
Implements IMigrationSecretParameters
Inheritance
MigrationSecretParameters
Attributes
Implements

Constructors

Name Description
MigrationSecretParameters()

Creates an new MigrationSecretParameters instance.

Properties

Name Description
AdminCredentialsSourceServerPassword

Password for the user of the source server.

AdminCredentialsTargetServerPassword

Password for the user of the target server.

SourceServerUsername

Gets or sets the name of the user for the source server. This user doesn't need to be an administrator.

TargetServerUsername

Gets or sets the name of the user for the target server. This user doesn't need to be an administrator.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MigrationSecretParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MigrationSecretParameters.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IMigrationSecretParameters.

FromJsonString(String)

Creates a new instance of MigrationSecretParameters, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of MigrationSecretParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to