Class: Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb

Overview

Definition of the dsc node report error type.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#error_codeString

Returns Gets or sets the error code.

Returns:

  • (String)

    Gets or sets the error code.



23
24
25
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb', line 23

def error_code
  @error_code
end

#error_detailsString

Returns Gets or sets the error details.

Returns:

  • (String)

    Gets or sets the error details.



32
33
34
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb', line 32

def error_details
  @error_details
end

#error_messageString

Returns Gets or sets the error message.

Returns:

  • (String)

    Gets or sets the error message.



26
27
28
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb', line 26

def error_message
  @error_message
end

#error_sourceString

Returns Gets or sets the source of the error.

Returns:

  • (String)

    Gets or sets the source of the error.



16
17
18
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb', line 16

def error_source
  @error_source
end

#localeString

Returns Gets or sets the locale of the error.

Returns:

  • (String)

    Gets or sets the locale of the error.



29
30
31
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb', line 29

def locale
  @locale
end

#resource_idString

error.

Returns:

  • (String)

    Gets or sets the resource ID which generated the



20
21
22
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb', line 20

def resource_id
  @resource_id
end

Class Method Details

.mapperObject

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



39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# 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