Condividi tramite


ClusterNodeTypeDescription Class

Definition

Describes a node type in the cluster, each node type represents sub set of nodes in the cluster.

public class ClusterNodeTypeDescription
public class ClusterNodeTypeDescription : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabric.Models.ClusterNodeTypeDescription>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabric.Models.ClusterNodeTypeDescription>
type ClusterNodeTypeDescription = class
type ClusterNodeTypeDescription = class
    interface IJsonModel<ClusterNodeTypeDescription>
    interface IPersistableModel<ClusterNodeTypeDescription>
Public Class ClusterNodeTypeDescription
Public Class ClusterNodeTypeDescription
Implements IJsonModel(Of ClusterNodeTypeDescription), IPersistableModel(Of ClusterNodeTypeDescription)
Inheritance
ClusterNodeTypeDescription
Implements

Constructors

ClusterNodeTypeDescription(String, Int32, Int32, Boolean, Int32)

Initializes a new instance of ClusterNodeTypeDescription.

Properties

ApplicationPorts

The range of ports from which cluster assigned port to Service Fabric applications.

Capacities

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.

ClientConnectionEndpointPort

The TCP cluster management endpoint port.

DurabilityLevel

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.
EphemeralPorts

The range of ephemeral ports that nodes in this node type should be configured with.

HttpGatewayEndpointPort

The HTTP cluster management endpoint port.

HttpGatewayTokenAuthEndpointPort

The port used for token-auth based HTTPS connections to the cluster. Cannot be set to the same port as HttpGatewayEndpoint.

IsMultipleAvailabilityZonesSupported

Indicates if the node type is enabled to support multiple zones.

IsPrimary

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.

IsStateless

Indicates if the node type can only host Stateless workloads.

Name

The name of the node type.

PlacementProperties

The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run.

ReverseProxyEndpointPort

The endpoint used by reverse proxy.

VmInstanceCount

VMInstanceCount should be 1 to n, where n indicates the number of VM instances corresponding to this nodeType. VMInstanceCount = 0 can be done only in these scenarios: NodeType is a secondary nodeType. Durability = Bronze or Durability >= Bronze and InfrastructureServiceManager = true. If VMInstanceCount = 0, implies the VMs for this nodeType will not be used for the initial cluster size computation.

Explicit Interface Implementations

IJsonModel<ClusterNodeTypeDescription>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ClusterNodeTypeDescription>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ClusterNodeTypeDescription>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClusterNodeTypeDescription>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ClusterNodeTypeDescription>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to