Class: Azure::ServiceFabric::V6_3_0_9::Models::ServicePlacementPolicyDescription

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/service_placement_policy_description.rb

Overview

Describes the policy to be used for placement of a Service Fabric service.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeServicePlacementPolicyDescription

Returns a new instance of ServicePlacementPolicyDescription.



23
24
25
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_placement_policy_description.rb', line 23

def initialize
  @Type = "ServicePlacementPolicyDescription"
end

Instance Attribute Details

#TypeObject

Returns the value of attribute Type.



27
28
29
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_placement_policy_description.rb', line 27

def Type
  @Type
end

Class Method Details

.mapperObject

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



34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_placement_policy_description.rb', line 34

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