class Azure::ServiceFabric::V6_3_0_9::Models::ServiceCorrelationDescription

Creates a particular correlation between services.

Attributes

scheme[RW]

@return [ServiceCorrelationScheme] The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName. Possible values include: 'Invalid', 'Affinity', 'AlignedAffinity', 'NonAlignedAffinity'

service_name[RW]

@return [String] The name of the service that the correlation relationship is established with.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.3.0.9/generated/azure_service_fabric/models/service_correlation_description.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServiceCorrelationDescription',
    type: {
      name: 'Composite',
      class_name: 'ServiceCorrelationDescription',
      model_properties: {
        scheme: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Scheme',
          type: {
            name: 'String'
          }
        },
        service_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ServiceName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end