/// <summary>
 /// Lists all of the frontend endpoints 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 <FrontendEndpoint> ListByFrontDoorNext(this IFrontendEndpointsOperations operations, string nextPageLink)
 {
     return(operations.ListByFrontDoorNextAsync(nextPageLink).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Lists all of the frontend endpoints 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 <FrontendEndpoint> > ListByFrontDoorNextAsync(this IFrontendEndpointsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListByFrontDoorNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Disables a frontendEndpoint for HTTPS traffic
 /// </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='frontendEndpointName'>
 /// Name of the Frontend endpoint which is unique within the Front Door.
 /// </param>
 public static void BeginDisableHttps(this IFrontendEndpointsOperations operations, string resourceGroupName, string frontDoorName, string frontendEndpointName)
 {
     operations.BeginDisableHttpsAsync(resourceGroupName, frontDoorName, frontendEndpointName).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Disables a frontendEndpoint for HTTPS traffic
 /// </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='frontendEndpointName'>
 /// Name of the Frontend endpoint which is unique within the Front Door.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task BeginDisableHttpsAsync(this IFrontendEndpointsOperations operations, string resourceGroupName, string frontDoorName, string frontendEndpointName, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.BeginDisableHttpsWithHttpMessagesAsync(resourceGroupName, frontDoorName, frontendEndpointName, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Enables a frontendEndpoint for HTTPS traffic
 /// </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='frontendEndpointName'>
 /// Name of the Frontend endpoint which is unique within the Front Door.
 /// </param>
 /// <param name='customHttpsConfiguration'>
 /// The configuration specifying how to enable HTTPS
 /// </param>
 public static void BeginEnableHttps(this IFrontendEndpointsOperations operations, string resourceGroupName, string frontDoorName, string frontendEndpointName, CustomHttpsConfiguration customHttpsConfiguration)
 {
     operations.BeginEnableHttpsAsync(resourceGroupName, frontDoorName, frontendEndpointName, customHttpsConfiguration).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Lists all of the frontend endpoints 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 <FrontendEndpoint> ListByFrontDoor(this IFrontendEndpointsOperations operations, string resourceGroupName, string frontDoorName)
 {
     return(operations.ListByFrontDoorAsync(resourceGroupName, frontDoorName).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Creates a new frontend endpoint with the specified host 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='frontendEndpointName'>
 /// Name of the Frontend endpoint which is unique within the Front Door.
 /// </param>
 /// <param name='frontendEndpointParameters'>
 /// Frontend endpoint properties needed to create a new endpoint.
 /// </param>
 public static FrontendEndpoint BeginCreateOrUpdate(this IFrontendEndpointsOperations operations, string resourceGroupName, string frontDoorName, string frontendEndpointName, FrontendEndpoint frontendEndpointParameters)
 {
     return(operations.BeginCreateOrUpdateAsync(resourceGroupName, frontDoorName, frontendEndpointName, frontendEndpointParameters).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Deletes an existing frontend endpoint 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='frontendEndpointName'>
 /// Name of the Frontend endpoint which is unique within the Front Door.
 /// </param>
 public static void Delete(this IFrontendEndpointsOperations operations, string resourceGroupName, string frontDoorName, string frontendEndpointName)
 {
     operations.DeleteAsync(resourceGroupName, frontDoorName, frontendEndpointName).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Gets a Frontend endpoint with the specified 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='frontendEndpointName'>
 /// Name of the Frontend endpoint which is unique within the Front Door.
 /// </param>
 public static FrontendEndpoint Get(this IFrontendEndpointsOperations operations, string resourceGroupName, string frontDoorName, string frontendEndpointName)
 {
     return(operations.GetAsync(resourceGroupName, frontDoorName, frontendEndpointName).GetAwaiter().GetResult());
 }