NodeType 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
NodeType() |
Initializes a new instance of the NodeType class. |
NodeType(Boolean, Int32, Int32, String, String, String, IDictionary<String, String>, IDictionary<String,String>, IDictionary<String,String>, EndpointRangeDescription, EndpointRangeDescription, String, String, String, String, String, IList<VaultSecretGroup>, IList<VMSSExtension>, String) |
Initializes a new instance of the NodeType class. |
NodeType()
Initializes a new instance of the NodeType class.
public NodeType ();
Public Sub New ()
Applies to
NodeType(Boolean, Int32, Int32, String, String, String, IDictionary<String, String>, IDictionary<String,String>, IDictionary<String,String>, EndpointRangeDescription, EndpointRangeDescription, String, String, String, String, String, IList<VaultSecretGroup>, IList<VMSSExtension>, String)
Initializes a new instance of the NodeType class.
public NodeType (bool isPrimary, int vmInstanceCount, int dataDiskSizeGB, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IDictionary<string,string> placementProperties = default, System.Collections.Generic.IDictionary<string,string> capacities = default, Microsoft.Azure.Management.ServiceFabric.Models.EndpointRangeDescription applicationPorts = default, Microsoft.Azure.Management.ServiceFabric.Models.EndpointRangeDescription ephemeralPorts = default, string vmSize = default, string vmImagePublisher = default, string vmImageOffer = default, string vmImageSku = default, string vmImageVersion = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.VaultSecretGroup> vmSecrets = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.VMSSExtension> vmExtensions = default, string provisioningState = default);
new Microsoft.Azure.Management.ServiceFabric.Models.NodeType : bool * int * int * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ServiceFabric.Models.EndpointRangeDescription * Microsoft.Azure.Management.ServiceFabric.Models.EndpointRangeDescription * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.VaultSecretGroup> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.VMSSExtension> * string -> Microsoft.Azure.Management.ServiceFabric.Models.NodeType
Public Sub New (isPrimary As Boolean, vmInstanceCount As Integer, dataDiskSizeGB As Integer, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional placementProperties As IDictionary(Of String, String) = Nothing, Optional capacities As IDictionary(Of String, String) = Nothing, Optional applicationPorts As EndpointRangeDescription = Nothing, Optional ephemeralPorts As EndpointRangeDescription = Nothing, Optional vmSize As String = Nothing, Optional vmImagePublisher As String = Nothing, Optional vmImageOffer As String = Nothing, Optional vmImageSku As String = Nothing, Optional vmImageVersion As String = Nothing, Optional vmSecrets As IList(Of VaultSecretGroup) = Nothing, Optional vmExtensions As IList(Of VMSSExtension) = Nothing, Optional provisioningState As String = Nothing)
Parameters
- 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.
- dataDiskSizeGB
- Int32
Disk size for each vm in the node type in GBs.
- id
- String
Azure resource identifier.
- name
- String
Azure resource name.
- type
- String
Azure resource type.
- tags
- IDictionary<String,String>
Azure resource tags.
- 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.
- 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.
- vmSize
- String
The size of virtual machines in the pool. All virtual machines in a pool are the same size. For example, Standard_D3.
- vmImagePublisher
- String
The publisher of the Azure Virtual Machines Marketplace image. For example, Canonical or MicrosoftWindowsServer.
- vmImageOffer
- String
The offer type of the Azure Virtual Machines Marketplace image. For example, UbuntuServer or WindowsServer.
- vmImageSku
- String
The SKU of the Azure Virtual Machines Marketplace image. For example, 14.04.0-LTS or 2012-R2-Datacenter.
- vmImageVersion
- String
The version of the Azure Virtual Machines Marketplace image. A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- vmSecrets
- IList<VaultSecretGroup>
virtual machine secretes.
- vmExtensions
- IList<VMSSExtension>
virtual machine extensions.
- provisioningState
- String
The provisioning state of the managed cluster resource. Possible values include: 'None', 'Creating', 'Created', 'Updating', 'Succeeded', 'Failed', 'Canceled', 'Deleting', 'Deleted', 'Other'
Applies to
Azure SDK for .NET