class Azure::ServiceFabric::Mgmt::V2016_09_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] Ports used by 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 of a resource a node has

client_connection_endpoint_port[RW]

@return [Integer] The TCP cluster management endpoint port

durability_level[RW]

@return [Enum] Nodetype durability Level. Possible values include: 'Bronze', 'Silver', 'Gold'

ephemeral_ports[RW]

@return [EndpointRangeDescription] System assgined application ports

http_gateway_endpoint_port[RW]

@return [Integer] The HTTP cluster management endpoint port

is_primary[RW]

@return [Boolean] Mark this as the primary node type

name[RW]

@return [String] 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] Endpoint used by reverse proxy

vm_instance_count[RW]

@return [Integer] The number of node instances in the node type

Public Class Methods

mapper() click to toggle source

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

# File lib/2016-09-01/generated/azure_mgmt_service_fabric/models/node_type_description.rb, line 59
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