Interface CdnManagementClient


public interface CdnManagementClient
The interface for CdnManagementClient class.
  • Method Details

    • getSubscriptionId

      String getSubscriptionId()
      Gets Azure Subscription ID.
      Returns:
      the subscriptionId value.
    • getEndpoint

      String getEndpoint()
      Gets server parameter.
      Returns:
      the endpoint value.
    • getApiVersion

      String getApiVersion()
      Gets Api Version.
      Returns:
      the apiVersion value.
    • getHttpPipeline

      com.azure.core.http.HttpPipeline getHttpPipeline()
      Gets The HTTP pipeline to send requests through.
      Returns:
      the httpPipeline value.
    • getDefaultPollInterval

      Duration getDefaultPollInterval()
      Gets The default poll interval for long-running operation.
      Returns:
      the defaultPollInterval value.
    • getAfdProfiles

      AfdProfilesClient getAfdProfiles()
      Gets the AfdProfilesClient object to access its operations.
      Returns:
      the AfdProfilesClient object.
    • getAfdCustomDomains

      AfdCustomDomainsClient getAfdCustomDomains()
      Gets the AfdCustomDomainsClient object to access its operations.
      Returns:
      the AfdCustomDomainsClient object.
    • getAfdEndpoints

      AfdEndpointsClient getAfdEndpoints()
      Gets the AfdEndpointsClient object to access its operations.
      Returns:
      the AfdEndpointsClient object.
    • getAfdOriginGroups

      AfdOriginGroupsClient getAfdOriginGroups()
      Gets the AfdOriginGroupsClient object to access its operations.
      Returns:
      the AfdOriginGroupsClient object.
    • getAfdOrigins

      AfdOriginsClient getAfdOrigins()
      Gets the AfdOriginsClient object to access its operations.
      Returns:
      the AfdOriginsClient object.
    • getRoutes

      RoutesClient getRoutes()
      Gets the RoutesClient object to access its operations.
      Returns:
      the RoutesClient object.
    • getRuleSets

      RuleSetsClient getRuleSets()
      Gets the RuleSetsClient object to access its operations.
      Returns:
      the RuleSetsClient object.
    • getRules

      RulesClient getRules()
      Gets the RulesClient object to access its operations.
      Returns:
      the RulesClient object.
    • getSecurityPolicies

      SecurityPoliciesClient getSecurityPolicies()
      Gets the SecurityPoliciesClient object to access its operations.
      Returns:
      the SecurityPoliciesClient object.
    • getSecrets

      SecretsClient getSecrets()
      Gets the SecretsClient object to access its operations.
      Returns:
      the SecretsClient object.
    • getLogAnalytics

      LogAnalyticsClient getLogAnalytics()
      Gets the LogAnalyticsClient object to access its operations.
      Returns:
      the LogAnalyticsClient object.
    • getProfiles

      ProfilesClient getProfiles()
      Gets the ProfilesClient object to access its operations.
      Returns:
      the ProfilesClient object.
    • getEndpoints

      EndpointsClient getEndpoints()
      Gets the EndpointsClient object to access its operations.
      Returns:
      the EndpointsClient object.
    • getOrigins

      OriginsClient getOrigins()
      Gets the OriginsClient object to access its operations.
      Returns:
      the OriginsClient object.
    • getOriginGroups

      OriginGroupsClient getOriginGroups()
      Gets the OriginGroupsClient object to access its operations.
      Returns:
      the OriginGroupsClient object.
    • getCustomDomains

      CustomDomainsClient getCustomDomains()
      Gets the CustomDomainsClient object to access its operations.
      Returns:
      the CustomDomainsClient object.
    • getResourceUsages

      ResourceUsagesClient getResourceUsages()
      Gets the ResourceUsagesClient object to access its operations.
      Returns:
      the ResourceUsagesClient object.
    • getOperations

      OperationsClient getOperations()
      Gets the OperationsClient object to access its operations.
      Returns:
      the OperationsClient object.
    • getEdgeNodes

      EdgeNodesClient getEdgeNodes()
      Gets the EdgeNodesClient object to access its operations.
      Returns:
      the EdgeNodesClient object.
    • getPolicies

      PoliciesClient getPolicies()
      Gets the PoliciesClient object to access its operations.
      Returns:
      the PoliciesClient object.
    • getManagedRuleSets

      ManagedRuleSetsClient getManagedRuleSets()
      Gets the ManagedRuleSetsClient object to access its operations.
      Returns:
      the ManagedRuleSetsClient object.
    • checkEndpointNameAvailabilityWithResponseAsync

      Mono<com.azure.core.http.rest.Response<CheckEndpointNameAvailabilityOutputInner>> checkEndpointNameAvailabilityWithResponseAsync(String resourceGroupName, CheckEndpointNameAvailabilityInput checkEndpointNameAvailabilityInput)
      Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      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, CheckEndpointNameAvailabilityInput checkEndpointNameAvailabilityInput)
      Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      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, CheckEndpointNameAvailabilityInput checkEndpointNameAvailabilityInput, com.azure.core.util.Context context)
      Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      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, CheckEndpointNameAvailabilityInput checkEndpointNameAvailabilityInput)
      Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      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.
    • checkNameAvailabilityWithResponseAsync

      Mono<com.azure.core.http.rest.Response<CheckNameAvailabilityOutputInner>> checkNameAvailabilityWithResponseAsync(CheckNameAvailabilityInput checkNameAvailabilityInput)
      Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
      Parameters:
      checkNameAvailabilityInput - 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.
    • checkNameAvailabilityAsync

      Mono<CheckNameAvailabilityOutputInner> checkNameAvailabilityAsync(CheckNameAvailabilityInput checkNameAvailabilityInput)
      Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
      Parameters:
      checkNameAvailabilityInput - 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.
    • checkNameAvailabilityWithResponse

      com.azure.core.http.rest.Response<CheckNameAvailabilityOutputInner> checkNameAvailabilityWithResponse(CheckNameAvailabilityInput checkNameAvailabilityInput, com.azure.core.util.Context context)
      Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
      Parameters:
      checkNameAvailabilityInput - 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.
    • checkNameAvailability

      CheckNameAvailabilityOutputInner checkNameAvailability(CheckNameAvailabilityInput checkNameAvailabilityInput)
      Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
      Parameters:
      checkNameAvailabilityInput - 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.
    • checkNameAvailabilityWithSubscriptionWithResponseAsync

      Mono<com.azure.core.http.rest.Response<CheckNameAvailabilityOutputInner>> checkNameAvailabilityWithSubscriptionWithResponseAsync(CheckNameAvailabilityInput checkNameAvailabilityInput)
      Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
      Parameters:
      checkNameAvailabilityInput - 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.
    • checkNameAvailabilityWithSubscriptionAsync

      Mono<CheckNameAvailabilityOutputInner> checkNameAvailabilityWithSubscriptionAsync(CheckNameAvailabilityInput checkNameAvailabilityInput)
      Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
      Parameters:
      checkNameAvailabilityInput - 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.
    • checkNameAvailabilityWithSubscriptionWithResponse

      com.azure.core.http.rest.Response<CheckNameAvailabilityOutputInner> checkNameAvailabilityWithSubscriptionWithResponse(CheckNameAvailabilityInput checkNameAvailabilityInput, com.azure.core.util.Context context)
      Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
      Parameters:
      checkNameAvailabilityInput - 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.
    • checkNameAvailabilityWithSubscription

      CheckNameAvailabilityOutputInner checkNameAvailabilityWithSubscription(CheckNameAvailabilityInput checkNameAvailabilityInput)
      Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
      Parameters:
      checkNameAvailabilityInput - 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.
    • validateProbeWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ValidateProbeOutputInner>> validateProbeWithResponseAsync(ValidateProbeInput validateProbeInput)
      Check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration.
      Parameters:
      validateProbeInput - Input to check.
      Returns:
      output of the validate probe 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.
    • validateProbeAsync

      Mono<ValidateProbeOutputInner> validateProbeAsync(ValidateProbeInput validateProbeInput)
      Check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration.
      Parameters:
      validateProbeInput - Input to check.
      Returns:
      output of the validate probe 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.
    • validateProbeWithResponse

      com.azure.core.http.rest.Response<ValidateProbeOutputInner> validateProbeWithResponse(ValidateProbeInput validateProbeInput, com.azure.core.util.Context context)
      Check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration.
      Parameters:
      validateProbeInput - Input to check.
      context - The context to associate with this operation.
      Returns:
      output of the validate probe 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.
    • validateProbe

      ValidateProbeOutputInner validateProbe(ValidateProbeInput validateProbeInput)
      Check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration.
      Parameters:
      validateProbeInput - Input to check.
      Returns:
      output of the validate probe 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.