Język

MockableNetworkResourceGroupResource.GetCloudServiceNetworkInterfacesAsync Method

Definition

Gets all network interfaces for a Cloud Service.

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