class Azure::ServiceFabric::V6_5_0_36::Models::ServicePlacementNonPartiallyPlaceServicePolicyDescription

Describes the policy to be used for placement of a Service Fabric service where all replicas must be able to be placed in order for any replicas to be created.

Attributes

Type[RW]

Public Class Methods

mapper() click to toggle source

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

# File lib/6.5.0.36/generated/azure_service_fabric/models/service_placement_non_partially_place_service_policy_description.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NonPartiallyPlaceService',
    type: {
      name: 'Composite',
      class_name: 'ServicePlacementNonPartiallyPlaceServicePolicyDescription',
      model_properties: {
        Type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/6.5.0.36/generated/azure_service_fabric/models/service_placement_non_partially_place_service_policy_description.rb, line 18
def initialize
  @Type = "NonPartiallyPlaceService"
end