ArmServiceFabricManagedClustersModelFactory.ServiceFabricManagedClusterData Method
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.
Initializes a new instance of ServiceFabricManagedClusterData.
public static Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedClusterData ServiceFabricManagedClusterData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedClustersSkuName? skuName = default, string dnsName = default, string fqdn = default, System.Net.IPAddress ipv4Address = default, Guid? clusterId = default, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedClusterState? clusterState = default, System.Collections.Generic.IEnumerable<BinaryData> clusterCertificateThumbprints = default, int? clientConnectionPort = default, int? httpGatewayConnectionPort = default, string adminUserName = default, string adminPassword = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterLoadBalancingRule> loadBalancingRules = default, bool? isRdpAccessAllowed = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedNetworkSecurityRule> networkSecurityRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterClientCertificate> clients = default, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterAzureActiveDirectory azureActiveDirectory = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ClusterFabricSettingsSection> fabricSettings = default, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedResourceProvisioningState? provisioningState = default, string clusterCodeVersion = default, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterUpgradeMode? clusterUpgradeMode = default, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterUpgradeCadence? clusterUpgradeCadence = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterAddOnFeature> addOnFeatures = default, bool? isAutoOSUpgradeEnabled = default, bool? hasZoneResiliency = default, int? maxUnusedVersionsToKeep = default, bool? isIPv6Enabled = default, string subnetId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterIPTag> ipTags = default, System.Net.IPAddress ipv6Address = default, bool? isServicePublicIPEnabled = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterSubnet> auxiliarySubnets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterServiceEndpoint> serviceEndpoints = default, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ZonalUpdateMode? zonalUpdateMode = default, bool? useCustomVnet = default, Azure.Core.ResourceIdentifier publicIPPrefixId = default, Azure.Core.ResourceIdentifier publicIPv6PrefixId = default, Azure.Core.ResourceIdentifier ddosProtectionPlanId = default, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterUpgradePolicy upgradeDescription = default, int? httpGatewayTokenAuthConnectionPort = default, bool? isHttpGatewayExclusiveAuthModeEnabled = default, Azure.ETag? etag = default);
static member ServiceFabricManagedClusterData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedClustersSkuName> * string * string * System.Net.IPAddress * Nullable<Guid> * Nullable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedClusterState> * seq<BinaryData> * Nullable<int> * Nullable<int> * string * string * seq<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterLoadBalancingRule> * Nullable<bool> * seq<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedNetworkSecurityRule> * seq<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterClientCertificate> * Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterAzureActiveDirectory * seq<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ClusterFabricSettingsSection> * Nullable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedResourceProvisioningState> * string * Nullable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterUpgradeMode> * Nullable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterUpgradeCadence> * seq<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterAddOnFeature> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<bool> * string * seq<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterIPTag> * System.Net.IPAddress * Nullable<bool> * seq<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterSubnet> * seq<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterServiceEndpoint> * Nullable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ZonalUpdateMode> * Nullable<bool> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterUpgradePolicy * Nullable<int> * Nullable<bool> * Nullable<Azure.ETag> -> Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedClusterData
Public Shared Function ServiceFabricManagedClusterData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional skuName As Nullable(Of ServiceFabricManagedClustersSkuName) = Nothing, Optional dnsName As String = Nothing, Optional fqdn As String = Nothing, Optional ipv4Address As IPAddress = Nothing, Optional clusterId As Nullable(Of Guid) = Nothing, Optional clusterState As Nullable(Of ServiceFabricManagedClusterState) = Nothing, Optional clusterCertificateThumbprints As IEnumerable(Of BinaryData) = Nothing, Optional clientConnectionPort As Nullable(Of Integer) = Nothing, Optional httpGatewayConnectionPort As Nullable(Of Integer) = Nothing, Optional adminUserName As String = Nothing, Optional adminPassword As String = Nothing, Optional loadBalancingRules As IEnumerable(Of ManagedClusterLoadBalancingRule) = Nothing, Optional isRdpAccessAllowed As Nullable(Of Boolean) = Nothing, Optional networkSecurityRules As IEnumerable(Of ServiceFabricManagedNetworkSecurityRule) = Nothing, Optional clients As IEnumerable(Of ManagedClusterClientCertificate) = Nothing, Optional azureActiveDirectory As ManagedClusterAzureActiveDirectory = Nothing, Optional fabricSettings As IEnumerable(Of ClusterFabricSettingsSection) = Nothing, Optional provisioningState As Nullable(Of ServiceFabricManagedResourceProvisioningState) = Nothing, Optional clusterCodeVersion As String = Nothing, Optional clusterUpgradeMode As Nullable(Of ManagedClusterUpgradeMode) = Nothing, Optional clusterUpgradeCadence As Nullable(Of ManagedClusterUpgradeCadence) = Nothing, Optional addOnFeatures As IEnumerable(Of ManagedClusterAddOnFeature) = Nothing, Optional isAutoOSUpgradeEnabled As Nullable(Of Boolean) = Nothing, Optional hasZoneResiliency As Nullable(Of Boolean) = Nothing, Optional maxUnusedVersionsToKeep As Nullable(Of Integer) = Nothing, Optional isIPv6Enabled As Nullable(Of Boolean) = Nothing, Optional subnetId As String = Nothing, Optional ipTags As IEnumerable(Of ManagedClusterIPTag) = Nothing, Optional ipv6Address As IPAddress = Nothing, Optional isServicePublicIPEnabled As Nullable(Of Boolean) = Nothing, Optional auxiliarySubnets As IEnumerable(Of ManagedClusterSubnet) = Nothing, Optional serviceEndpoints As IEnumerable(Of ManagedClusterServiceEndpoint) = Nothing, Optional zonalUpdateMode As Nullable(Of ZonalUpdateMode) = Nothing, Optional useCustomVnet As Nullable(Of Boolean) = Nothing, Optional publicIPPrefixId As ResourceIdentifier = Nothing, Optional publicIPv6PrefixId As ResourceIdentifier = Nothing, Optional ddosProtectionPlanId As ResourceIdentifier = Nothing, Optional upgradeDescription As ManagedClusterUpgradePolicy = Nothing, Optional httpGatewayTokenAuthConnectionPort As Nullable(Of Integer) = Nothing, Optional isHttpGatewayExclusiveAuthModeEnabled As Nullable(Of Boolean) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ServiceFabricManagedClusterData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
The sku of the managed cluster.
- dnsName
- String
The cluster dns name.
- fqdn
- String
The fully qualified domain name associated with the public load balancer of the cluster.
- ipv4Address
- IPAddress
The IPv4 address associated with the public load balancer of the cluster.
- clusterState
- Nullable<ServiceFabricManagedClusterState>
The current state of the cluster.
- clusterCertificateThumbprints
- IEnumerable<BinaryData>
List of thumbprints of the cluster certificates.
- adminUserName
- String
VM admin user name.
- adminPassword
- String
VM admin user password.
- loadBalancingRules
- IEnumerable<ManagedClusterLoadBalancingRule>
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
- IEnumerable<ServiceFabricManagedNetworkSecurityRule>
Custom Network Security Rules that are applied to the Virtual Network of the cluster.
Client certificates that are allowed to manage the cluster.
- azureActiveDirectory
- ManagedClusterAzureActiveDirectory
The AAD authentication settings of the cluster.
- fabricSettings
- IEnumerable<ClusterFabricSettingsSection>
The list of custom fabric settings to configure the cluster.
- provisioningState
- Nullable<ServiceFabricManagedResourceProvisioningState>
The provisioning state of the managed cluster resource.
- 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
- Nullable<ManagedClusterUpgradeMode>
The upgrade mode of the cluster when new Service Fabric runtime version is available.
- clusterUpgradeCadence
- Nullable<ManagedClusterUpgradeCadence>
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'.
- addOnFeatures
- IEnumerable<ManagedClusterAddOnFeature>
List of add-on features to enable on the cluster.
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.
Setting this to true creates IPv6 address space for the default VNet used by the cluster. This setting cannot be changed once the cluster is created. The default value for this setting is false.
- subnetId
- String
If specified, the node types for the cluster are created in this subnet instead of the default VNet. The networkSecurityRules specified for the cluster are also applied to this subnet. This setting cannot be changed once the cluster is created.
- ipTags
- IEnumerable<ManagedClusterIPTag>
The list of IP tags associated with the default public IP address of the cluster.
- ipv6Address
- IPAddress
IPv6 address for the cluster if IPv6 is enabled.
Setting this to true will link the IPv4 address as the ServicePublicIP of the IPv6 address. It can only be set to True if IPv6 is enabled on the cluster.
- auxiliarySubnets
- IEnumerable<ManagedClusterSubnet>
Auxiliary subnets for the cluster.
- serviceEndpoints
- IEnumerable<ManagedClusterServiceEndpoint>
Service endpoints for subnets in the cluster.
- zonalUpdateMode
- Nullable<ZonalUpdateMode>
Indicates the update mode for Cross Az clusters.
For new clusters, this parameter indicates that it uses Bring your own VNet, but the subnet is specified at node type level; and for such clusters, the subnetId property is required for node types.
- publicIPPrefixId
- ResourceIdentifier
Specify the resource id of a public IPv4 prefix that the load balancer will allocate a public IPv4 address from. This setting cannot be changed once the cluster is created.
- publicIPv6PrefixId
- ResourceIdentifier
Specify the resource id of a public IPv6 prefix that the load balancer will allocate a public IPv6 address from. This setting cannot be changed once the cluster is created.
- ddosProtectionPlanId
- ResourceIdentifier
Specify the resource id of a DDoS network protection plan that will be associated with the virtual network of the cluster.
- upgradeDescription
- ManagedClusterUpgradePolicy
The policy to use when upgrading the cluster.
The port used for token-auth based HTTPS connections to the cluster. Cannot be set to the same port as HttpGatewayEndpoint.
If true, token-based authentication is not allowed on the HttpGatewayEndpoint. This is required to support TLS versions 1.3 and above. If token-based authentication is used, HttpGatewayTokenAuthConnectionPort must be defined.
Returns
A new ServiceFabricManagedClusterData instance for mocking.
Applies to
Azure SDK for .NET