class Azure::ServiceFabric::V7_0_0_42::Models::ResolvedServiceEndpoint

Endpoint of a resolved service partition.

Attributes

address[RW]

@return [String] The address of the endpoint. If the endpoint has multiple listeners the address is a JSON object with one property per listener with the value as the address of that listener.

kind[RW]

@return [ServiceEndpointRole] The role of the replica where the endpoint is reported. Possible values include: 'Invalid', 'Stateless', 'StatefulPrimary', 'StatefulSecondary'

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/generated/azure_service_fabric/models/resolved_service_endpoint.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ResolvedServiceEndpoint',
    type: {
      name: 'Composite',
      class_name: 'ResolvedServiceEndpoint',
      model_properties: {
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Kind',
          type: {
            name: 'String'
          }
        },
        address: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Address',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end