NodeTypeDescription Class

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

All required parameters must be populated in order to send to Azure.

Inheritance
NodeTypeDescription

Constructor

NodeTypeDescription(*, name: str, client_connection_endpoint_port: int, http_gateway_endpoint_port: int, is_primary: bool, vm_instance_count: int, placement_properties: Optional[Dict[str, str]] = None, capacities: Optional[Dict[str, str]] = None, durability_level: Optional[Union[str, azure.mgmt.servicefabric.models._service_fabric_management_client_enums.DurabilityLevel]] = None, application_ports: Optional[azure.mgmt.servicefabric.models._models_py3.EndpointRangeDescription] = None, ephemeral_ports: Optional[azure.mgmt.servicefabric.models._models_py3.EndpointRangeDescription] = None, reverse_proxy_endpoint_port: Optional[int] = None, is_stateless: Optional[bool] = None, multiple_availability_zones: Optional[bool] = None, **kwargs)

Parameters

name
str
Required

Required. The name of the node type.

placement_properties
dict[str, str]
Required

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

capacities
dict[str, str]
Required

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.

client_connection_endpoint_port
int
Required

Required. The TCP cluster management endpoint port.

http_gateway_endpoint_port
int
Required

Required. The HTTP cluster management endpoint port.

durability_level
str or DurabilityLevel
Required

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

application_ports
EndpointRangeDescription
Required

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

ephemeral_ports
EndpointRangeDescription
Required

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

is_primary
bool
Required

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

vm_instance_count
int
Required

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

reverse_proxy_endpoint_port
int
Required

The endpoint used by reverse proxy.

is_stateless
bool
Required

Indicates if the node type can only host Stateless workloads.

multiple_availability_zones
bool
Required

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