Interface ChangesClient


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

    • listAsync

      com.azure.core.http.rest.PagedFlux<ChangeResourceResultInner> listAsync(String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName, Long top, String skipToken)
      Obtains a list of change resources from the past 14 days for the target resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      resourceProviderNamespace - The name of the resource provider namespace.
      resourceType - The name of the resource type.
      resourceName - The name of the resource.
      top - (Optional) Set the maximum number of results per response.
      skipToken - (Optional) The page-continuation token.
      Returns:
      the list of resources 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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<ChangeResourceResultInner> listAsync(String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName)
      Obtains a list of change resources from the past 14 days for the target resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      resourceProviderNamespace - The name of the resource provider namespace.
      resourceType - The name of the resource type.
      resourceName - The name of the resource.
      Returns:
      the list of resources 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.
    • list

      com.azure.core.http.rest.PagedIterable<ChangeResourceResultInner> list(String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName)
      Obtains a list of change resources from the past 14 days for the target resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      resourceProviderNamespace - The name of the resource provider namespace.
      resourceType - The name of the resource type.
      resourceName - The name of the resource.
      Returns:
      the list of resources 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.
    • list

      com.azure.core.http.rest.PagedIterable<ChangeResourceResultInner> list(String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName, Long top, String skipToken, com.azure.core.util.Context context)
      Obtains a list of change resources from the past 14 days for the target resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      resourceProviderNamespace - The name of the resource provider namespace.
      resourceType - The name of the resource type.
      resourceName - The name of the resource.
      top - (Optional) Set the maximum number of results per response.
      skipToken - (Optional) The page-continuation token.
      context - The context to associate with this operation.
      Returns:
      the list of resources 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ChangeResourceResultInner>> getWithResponseAsync(String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName, String changeResourceId)
      Obtains the specified change resource for the target resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      resourceProviderNamespace - The name of the resource provider namespace.
      resourceType - The name of the resource type.
      resourceName - The name of the resource.
      changeResourceId - The ID of the change resource.
      Returns:
      change Resource 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.
    • getAsync

      Mono<ChangeResourceResultInner> getAsync(String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName, String changeResourceId)
      Obtains the specified change resource for the target resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      resourceProviderNamespace - The name of the resource provider namespace.
      resourceType - The name of the resource type.
      resourceName - The name of the resource.
      changeResourceId - The ID of the change resource.
      Returns:
      change Resource 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.
    • get

      ChangeResourceResultInner get(String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName, String changeResourceId)
      Obtains the specified change resource for the target resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      resourceProviderNamespace - The name of the resource provider namespace.
      resourceType - The name of the resource type.
      resourceName - The name of the resource.
      changeResourceId - The ID of the change resource.
      Returns:
      change Resource.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<ChangeResourceResultInner> getWithResponse(String resourceGroupName, String resourceProviderNamespace, String resourceType, String resourceName, String changeResourceId, com.azure.core.util.Context context)
      Obtains the specified change resource for the target resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      resourceProviderNamespace - The name of the resource provider namespace.
      resourceType - The name of the resource type.
      resourceName - The name of the resource.
      changeResourceId - The ID of the change resource.
      context - The context to associate with this operation.
      Returns:
      change Resource 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.