/// <summary> /// List all Extensions under ArcSetting resource. /// </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='clusterName'> /// The name of the cluster. /// </param> /// <param name='arcSettingName'> /// The name of the proxy resource holding details of HCI ArcSetting /// information. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <Extension> > ListByArcSettingAsync(this IExtensionsOperations operations, string resourceGroupName, string clusterName, string arcSettingName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListByArcSettingWithHttpMessagesAsync(resourceGroupName, clusterName, arcSettingName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }