IBorderGatewayProtocolPeeringOperations.GetAsync 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.
The Get Border Gateway Protocol Peering operation retrieves the bgp peering for the dedicated circuit with the specified service key.
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.BorderGatewayProtocolPeeringGetResponse> GetAsync (string serviceKey, Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType accessType, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.BorderGatewayProtocolPeeringGetResponse>
Public Function GetAsync (serviceKey As String, accessType As BgpPeeringAccessType, cancellationToken As CancellationToken) As Task(Of BorderGatewayProtocolPeeringGetResponse)
Parameters
- serviceKey
- String
The servicee key representing the dedicated circuit.
- accessType
- BgpPeeringAccessType
Whether the peering is private or public.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get Border Gateway Protocol Peering Operation Response.
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