Interface LiveTokensClient


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

    Modifier and Type
    Method
    Description
    get(String resourceUri)
    **Gets an access token for live metrics stream data.**.
    com.azure.core.http.rest.Response<LiveTokenResponseInner>
    getWithResponse(String resourceUri, com.azure.core.util.Context context)
    **Gets an access token for live metrics stream data.**.
  • Method Details

    • get

      LiveTokenResponseInner get(String resourceUri)
      **Gets an access token for live metrics stream data.**.
      Parameters:
      resourceUri - The identifier of the resource.
      Returns:
      the response to a live token query.
      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<LiveTokenResponseInner> getWithResponse(String resourceUri, com.azure.core.util.Context context)
      **Gets an access token for live metrics stream data.**.
      Parameters:
      resourceUri - The identifier of the resource.
      context - The context to associate with this operation.
      Returns:
      the response to a live token query 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.