Class: Azure::Compute::Mgmt::V2019_11_01::Models::ShareInfoElement

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_compute/models/share_info_element.rb

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#vm_uriString

the disk attached.

Returns:

  • (String)

    A relative URI containing the ID of the VM that has



18
19
20
# File 'lib/2019-11-01/generated/azure_mgmt_compute/models/share_info_element.rb', line 18

def vm_uri
  @vm_uri
end

Class Method Details

.mapperObject

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



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# File 'lib/2019-11-01/generated/azure_mgmt_compute/models/share_info_element.rb', line 25

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ShareInfoElement',
    type: {
      name: 'Composite',
      class_name: 'ShareInfoElement',
      model_properties: {
        vm_uri: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'vmUri',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end