Class: Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource

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

Overview

Definition of the DSC Report Resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#depends_onArray<DscReportResourceNavigation>

Navigation values for resources the resource depends on.

Returns:



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

def depends_on
  @depends_on
end

#duration_in_secondsFloat

Returns Gets or sets the duration in seconds for the resource.

Returns:

  • (Float)

    Gets or sets the duration in seconds for the resource.



41
42
43
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource.rb', line 41

def duration_in_seconds
  @duration_in_seconds
end

#errorString

Returns Gets or sets the error of the resource.

Returns:

  • (String)

    Gets or sets the error of the resource.



35
36
37
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource.rb', line 35

def error
  @error
end

#module_nameString

Returns Gets or sets the module name of the resource.

Returns:

  • (String)

    Gets or sets the module name of the resource.



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

def module_name
  @module_name
end

#module_versionString

Returns Gets or sets the module version of the resource.

Returns:

  • (String)

    Gets or sets the module version of the resource.



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

def module_version
  @module_version
end

#resource_idString

Returns Gets or sets the ID of the resource.

Returns:

  • (String)

    Gets or sets the ID of the resource.



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

def resource_id
  @resource_id
end

#resource_nameString

Returns Gets or sets the name of the resource.

Returns:

  • (String)

    Gets or sets the name of the resource.



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

def resource_name
  @resource_name
end

#source_infoString

Returns Gets or sets the source info of the resource.

Returns:

  • (String)

    Gets or sets the source info of the resource.



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

def source_info
  @source_info
end

#start_dateDateTime

Returns Gets or sets the start date of the resource.

Returns:

  • (DateTime)

    Gets or sets the start date of the resource.



44
45
46
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource.rb', line 44

def start_date
  @start_date
end

#statusString

Returns Gets or sets the status of the resource.

Returns:

  • (String)

    Gets or sets the status of the resource.



38
39
40
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource.rb', line 38

def status
  @status
end

Class Method Details

.mapperObject

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



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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource.rb', line 51

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DscReportResource',
    type: {
      name: 'Composite',
      class_name: 'DscReportResource',
      model_properties: {
        resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceId',
          type: {
            name: 'String'
          }
        },
        source_info: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sourceInfo',
          type: {
            name: 'String'
          }
        },
        depends_on: {
          client_side_validation: true,
          required: false,
          serialized_name: 'dependsOn',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'DscReportResourceNavigationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'DscReportResourceNavigation'
                }
            }
          }
        },
        module_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'moduleName',
          type: {
            name: 'String'
          }
        },
        module_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'moduleVersion',
          type: {
            name: 'String'
          }
        },
        resource_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceName',
          type: {
            name: 'String'
          }
        },
        error: {
          client_side_validation: true,
          required: false,
          serialized_name: 'error',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        duration_in_seconds: {
          client_side_validation: true,
          required: false,
          serialized_name: 'durationInSeconds',
          type: {
            name: 'Double'
          }
        },
        start_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'startDate',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end