Lingua

ExternalClusterResource.GetClusterPeerAsync(String, CancellationToken) Method

Definition

Get the Cluster Peer.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.ClusterPeerResource>> GetClusterPeerAsync(string peerId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetClusterPeerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.ClusterPeerResource>>
override this.GetClusterPeerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.ClusterPeerResource>>
Public Overridable Function GetClusterPeerAsync (peerId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ClusterPeerResource))

Parameters

peerId
String

The name of the ClusterPeer.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

peerId is null.

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

Applies to