class Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NetworkInterfacePropertiesFragment

Properties of a network interface.

Attributes

dns_name[RW]

@return [String] The DNS name.

private_ip_address[RW]

@return [String] The private IP address.

public_ip_address[RW]

@return [String] The public IP address.

public_ip_address_id[RW]

@return [String] The resource ID of the public IP address.

rdp_authority[RW]

@return [String] The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).

shared_public_ip_address_configuration[RW]

@return [SharedPublicIpAddressConfigurationFragment] The configuration for sharing a public IP address across multiple virtual machines.

ssh_authority[RW]

@return [String] The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.

subnet_id[RW]

@return [String] The resource ID of the sub net.

virtual_network_id[RW]

@return [String] The resource ID of the virtual network.

Public Class Methods

mapper() click to toggle source

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

# File lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties_fragment.rb, line 51
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NetworkInterfacePropertiesFragment',
    type: {
      name: 'Composite',
      class_name: 'NetworkInterfacePropertiesFragment',
      model_properties: {
        virtual_network_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'virtualNetworkId',
          type: {
            name: 'String'
          }
        },
        subnet_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'subnetId',
          type: {
            name: 'String'
          }
        },
        public_ip_address_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'publicIpAddressId',
          type: {
            name: 'String'
          }
        },
        public_ip_address: {
          client_side_validation: true,
          required: false,
          serialized_name: 'publicIpAddress',
          type: {
            name: 'String'
          }
        },
        private_ip_address: {
          client_side_validation: true,
          required: false,
          serialized_name: 'privateIpAddress',
          type: {
            name: 'String'
          }
        },
        dns_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'dnsName',
          type: {
            name: 'String'
          }
        },
        rdp_authority: {
          client_side_validation: true,
          required: false,
          serialized_name: 'rdpAuthority',
          type: {
            name: 'String'
          }
        },
        ssh_authority: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sshAuthority',
          type: {
            name: 'String'
          }
        },
        shared_public_ip_address_configuration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sharedPublicIpAddressConfiguration',
          type: {
            name: 'Composite',
            class_name: 'SharedPublicIpAddressConfigurationFragment'
          }
        }
      }
    }
  }
end