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 CDN profile which is unique within the resource group.
        Returns:
        the list usages operation 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.
      • 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 CDN profile which is unique within the resource group.
        Returns:
        the list usages operation 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.
      • 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 CDN profile which is unique within the resource group.
        context - The context to associate with this operation.
        Returns:
        the list usages operation 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.
      • checkHostnameAvailabilityWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ValidateCustomDomainOutputInner>> checkHostnameAvailabilityWithResponseAsync​(String resourceGroupName,
                                                                                                                            String profileName,
                                                                                                                            String hostname)
        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 CDN profile which is unique within the resource group.
        hostname - The host name of the custom domain. Must be a domain name.
        Returns:
        output of custom domain validation.
        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<ValidateCustomDomainOutputInner> checkHostnameAvailabilityAsync​(String resourceGroupName,
                                                                             String profileName,
                                                                             String hostname)
        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 CDN profile which is unique within the resource group.
        hostname - The host name of the custom domain. Must be a domain name.
        Returns:
        output of custom domain validation.
        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

        ValidateCustomDomainOutputInner checkHostnameAvailability​(String resourceGroupName,
                                                                  String profileName,
                                                                  String hostname)
        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 CDN profile which is unique within the resource group.
        hostname - The host name of the custom domain. Must be a domain name.
        Returns:
        output of custom domain validation.
        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<ValidateCustomDomainOutputInner> checkHostnameAvailabilityWithResponse​(String resourceGroupName,
                                                                                                                 String profileName,
                                                                                                                 String hostname,
                                                                                                                 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 CDN profile which is unique within the resource group.
        hostname - The host name of the custom domain. Must be a domain name.
        context - The context to associate with this operation.
        Returns:
        output of custom domain validation.
        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.