class Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError

Definition of the dsc node report error type.

Attributes

error_code[RW]

@return [String] Gets or sets the error code.

error_details[RW]

@return [String] Gets or sets the error details.

error_message[RW]

@return [String] Gets or sets the error message.

error_source[RW]

@return [String] Gets or sets the source of the error.

locale[RW]

@return [String] Gets or sets the locale of the error.

resource_id[RW]

@return [String] Gets or sets the resource ID which generated the error.

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DscReportError',
    type: {
      name: 'Composite',
      class_name: 'DscReportError',
      model_properties: {
        error_source: {
          client_side_validation: true,
          required: false,
          serialized_name: 'errorSource',
          type: {
            name: 'String'
          }
        },
        resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceId',
          type: {
            name: 'String'
          }
        },
        error_code: {
          client_side_validation: true,
          required: false,
          serialized_name: 'errorCode',
          type: {
            name: 'String'
          }
        },
        error_message: {
          client_side_validation: true,
          required: false,
          serialized_name: 'errorMessage',
          type: {
            name: 'String'
          }
        },
        locale: {
          client_side_validation: true,
          required: false,
          serialized_name: 'locale',
          type: {
            name: 'String'
          }
        },
        error_details: {
          client_side_validation: true,
          required: false,
          serialized_name: 'errorDetails',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end