/// <summary> /// Deletes a maintenance configuration. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='resourceName'> /// The name of the managed cluster resource. /// </param> /// <param name='configName'> /// The name of the maintenance configuration. /// </param> public static void Delete(this IMaintenanceConfigurationsOperations operations, string resourceGroupName, string resourceName, string configName) { operations.DeleteAsync(resourceGroupName, resourceName, configName).GetAwaiter().GetResult(); }
/// <summary> /// Delete Configuration record /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Resource Group Name /// </param> /// <param name='resourceName'> /// Maintenance Configuration Name /// </param> public static MaintenanceConfiguration Delete(this IMaintenanceConfigurationsOperations operations, string resourceGroupName, string resourceName) { return(operations.DeleteAsync(resourceGroupName, resourceName).GetAwaiter().GetResult()); }