Language

AdminCredentials Class

Definition

Credentials of administrator users for source and target servers.

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

Constructors

Name Description
AdminCredentials()

Creates an new AdminCredentials instance.

Properties

Name Description
SourceServerPassword

Password for the user of the source server.

TargetServerPassword

Password for the user of the target server.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AdminCredentials.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AdminCredentials.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AdminCredentials into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to