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.model;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.network.NetworkInterface;
import com.microsoft.azure.management.resources.fluentcore.arm.models.HasId;
import java.util.List;
Interface exposing a list of network interfaces.
/**
* Interface exposing a list of network interfaces.
*/
@Fluent()
public interface HasNetworkInterfaces extends HasId {
Gets the primary network interface.
Note that this method can result in a call to the cloud to fetch the network interface information.
Returns: the primary network interface associated with this resource
/**
* Gets the primary network interface.
* <p>
* Note that this method can result in a call to the cloud to fetch the network interface information.
*
* @return the primary network interface associated with this resource
*/
NetworkInterface getPrimaryNetworkInterface();
Returns: the resource id of the primary network interface associated with this resource
/**
* @return the resource id of the primary network interface associated with this resource
*/
String primaryNetworkInterfaceId();
Returns: the list of resource IDs of the network interfaces associated with this resource
/**
* @return the list of resource IDs of the network interfaces associated with this resource
*/
List<String> networkInterfaceIds();
}