LiveToken class
Class representing a LiveToken.
Constructors
Live |
Create a LiveToken. |
Methods
get(string, Request |
Gets an access token for live metrics stream data. |
get(string, Request |
|
get(string, Service |
Constructor Details
LiveToken(ApplicationInsightsManagementClientContext)
Create a LiveToken.
new LiveToken(client: ApplicationInsightsManagementClientContext)
Parameters
Reference to the service client.
Method Details
get(string, RequestOptionsBase)
Gets an access token for live metrics stream data.
function get(resourceUri: string, options?: RequestOptionsBase): Promise<LiveTokenGetResponse>
Parameters
- resourceUri
-
string
The identifier of the resource.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<LiveTokenGetResponse>
Promise<Models.LiveTokenGetResponse>
get(string, RequestOptionsBase, ServiceCallback<LiveTokenResponse>)
function get(resourceUri: string, options: RequestOptionsBase, callback: ServiceCallback<LiveTokenResponse>)
Parameters
- resourceUri
-
string
The identifier of the resource.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
get(string, ServiceCallback<LiveTokenResponse>)
function get(resourceUri: string, callback: ServiceCallback<LiveTokenResponse>)
Parameters
- resourceUri
-
string
The identifier of the resource.
- callback
The callback