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