com.microsoft.azure.management.network.NetworkInterfaceBase Maven / Gradle / Ivy
Show all versions of azure-mgmt-network Show documentation
/**
* 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.
*/
@Fluent
public interface NetworkInterfaceBase extends
HasManager,
HasInner {
/**
* @return true if accelerated networking is enabled for this network interface
*/
boolean isAcceleratedNetworkingEnabled();
/**
* @return true if IP forwarding is enabled in this network interface
*/
boolean isIPForwardingEnabled();
/**
* @return the MAC Address of the network interface
*/
String macAddress();
/**
*
* @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.
*
* @return the qualified domain name
*/
String internalFqdn();
/**
* @return the internal domain name suffix
*/
String internalDomainNameSuffix();
/**
* @return IP addresses of this network interface's DNS servers
*/
List dnsServers();
/**
* @return applied DNS servers
*/
List appliedDnsServers();
/**
* @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.
*
* @return the network security group associated with this network interface.
*/
NetworkSecurityGroup getNetworkSecurityGroup();
/**
* @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.
*
* @return the private IP addresses
*/
String primaryPrivateIP();
/**
* @return the private IP allocation method (Dynamic, Static) of this network interface's
* primary IP configuration.
*/
IPAllocationMethod primaryPrivateIPAllocationMethod();
}