ClusterPeerResource.GetSvmPeer(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the SVM Peer.
public virtual Azure.Response<Azure.ResourceManager.NetApp.SvmPeerResource> GetSvmPeer(string svmPeerId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSvmPeer : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.SvmPeerResource>
override this.GetSvmPeer : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.SvmPeerResource>
Public Overridable Function GetSvmPeer (svmPeerId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SvmPeerResource)
Parameters
- svmPeerId
- String
The name of the SvmPeer.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
svmPeerId is null.
svmPeerId is an empty string, and was expected to be non-empty.