MockableNetworkSubscriptionResource.GetNetworkInterfaces Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets all network interfaces in a subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces
- Operation Id: NetworkInterfaces_ListAll
- Default Api Version: 2024-05-01
- Resource: NetworkInterfaceResource
public virtual Azure.Pageable<Azure.ResourceManager.Network.NetworkInterfaceResource> GetNetworkInterfaces (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkInterfaces : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.NetworkInterfaceResource>
override this.GetNetworkInterfaces : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.NetworkInterfaceResource>
Public Overridable Function GetNetworkInterfaces (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkInterfaceResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of NetworkInterfaceResource that may take multiple service requests to iterate over.