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
The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run.
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.
- durability_level
- str or 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. Possible values include: "Bronze", "Silver", "Gold".
- application_ports
- EndpointRangeDescription
The range of ports from which cluster assigned port to Service Fabric applications.
- ephemeral_ports
- EndpointRangeDescription
The range of ephemeral ports that nodes in this node type should be configured with.
- is_primary
- bool
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. 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.
- multiple_availability_zones
- bool
Indicates if the node type is enabled to support multiple zones.
Feedback
Submit and view feedback for