Język

MockableNetworkResourceGroupResource.GetCloudServiceNetworkInterfaces Method

Definition

Gets all network interfaces for a Cloud Service.

public virtual Azure.Pageable<Azure.ResourceManager.Network.NetworkInterfaceData> GetCloudServiceNetworkInterfaces(string cloudServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCloudServiceNetworkInterfaces : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.NetworkInterfaceData>
override this.GetCloudServiceNetworkInterfaces : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.NetworkInterfaceData>
Public Overridable Function GetCloudServiceNetworkInterfaces (cloudServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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