你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServerPropertiesForReplica 类

定义

用于创建新副本 (replica) 的属性。

[Newtonsoft.Json.JsonObject("Replica")]
public class ServerPropertiesForReplica : Microsoft.Azure.Management.PostgreSQL.Models.ServerPropertiesForCreate
[<Newtonsoft.Json.JsonObject("Replica")>]
type ServerPropertiesForReplica = class
    inherit ServerPropertiesForCreate
Public Class ServerPropertiesForReplica
Inherits ServerPropertiesForCreate
继承
ServerPropertiesForReplica
属性
Newtonsoft.Json.JsonObjectAttribute

构造函数

ServerPropertiesForReplica()

初始化 ServerPropertiesForReplica 类的新实例。

ServerPropertiesForReplica(String, String, Nullable<SslEnforcementEnum>, String, String, String, StorageProfile)

初始化 ServerPropertiesForReplica 类的新实例。

属性

InfrastructureEncryption

获取或设置状态,显示服务器是否启用了基础结构加密。 可能的值包括:“Enabled”、“Disabled”

(继承自 ServerPropertiesForCreate)
MinimalTlsVersion

获取或设置对服务器强制实施最低 Tls 版本。 可能的值包括:“TLS1_0”、“TLS1_1”、“TLS1_2”、“TLSEnforcementDisabled”

(继承自 ServerPropertiesForCreate)
PublicNetworkAccess

获取或设置是否允许对此服务器进行公用网络访问。 值是可选的,但如果传入,则必须为“Enabled”或“Disabled”。 可能的值包括:“Enabled”、“Disabled”

(继承自 ServerPropertiesForCreate)
SourceServerId

获取或设置要从中创建副本 (replica) 的主服务器 ID。

SslEnforcement

获取或设置在连接到服务器时是否启用 ssl 强制实施。 可能的值包括:“Enabled”、“Disabled”

(继承自 ServerPropertiesForCreate)
StorageProfile

获取或设置服务器的存储配置文件。

(继承自 ServerPropertiesForCreate)
Version

获取或设置服务器版本。 可能的值包括:“9.5”、“9.6”、“10”、“10.0”、“10.2”、“11”

(继承自 ServerPropertiesForCreate)

方法

Validate()

验证 对象。

适用于