class Azure::ServiceFabric::V7_0_0_42::Models::ResolvedServicePartition

Information about a service partition and its associated endpoints.

Attributes

endpoints[RW]

@return [Array<ResolvedServiceEndpoint>] List of resolved service endpoints of a service partition.

name[RW]

@return [String] The full name of the service with 'fabric:' URI scheme.

partition_information[RW]

@return [PartitionInformation] A representation of the resolved partition.

version[RW]

@return [String] The version of this resolved service partition result. This version should be passed in the next time the ResolveService call is made via the PreviousRspVersion query parameter.

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/generated/azure_service_fabric/models/resolved_service_partition.rb, line 37
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ResolvedServicePartition',
    type: {
      name: 'Composite',
      class_name: 'ResolvedServicePartition',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        partition_information: {
          client_side_validation: true,
          required: true,
          serialized_name: 'PartitionInformation',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'ServicePartitionKind',
            uber_parent: 'PartitionInformation',
            class_name: 'PartitionInformation'
          }
        },
        endpoints: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Endpoints',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ResolvedServiceEndpointElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ResolvedServiceEndpoint'
                }
            }
          }
        },
        version: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Version',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end