/// <summary> /// List global reach connections in a private cloud /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='privateCloudName'> /// Name of the private cloud /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <GlobalReachConnection> > ListAsync(this IGlobalReachConnectionsOperations operations, string resourceGroupName, string privateCloudName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, privateCloudName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }