Class: Azure::ServiceFabric::V6_5_0_36::Models::ServicePlacementPolicyDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::ServicePlacementPolicyDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/service_placement_policy_description.rb
Overview
Describes the policy to be used for placement of a Service Fabric service.
Direct Known Subclasses
ServicePlacementInvalidDomainPolicyDescription, ServicePlacementNonPartiallyPlaceServicePolicyDescription, ServicePlacementPreferPrimaryDomainPolicyDescription, ServicePlacementRequireDomainDistributionPolicyDescription, ServicePlacementRequiredDomainPolicyDescription
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#Type ⇒ Object
Returns the value of attribute Type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServicePlacementPolicyDescription class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ServicePlacementPolicyDescription
constructor
A new instance of ServicePlacementPolicyDescription.
Constructor Details
#initialize ⇒ ServicePlacementPolicyDescription
Returns a new instance of ServicePlacementPolicyDescription.
23 24 25 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_placement_policy_description.rb', line 23 def initialize @Type = "ServicePlacementPolicyDescription" end |
Instance Attribute Details
#Type ⇒ Object
Returns the value of attribute Type.
27 28 29 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/service_placement_policy_description.rb', line 27 def Type @Type end |
Class Method Details
.mapper ⇒ Object
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.5.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 |