Interface AfdProfilesClient


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

      • listResourceUsageAsync

        com.azure.core.http.rest.PagedFlux<UsageInner> listResourceUsageAsync​(String resourceGroupName,
                                                                              String profileName)
        Checks the quota and actual usage of endpoints under the given 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:
        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 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:
        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 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:
        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 CDN 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 or CDN 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 CDN 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 or CDN 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.
      • checkHostnameAvailability

        CheckNameAvailabilityOutputInner checkHostnameAvailability​(String resourceGroupName,
                                                                   String profileName,
                                                                   CheckHostnameAvailabilityInput checkHostnameAvailabilityInput)
        Validates the custom domain mapping to ensure it maps to the correct CDN 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 or CDN 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.
      • 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 CDN 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 or CDN 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.