你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ManagedCluster 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ManagedCluster()
初始化 ManagedCluster 类的新实例。
public ManagedCluster ();
Public Sub New ()
适用于
ManagedCluster(String, String, String, String, String, String, IDictionary<String,String>, String, String, String, String, String, Nullable<Int32>, Nullable<Int32>, String, IList<LoadBalancingRule>, IList<ClientCertificate>, AzureActiveDirectory, IList<SettingsSectionDescription>, Nullable<Boolean>, String, String, String, ClusterUpgradePolicy, Nullable<Int32>, Sku)
初始化 ManagedCluster 类的新实例。
public ManagedCluster (string location, string dnsName, string adminUserName, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string etag = default, string fqdn = default, string clusterId = default, string clusterState = default, string clusterCertificateThumbprint = default, int? clientConnectionPort = default, int? httpGatewayConnectionPort = default, string adminPassword = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.LoadBalancingRule> loadBalancingRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ClientCertificate> clients = default, Microsoft.Azure.Management.ServiceFabric.Models.AzureActiveDirectory azureActiveDirectory = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.SettingsSectionDescription> fabricSettings = default, bool? useTestExtension = default, string provisioningState = default, string clusterCodeVersion = default, string clusterUpgradeMode = default, Microsoft.Azure.Management.ServiceFabric.Models.ClusterUpgradePolicy clusterUpgradeDescription = default, int? reverseProxyEndpointPort = default, Microsoft.Azure.Management.ServiceFabric.Models.Sku sku = default);
new Microsoft.Azure.Management.ServiceFabric.Models.ManagedCluster : string * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * string * string * Nullable<int> * Nullable<int> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.LoadBalancingRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ClientCertificate> * Microsoft.Azure.Management.ServiceFabric.Models.AzureActiveDirectory * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.SettingsSectionDescription> * Nullable<bool> * string * string * string * Microsoft.Azure.Management.ServiceFabric.Models.ClusterUpgradePolicy * Nullable<int> * Microsoft.Azure.Management.ServiceFabric.Models.Sku -> Microsoft.Azure.Management.ServiceFabric.Models.ManagedCluster
Public Sub New (location As String, dnsName As String, adminUserName As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As String = Nothing, Optional fqdn As String = Nothing, Optional clusterId As String = Nothing, Optional clusterState As String = Nothing, Optional clusterCertificateThumbprint As String = Nothing, Optional clientConnectionPort As Nullable(Of Integer) = Nothing, Optional httpGatewayConnectionPort As Nullable(Of Integer) = Nothing, Optional adminPassword As String = Nothing, Optional loadBalancingRules As IList(Of LoadBalancingRule) = Nothing, Optional clients As IList(Of ClientCertificate) = Nothing, Optional azureActiveDirectory As AzureActiveDirectory = Nothing, Optional fabricSettings As IList(Of SettingsSectionDescription) = Nothing, Optional useTestExtension As Nullable(Of Boolean) = Nothing, Optional provisioningState As String = Nothing, Optional clusterCodeVersion As String = Nothing, Optional clusterUpgradeMode As String = Nothing, Optional clusterUpgradeDescription As ClusterUpgradePolicy = Nothing, Optional reverseProxyEndpointPort As Nullable(Of Integer) = Nothing, Optional sku As Sku = Nothing)
参数
- location
- String
Azure 资源位置。
- dnsName
- String
群集 DNS 名称。
- adminUserName
- String
vm 管理员用户名。
- id
- String
Azure 资源标识符。
- name
- String
Azure 资源名称。
- type
- String
Azure 资源类型。
- tags
- IDictionary<String,String>
Azure 资源标记。
- etag
- String
Azure 资源 etag。
- fqdn
- String
群集完全限定的域名。
- clusterId
- String
服务为群集资源生成的唯一标识符。
- clusterState
- String
群集的当前状态。
- WaitingForNodes - Indicates that the cluster resource is created
and the resource provider is waiting for Service Fabric VM
extension to boot up and report to it.
- Deploying - Indicates that the Service Fabric runtime is being
installed on the VMs. Cluster resource will be in this state until
the cluster boots up and system services are up.
- BaselineUpgrade - Indicates that the cluster is upgrading to
establishes the cluster version. This upgrade is automatically
initiated when the cluster boots up for the first time.
- UpdatingUserConfiguration - Indicates that the cluster is being
upgraded with the user provided configuration.
- UpdatingUserCertificate - Indicates that the cluster is being
upgraded with the user provided certificate.
- UpdatingInfrastructure - Indicates that the cluster is being
upgraded with the latest Service Fabric runtime version. This
happens only when the **upgradeMode** is set to 'Automatic'.
- EnforcingClusterVersion - Indicates that cluster is on a
different version than expected and the cluster is being upgraded
to the expected version.
- UpgradeServiceUnreachable - Indicates that the system service in
the cluster is no longer polling the Resource Provider. Clusters in
this state cannot be managed by the Resource Provider.
- AutoScale - Indicates that the ReliabilityLevel of the cluster is
being adjusted.
- Ready - Indicates that the cluster is in a stable state.
. Possible values include: 'WaitingForNodes', 'Deploying',
'BaselineUpgrade', 'UpdatingUserConfiguration',
'UpdatingUserCertificate', 'UpdatingInfrastructure',
'EnforcingClusterVersion', 'UpgradeServiceUnreachable',
'AutoScale', 'Ready'
- clusterCertificateThumbprint
- String
群集证书指纹使用了节点到节点的通信。
- adminPassword
- String
vm 管理员用户密码。
- loadBalancingRules
- IList<LoadBalancingRule>
描述负载均衡规则。
- clients
- IList<ClientCertificate>
群集的客户端证书。
- azureActiveDirectory
- AzureActiveDirectory
Azure Active Directory。
- fabricSettings
- IList<SettingsSectionDescription>
用于配置群集的自定义结构设置的列表。
- provisioningState
- String
托管群集资源的预配状态。 可能的值包括:“None”、“Creating”、“Created”、“Updating”、“Succeeded”、“Failed”、“Canceled”、“Deleted”、“Other”
- clusterCodeVersion
- String
群集的 Service Fabric 运行时版本。 此属性只能通过在 upgradeMode 设置为“Manual”时设置用户。 若要获取新群集的可用 Service Fabric 版本列表,请使用 ClusterVersion API。 若要获取现有群集的可用版本列表,请使用 availableClusterVersions。
- clusterUpgradeMode
- 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'
- clusterUpgradeDescription
- ClusterUpgradePolicy
描述升级群集时使用的策略。
- sku
- Sku
托管群集的 SKU