class Azure::ServiceFabric::V7_0_0_42::Models::EndpointProperties
Describes a container endpoint.
Attributes
name[RW]
@return [String] The name of the endpoint.
port[RW]
@return [Integer] Port used by the container.
Private Class Methods
mapper()
click to toggle source
Mapper for EndpointProperties
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/7.0.0.42/generated/azure_service_fabric/models/endpoint_properties.rb, line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EndpointProperties', type: { name: 'Composite', class_name: 'EndpointProperties', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, port: { client_side_validation: true, required: false, serialized_name: 'port', type: { name: 'Number' } } } } } end