class Azure::Resources::Mgmt::V2019_03_01::Models::ResourceManagementErrorWithDetails

The detailed error message of resource management.

Attributes

code[RW]

@return [String] The error code returned when exporting the template.

details[RW]

@return [Array<ResourceManagementErrorWithDetails>] Validation error.

message[RW]

@return [String] The error message describing the export error.

target[RW]

@return [String] The target of the error.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-03-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ResourceManagementErrorWithDetails',
    type: {
      name: 'Composite',
      class_name: 'ResourceManagementErrorWithDetails',
      model_properties: {
        code: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'code',
          type: {
            name: 'String'
          }
        },
        message: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        },
        target: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'target',
          type: {
            name: 'String'
          }
        },
        details: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'details',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ResourceManagementErrorWithDetailsElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ResourceManagementErrorWithDetails'
                }
            }
          }
        }
      }
    }
  }
end