Sha256: 63eb772a87d8ee171db225bfd022ee07559e61a360064ba56a79ec206a20c331

Contents?: true

Size: 1.16 KB

Versions: 5

Compression:

Stored size: 1.16 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
    #
    # Describes the policy to be used for placement of a Service Fabric
    # service.
    #
    class ServicePlacementPolicyDescription

      include MsRestAzure

      @@discriminatorMap = Hash.new

      def initialize
        @Type = "ServicePlacementPolicyDescription"
      end

      attr_accessor :Type


      #
      # Mapper for ServicePlacementPolicyDescription class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServicePlacementPolicyDescription',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'Type',
            uber_parent: 'ServicePlacementPolicyDescription',
            class_name: 'ServicePlacementPolicyDescription',
            model_properties: {
            }
          }
        }
      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_placement_policy_description.rb
azure_mgmt_service_fabric-0.17.2 lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_placement_policy_description.rb
azure_mgmt_service_fabric-0.17.1 lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_placement_policy_description.rb
azure_mgmt_service_fabric-0.17.0 lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_placement_policy_description.rb
azure_mgmt_service_fabric-0.16.0 lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_placement_policy_description.rb