Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.network;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.network.implementation.NetworkInterfaceInner;
import com.microsoft.azure.management.network.implementation.NetworkManager;
import com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager;
import com.microsoft.azure.management.resources.fluentcore.model.HasInner;
import java.util.List;
The base network interface shared across regular and virtual machine scale set network interface.
/**
* The base network interface shared across regular and virtual machine scale set network interface.
*/
@Fluent
public interface NetworkInterfaceBase extends
HasManager<NetworkManager>,
HasInner<NetworkInterfaceInner> {
Returns: true if accelerated networking is enabled for this network interface
/**
* @return true if accelerated networking is enabled for this network interface
*/
boolean isAcceleratedNetworkingEnabled();
Returns: true if IP forwarding is enabled in this network interface
/**
* @return true if IP forwarding is enabled in this network interface
*/
boolean isIPForwardingEnabled();
Returns: the MAC Address of the network interface
/**
* @return the MAC Address of the network interface
*/
String macAddress();
Returns: the Internal DNS name assigned to this network interface
/**
*
* @return the Internal DNS name assigned to this network interface
*/
String internalDnsNameLabel();
Gets the fully qualified domain name of this network interface.
A network interface receives FQDN as a part of assigning it to a virtual machine.
Returns: the qualified domain name
/**
* Gets the fully qualified domain name of this network interface.
* <p>
* A network interface receives FQDN as a part of assigning it to a virtual machine.
*
* @return the qualified domain name
*/
String internalFqdn();
Returns: the internal domain name suffix
/**
* @return the internal domain name suffix
*/
String internalDomainNameSuffix();
Returns: IP addresses of this network interface's DNS servers
/**
* @return IP addresses of this network interface's DNS servers
*/
List<String> dnsServers();
Returns: applied DNS servers
/**
* @return applied DNS servers
*/
List<String> appliedDnsServers();
Returns: the network security group resource id associated with this network interface
/**
* @return the network security group resource id associated with this network interface
*/
String networkSecurityGroupId();
Gets the network security group associated this network interface.
This method makes a rest API call to fetch the Network Security Group resource.
Returns: the network security group associated with this network interface.
/**
* Gets the network security group associated this network interface.
* <p>
* This method makes a rest API call to fetch the Network Security Group resource.
*
* @return the network security group associated with this network interface.
*/
NetworkSecurityGroup getNetworkSecurityGroup();
Returns: the resource ID of the associated virtual machine, or null if none.
/**
* @return the resource ID of the associated virtual machine, or null if none.
*/
String virtualMachineId();
Gets the private IP address allocated to this network interface's primary IP configuration.
The private IP will be within the virtual network subnet of this network interface.
Returns: the private IP addresses
/**
* Gets the private IP address allocated to this network interface's primary IP configuration.
* <p>
* The private IP will be within the virtual network subnet of this network interface.
*
* @return the private IP addresses
*/
String primaryPrivateIP();
Returns: the private IP allocation method (Dynamic, Static) of this network interface's
primary IP configuration.
/**
* @return the private IP allocation method (Dynamic, Static) of this network interface's
* primary IP configuration.
*/
IPAllocationMethod primaryPrivateIPAllocationMethod();
}