class Azure::Network::Mgmt::V2016_03_30::Models::NetworkInterface
A NetworkInterface
in a resource group
Attributes
@return [NetworkInterfaceDnsSettings] Gets or sets DNS Settings in NetworkInterface
@return [Boolean] Gets or sets whether IPForwarding is enabled on the NIC
@return [String] Gets a unique read-only string that changes whenever the resource is updated
@return [Array<NetworkInterfaceIPConfiguration>] Gets or sets list of IPConfigurations of the NetworkInterface
@return [String] Gets the MAC Address of the network interface
@return [NetworkSecurityGroup] Gets or sets the reference of the NetworkSecurityGroup
resource
@return [Boolean] Gets whether this is a primary NIC on a virtual machine
@return [String] Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed
@return [String] Gets or sets resource GUID property of the network interface resource
@return [SubResource] Gets or sets the reference of a VirtualMachine
Public Class Methods
Mapper for NetworkInterface
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-03-30/generated/azure_mgmt_network/models/network_interface.rb, line 58 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { name: 'Composite', class_name: 'NetworkInterface', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, virtual_machine: { client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { name: 'Composite', class_name: 'SubResource' } }, network_security_group: { client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { name: 'Composite', class_name: 'NetworkSecurityGroup' } }, ip_configurations: { client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { name: 'Composite', class_name: 'NetworkInterfaceIPConfiguration' } } } }, dns_settings: { client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { name: 'Composite', class_name: 'NetworkInterfaceDnsSettings' } }, mac_address: { client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { name: 'String' } }, primary: { client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { name: 'Boolean' } }, enable_ipforwarding: { client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { name: 'Boolean' } }, resource_guid: { client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, etag: { client_side_validation: true, required: false, serialized_name: 'etag', type: { name: 'String' } } } } } end