/// <summary>
 /// Creates a new HealthProbeSettings with the specified Rule name within the
 /// specified Front Door.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the Resource group within the Azure subscription.
 /// </param>
 /// <param name='frontDoorName'>
 /// Name of the Front Door which is globally unique.
 /// </param>
 /// <param name='healthProbeSettingsName'>
 /// Name of the health probe settings which is unique within the Front Door.
 /// </param>
 /// <param name='healthProbeSettingsParameters'>
 /// HealthProbeSettings properties needed to create a new Front Door.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <HealthProbeSettingsModel> BeginCreateOrUpdateAsync(this IHealthProbeSettingsOperations operations, string resourceGroupName, string frontDoorName, string healthProbeSettingsName, HealthProbeSettingsModel healthProbeSettingsParameters, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, frontDoorName, healthProbeSettingsName, healthProbeSettingsParameters, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Gets a HealthProbeSettings with the specified Rule name within the
 /// specified Front Door.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the Resource group within the Azure subscription.
 /// </param>
 /// <param name='frontDoorName'>
 /// Name of the Front Door which is globally unique.
 /// </param>
 /// <param name='healthProbeSettingsName'>
 /// Name of the health probe settings which is unique within the Front Door.
 /// </param>
 public static HealthProbeSettingsModel Get(this IHealthProbeSettingsOperations operations, string resourceGroupName, string frontDoorName, string healthProbeSettingsName)
 {
     return(operations.GetAsync(resourceGroupName, frontDoorName, healthProbeSettingsName).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Lists all of the HealthProbeSettings within a Front Door.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the Resource group within the Azure subscription.
 /// </param>
 /// <param name='frontDoorName'>
 /// Name of the Front Door which is globally unique.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <HealthProbeSettingsModel> > ListByFrontDoorAsync(this IHealthProbeSettingsOperations operations, string resourceGroupName, string frontDoorName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListByFrontDoorWithHttpMessagesAsync(resourceGroupName, frontDoorName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Lists all of the HealthProbeSettings within a Front Door.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the Resource group within the Azure subscription.
 /// </param>
 /// <param name='frontDoorName'>
 /// Name of the Front Door which is globally unique.
 /// </param>
 public static IPage <HealthProbeSettingsModel> ListByFrontDoor(this IHealthProbeSettingsOperations operations, string resourceGroupName, string frontDoorName)
 {
     return(operations.ListByFrontDoorAsync(resourceGroupName, frontDoorName).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Lists all of the HealthProbeSettings within a Front Door.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <HealthProbeSettingsModel> > ListByFrontDoorNextAsync(this IHealthProbeSettingsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListByFrontDoorNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Lists all of the HealthProbeSettings within a Front Door.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 public static IPage <HealthProbeSettingsModel> ListByFrontDoorNext(this IHealthProbeSettingsOperations operations, string nextPageLink)
 {
     return(operations.ListByFrontDoorNextAsync(nextPageLink).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Deletes an existing HealthProbeSettings with the specified parameters.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the Resource group within the Azure subscription.
 /// </param>
 /// <param name='frontDoorName'>
 /// Name of the Front Door which is globally unique.
 /// </param>
 /// <param name='healthProbeSettingsName'>
 /// Name of the health probe settings which is unique within the Front Door.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task BeginDeleteAsync(this IHealthProbeSettingsOperations operations, string resourceGroupName, string frontDoorName, string healthProbeSettingsName, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, frontDoorName, healthProbeSettingsName, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Deletes an existing HealthProbeSettings with the specified parameters.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the Resource group within the Azure subscription.
 /// </param>
 /// <param name='frontDoorName'>
 /// Name of the Front Door which is globally unique.
 /// </param>
 /// <param name='healthProbeSettingsName'>
 /// Name of the health probe settings which is unique within the Front Door.
 /// </param>
 public static void BeginDelete(this IHealthProbeSettingsOperations operations, string resourceGroupName, string frontDoorName, string healthProbeSettingsName)
 {
     operations.BeginDeleteAsync(resourceGroupName, frontDoorName, healthProbeSettingsName).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Creates a new HealthProbeSettings with the specified Rule name within the
 /// specified Front Door.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the Resource group within the Azure subscription.
 /// </param>
 /// <param name='frontDoorName'>
 /// Name of the Front Door which is globally unique.
 /// </param>
 /// <param name='healthProbeSettingsName'>
 /// Name of the health probe settings which is unique within the Front Door.
 /// </param>
 /// <param name='healthProbeSettingsParameters'>
 /// HealthProbeSettings properties needed to create a new Front Door.
 /// </param>
 public static HealthProbeSettingsModel BeginCreateOrUpdate(this IHealthProbeSettingsOperations operations, string resourceGroupName, string frontDoorName, string healthProbeSettingsName, HealthProbeSettingsModel healthProbeSettingsParameters)
 {
     return(operations.BeginCreateOrUpdateAsync(resourceGroupName, frontDoorName, healthProbeSettingsName, healthProbeSettingsParameters).GetAwaiter().GetResult());
 }