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.PagedList;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.network.implementation.NetworkInterfacesInner;
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.collection.SupportsListing;
import com.microsoft.azure.management.resources.fluentcore.model.HasInner;
Entry point to virtual machine scale set network interface management API.
/**
* Entry point to virtual machine scale set network interface management API.
*/
@Fluent
public interface VirtualMachineScaleSetNetworkInterfaces extends
SupportsListing<VirtualMachineScaleSetNetworkInterface>,
HasInner<NetworkInterfacesInner>,
HasManager<NetworkManager> {
Gets a network interface associated with a virtual machine scale set instance.
Params: - instanceId – the virtual machine scale set vm instance id
- name – the network interface name
Returns: the network interface
/**
* Gets a network interface associated with a virtual machine scale set instance.
*
* @param instanceId the virtual machine scale set vm instance id
* @param name the network interface name
* @return the network interface
*/
VirtualMachineScaleSetNetworkInterface getByVirtualMachineInstanceId(String instanceId, String name);
Lists all the network interfaces associated with a virtual machine instance in the scale set.
Params: - instanceId – virtual machine scale set vm instance id
Returns: list of network interfaces
/**
* Lists all the network interfaces associated with a virtual machine instance in the scale set.
*
* @param instanceId virtual machine scale set vm instance id
* @return list of network interfaces
*/
PagedList<VirtualMachineScaleSetNetworkInterface> listByVirtualMachineInstanceId(String instanceId);
}