/// <summary> /// Gets a privately linkable resources for an account with given group /// identifier. /// </summary> /// <remarks> /// Gets a privately linkable resources for an account with given group /// identifier /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The resource group name. /// </param> /// <param name='accountName'> /// The name of the account. /// </param> /// <param name='groupId'> /// The group identifier. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <PrivateLinkResource> GetByGroupIdAsync(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string accountName, string groupId, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetByGroupIdWithHttpMessagesAsync(resourceGroupName, accountName, groupId, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }