Interface ProfilesClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<ProfileInner>, InnerSupportsListing<ProfileInner>

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

    • listAsync

      com.azure.core.http.rest.PagedFlux<ProfileInner> listAsync()
      Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an Azure subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<ProfileInner>
      Returns:
      result of the request to list profiles as paginated response with PagedFlux.
      Throws:
      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.
    • list

      com.azure.core.http.rest.PagedIterable<ProfileInner> list()
      Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an Azure subscription.
      Specified by:
      list in interface InnerSupportsListing<ProfileInner>
      Returns:
      result of the request to list profiles as paginated response with PagedIterable.
      Throws:
      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.
    • list

      com.azure.core.http.rest.PagedIterable<ProfileInner> list(com.azure.core.util.Context context)
      Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an Azure subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      result of the request to list profiles 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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<ProfileInner> listByResourceGroupAsync(String resourceGroupName)
      Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<ProfileInner>
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      Returns:
      result of the request to list profiles 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<ProfileInner> listByResourceGroup(String resourceGroupName)
      Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<ProfileInner>
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      Returns:
      result of the request to list profiles 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<ProfileInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within a resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      context - The context to associate with this operation.
      Returns:
      result of the request to list profiles 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.
    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ProfileInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String profileName)
      Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      Returns:
      an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group 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.
    • getByResourceGroupAsync

      Mono<ProfileInner> getByResourceGroupAsync(String resourceGroupName, String profileName)
      Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<ProfileInner>
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      Returns:
      an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group 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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<ProfileInner> getByResourceGroupWithResponse(String resourceGroupName, String profileName, com.azure.core.util.Context context)
      Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      context - The context to associate with this operation.
      Returns:
      an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group 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.
    • getByResourceGroup

      ProfileInner getByResourceGroup(String resourceGroupName, String profileName)
      Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<ProfileInner>
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      Returns:
      an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
      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, ProfileInner profile)
      Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      profile - Profile properties needed to create a new profile.
      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.
    • beginCreateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner> beginCreateAsync(String resourceGroupName, String profileName, ProfileInner profile)
      Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      profile - Profile properties needed to create a new profile.
      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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner> beginCreate(String resourceGroupName, String profileName, ProfileInner profile)
      Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      profile - Profile properties needed to create a new profile.
      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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner> beginCreate(String resourceGroupName, String profileName, ProfileInner profile, com.azure.core.util.Context context)
      Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      profile - Profile properties needed to create a new profile.
      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.
    • createAsync

      Mono<ProfileInner> createAsync(String resourceGroupName, String profileName, ProfileInner profile)
      Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      profile - Profile properties needed to create a new profile.
      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.
    • create

      ProfileInner create(String resourceGroupName, String profileName, ProfileInner profile)
      Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      profile - Profile properties needed to create a new profile.
      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.
    • create

      ProfileInner create(String resourceGroupName, String profileName, ProfileInner profile, com.azure.core.util.Context context)
      Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      profile - Profile properties needed to create a new profile.
      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.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String profileName, ProfileUpdateParameters profileUpdateParameters)
      Updates an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      profileUpdateParameters - Profile properties needed to update an existing profile.
      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.
    • beginUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner> beginUpdateAsync(String resourceGroupName, String profileName, ProfileUpdateParameters profileUpdateParameters)
      Updates an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      profileUpdateParameters - Profile properties needed to update an existing profile.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner> beginUpdate(String resourceGroupName, String profileName, ProfileUpdateParameters profileUpdateParameters)
      Updates an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      profileUpdateParameters - Profile properties needed to update an existing profile.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner> beginUpdate(String resourceGroupName, String profileName, ProfileUpdateParameters profileUpdateParameters, com.azure.core.util.Context context)
      Updates an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      profileUpdateParameters - Profile properties needed to update an existing profile.
      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.
    • updateAsync

      Mono<ProfileInner> updateAsync(String resourceGroupName, String profileName, ProfileUpdateParameters profileUpdateParameters)
      Updates an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      profileUpdateParameters - Profile properties needed to update an existing profile.
      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.
    • update

      ProfileInner update(String resourceGroupName, String profileName, ProfileUpdateParameters profileUpdateParameters)
      Updates an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      profileUpdateParameters - Profile properties needed to update an existing profile.
      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.
    • update

      ProfileInner update(String resourceGroupName, String profileName, ProfileUpdateParameters profileUpdateParameters, com.azure.core.util.Context context)
      Updates an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      profileUpdateParameters - Profile properties needed to update an existing profile.
      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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String profileName)
      Deletes an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom 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 or CDN profile which is unique within the resource group.
      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)
      Deletes an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom 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 or CDN profile which is unique within the resource group.
      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)
      Deletes an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom 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 or CDN profile which is unique within the resource group.
      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, com.azure.core.util.Context context)
      Deletes an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom 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 or CDN profile which is unique within the resource group.
      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)
      Deletes an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      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)
      Deletes an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom 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 or CDN profile which is unique within the resource group.
      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, com.azure.core.util.Context context)
      Deletes an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom 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 or CDN profile which is unique within the resource group.
      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.
    • canMigrateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> canMigrateWithResponseAsync(String resourceGroupName, CanMigrateParameters canMigrateParameters)
      Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      canMigrateParameters - Properties needed to check if cdn profile or classic frontdoor can be migrated.
      Returns:
      result for canMigrate operation 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.
    • beginCanMigrateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CanMigrateResultInner>,CanMigrateResultInner> beginCanMigrateAsync(String resourceGroupName, CanMigrateParameters canMigrateParameters)
      Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      canMigrateParameters - Properties needed to check if cdn profile or classic frontdoor can be migrated.
      Returns:
      the PollerFlux for polling of result for canMigrate 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.
    • beginCanMigrate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CanMigrateResultInner>,CanMigrateResultInner> beginCanMigrate(String resourceGroupName, CanMigrateParameters canMigrateParameters)
      Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      canMigrateParameters - Properties needed to check if cdn profile or classic frontdoor can be migrated.
      Returns:
      the SyncPoller for polling of result for canMigrate 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.
    • beginCanMigrate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CanMigrateResultInner>,CanMigrateResultInner> beginCanMigrate(String resourceGroupName, CanMigrateParameters canMigrateParameters, com.azure.core.util.Context context)
      Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      canMigrateParameters - Properties needed to check if cdn profile or classic frontdoor can be migrated.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of result for canMigrate 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.
    • canMigrateAsync

      Mono<CanMigrateResultInner> canMigrateAsync(String resourceGroupName, CanMigrateParameters canMigrateParameters)
      Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      canMigrateParameters - Properties needed to check if cdn profile or classic frontdoor can be migrated.
      Returns:
      result for canMigrate operation 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.
    • canMigrate

      CanMigrateResultInner canMigrate(String resourceGroupName, CanMigrateParameters canMigrateParameters)
      Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      canMigrateParameters - Properties needed to check if cdn profile or classic frontdoor can be migrated.
      Returns:
      result for canMigrate 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.
    • canMigrate

      CanMigrateResultInner canMigrate(String resourceGroupName, CanMigrateParameters canMigrateParameters, com.azure.core.util.Context context)
      Checks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      canMigrateParameters - Properties needed to check if cdn profile or classic frontdoor can be migrated.
      context - The context to associate with this operation.
      Returns:
      result for canMigrate 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.
    • migrateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> migrateWithResponseAsync(String resourceGroupName, MigrationParameters migrationParameters)
      Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. The change need to be committed after this.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      migrationParameters - Properties needed to migrate the profile.
      Returns:
      result for migrate operation 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.
    • beginMigrateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<MigrateResultInner>,MigrateResultInner> beginMigrateAsync(String resourceGroupName, MigrationParameters migrationParameters)
      Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. The change need to be committed after this.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      migrationParameters - Properties needed to migrate the profile.
      Returns:
      the PollerFlux for polling of result for migrate 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.
    • beginMigrate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MigrateResultInner>,MigrateResultInner> beginMigrate(String resourceGroupName, MigrationParameters migrationParameters)
      Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. The change need to be committed after this.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      migrationParameters - Properties needed to migrate the profile.
      Returns:
      the SyncPoller for polling of result for migrate 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.
    • beginMigrate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MigrateResultInner>,MigrateResultInner> beginMigrate(String resourceGroupName, MigrationParameters migrationParameters, com.azure.core.util.Context context)
      Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. The change need to be committed after this.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      migrationParameters - Properties needed to migrate the profile.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of result for migrate 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.
    • migrateAsync

      Mono<MigrateResultInner> migrateAsync(String resourceGroupName, MigrationParameters migrationParameters)
      Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. The change need to be committed after this.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      migrationParameters - Properties needed to migrate the profile.
      Returns:
      result for migrate operation 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.
    • migrate

      MigrateResultInner migrate(String resourceGroupName, MigrationParameters migrationParameters)
      Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. The change need to be committed after this.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      migrationParameters - Properties needed to migrate the profile.
      Returns:
      result for migrate 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.
    • migrate

      MigrateResultInner migrate(String resourceGroupName, MigrationParameters migrationParameters, com.azure.core.util.Context context)
      Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. The change need to be committed after this.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      migrationParameters - Properties needed to migrate the profile.
      context - The context to associate with this operation.
      Returns:
      result for migrate 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.
    • migrationCommitWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> migrationCommitWithResponseAsync(String resourceGroupName, String profileName)
      Commit the migrated Azure Frontdoor(Standard/Premium) profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the CDN profile which is unique within the resource group.
      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.
    • beginMigrationCommitAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginMigrationCommitAsync(String resourceGroupName, String profileName)
      Commit the migrated Azure Frontdoor(Standard/Premium) profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the CDN profile which is unique within the resource group.
      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.
    • beginMigrationCommit

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginMigrationCommit(String resourceGroupName, String profileName)
      Commit the migrated Azure Frontdoor(Standard/Premium) profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the CDN profile which is unique within the resource group.
      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.
    • beginMigrationCommit

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginMigrationCommit(String resourceGroupName, String profileName, com.azure.core.util.Context context)
      Commit the migrated Azure Frontdoor(Standard/Premium) profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the CDN profile which is unique within the resource group.
      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.
    • migrationCommitAsync

      Mono<Void> migrationCommitAsync(String resourceGroupName, String profileName)
      Commit the migrated Azure Frontdoor(Standard/Premium) profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the CDN profile which is unique within the resource group.
      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.
    • migrationCommit

      void migrationCommit(String resourceGroupName, String profileName)
      Commit the migrated Azure Frontdoor(Standard/Premium) profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the CDN profile which is unique within the resource group.
      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.
    • migrationCommit

      void migrationCommit(String resourceGroupName, String profileName, com.azure.core.util.Context context)
      Commit the migrated Azure Frontdoor(Standard/Premium) profile.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the CDN profile which is unique within the resource group.
      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.
    • generateSsoUriWithResponseAsync

      Mono<com.azure.core.http.rest.Response<SsoUriInner>> generateSsoUriWithResponseAsync(String resourceGroupName, String profileName)
      Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemental portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The SSO URI changes approximately every 10 minutes.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the CDN profile which is unique within the resource group.
      Returns:
      the URI required to login to the supplemental portal from the Azure portal 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.
    • generateSsoUriAsync

      Mono<SsoUriInner> generateSsoUriAsync(String resourceGroupName, String profileName)
      Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemental portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The SSO URI changes approximately every 10 minutes.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the CDN profile which is unique within the resource group.
      Returns:
      the URI required to login to the supplemental portal from the Azure portal 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.
    • generateSsoUriWithResponse

      com.azure.core.http.rest.Response<SsoUriInner> generateSsoUriWithResponse(String resourceGroupName, String profileName, com.azure.core.util.Context context)
      Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemental portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The SSO URI changes approximately every 10 minutes.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the CDN profile which is unique within the resource group.
      context - The context to associate with this operation.
      Returns:
      the URI required to login to the supplemental portal from the Azure portal 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.
    • generateSsoUri

      SsoUriInner generateSsoUri(String resourceGroupName, String profileName)
      Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemental portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The SSO URI changes approximately every 10 minutes.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the CDN profile which is unique within the resource group.
      Returns:
      the URI required to login to the supplemental portal from the Azure portal.
      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.
    • listSupportedOptimizationTypesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<SupportedOptimizationTypesListResultInner>> listSupportedOptimizationTypesWithResponseAsync(String resourceGroupName, String profileName)
      Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      Returns:
      the supported optimization types for the current 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.
    • listSupportedOptimizationTypesAsync

      Mono<SupportedOptimizationTypesListResultInner> listSupportedOptimizationTypesAsync(String resourceGroupName, String profileName)
      Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      Returns:
      the supported optimization types for the current 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.
    • listSupportedOptimizationTypesWithResponse

      com.azure.core.http.rest.Response<SupportedOptimizationTypesListResultInner> listSupportedOptimizationTypesWithResponse(String resourceGroupName, String profileName, com.azure.core.util.Context context)
      Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      context - The context to associate with this operation.
      Returns:
      the supported optimization types for the current 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.
    • listSupportedOptimizationTypes

      SupportedOptimizationTypesListResultInner listSupportedOptimizationTypes(String resourceGroupName, String profileName)
      Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
      Returns:
      the supported optimization types for the current 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.
    • listResourceUsageAsync

      com.azure.core.http.rest.PagedFlux<ResourceUsageInner> listResourceUsageAsync(String resourceGroupName, String profileName)
      Checks the quota and actual usage of endpoints under the given Azure Front Door Standard or Azure Front Door Premium or CDN 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 or CDN profile which is unique within the resource group.
      Returns:
      output of check resource usage API 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<ResourceUsageInner> listResourceUsage(String resourceGroupName, String profileName)
      Checks the quota and actual usage of endpoints under the given Azure Front Door Standard or Azure Front Door Premium or CDN 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 or CDN profile which is unique within the resource group.
      Returns:
      output of check resource usage API 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<ResourceUsageInner> 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 Standard or Azure Front Door Premium or CDN 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 or CDN profile which is unique within the resource group.
      context - The context to associate with this operation.
      Returns:
      output of check resource usage API 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.