AnalyticsItems class

Class representing a AnalyticsItems.

Constructors

AnalyticsItems(ApplicationInsightsManagementClientContext)

Create a AnalyticsItems.

Methods

deleteMethod(string, string, ItemScopePath, AnalyticsItemsDeleteMethodOptionalParams)

Deletes a specific Analytics Items defined within an Application Insights component.

deleteMethod(string, string, ItemScopePath, AnalyticsItemsDeleteMethodOptionalParams, ServiceCallback<void>)
deleteMethod(string, string, ItemScopePath, ServiceCallback<void>)
get(string, string, ItemScopePath, AnalyticsItemsGetOptionalParams)

Gets a specific Analytics Items defined within an Application Insights component.

get(string, string, ItemScopePath, AnalyticsItemsGetOptionalParams, ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)
get(string, string, ItemScopePath, ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)
list(string, string, ItemScopePath, AnalyticsItemsListOptionalParams)

Gets a list of Analytics Items defined within an Application Insights component.

list(string, string, ItemScopePath, AnalyticsItemsListOptionalParams, ServiceCallback<ApplicationInsightsComponentAnalyticsItem[]>)
list(string, string, ItemScopePath, ServiceCallback<ApplicationInsightsComponentAnalyticsItem[]>)
put(string, string, ItemScopePath, ApplicationInsightsComponentAnalyticsItem, AnalyticsItemsPutOptionalParams)

Adds or Updates a specific Analytics Item within an Application Insights component.

put(string, string, ItemScopePath, ApplicationInsightsComponentAnalyticsItem, AnalyticsItemsPutOptionalParams, ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)
put(string, string, ItemScopePath, ApplicationInsightsComponentAnalyticsItem, ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

Constructor Details

AnalyticsItems(ApplicationInsightsManagementClientContext)

Create a AnalyticsItems.

new AnalyticsItems(client: ApplicationInsightsManagementClientContext)

Parameters

client
ApplicationInsightsManagementClientContext

Reference to the service client.

Method Details

deleteMethod(string, string, ItemScopePath, AnalyticsItemsDeleteMethodOptionalParams)

Deletes a specific Analytics Items defined within an Application Insights component.

function deleteMethod(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, options?: AnalyticsItemsDeleteMethodOptionalParams): Promise<RestResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

scopePath
ItemScopePath

Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'analyticsItems', 'myanalyticsItems'

options
AnalyticsItemsDeleteMethodOptionalParams

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

deleteMethod(string, string, ItemScopePath, AnalyticsItemsDeleteMethodOptionalParams, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, options: AnalyticsItemsDeleteMethodOptionalParams, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

scopePath
ItemScopePath

Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'analyticsItems', 'myanalyticsItems'

options
AnalyticsItemsDeleteMethodOptionalParams

The optional parameters

callback

ServiceCallback<void>

The callback

deleteMethod(string, string, ItemScopePath, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

scopePath
ItemScopePath

Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'analyticsItems', 'myanalyticsItems'

callback

ServiceCallback<void>

The callback

get(string, string, ItemScopePath, AnalyticsItemsGetOptionalParams)

Gets a specific Analytics Items defined within an Application Insights component.

function get(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, options?: AnalyticsItemsGetOptionalParams): Promise<AnalyticsItemsGetResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

scopePath
ItemScopePath

Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'analyticsItems', 'myanalyticsItems'

options
AnalyticsItemsGetOptionalParams

The optional parameters

Returns

Promise<Models.AnalyticsItemsGetResponse>

get(string, string, ItemScopePath, AnalyticsItemsGetOptionalParams, ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

function get(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, options: AnalyticsItemsGetOptionalParams, callback: ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

scopePath
ItemScopePath

Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'analyticsItems', 'myanalyticsItems'

options
AnalyticsItemsGetOptionalParams

The optional parameters

get(string, string, ItemScopePath, ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

function get(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, callback: ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

scopePath
ItemScopePath

Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'analyticsItems', 'myanalyticsItems'

list(string, string, ItemScopePath, AnalyticsItemsListOptionalParams)

Gets a list of Analytics Items defined within an Application Insights component.

function list(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, options?: AnalyticsItemsListOptionalParams): Promise<AnalyticsItemsListResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

scopePath
ItemScopePath

Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'analyticsItems', 'myanalyticsItems'

options
AnalyticsItemsListOptionalParams

The optional parameters

Returns

Promise<Models.AnalyticsItemsListResponse>

list(string, string, ItemScopePath, AnalyticsItemsListOptionalParams, ServiceCallback<ApplicationInsightsComponentAnalyticsItem[]>)

function list(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, options: AnalyticsItemsListOptionalParams, callback: ServiceCallback<ApplicationInsightsComponentAnalyticsItem[]>)

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

scopePath
ItemScopePath

Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'analyticsItems', 'myanalyticsItems'

options
AnalyticsItemsListOptionalParams

The optional parameters

list(string, string, ItemScopePath, ServiceCallback<ApplicationInsightsComponentAnalyticsItem[]>)

function list(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, callback: ServiceCallback<ApplicationInsightsComponentAnalyticsItem[]>)

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

scopePath
ItemScopePath

Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'analyticsItems', 'myanalyticsItems'

put(string, string, ItemScopePath, ApplicationInsightsComponentAnalyticsItem, AnalyticsItemsPutOptionalParams)

Adds or Updates a specific Analytics Item within an Application Insights component.

function put(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, itemProperties: ApplicationInsightsComponentAnalyticsItem, options?: AnalyticsItemsPutOptionalParams): Promise<AnalyticsItemsPutResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

scopePath
ItemScopePath

Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'analyticsItems', 'myanalyticsItems'

itemProperties
ApplicationInsightsComponentAnalyticsItem

Properties that need to be specified to create a new item and add it to an Application Insights component.

options
AnalyticsItemsPutOptionalParams

The optional parameters

Returns

Promise<Models.AnalyticsItemsPutResponse>

put(string, string, ItemScopePath, ApplicationInsightsComponentAnalyticsItem, AnalyticsItemsPutOptionalParams, ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

function put(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, itemProperties: ApplicationInsightsComponentAnalyticsItem, options: AnalyticsItemsPutOptionalParams, callback: ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

scopePath
ItemScopePath

Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'analyticsItems', 'myanalyticsItems'

itemProperties
ApplicationInsightsComponentAnalyticsItem

Properties that need to be specified to create a new item and add it to an Application Insights component.

options
AnalyticsItemsPutOptionalParams

The optional parameters

put(string, string, ItemScopePath, ApplicationInsightsComponentAnalyticsItem, ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

function put(resourceGroupName: string, resourceName: string, scopePath: ItemScopePath, itemProperties: ApplicationInsightsComponentAnalyticsItem, callback: ServiceCallback<ApplicationInsightsComponentAnalyticsItem>)

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the Application Insights component resource.

scopePath
ItemScopePath

Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'analyticsItems', 'myanalyticsItems'

itemProperties
ApplicationInsightsComponentAnalyticsItem

Properties that need to be specified to create a new item and add it to an Application Insights component.