class Azure::ServiceFabric::V6_2_0_9::Models::ServicePlacementRequiredDomainPolicyDescription
Describes the policy to be used for placement of a Service Fabric service where the instances or replicas of that service must be placed in a particular domain
Attributes
Type[RW]
domain_name[RW]
@return [String] The name of the domain that should used for placement as per this policy.
Public Class Methods
mapper()
click to toggle source
Mapper for ServicePlacementRequiredDomainPolicyDescription
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.2.0.9/generated/azure_service_fabric/models/service_placement_required_domain_policy_description.rb, line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RequiredDomain', type: { name: 'Composite', class_name: 'ServicePlacementRequiredDomainPolicyDescription', model_properties: { Type: { client_side_validation: true, required: true, serialized_name: 'Type', type: { name: 'String' } }, domain_name: { client_side_validation: true, required: false, serialized_name: 'DomainName', type: { name: 'String' } } } } } end
new()
click to toggle source
# File lib/6.2.0.9/generated/azure_service_fabric/models/service_placement_required_domain_policy_description.rb, line 18 def initialize @Type = "RequiredDomain" end