Interface ServicesClient


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

    Modifier and Type
    Method
    Description
    get(String serviceName)
    Gets a specific Azure service for support ticket creation.
    com.azure.core.http.rest.Response<ServiceInner>
    getWithResponse(String serviceName, com.azure.core.util.Context context)
    Gets a specific Azure service for support ticket creation.
    com.azure.core.http.rest.PagedIterable<ServiceInner>
    Lists all the Azure services available for support ticket creation.
    com.azure.core.http.rest.PagedIterable<ServiceInner>
    list(com.azure.core.util.Context context)
    Lists all the Azure services available for support ticket creation.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<ServiceInner> list()
      Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids.
      Returns:
      collection of Service resources as paginated response with PagedIterable.
      Throws:
      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<ServiceInner> list(com.azure.core.util.Context context)
      Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      collection of Service 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<ServiceInner> getWithResponse(String serviceName, com.azure.core.util.Context context)
      Gets a specific Azure service for support ticket creation.
      Parameters:
      serviceName - Name of the Azure service.
      context - The context to associate with this operation.
      Returns:
      a specific Azure service for support ticket creation 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

      ServiceInner get(String serviceName)
      Gets a specific Azure service for support ticket creation.
      Parameters:
      serviceName - Name of the Azure service.
      Returns:
      a specific Azure service for support ticket creation.
      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.