PeeringResource.GetPeeringRegisteredAsn(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.
Gets an existing registered ASN with the specified name under the given subscription, resource group and peering.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings/{peeringName}/registeredAsns/{registeredAsnName}
- Operation Id: RegisteredAsns_Get
public virtual Azure.Response<Azure.ResourceManager.Peering.PeeringRegisteredAsnResource> GetPeeringRegisteredAsn (string registeredAsnName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPeeringRegisteredAsn : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Peering.PeeringRegisteredAsnResource>
override this.GetPeeringRegisteredAsn : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Peering.PeeringRegisteredAsnResource>
Public Overridable Function GetPeeringRegisteredAsn (registeredAsnName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PeeringRegisteredAsnResource)
Parameters
- registeredAsnName
- String
The name of the registered ASN.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
registeredAsnName
is null.
registeredAsnName
is an empty string, and was expected to be non-empty.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET