Class: Azure::Labservices::Mgmt::V2018_10_15::Models::NetworkInterface
- Inherits:
-
Object
- Object
- Azure::Labservices::Mgmt::V2018_10_15::Models::NetworkInterface
- 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
-
#private_ip_address ⇒ String
PrivateIp address of the Compute VM.
-
#rdp_authority ⇒ String
Connection information for Windows.
-
#ssh_authority ⇒ String
Connection information for Linux.
-
#username ⇒ String
Username of the VM.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NetworkInterface class as Ruby Hash.
Instance Attribute Details
#private_ip_address ⇒ String
Returns 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_authority ⇒ String
Returns 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 end |
#ssh_authority ⇒ String
Returns 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 end |
#username ⇒ String
Returns 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
.mapper ⇒ Object
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 |