BorderGatewayProtocolPeeringOperationsExtensions.BeginNewAsync 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 New Border Gateway Protocol Peering operation creates a new Border Gateway Protocol Peering
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.ExpressRouteOperationResponse> BeginNewAsync (this Microsoft.WindowsAzure.Management.ExpressRoute.IBorderGatewayProtocolPeeringOperations operations, string serviceKey, Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType accessType, Microsoft.WindowsAzure.Management.ExpressRoute.Models.BorderGatewayProtocolPeeringNewParameters parameters);
static member BeginNewAsync : Microsoft.WindowsAzure.Management.ExpressRoute.IBorderGatewayProtocolPeeringOperations * string * Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType * Microsoft.WindowsAzure.Management.ExpressRoute.Models.BorderGatewayProtocolPeeringNewParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.ExpressRouteOperationResponse>
<Extension()>
Public Function BeginNewAsync (operations As IBorderGatewayProtocolPeeringOperations, serviceKey As String, accessType As BgpPeeringAccessType, parameters As BorderGatewayProtocolPeeringNewParameters) As Task(Of ExpressRouteOperationResponse)
Parameters
- operations
- IBorderGatewayProtocolPeeringOperations
Reference to the Microsoft.WindowsAzure.Management.ExpressRoute.IBorderGatewayProtocolPeeringOperations.
- serviceKey
- String
Required. The service key representing the relationship between Azure and the customer.
- accessType
- BgpPeeringAccessType
Required. Whether the peering is private or public.
- parameters
- BorderGatewayProtocolPeeringNewParameters
Required. Parameters supplied to the New Border Gateway Protocol Peering operation.
Returns
A standard service response including an HTTP status code and request ID.
Applies to
Azure SDK for .NET