class Azure::Network::Mgmt::V2019_04_01::Models::NetworkInterface
A network interface in a resource group.
Attributes
@return [NetworkInterfaceDnsSettings] The DNS settings in network interface.
@return [Boolean] If the network interface is accelerated networking enabled.
@return [Boolean] Indicates whether IP forwarding is enabled on this network interface.
@return [String] A unique read-only string that changes whenever the resource is updated.
@return [Array<String>] A list of references to linked BareMetal resources.
@return [Array<NetworkInterfaceIPConfiguration>] A list of IPConfigurations of the network interface.
@return [String] The MAC address of the network interface.
@return [NetworkSecurityGroup] The reference of the NetworkSecurityGroup resource.
@return [Boolean] Gets whether this is a primary network interface on a virtual machine.
@return [PrivateEndpoint] A reference to the private endpoint to which the network interface is linked.
@return [String] The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
@return [String] The resource GUID property of the network interface resource.
@return [Array<NetworkInterfaceTapConfiguration>] A list of TapConfigurations of the network interface.
@return [SubResource] The reference of a virtual machine.
Public Class Methods
Mapper for NetworkInterface class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-04-01/generated/azure_mgmt_network/models/network_interface.rb, line 73 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, read_only: true, 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' } }, private_endpoint: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.privateEndpoint', type: { name: 'Composite', class_name: 'PrivateEndpoint' } }, 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' } } } }, tap_configurations: { client_side_validation: true, required: false, serialized_name: 'properties.tapConfigurations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceTapConfigurationElementType', type: { name: 'Composite', class_name: 'NetworkInterfaceTapConfiguration' } } } }, 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_accelerated_networking: { client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { name: 'Boolean' } }, enable_ipforwarding: { client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { name: 'Boolean' } }, hosted_workloads: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.hostedWorkloads', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, 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