ManagedCluster Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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, SystemData, String, String, String, String, IList<String>, Nullable<Int32>, Nullable<Int32>, String, IList<LoadBalancingRule>, Nullable<Boolean>, IList<NetworkSecurityRule>, IList<ClientCertificate>, AzureActiveDirectory, IList<SettingsSectionDescription>, String, String, String, String, IList<String>, Nullable<Boolean>, Nullable<Boolean>, ApplicationTypeVersionsCleanupPolicy, 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, Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.SystemData systemData = default, string fqdn = default, string ipv4Address = default, string clusterId = default, string clusterState = default, System.Collections.Generic.IList<string> clusterCertificateThumbprints = default, int? clientConnectionPort = default, int? httpGatewayConnectionPort = default, string adminPassword = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.LoadBalancingRule> loadBalancingRules = default, bool? allowRdpAccess = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.NetworkSecurityRule> networkSecurityRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ClientCertificate> clients = default, Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.AzureActiveDirectory azureActiveDirectory = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.SettingsSectionDescription> fabricSettings = default, string provisioningState = default, string clusterCodeVersion = default, string clusterUpgradeMode = default, string clusterUpgradeCadence = default, System.Collections.Generic.IList<string> addonFeatures = default, bool? enableAutoOSUpgrade = default, bool? zonalResiliency = default, Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ApplicationTypeVersionsCleanupPolicy applicationTypeVersionsCleanupPolicy = default, Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.Sku sku = default);
new Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedCluster : string * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.SystemData * string * string * string * string * System.Collections.Generic.IList<string> * Nullable<int> * Nullable<int> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.LoadBalancingRule> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.NetworkSecurityRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ClientCertificate> * Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.AzureActiveDirectory * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.SettingsSectionDescription> * string * string * string * string * System.Collections.Generic.IList<string> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ApplicationTypeVersionsCleanupPolicy * Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.Sku -> Microsoft.Azure.Management.ServiceFabricManagedClusters.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 systemData As SystemData = Nothing, Optional fqdn As String = Nothing, Optional ipv4Address As String = Nothing, Optional clusterId As String = Nothing, Optional clusterState As String = Nothing, Optional clusterCertificateThumbprints As IList(Of 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 allowRdpAccess As Nullable(Of Boolean) = Nothing, Optional networkSecurityRules As IList(Of NetworkSecurityRule) = Nothing, Optional clients As IList(Of ClientCertificate) = Nothing, Optional azureActiveDirectory As AzureActiveDirectory = Nothing, Optional fabricSettings As IList(Of SettingsSectionDescription) = Nothing, Optional provisioningState As String = Nothing, Optional clusterCodeVersion As String = Nothing, Optional clusterUpgradeMode As String = Nothing, Optional clusterUpgradeCadence As String = Nothing, Optional addonFeatures As IList(Of String) = Nothing, Optional enableAutoOSUpgrade As Nullable(Of Boolean) = Nothing, Optional zonalResiliency As Nullable(Of Boolean) = Nothing, Optional applicationTypeVersionsCleanupPolicy As ApplicationTypeVersionsCleanupPolicy = 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.
- systemData
- SystemData
- fqdn
- String
The fully qualified domain name associated with the public load balancer of the cluster.
- ipv4Address
- String
The IPv4 address associated with the public load balancer of the cluster.
- clusterId
- String
A service generated unique identifier for the cluster resource.
- clusterState
- String
The current state of the cluster. Possible values include: 'WaitingForNodes', 'Deploying', 'BaselineUpgrade', 'Upgrading', 'UpgradeFailed', 'Ready'
- adminPassword
- String
VM admin user password.
- loadBalancingRules
- IList<LoadBalancingRule>
Load balancing rules that are applied to the public load balancer of the cluster.
Setting this to true enables RDP access to the VM. The default NSG rule opens RDP port to internet which can be overridden with custom Network Security Rules. The default value for this setting is false.
- networkSecurityRules
- IList<NetworkSecurityRule>
Custom Network Security Rules that are applied to the virtual network of the cluster.
- clients
- IList<ClientCertificate>
Client certificates that are allowed to manage the cluster.
- azureActiveDirectory
- AzureActiveDirectory
The AAD authentication settings of the cluster.
- fabricSettings
- IList<SettingsSectionDescription>
The list of custom fabric settings to configure the cluster.
- 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 is required when clusterUpgradeMode 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
Possible values include: 'Automatic', 'Manual'
- clusterUpgradeCadence
- String
Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. Only applies when clusterUpgradeMode is set to 'Automatic'. Possible values include: 'Wave0', 'Wave1', 'Wave2'
Setting this to true enables automatic OS upgrade for the node types that are created using any platform OS image with version 'latest'. The default value for this setting is false.
- applicationTypeVersionsCleanupPolicy
- ApplicationTypeVersionsCleanupPolicy
The policy used to clean up unused versions.
- sku
- Sku
The sku of the managed cluster
Applies to
Azure SDK for .NET