/// <summary> /// Creates or updates an authorization in the specified express route port. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='expressRoutePortName'> /// The name of the express route port. /// </param> /// <param name='authorizationName'> /// The name of the authorization. /// </param> /// <param name='authorizationParameters'> /// Parameters supplied to the create or update express route port /// authorization operation. /// </param> public static ExpressRoutePortAuthorization CreateOrUpdate(this IExpressRoutePortAuthorizationsOperations operations, string resourceGroupName, string expressRoutePortName, string authorizationName, ExpressRoutePortAuthorization authorizationParameters) { return(operations.CreateOrUpdateAsync(resourceGroupName, expressRoutePortName, authorizationName, authorizationParameters).GetAwaiter().GetResult()); }