PeeringExtensions.GetPeerAsns(SubscriptionResource) 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 a collection of PeerAsnResources in the SubscriptionResource. MockingTo mock this method, please mock GetPeerAsns() instead.
public static Azure.ResourceManager.Peering.PeerAsnCollection GetPeerAsns (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetPeerAsns : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.Peering.PeerAsnCollection
<Extension()>
Public Function GetPeerAsns (subscriptionResource As SubscriptionResource) As PeerAsnCollection
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
Returns
An object representing collection of PeerAsnResources and their operations over a PeerAsnResource.
Exceptions
subscriptionResource
is null.
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