Class: Azure::Compute::Mgmt::V2018_04_01::Models::VirtualMachineCaptureResult

Inherits:
SubResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb

Overview

Output of virtual machine capture operation.

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id

Class Method Summary collapse

Instance Attribute Details

#content_versionString

Returns the version of the content.

Returns:

  • (String)

    the version of the content



19
20
21
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb', line 19

def content_version
  @content_version
end

#parametersObject

Returns parameters of the captured virtual machine.

Returns:

  • parameters of the captured virtual machine



22
23
24
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb', line 22

def parameters
  @parameters
end

#resourcesObject

Returns a list of resource items of the captured virtual machine.

Returns:

  • a list of resource items of the captured virtual machine



25
26
27
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb', line 25

def resources
  @resources
end

#schemaString

Returns the schema of the captured virtual machine.

Returns:

  • (String)

    the schema of the captured virtual machine



16
17
18
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb', line 16

def schema
  @schema
end

Class Method Details

.mapperObject

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



32
33
34
35
36
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
90
91
92
93
94
95
96
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualMachineCaptureResult',
    type: {
      name: 'Composite',
      class_name: 'VirtualMachineCaptureResult',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        schema: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: '$schema',
          type: {
            name: 'String'
          }
        },
        content_version: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'contentVersion',
          type: {
            name: 'String'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'parameters',
          type: {
            name: 'Object'
          }
        },
        resources: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'resources',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        }
      }
    }
  }
end