Exemplo n.º 1
0
 /// <summary>
 /// The Put Pering operation creates/updates an peering in the
 /// specified ExpressRouteCircuits
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Network.IExpressRouteCircuitPeeringOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group.
 /// </param>
 /// <param name='circuitName'>
 /// Required. The name of the express route circuit.
 /// </param>
 /// <param name='peeringName'>
 /// Required. The name of the peering.
 /// </param>
 /// <param name='peeringParameters'>
 /// Required. Parameters supplied to the create/update
 /// ExpressRouteCircuit Peering operation
 /// </param>
 /// <returns>
 /// Response for Put ExpressRouteCircuit Peering Api service call
 /// </returns>
 public static Task <ExpressRouteCircuitPeeringPutResponse> BeginCreateOrUpdatingAsync(this IExpressRouteCircuitPeeringOperations operations, string resourceGroupName, string circuitName, string peeringName, ExpressRouteCircuitPeering peeringParameters)
 {
     return(operations.BeginCreateOrUpdatingAsync(resourceGroupName, circuitName, peeringName, peeringParameters, CancellationToken.None));
 }