Class: Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::AzureIaaSVMErrorInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb

Overview

Azure IaaS VM workload-specific error information.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#error_codeInteger

Returns Error code.

Returns:

  • (Integer)

    Error code.



20
21
22
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb', line 20

def error_code
  @error_code
end

#error_stringString

Returns Localized error string.

Returns:

  • (String)

    Localized error string.



26
27
28
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb', line 26

def error_string
  @error_string
end

#error_titleString

Returns Title: typically, the entity associated the error.

Returns:

  • (String)

    Title: typically, the entity associated the error.



23
24
25
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb', line 23

def error_title
  @error_title
end

#recommendationsArray<String>

string.

Returns:

  • (Array<String>)

    List of localized recommendations for the error



30
31
32
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb', line 30

def recommendations
  @recommendations
end

Class Method Details

.mapperObject

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



37
38
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
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb', line 37

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureIaaSVMErrorInfo',
    type: {
      name: 'Composite',
      class_name: 'AzureIaaSVMErrorInfo',
      model_properties: {
        error_code: {
          client_side_validation: true,
          required: false,
          serialized_name: 'errorCode',
          type: {
            name: 'Number'
          }
        },
        error_title: {
          client_side_validation: true,
          required: false,
          serialized_name: 'errorTitle',
          type: {
            name: 'String'
          }
        },
        error_string: {
          client_side_validation: true,
          required: false,
          serialized_name: 'errorString',
          type: {
            name: 'String'
          }
        },
        recommendations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'recommendations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end