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>, SystemData, String, IDictionary<String,String>, IDictionary<String, String>, EndpointRangeDescription, EndpointRangeDescription, String, String, String, String, String, IList<VaultSecretGroup>, IList<VMSSExtension>, VmManagedIdentity, Nullable<Boolean>, Nullable<Boolean>, 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>, SystemData, String, IDictionary<String,String>, IDictionary<String, String>, EndpointRangeDescription, EndpointRangeDescription, String, String, String, String, String, IList<VaultSecretGroup>, IList<VMSSExtension>, VmManagedIdentity, Nullable<Boolean>, Nullable<Boolean>, 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, Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.SystemData systemData = default, string dataDiskType = default, System.Collections.Generic.IDictionary<string,string> placementProperties = default, System.Collections.Generic.IDictionary<string,string> capacities = default, Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.EndpointRangeDescription applicationPorts = default, Microsoft.Azure.Management.ServiceFabricManagedClusters.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.ServiceFabricManagedClusters.Models.VaultSecretGroup> vmSecrets = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.VMSSExtension> vmExtensions = default, Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.VmManagedIdentity vmManagedIdentity = default, bool? isStateless = default, bool? multiplePlacementGroups = default, string provisioningState = default);
new Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.NodeType : bool * int * int * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.SystemData * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.EndpointRangeDescription * Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.EndpointRangeDescription * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.VaultSecretGroup> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.VMSSExtension> * Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.VmManagedIdentity * Nullable<bool> * Nullable<bool> * string -> Microsoft.Azure.Management.ServiceFabricManagedClusters.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 systemData As SystemData = Nothing, Optional dataDiskType As 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 vmManagedIdentity As VmManagedIdentity = Nothing, Optional isStateless As Nullable(Of Boolean) = Nothing, Optional multiplePlacementGroups As Nullable(Of Boolean) = 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.
- 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.
- systemData
- SystemData
- dataDiskType
- String
Possible values include: 'Standard_LRS', 'StandardSSD_LRS', 'Premium_LRS'
- 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.
- vmManagedIdentity
- VmManagedIdentity
Indicates if scale set associated with the node type can be composed of multiple placement groups.
- 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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin