ApplicationInsightsManagementClient class

Extends

Constructors

ApplicationInsightsManagementClient(ServiceClientCredentials | TokenCredential, string, ApplicationInsightsManagementClientOptions)

Initializes a new instance of the ApplicationInsightsManagementClient class.

Properties

analyticsItems
annotations
aPIKeys
componentAvailableFeatures
componentCurrentBillingFeatures
componentFeatureCapabilities
componentLinkedStorageAccounts
componentQuotaStatus
components
exportConfigurations
favorites
liveToken
myWorkbooks
operations
proactiveDetectionConfigurations
webTestLocations
webTests
workbooks
workbookTemplates
workItemConfigurations

Inherited Properties

acceptLanguage
credentials
longRunningOperationRetryTimeout

The retry timeout in seconds for Long Running Operations. Default value is 30.

subscriptionId

Inherited Methods

beginLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

Send the initial request of a LRO (long running operation) and get back an HttpLongRunningOperationResponse that provides methods for polling the LRO and checking if the LRO is finished.

restoreLROPoller(LROPollState)

Restore an LROPoller from the provided LROPollState. This method can be used to recreate an LROPoller on a different process or machine.

sendLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

Provides a mechanism to make a request that will poll and provide the final result.

sendLRORequest(OperationArguments, OperationSpec, RequestOptionsBase)

Send the initial request of a LRO (long running operation) and get back an LROPoller that provides methods for polling the LRO and checking if the LRO is finished.

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

Send an HTTP request that is populated using the provided OperationSpec.

sendRequest(RequestPrepareOptions | WebResourceLike)

Send the provided httpRequest.

Constructor Details

ApplicationInsightsManagementClient(ServiceClientCredentials | TokenCredential, string, ApplicationInsightsManagementClientOptions)

Initializes a new instance of the ApplicationInsightsManagementClient class.

new ApplicationInsightsManagementClient(credentials: ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: ApplicationInsightsManagementClientOptions)

Parameters

credentials

ServiceClientCredentials | TokenCredential

Credentials needed for the client to connect to Azure. Credentials implementing the TokenCredential interface from the @azure/identity package are recommended. For more information about these credentials, see https://www.npmjs.com/package/@azure/identity. Credentials implementing the ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and @azure/ms-rest-browserauth are also supported.

subscriptionId

string

The ID of the target subscription.

options
ApplicationInsightsManagementClientOptions

The parameter options

Property Details

analyticsItems

analyticsItems: AnalyticsItems

Property Value

annotations

annotations: Annotations

Property Value

aPIKeys

aPIKeys: APIKeys

Property Value

componentAvailableFeatures

componentAvailableFeatures: ComponentAvailableFeatures

Property Value

componentCurrentBillingFeatures

componentCurrentBillingFeatures: ComponentCurrentBillingFeatures

Property Value

componentFeatureCapabilities

componentFeatureCapabilities: ComponentFeatureCapabilities

Property Value

componentLinkedStorageAccounts

componentLinkedStorageAccounts: ComponentLinkedStorageAccountsOperations

Property Value

componentQuotaStatus

componentQuotaStatus: ComponentQuotaStatus

Property Value

components

components: Components

Property Value

exportConfigurations

exportConfigurations: ExportConfigurations

Property Value

favorites

favorites: Favorites

Property Value

liveToken

liveToken: LiveToken

Property Value

myWorkbooks

myWorkbooks: MyWorkbooks

Property Value

operations

operations: Operations

Property Value

proactiveDetectionConfigurations

proactiveDetectionConfigurations: ProactiveDetectionConfigurations

Property Value

webTestLocations

webTestLocations: WebTestLocations

Property Value

webTests

webTests: WebTests

Property Value

workbooks

workbooks: Workbooks

Property Value

workbookTemplates

workbookTemplates: WorkbookTemplates

Property Value

workItemConfigurations

workItemConfigurations: WorkItemConfigurations

Property Value

Inherited Property Details

