Interface LiveTokens
-
public interface LiveTokens
Resource collection API of LiveTokens.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LiveTokenResponse
get(String resourceUri)
**Gets an access token for live metrics stream data.**.com.azure.core.http.rest.Response<LiveTokenResponse>
getWithResponse(String resourceUri, com.azure.core.util.Context context)
**Gets an access token for live metrics stream data.**.
-
-
-
Method Detail
-
get
LiveTokenResponse 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<LiveTokenResponse> 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.
-
-