Sha256: 058371edc080586761cc1360e2023f3f29c9eac6c0487bd31b3e82c9e49eeb5e

Contents?: true

Size: 1.69 KB

Versions: 5

Compression:

Stored size: 1.69 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_2_0_9
  module Models
    #
    # Defines an item in ApplicationHealthPolicyMap.
    #
    class ApplicationHealthPolicyMapItem

      include MsRestAzure

      # @return [String] The key of the application health policy map item.
      # This is the name of the application.
      attr_accessor :key

      # @return [ApplicationHealthPolicy] The value of the application health
      # policy map item. This is the ApplicationHealthPolicy for this
      # application.
      attr_accessor :value


      #
      # Mapper for ApplicationHealthPolicyMapItem class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationHealthPolicyMapItem',
          type: {
            name: 'Composite',
            class_name: 'ApplicationHealthPolicyMapItem',
            model_properties: {
              key: {
                client_side_validation: true,
                required: true,
                serialized_name: 'Key',
                type: {
                  name: 'String'
                }
              },
              value: {
                client_side_validation: true,
                required: true,
                serialized_name: 'Value',
                type: {
                  name: 'Composite',
                  class_name: 'ApplicationHealthPolicy'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.2.0.9/generated/azure_service_fabric/models/application_health_policy_map_item.rb
azure_service_fabric-0.18.0 lib/6.2.0.9/generated/azure_service_fabric/models/application_health_policy_map_item.rb
azure_service_fabric-0.17.2 lib/6.2.0.9/generated/azure_service_fabric/models/application_health_policy_map_item.rb
azure_service_fabric-0.17.1 lib/6.2.0.9/generated/azure_service_fabric/models/application_health_policy_map_item.rb
azure_service_fabric-0.17.0 lib/6.2.0.9/generated/azure_service_fabric/models/application_health_policy_map_item.rb