acceptLanguage

acceptLanguage: string

Property Value

string

Inherited From ApplicationInsightsManagementClientContext.acceptLanguage

credentials

credentials: ServiceClientCredentials | TokenCredential

Property Value

Inherited From ApplicationInsightsManagementClientContext.credentials

longRunningOperationRetryTimeout

The retry timeout in seconds for Long Running Operations. Default value is 30.

longRunningOperationRetryTimeout?: number

Property Value

number

Inherited From ApplicationInsightsManagementClientContext.longRunningOperationRetryTimeout

subscriptionId

subscriptionId: string

Property Value

string

Inherited From ApplicationInsightsManagementClientContext.subscriptionId

Inherited Method Details

beginLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

Send the initial request of a LRO (long running operation) and get back an HttpLongRunningOperationResponse that provides methods for polling the LRO and checking if the LRO is finished.

function beginLongRunningRequest(request: RequestPrepareOptions | WebResource, options?: RequestOptionsBase): Promise<LROPoller>

Parameters

request

RequestPrepareOptions | WebResource

The request object

options
RequestOptionsBase

Additional options to be sent while making the request

Returns

Promise<@azure/ms-rest-azure-js.LROPoller>

The HttpLongRunningOperationResponse that provides methods for interacting with the LRO.

Inherited From ApplicationInsightsManagementClientContext.beginLongRunningRequest

restoreLROPoller(LROPollState)

Restore an LROPoller from the provided LROPollState. This method can be used to recreate an LROPoller on a different process or machine.

function restoreLROPoller(lroPollState: LROPollState): LROPoller

Parameters

lroPollState
@azure/ms-rest-azure-js.LROPollState

Returns

@azure/ms-rest-azure-js.LROPoller

Inherited From ApplicationInsightsManagementClientContext.restoreLROPoller

sendLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

Provides a mechanism to make a request that will poll and provide the final result.

function sendLongRunningRequest(request: RequestPrepareOptions | WebResource, options?: RequestOptionsBase): Promise<HttpOperationResponse>

Parameters

request

RequestPrepareOptions | WebResource

The request object

options
RequestOptionsBase

Additional options to be sent while making the request

Returns

The HttpOperationResponse containing the final polling request, response and the responseBody.

Inherited From ApplicationInsightsManagementClientContext.sendLongRunningRequest

sendLRORequest(OperationArguments, OperationSpec, RequestOptionsBase)

Send the initial request of a LRO (long running operation) and get back an LROPoller that provides methods for polling the LRO and checking if the LRO is finished.

function sendLRORequest(operationArguments: OperationArguments, operationSpec: OperationSpec, options?: RequestOptionsBase): Promise<LROPoller>

Parameters

operationArguments
OperationArguments

The arguments to the operation.

operationSpec
OperationSpec

The specification for the operation.

options
RequestOptionsBase

Additional options to be sent while making the request.

Returns

Promise<@azure/ms-rest-azure-js.LROPoller>

The LROPoller object that provides methods for interacting with the LRO.

Inherited From ApplicationInsightsManagementClientContext.sendLRORequest

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

Send an HTTP request that is populated using the provided OperationSpec.

function sendOperationRequest(operationArguments: OperationArguments, operationSpec: OperationSpec, callback?: ServiceCallback<any>): Promise<RestResponse>

Parameters

operationArguments
OperationArguments

The arguments that the HTTP request's templated values will be populated from.

operationSpec
OperationSpec

The OperationSpec to use to populate the httpRequest.

callback

ServiceCallback<any>

The callback to call when the response is received.

Returns

Promise<RestResponse>

Inherited From ApplicationInsightsManagementClientContext.sendOperationRequest

sendRequest(RequestPrepareOptions | WebResourceLike)

Send the provided httpRequest.

function sendRequest(options: RequestPrepareOptions | WebResourceLike): Promise<HttpOperationResponse>

Parameters

Returns

Inherited From ApplicationInsightsManagementClientContext.sendRequest