Interface ProblemClassificationsClient


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

    Modifier and Type
    Method
    Description
    get(String serviceName, String problemClassificationName)
    Get problem classification details for a specific Azure service.
    com.azure.core.http.rest.Response<ProblemClassificationInner>
    getWithResponse(String serviceName, String problemClassificationName, com.azure.core.util.Context context)
    Get problem classification details for a specific Azure service.
    com.azure.core.http.rest.PagedIterable<ProblemClassificationInner>
    list(String serviceName)
    Lists all the problem classifications (categories) available for a specific Azure service.
    com.azure.core.http.rest.PagedIterable<ProblemClassificationInner>
    list(String serviceName, com.azure.core.util.Context context)
    Lists all the problem classifications (categories) available for a specific Azure service.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<ProblemClassificationInner> list(String serviceName)
      Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids.
      Parameters:
      serviceName - Name of the Azure service for which the problem classifications need to be retrieved.
      Returns:
      collection of ProblemClassification 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<ProblemClassificationInner> list(String serviceName, com.azure.core.util.Context context)
      Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids.
      Parameters:
      serviceName - Name of the Azure service for which the problem classifications need to be retrieved.
      context - The context to associate with this operation.
      Returns:
      collection of ProblemClassification 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.
    • getWithResponse

      com.azure.core.http.rest.Response<ProblemClassificationInner> getWithResponse(String serviceName, String problemClassificationName, com.azure.core.util.Context context)
      Get problem classification details for a specific Azure service.
      Parameters:
      serviceName - Name of the Azure service available for support.
      problemClassificationName - Name of problem classification.
      context - The context to associate with this operation.
      Returns:
      problem classification details for a specific Azure service 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.
    • get

      ProblemClassificationInner get(String serviceName, String problemClassificationName)
      Get problem classification details for a specific Azure service.
      Parameters:
      serviceName - Name of the Azure service available for support.
      problemClassificationName - Name of problem classification.
      Returns:
      problem classification details for a specific Azure service.
      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.