Sha256: 0728836701bad2687e4c2a69d60a596e1b2f849e48acaadf4720997567514b4c

Contents?: true

Size: 1.81 KB

Versions: 2

Compression:

Stored size: 1.81 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::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10
  module Models
    #
    # Base class to define the health summary of the resources contained under
    # an Arm resource.
    #
    class ResourceHealthSummary

      include MsRestAzure

      # @return [Integer] The count of total resources umder the container.
      attr_accessor :resource_count

      # @return [Array<HealthErrorSummary>] The list of summary of health
      # errors across the resources under the container.
      attr_accessor :issues


      #
      # Mapper for ResourceHealthSummary class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'ResourceHealthSummary',
          type: {
            name: 'Composite',
            class_name: 'ResourceHealthSummary',
            model_properties: {
              resource_count: {
                required: false,
                serialized_name: 'resourceCount',
                type: {
                  name: 'Number'
                }
              },
              issues: {
                required: false,
                serialized_name: 'issues',
                type: {
                  name: 'Sequence',
                  element: {
                      required: false,
                      serialized_name: 'HealthErrorSummaryElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'HealthErrorSummary'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services_site_recovery-0.15.1 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/resource_health_summary.rb
azure_mgmt_recovery_services_site_recovery-0.15.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/resource_health_summary.rb