Class: Azure::Labservices::Mgmt::V2018_10_15::Models::NetworkInterface

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-10-15/generated/azure_mgmt_labservices/models/network_interface.rb

Overview

Network details of the environment

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#private_ip_addressString

Returns PrivateIp address of the Compute VM.

Returns:

  • (String)

    PrivateIp address of the Compute VM



16
17
18
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/network_interface.rb', line 16

def private_ip_address
  @private_ip_address
end

#rdp_authorityString

Returns Connection information for Windows.

Returns:

  • (String)

    Connection information for Windows



22
23
24
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/network_interface.rb', line 22

def rdp_authority
  @rdp_authority
end

#ssh_authorityString

Returns Connection information for Linux.

Returns:

  • (String)

    Connection information for Linux



19
20
21
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/network_interface.rb', line 19

def ssh_authority
  @ssh_authority
end

#usernameString

Returns Username of the VM.

Returns:

  • (String)

    Username of the VM



25
26
27
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/network_interface.rb', line 25

def username
  @username
end

Class Method Details

.mapperObject

Mapper for NetworkInterface 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
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/network_interface.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NetworkInterface',
    type: {
      name: 'Composite',
      class_name: 'NetworkInterface',
      model_properties: {
        private_ip_address: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'privateIpAddress',
          type: {
            name: 'String'
          }
        },
        ssh_authority: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'sshAuthority',
          type: {
            name: 'String'
          }
        },
        rdp_authority: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'rdpAuthority',
          type: {
            name: 'String'
          }
        },
        username: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'username',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end