PeerAsnCollection.GetIfExists(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.
Tries to get details for this resource from the service.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Peering/peerAsns/{peerAsnName}
- Operation Id: PeerAsns_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.Peering.PeerAsnResource> GetIfExists (string peerAsnName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Peering.PeerAsnResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Peering.PeerAsnResource>
Public Overridable Function GetIfExists (peerAsnName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of PeerAsnResource)
Parameters
- peerAsnName
- String
The peer ASN name.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
peerAsnName
is an empty string, and was expected to be non-empty.
peerAsnName
is null.
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET