class Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePlacementPolicyDescription
Describes the policy to be used for placement of a Service
Fabric service.
Attributes
Type[RW]
Private Class Methods
mapper()
click to toggle source
Mapper for ServicePlacementPolicyDescription
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_placement_policy_description.rb, line 29 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
new()
click to toggle source
# File lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_placement_policy_description.rb, line 18 def initialize @Type = "ServicePlacementPolicyDescription" end