BorderGatewayProtocolPeeringOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.BorderGatewayProtocolPeeringGetResponse> GetAsync(this Microsoft.WindowsAzure.Management.ExpressRoute.IBorderGatewayProtocolPeeringOperations operations, string serviceKey, Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType accessType);
static member GetAsync : Microsoft.WindowsAzure.Management.ExpressRoute.IBorderGatewayProtocolPeeringOperations * string * Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.BorderGatewayProtocolPeeringGetResponse>
<Extension()>
Public Function GetAsync (operations As IBorderGatewayProtocolPeeringOperations, serviceKey As String, accessType As BgpPeeringAccessType) As Task(Of BorderGatewayProtocolPeeringGetResponse)
Parameters
- operations
- IBorderGatewayProtocolPeeringOperations
Reference to the Microsoft.WindowsAzure.Management.ExpressRoute.IBorderGatewayProtocolPeeringOperations.
- serviceKey
- String
Required. The servicee key representing the dedicated circuit.
- accessType
- BgpPeeringAccessType
Required. Whether the peering is private or public.
Returns
The Get Border Gateway Protocol Peering Operation Response.