/// <summary>
 /// Create or update a data factory gateway.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.DataFactories.Core.IGatewayOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The resource group name of the data factory.
 /// </param>
 /// <param name='dataFactoryName'>
 /// Required. A unique data factory instance name.
 /// </param>
 /// <param name='parameters'>
 /// Required. The parameters required to create or update a data
 /// factory gateway.
 /// </param>
 /// <returns>
 /// The create or update data factory gateway operation response.
 /// </returns>
 public static Task <GatewayCreateOrUpdateResponse> BeginCreateOrUpdateAsync(
     this IGatewayOperations operations,
     string resourceGroupName,
     string dataFactoryName,
     GatewayCreateOrUpdateParameters parameters)
 {
     return(operations.BeginCreateOrUpdateAsync(
                resourceGroupName,
                dataFactoryName,
                parameters,
                CancellationToken.None));
 }