/// <summary> /// Validate if the container settings are correct. /// </summary> /// <remarks> /// Validate if the container settings are correct. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='validateContainerSettingsRequest'> /// </param> /// <param name='resourceGroupName'> /// Name of the resource group to which the resource belongs. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> ValidateContainerSettingsAsync(this IWebSiteManagementClient operations, ValidateContainerSettingsRequest validateContainerSettingsRequest, string resourceGroupName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ValidateContainerSettingsWithHttpMessagesAsync(validateContainerSettingsRequest, resourceGroupName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }