Sha256: ff2e677f747a64e8e49a98f8a682e6a2746f42f3f07d7131a08876994740ef58

Contents?: true

Size: 1.41 KB

Versions: 3

Compression:

Stored size: 1.41 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::V6_5_0_36
  module Models
    #
    # 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.
    #
    class ServicePlacementNonPartiallyPlaceServicePolicyDescription < ServicePlacementPolicyDescription

      include MsRestAzure


      def initialize
        @Type = "NonPartiallyPlaceService"
      end

      attr_accessor :Type


      #
      # Mapper for ServicePlacementNonPartiallyPlaceServicePolicyDescription
      # class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.5.0.36/generated/azure_service_fabric/models/service_placement_non_partially_place_service_policy_description.rb
azure_service_fabric-0.18.0 lib/6.5.0.36/generated/azure_service_fabric/models/service_placement_non_partially_place_service_policy_description.rb
azure_service_fabric-0.17.2 lib/6.5.0.36/generated/azure_service_fabric/models/service_placement_non_partially_place_service_policy_description.rb