Sha256: 02ef4a93c314bf34288855f5d370ad734bbb5e9758df1deeddd6d9d3fe47a8ab

Contents?: true

Size: 1.54 KB

Versions: 5

Compression:

Stored size: 1.54 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::Mgmt::V2017_07_01_preview
  module Models
    #
    # Creates a particular correlation between services.
    #
    class ServiceCorrelationDescription

      include MsRestAzure

      # @return [Enum] Possible values include: 'Invalid', 'Affinity',
      # 'AlignedAffinity', 'NonAlignedAffinity'
      attr_accessor :scheme

      # @return [String]
      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_mgmt_service_fabric-0.17.3 lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_correlation_description.rb
azure_mgmt_service_fabric-0.17.2 lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_correlation_description.rb
azure_mgmt_service_fabric-0.17.1 lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_correlation_description.rb
azure_mgmt_service_fabric-0.17.0 lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_correlation_description.rb
azure_mgmt_service_fabric-0.16.0 lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_correlation_description.rb