Sdílet prostřednictvím


ManagedCluster Constructors

Definition

Overloads

ManagedCluster()

Initializes a new instance of the ManagedCluster class.

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)

Initializes a new instance of the ManagedCluster class.

ManagedCluster()

Initializes a new instance of the ManagedCluster class.

public ManagedCluster ();
Public Sub New ()

Applies to

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)

Initializes a new instance of the ManagedCluster class.

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)

Parameters

location
String

Azure resource location.

dnsName
String

The cluster dns name.

adminUserName
String

vm admin user name.

id
String

Azure resource identifier.

name
String

Azure resource name.

type
String

Azure resource type.

tags
IDictionary<String,String>

Azure resource tags.

etag
String

Azure resource etag.

fqdn
String

the cluster Fully qualified domain name.

clusterId
String

A service generated unique identifier for the cluster resource.

clusterState
String

The current state of the cluster.

         - 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

The cluster certificate thumbprint used node to node communication.

clientConnectionPort
Nullable<Int32>

The port used for client connections to the cluster.

httpGatewayConnectionPort
Nullable<Int32>

The port used for http connections to the cluster.

adminPassword
String

vm admin user password.

loadBalancingRules
IList<LoadBalancingRule>

Describes load balancing rules.

clients
IList<ClientCertificate>

client certificates for the cluster.

azureActiveDirectory
AzureActiveDirectory

Azure active directory.

fabricSettings
IList<SettingsSectionDescription>

The list of custom fabric settings to configure the cluster.

useTestExtension
Nullable<Boolean>

Use service fabric test vm extension, by default it's false.

provisioningState
String

The provisioning state of the managed cluster resource. Possible values include: 'None', 'Creating', 'Created', 'Updating', 'Succeeded', 'Failed', 'Canceled', 'Deleting', 'Deleted', 'Other'

clusterCodeVersion
String

The Service Fabric runtime version of the cluster. This property can only by set the user when upgradeMode is set to 'Manual'. To get list of available Service Fabric versions for new clusters use ClusterVersion API. To get the list of available version for existing clusters use availableClusterVersions.

clusterUpgradeMode
String

The upgrade mode of the cluster when new Service Fabric runtime version is available.

         - 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

Describes the policy used when upgrading the cluster.

reverseProxyEndpointPort
Nullable<Int32>

The endpoint used by reverse proxy.

sku
Sku

The sku of the managed cluster

Applies to