MockableHciVmSubscriptionResource.GetHciVmNetworkInterfacesAsync Method

Definition

Lists all of the network interfaces in the specified subscription. Use the nextLink property in the response to get the next page of network interfaces.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/networkInterfaces.
  • Operation Id. : NetworkInterfaces_ListAll.
  • Default Api Version. : 2025-09-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Hci.Vm.HciVmNetworkInterfaceResource> GetHciVmNetworkInterfacesAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetHciVmNetworkInterfacesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Hci.Vm.HciVmNetworkInterfaceResource>
override this.GetHciVmNetworkInterfacesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Hci.Vm.HciVmNetworkInterfaceResource>
Public Overridable Function GetHciVmNetworkInterfacesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HciVmNetworkInterfaceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of HciVmNetworkInterfaceResource that may take multiple service requests to iterate over.

Applies to