Sha256: 7d068ce8d8ca82c70381ecb41ef3f9f93a6fcb40133ccf14d2822ea561854c1e

Contents?: true

Size: 1.76 KB

Versions: 5

Compression:

Stored size: 1.76 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::V6_2_0_9
  module Models
    #
    # Creates a particular correlation between services.
    #
    class ServiceCorrelationDescription

      include MsRestAzure

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

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


      #
      # Mapper for ServiceCorrelationDescription class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.2.0.9/generated/azure_service_fabric/models/service_correlation_description.rb
azure_service_fabric-0.18.0 lib/6.2.0.9/generated/azure_service_fabric/models/service_correlation_description.rb
azure_service_fabric-0.17.2 lib/6.2.0.9/generated/azure_service_fabric/models/service_correlation_description.rb
azure_service_fabric-0.17.1 lib/6.2.0.9/generated/azure_service_fabric/models/service_correlation_description.rb
azure_service_fabric-0.17.0 lib/6.2.0.9/generated/azure_service_fabric/models/service_correlation_description.rb