你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ClusterUpdateParameters 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ClusterUpdateParameters()
初始化 ClusterUpdateParameters 类的新实例。
public ClusterUpdateParameters ();
Public Sub New ()
适用于
ClusterUpdateParameters(IList<String>, CertificateDescription, ServerCertificateCommonNames, IList<ClientCertificateCommonName>, IList<ClientCertificateThumbprint>, String, Nullable<Boolean>, IList<SettingsSectionDescription>, IList<NodeTypeDescription>, String, CertificateDescription, ClusterUpgradePolicy, String, ApplicationTypeVersionsCleanupPolicy, IDictionary<String,String>)
初始化 ClusterUpdateParameters 类的新实例。
public ClusterUpdateParameters (System.Collections.Generic.IList<string> addOnFeatures = default, Microsoft.Azure.Management.ServiceFabric.Models.CertificateDescription certificate = default, Microsoft.Azure.Management.ServiceFabric.Models.ServerCertificateCommonNames certificateCommonNames = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ClientCertificateCommonName> clientCertificateCommonNames = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ClientCertificateThumbprint> clientCertificateThumbprints = default, string clusterCodeVersion = default, bool? eventStoreServiceEnabled = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.SettingsSectionDescription> fabricSettings = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.NodeTypeDescription> nodeTypes = default, string reliabilityLevel = default, Microsoft.Azure.Management.ServiceFabric.Models.CertificateDescription reverseProxyCertificate = default, Microsoft.Azure.Management.ServiceFabric.Models.ClusterUpgradePolicy upgradeDescription = default, string upgradeMode = default, Microsoft.Azure.Management.ServiceFabric.Models.ApplicationTypeVersionsCleanupPolicy applicationTypeVersionsCleanupPolicy = default, System.Collections.Generic.IDictionary<string,string> tags = default);
new Microsoft.Azure.Management.ServiceFabric.Models.ClusterUpdateParameters : System.Collections.Generic.IList<string> * Microsoft.Azure.Management.ServiceFabric.Models.CertificateDescription * Microsoft.Azure.Management.ServiceFabric.Models.ServerCertificateCommonNames * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ClientCertificateCommonName> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ClientCertificateThumbprint> * string * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.SettingsSectionDescription> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.NodeTypeDescription> * string * Microsoft.Azure.Management.ServiceFabric.Models.CertificateDescription * Microsoft.Azure.Management.ServiceFabric.Models.ClusterUpgradePolicy * string * Microsoft.Azure.Management.ServiceFabric.Models.ApplicationTypeVersionsCleanupPolicy * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.ServiceFabric.Models.ClusterUpdateParameters
Public Sub New (Optional addOnFeatures As IList(Of String) = Nothing, Optional certificate As CertificateDescription = Nothing, Optional certificateCommonNames As ServerCertificateCommonNames = Nothing, Optional clientCertificateCommonNames As IList(Of ClientCertificateCommonName) = Nothing, Optional clientCertificateThumbprints As IList(Of ClientCertificateThumbprint) = Nothing, Optional clusterCodeVersion As String = Nothing, Optional eventStoreServiceEnabled As Nullable(Of Boolean) = Nothing, Optional fabricSettings As IList(Of SettingsSectionDescription) = Nothing, Optional nodeTypes As IList(Of NodeTypeDescription) = Nothing, Optional reliabilityLevel As String = Nothing, Optional reverseProxyCertificate As CertificateDescription = Nothing, Optional upgradeDescription As ClusterUpgradePolicy = Nothing, Optional upgradeMode As String = Nothing, Optional applicationTypeVersionsCleanupPolicy As ApplicationTypeVersionsCleanupPolicy = Nothing, Optional tags As IDictionary(Of String, String) = Nothing)
参数
- certificate
- CertificateDescription
用于保护群集的证书。 提供的证书将用于群集中的节点到节点安全性、群集管理终结点的 SSL 证书和默认管理客户端。
- certificateCommonNames
- ServerCertificateCommonNames
描述用于保护群集的公用名称引用的服务器证书的列表。
- clientCertificateCommonNames
- IList<ClientCertificateCommonName>
允许管理群集的公用名引用的客户端证书列表。 这将覆盖现有列表。
- clientCertificateThumbprints
- IList<ClientCertificateThumbprint>
允许管理群集的指纹引用的客户端证书列表。 这将覆盖现有列表。
- clusterCodeVersion
- String
群集的 Service Fabric 运行时版本。 此属性只能通过在 upgradeMode 设置为“Manual”时设置用户。 若要获取新群集的可用 Service Fabric 版本列表,请使用 ClusterVersion API。 若要获取现有群集的可用版本列表,请使用 availableClusterVersions。
- fabricSettings
- IList<SettingsSectionDescription>
用于配置群集的自定义结构设置的列表。 这将覆盖现有列表。
- nodeTypes
- IList<NodeTypeDescription>
群集中的节点类型列表。 这将覆盖现有列表。
- reliabilityLevel
- String
可靠性级别设置系统服务的副本 (replica) 集大小。 了解 ReliabilityLevel。
- None - Run the System services with a target replica set count of
1. This should only be used for test clusters.
- Bronze - Run the System services with a target replica set count
of 3. This should only be used for test clusters.
- Silver - Run the System services with a target replica set count
of 5.
- Gold - Run the System services with a target replica set count of
7.
- Platinum - Run the System services with a target replica set
count of 9.
. Possible values include: 'None', 'Bronze', 'Silver', 'Gold',
'Platinum'
- reverseProxyCertificate
- CertificateDescription
反向代理使用的服务器证书。
- upgradeDescription
- ClusterUpgradePolicy
升级群集时要使用的策略。
- upgradeMode
- String
新的 Service Fabric 运行时版本可用时群集的升级模式。
- Automatic - The cluster will be automatically upgraded to the
latest Service Fabric runtime version as soon as it is available.
- Manual - The cluster will not be automatically upgraded to the
latest Service Fabric runtime version. The cluster is upgraded by
setting the **clusterCodeVersion** property in the cluster
resource.
. Possible values include: 'Automatic', 'Manual'
- applicationTypeVersionsCleanupPolicy
- ApplicationTypeVersionsCleanupPolicy
用于清理未使用版本的策略。
- tags
- IDictionary<String,String>
群集更新参数