Interface AfdCustomDomainsClient


public interface AfdCustomDomainsClient
An instance of this class provides access to all the operations defined in AfdCustomDomainsClient.
  • Method Details

    • listByProfileAsync

      com.azure.core.http.rest.PagedFlux<AfdDomainInner> listByProfileAsync(String resourceGroupName, String profileName)
      Lists existing AzureFrontDoor domains.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile or CDN profile which is unique within the resource group.
      Returns:
      result of the request to list domains as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByProfile

      com.azure.core.http.rest.PagedIterable<AfdDomainInner> listByProfile(String resourceGroupName, String profileName)
      Lists existing AzureFrontDoor domains.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile or CDN profile which is unique within the resource group.
      Returns:
      result of the request to list domains as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByProfile

      com.azure.core.http.rest.PagedIterable<AfdDomainInner> listByProfile(String resourceGroupName, String profileName, com.azure.core.util.Context context)
      Lists existing AzureFrontDoor domains.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile or CDN profile which is unique within the resource group.
      context - The context to associate with this operation.
      Returns:
      result of the request to list domains as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<AfdDomainInner>> getWithResponseAsync(String resourceGroupName, String profileName, String customDomainName)
      Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      Returns:
      an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getAsync

      Mono<AfdDomainInner> getAsync(String resourceGroupName, String profileName, String customDomainName)
      Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      Returns:
      an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      AfdDomainInner get(String resourceGroupName, String profileName, String customDomainName)
      Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      Returns:
      an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponse

      com.azure.core.http.rest.Response<AfdDomainInner> getWithResponse(String resourceGroupName, String profileName, String customDomainName, com.azure.core.util.Context context)
      Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      context - The context to associate with this operation.
      Returns:
      an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String profileName, String customDomainName, AfdDomainInner customDomain)
      Creates a new domain within the specified profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      customDomain - Domain properties.
      Returns:
      friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AfdDomainInner>,AfdDomainInner> beginCreateAsync(String resourceGroupName, String profileName, String customDomainName, AfdDomainInner customDomain)
      Creates a new domain within the specified profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      customDomain - Domain properties.
      Returns:
      the PollerFlux for polling of friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AfdDomainInner>,AfdDomainInner> beginCreate(String resourceGroupName, String profileName, String customDomainName, AfdDomainInner customDomain)
      Creates a new domain within the specified profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      customDomain - Domain properties.
      Returns:
      the SyncPoller for polling of friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AfdDomainInner>,AfdDomainInner> beginCreate(String resourceGroupName, String profileName, String customDomainName, AfdDomainInner customDomain, com.azure.core.util.Context context)
      Creates a new domain within the specified profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      customDomain - Domain properties.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createAsync

      Mono<AfdDomainInner> createAsync(String resourceGroupName, String profileName, String customDomainName, AfdDomainInner customDomain)
      Creates a new domain within the specified profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      customDomain - Domain properties.
      Returns:
      friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • create

      AfdDomainInner create(String resourceGroupName, String profileName, String customDomainName, AfdDomainInner customDomain)
      Creates a new domain within the specified profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      customDomain - Domain properties.
      Returns:
      friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • create

      AfdDomainInner create(String resourceGroupName, String profileName, String customDomainName, AfdDomainInner customDomain, com.azure.core.util.Context context)
      Creates a new domain within the specified profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      customDomain - Domain properties.
      context - The context to associate with this operation.
      Returns:
      friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String profileName, String customDomainName, AfdDomainUpdateParameters customDomainUpdateProperties)
      Updates an existing domain within a profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      customDomainUpdateProperties - Domain properties.
      Returns:
      friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AfdDomainInner>,AfdDomainInner> beginUpdateAsync(String resourceGroupName, String profileName, String customDomainName, AfdDomainUpdateParameters customDomainUpdateProperties)
      Updates an existing domain within a profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      customDomainUpdateProperties - Domain properties.
      Returns:
      the PollerFlux for polling of friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AfdDomainInner>,AfdDomainInner> beginUpdate(String resourceGroupName, String profileName, String customDomainName, AfdDomainUpdateParameters customDomainUpdateProperties)
      Updates an existing domain within a profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      customDomainUpdateProperties - Domain properties.
      Returns:
      the SyncPoller for polling of friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AfdDomainInner>,AfdDomainInner> beginUpdate(String resourceGroupName, String profileName, String customDomainName, AfdDomainUpdateParameters customDomainUpdateProperties, com.azure.core.util.Context context)
      Updates an existing domain within a profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      customDomainUpdateProperties - Domain properties.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAsync

      Mono<AfdDomainInner> updateAsync(String resourceGroupName, String profileName, String customDomainName, AfdDomainUpdateParameters customDomainUpdateProperties)
      Updates an existing domain within a profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      customDomainUpdateProperties - Domain properties.
      Returns:
      friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      AfdDomainInner update(String resourceGroupName, String profileName, String customDomainName, AfdDomainUpdateParameters customDomainUpdateProperties)
      Updates an existing domain within a profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      customDomainUpdateProperties - Domain properties.
      Returns:
      friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      AfdDomainInner update(String resourceGroupName, String profileName, String customDomainName, AfdDomainUpdateParameters customDomainUpdateProperties, com.azure.core.util.Context context)
      Updates an existing domain within a profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      customDomainUpdateProperties - Domain properties.
      context - The context to associate with this operation.
      Returns:
      friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String profileName, String customDomainName)
      Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String profileName, String customDomainName)
      Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String profileName, String customDomainName)
      Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String profileName, String customDomainName, com.azure.core.util.Context context)
      Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String profileName, String customDomainName)
      Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String profileName, String customDomainName)
      Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String profileName, String customDomainName, com.azure.core.util.Context context)
      Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • refreshValidationTokenWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> refreshValidationTokenWithResponseAsync(String resourceGroupName, String profileName, String customDomainName)
      Updates the domain validation token.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginRefreshValidationTokenAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRefreshValidationTokenAsync(String resourceGroupName, String profileName, String customDomainName)
      Updates the domain validation token.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginRefreshValidationToken

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRefreshValidationToken(String resourceGroupName, String profileName, String customDomainName)
      Updates the domain validation token.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginRefreshValidationToken

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRefreshValidationToken(String resourceGroupName, String profileName, String customDomainName, com.azure.core.util.Context context)
      Updates the domain validation token.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • refreshValidationTokenAsync

      Mono<Void> refreshValidationTokenAsync(String resourceGroupName, String profileName, String customDomainName)
      Updates the domain validation token.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • refreshValidationToken

      void refreshValidationToken(String resourceGroupName, String profileName, String customDomainName)
      Updates the domain validation token.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • refreshValidationToken

      void refreshValidationToken(String resourceGroupName, String profileName, String customDomainName, com.azure.core.util.Context context)
      Updates the domain validation token.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      customDomainName - Name of the domain under the profile which is unique globally.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.