Sha256: 6ca207d526ac5f0480d723b2a602fbb1f1bd0a0cdd169cf05e132ea4e6abc37f

Contents?: true

Size: 1.76 KB

Versions: 2

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::V7_0_0_42
  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

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/service_correlation_description.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/service_correlation_description.rb