Interface VirtualMachineScaleSetNetworkInterfaces
- All Superinterfaces:
HasManager<NetworkManager>
,SupportsListing<VirtualMachineScaleSetNetworkInterface>
public interface VirtualMachineScaleSetNetworkInterfaces
extends SupportsListing<VirtualMachineScaleSetNetworkInterface>, HasManager<NetworkManager>
Entry point to virtual machine scale set network interface management API.
-
Method Summary
Modifier and TypeMethodDescriptiongetByVirtualMachineInstanceId
(String instanceId, String name) Gets a network interface associated with a virtual machine scale set instance.getByVirtualMachineInstanceIdAsync
(String instanceId, String name) Gets a network interface associated with a virtual machine scale set instance.com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetNetworkInterface>
listByVirtualMachineInstanceId
(String instanceId) Lists all the network interfaces associated with a virtual machine instance in the scale set.com.azure.core.http.rest.PagedFlux<VirtualMachineScaleSetNetworkInterface>
listByVirtualMachineInstanceIdAsync
(String instanceId) Lists all the network interfaces associated with a virtual machine instance in the scale set asynchronously.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing
list, listAsync
-
Method Details
-
getByVirtualMachineInstanceId
VirtualMachineScaleSetNetworkInterface getByVirtualMachineInstanceId(String instanceId, String name) Gets a network interface associated with a virtual machine scale set instance.- Parameters:
instanceId
- the virtual machine scale set vm instance idname
- the network interface name- Returns:
- the network interface
-
getByVirtualMachineInstanceIdAsync
Mono<VirtualMachineScaleSetNetworkInterface> getByVirtualMachineInstanceIdAsync(String instanceId, String name) Gets a network interface associated with a virtual machine scale set instance.- Parameters:
instanceId
- the virtual machine scale set vm instance idname
- the network interface name- Returns:
- the network interface
-
listByVirtualMachineInstanceId
com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetNetworkInterface> listByVirtualMachineInstanceId(String instanceId) Lists all the network interfaces associated with a virtual machine instance in the scale set.- Parameters:
instanceId
- virtual machine scale set vm instance id- Returns:
- list of network interfaces
-
listByVirtualMachineInstanceIdAsync
com.azure.core.http.rest.PagedFlux<VirtualMachineScaleSetNetworkInterface> listByVirtualMachineInstanceIdAsync(String instanceId) Lists all the network interfaces associated with a virtual machine instance in the scale set asynchronously.- Parameters:
instanceId
- virtual machine scale set vm instance id- Returns:
- list of network interfaces
-