MockableNetworkResourceGroupResource.GetCloudServiceNetworkInterfacesAsync Method

Definition

Gets all network interfaces in a cloud service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/cloudServices/{cloudServiceName}/networkInterfaces.
  • Operation Id. : NetworkInterfacesOperationGroup_ListCloudServiceNetworkInterfaces.
  • Default Api Version. : 2025-07-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.NetworkInterfaceData> GetCloudServiceNetworkInterfacesAsync(string cloudServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCloudServiceNetworkInterfacesAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.NetworkInterfaceData>
override this.GetCloudServiceNetworkInterfacesAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.NetworkInterfaceData>
Public Overridable Function GetCloudServiceNetworkInterfacesAsync (cloudServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NetworkInterfaceData)

Parameters

cloudServiceName
String

The name of the cloud service.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

cloudServiceName is null.

cloudServiceName is an empty string, and was expected to be non-empty.

Applies to