# 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 # # class to define the summary of the health error details. # class HealthErrorSummary include MsRestAzure # @return [String] The code of the health error. attr_accessor :summary_code # @return [HealthErrorCategory] The category of the health error. # Possible values include: 'Replication', 'TestFailover', 'Configuration' attr_accessor :category # @return [Severity] Severity of error. Possible values include: 'NONE', # 'Warning', 'Error', 'Info' attr_accessor :severity # @return [String] The summary message of the health error. attr_accessor :summary_message # @return [String] The type of affected ARM resource. attr_accessor :affected_resource_type # @return [String] The sub type of any subcomponent within the ARM # resource that this might be applicable. Value remains null if not # applicable. attr_accessor :affected_resource_subtype # @return [Array] The list of affected resource correlation Ids. # This can be used to uniquely identify the count of items affected by a # specific category and severity as well as count of item affected by an # specific issue. attr_accessor :affected_resource_correlation_ids # # Mapper for HealthErrorSummary class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'HealthErrorSummary', type: { name: 'Composite', class_name: 'HealthErrorSummary', model_properties: { summary_code: { required: false, serialized_name: 'summaryCode', type: { name: 'String' } }, category: { required: false, serialized_name: 'category', type: { name: 'Enum', module: 'HealthErrorCategory' } }, severity: { required: false, serialized_name: 'severity', type: { name: 'Enum', module: 'Severity' } }, summary_message: { required: false, serialized_name: 'summaryMessage', type: { name: 'String' } }, affected_resource_type: { required: false, serialized_name: 'affectedResourceType', type: { name: 'String' } }, affected_resource_subtype: { required: false, serialized_name: 'affectedResourceSubtype', type: { name: 'String' } }, affected_resource_correlation_ids: { required: false, serialized_name: 'affectedResourceCorrelationIds', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end end end end