NodeTypeDescription 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
NodeTypeDescription() |
Initializes a new instance of the NodeTypeDescription class. |
NodeTypeDescription(String, Int32, Int32, Boolean, Int32, IDictionary<String, String>, IDictionary<String,String>, String, EndpointRangeDescription, EndpointRangeDescription, Nullable<Int32>) |
Initializes a new instance of the NodeTypeDescription class. |
NodeTypeDescription()
Initializes a new instance of the NodeTypeDescription class.
public NodeTypeDescription ();
Public Sub New ()
Applies to
NodeTypeDescription(String, Int32, Int32, Boolean, Int32, IDictionary<String, String>, IDictionary<String,String>, String, EndpointRangeDescription, EndpointRangeDescription, Nullable<Int32>)
Initializes a new instance of the NodeTypeDescription class.
public NodeTypeDescription (string name, int clientConnectionEndpointPort, int httpGatewayEndpointPort, bool isPrimary, int vmInstanceCount, System.Collections.Generic.IDictionary<string,string> placementProperties = default, System.Collections.Generic.IDictionary<string,string> capacities = default, string durabilityLevel = default, Microsoft.Azure.Management.ServiceFabric.Models.EndpointRangeDescription applicationPorts = default, Microsoft.Azure.Management.ServiceFabric.Models.EndpointRangeDescription ephemeralPorts = default, int? reverseProxyEndpointPort = default);
new Microsoft.Azure.Management.ServiceFabric.Models.NodeTypeDescription : string * int * int * bool * int * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.ServiceFabric.Models.EndpointRangeDescription * Microsoft.Azure.Management.ServiceFabric.Models.EndpointRangeDescription * Nullable<int> -> Microsoft.Azure.Management.ServiceFabric.Models.NodeTypeDescription
Public Sub New (name As String, clientConnectionEndpointPort As Integer, httpGatewayEndpointPort As Integer, isPrimary As Boolean, vmInstanceCount As Integer, Optional placementProperties As IDictionary(Of String, String) = Nothing, Optional capacities As IDictionary(Of String, String) = Nothing, Optional durabilityLevel As String = Nothing, Optional applicationPorts As EndpointRangeDescription = Nothing, Optional ephemeralPorts As EndpointRangeDescription = Nothing, Optional reverseProxyEndpointPort As Nullable(Of Integer) = Nothing)
Parameters
- name
- String
The name of the node type.
- clientConnectionEndpointPort
- Int32
The TCP cluster management endpoint port.
- httpGatewayEndpointPort
- Int32
The HTTP cluster management endpoint port.
- isPrimary
- Boolean
The node type on which system services will run. Only one node type should be marked as primary. Primary node type cannot be deleted or changed for existing clusters.
- vmInstanceCount
- Int32
The number of nodes in the node type. This count should match the capacity property in the corresponding VirtualMachineScaleSet resource.
- placementProperties
- IDictionary<String,String>
The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run.
- capacities
- IDictionary<String,String>
The capacity tags applied to the nodes in the node type, the cluster resource manager uses these tags to understand how much resource a node has.
- durabilityLevel
- String
The durability level of the node type. Learn about DurabilityLevel.
- Bronze - No privileges. This is the default.
- Silver - The infrastructure jobs can be paused for a duration of
10 minutes per UD.
- Gold - The infrastructure jobs can be paused for a duration of 2
hours per UD. Gold durability can be enabled only on full node VM
skus like D15_V2, G5 etc.
. Possible values include: 'Bronze', 'Silver', 'Gold'
- applicationPorts
- EndpointRangeDescription
The range of ports from which cluster assigned port to Service Fabric applications.
- ephemeralPorts
- EndpointRangeDescription
The range of ephemeral ports that nodes in this node type should be configured with.
Applies to
Azure SDK for .NET