Interface AfdProfilesClient


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

    • checkEndpointNameAvailabilityWithResponseAsync

      Mono<com.azure.core.http.rest.Response<CheckEndpointNameAvailabilityOutputInner>> checkEndpointNameAvailabilityWithResponseAsync(String resourceGroupName, String profileName, CheckEndpointNameAvailabilityInput checkEndpointNameAvailabilityInput)
      Check the availability of an afdx endpoint name, and return the globally unique endpoint host name.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
      checkEndpointNameAvailabilityInput - Input to check.
      Returns:
      output of check name availability API 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.
    • checkEndpointNameAvailabilityAsync

      Mono<CheckEndpointNameAvailabilityOutputInner> checkEndpointNameAvailabilityAsync(String resourceGroupName, String profileName, CheckEndpointNameAvailabilityInput checkEndpointNameAvailabilityInput)
      Check the availability of an afdx endpoint name, and return the globally unique endpoint host name.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
      checkEndpointNameAvailabilityInput - Input to check.
      Returns:
      output of check name availability API 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.
    • checkEndpointNameAvailabilityWithResponse

      com.azure.core.http.rest.Response<CheckEndpointNameAvailabilityOutputInner> checkEndpointNameAvailabilityWithResponse(String resourceGroupName, String profileName, CheckEndpointNameAvailabilityInput checkEndpointNameAvailabilityInput, com.azure.core.util.Context context)
      Check the availability of an afdx endpoint name, and return the globally unique endpoint host name.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
      checkEndpointNameAvailabilityInput - Input to check.
      context - The context to associate with this operation.
      Returns:
      output of check name availability API 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.
    • checkEndpointNameAvailability

      CheckEndpointNameAvailabilityOutputInner checkEndpointNameAvailability(String resourceGroupName, String profileName, CheckEndpointNameAvailabilityInput checkEndpointNameAvailabilityInput)
      Check the availability of an afdx endpoint name, and return the globally unique endpoint host name.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
      checkEndpointNameAvailabilityInput - Input to check.
      Returns:
      output of check name availability API.
      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.
    • listResourceUsageAsync

      com.azure.core.http.rest.PagedFlux<UsageInner> listResourceUsageAsync(String resourceGroupName, String profileName)
      Checks the quota and actual usage of endpoints under the given Azure Front Door 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.
      Returns:
      the list usages operation response 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.
    • listResourceUsage

      com.azure.core.http.rest.PagedIterable<UsageInner> listResourceUsage(String resourceGroupName, String profileName)
      Checks the quota and actual usage of endpoints under the given Azure Front Door 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.
      Returns:
      the list usages operation response 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.
    • listResourceUsage

      com.azure.core.http.rest.PagedIterable<UsageInner> listResourceUsage(String resourceGroupName, String profileName, com.azure.core.util.Context context)
      Checks the quota and actual usage of endpoints under the given Azure Front Door 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.
      context - The context to associate with this operation.
      Returns:
      the list usages operation response 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.
    • checkHostnameAvailabilityWithResponseAsync

      Mono<com.azure.core.http.rest.Response<CheckNameAvailabilityOutputInner>> checkHostnameAvailabilityWithResponseAsync(String resourceGroupName, String profileName, CheckHostnameAvailabilityInput checkHostnameAvailabilityInput)
      Validates the custom domain mapping to ensure it maps to the correct Azure Front Door endpoint in DNS.
      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.
      checkHostnameAvailabilityInput - Custom domain to be validated.
      Returns:
      output of check name availability API 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.
    • checkHostnameAvailabilityAsync

      Mono<CheckNameAvailabilityOutputInner> checkHostnameAvailabilityAsync(String resourceGroupName, String profileName, CheckHostnameAvailabilityInput checkHostnameAvailabilityInput)
      Validates the custom domain mapping to ensure it maps to the correct Azure Front Door endpoint in DNS.
      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.
      checkHostnameAvailabilityInput - Custom domain to be validated.
      Returns:
      output of check name availability API 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.
    • checkHostnameAvailabilityWithResponse

      com.azure.core.http.rest.Response<CheckNameAvailabilityOutputInner> checkHostnameAvailabilityWithResponse(String resourceGroupName, String profileName, CheckHostnameAvailabilityInput checkHostnameAvailabilityInput, com.azure.core.util.Context context)
      Validates the custom domain mapping to ensure it maps to the correct Azure Front Door endpoint in DNS.
      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.
      checkHostnameAvailabilityInput - Custom domain to be validated.
      context - The context to associate with this operation.
      Returns:
      output of check name availability API 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.
    • checkHostnameAvailability

      CheckNameAvailabilityOutputInner checkHostnameAvailability(String resourceGroupName, String profileName, CheckHostnameAvailabilityInput checkHostnameAvailabilityInput)
      Validates the custom domain mapping to ensure it maps to the correct Azure Front Door endpoint in DNS.
      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.
      checkHostnameAvailabilityInput - Custom domain to be validated.
      Returns:
      output of check name availability API.
      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.
    • validateSecretWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ValidateSecretOutputInner>> validateSecretWithResponseAsync(String resourceGroupName, String profileName, ValidateSecretInput validateSecretInput)
      Validate a Secret in the 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 which is unique within the resource group.
      validateSecretInput - The Secret source.
      Returns:
      output of the validated secret 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.
    • validateSecretAsync

      Mono<ValidateSecretOutputInner> validateSecretAsync(String resourceGroupName, String profileName, ValidateSecretInput validateSecretInput)
      Validate a Secret in the 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 which is unique within the resource group.
      validateSecretInput - The Secret source.
      Returns:
      output of the validated secret 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.
    • validateSecretWithResponse

      com.azure.core.http.rest.Response<ValidateSecretOutputInner> validateSecretWithResponse(String resourceGroupName, String profileName, ValidateSecretInput validateSecretInput, com.azure.core.util.Context context)
      Validate a Secret in the 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 which is unique within the resource group.
      validateSecretInput - The Secret source.
      context - The context to associate with this operation.
      Returns:
      output of the validated secret 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.
    • validateSecret

      ValidateSecretOutputInner validateSecret(String resourceGroupName, String profileName, ValidateSecretInput validateSecretInput)
      Validate a Secret in the 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 which is unique within the resource group.
      validateSecretInput - The Secret source.
      Returns:
      output of the validated secret.
      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.
    • upgradeWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> upgradeWithResponseAsync(String resourceGroupName, String profileName, ProfileUpgradeParameters profileUpgradeParameters)
      Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
      profileUpgradeParameters - Profile upgrade input parameter.
      Returns:
      a profile is a logical grouping of endpoints that share the same settings 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.
    • beginUpgradeAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ProfileInner>, ProfileInner> beginUpgradeAsync(String resourceGroupName, String profileName, ProfileUpgradeParameters profileUpgradeParameters)
      Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
      profileUpgradeParameters - Profile upgrade input parameter.
      Returns:
      the PollerFlux for polling of a profile is a logical grouping of endpoints that share the same settings.
      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.
    • beginUpgrade

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileInner>, ProfileInner> beginUpgrade(String resourceGroupName, String profileName, ProfileUpgradeParameters profileUpgradeParameters)
      Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
      profileUpgradeParameters - Profile upgrade input parameter.
      Returns:
      the SyncPoller for polling of a profile is a logical grouping of endpoints that share the same settings.
      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.
    • beginUpgrade

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileInner>, ProfileInner> beginUpgrade(String resourceGroupName, String profileName, ProfileUpgradeParameters profileUpgradeParameters, com.azure.core.util.Context context)
      Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
      profileUpgradeParameters - Profile upgrade input parameter.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a profile is a logical grouping of endpoints that share the same settings.
      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.
    • upgradeAsync

      Mono<ProfileInner> upgradeAsync(String resourceGroupName, String profileName, ProfileUpgradeParameters profileUpgradeParameters)
      Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
      profileUpgradeParameters - Profile upgrade input parameter.
      Returns:
      a profile is a logical grouping of endpoints that share the same settings 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.
    • upgrade

      ProfileInner upgrade(String resourceGroupName, String profileName, ProfileUpgradeParameters profileUpgradeParameters)
      Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
      profileUpgradeParameters - Profile upgrade input parameter.
      Returns:
      a profile is a logical grouping of endpoints that share the same settings.
      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.
    • upgrade

      ProfileInner upgrade(String resourceGroupName, String profileName, ProfileUpgradeParameters profileUpgradeParameters, com.azure.core.util.Context context)
      Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
      profileUpgradeParameters - Profile upgrade input parameter.
      context - The context to associate with this operation.
      Returns:
      a profile is a logical grouping of endpoints that share the same settings.
      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.