class Azure::ServiceFabric::Mgmt::V2018_02_01::Models::NodeTypeDescription

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

Attributes

application_ports[RW]

@return [EndpointRangeDescription] The range of ports from which cluster assigned port to Service Fabric applications.

capacities[RW]

@return [Hash{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.

client_connection_endpoint_port[RW]

@return [Integer] The TCP cluster management endpoint port.

durability_level[RW]

@return [Enum] The durability level of the node type. Learn about [DurabilityLevel](docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).

  • 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'

ephemeral_ports[RW]

@return [EndpointRangeDescription] The range of empheral ports that nodes in this node type should be configured with.

http_gateway_endpoint_port[RW]

@return [Integer] The HTTP cluster management endpoint port.

is_primary[RW]

@return [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.

name[RW]

@return [String] The name of the node type.

placement_properties[RW]

@return [Hash{String => String}] The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run.

reverse_proxy_endpoint_port[RW]

@return [Integer] The endpoint used by reverse proxy.

vm_instance_count[RW]

@return [Integer] The number of nodes in the node type. This count should match the capacity property in the corresponding VirtualMachineScaleSet resource.

Private Class Methods

mapper() click to toggle source

Mapper for NodeTypeDescription class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-02-01/generated/azure_mgmt_service_fabric/models/node_type_description.rb, line 73
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NodeTypeDescription',
    type: {
      name: 'Composite',
      class_name: 'NodeTypeDescription',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        placement_properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'placementProperties',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        capacities: {
          client_side_validation: true,
          required: false,
          serialized_name: 'capacities',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        client_connection_endpoint_port: {
          client_side_validation: true,
          required: true,
          serialized_name: 'clientConnectionEndpointPort',
          type: {
            name: 'Number'
          }
        },
        http_gateway_endpoint_port: {
          client_side_validation: true,
          required: true,
          serialized_name: 'httpGatewayEndpointPort',
          type: {
            name: 'Number'
          }
        },
        durability_level: {
          client_side_validation: true,
          required: false,
          serialized_name: 'durabilityLevel',
          type: {
            name: 'String'
          }
        },
        application_ports: {
          client_side_validation: true,
          required: false,
          serialized_name: 'applicationPorts',
          type: {
            name: 'Composite',
            class_name: 'EndpointRangeDescription'
          }
        },
        ephemeral_ports: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ephemeralPorts',
          type: {
            name: 'Composite',
            class_name: 'EndpointRangeDescription'
          }
        },
        is_primary: {
          client_side_validation: true,
          required: true,
          serialized_name: 'isPrimary',
          type: {
            name: 'Boolean'
          }
        },
        vm_instance_count: {
          client_side_validation: true,
          required: true,
          serialized_name: 'vmInstanceCount',
          constraints: {
            InclusiveMaximum: 2147483647,
            InclusiveMinimum: 1
          },
          type: {
            name: 'Number'
          }
        },
        reverse_proxy_endpoint_port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'reverseProxyEndpointPort',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end