AnalyticsItems class
Class representing a AnalyticsItems.
Constructors
Analytics |
Create a AnalyticsItems. |
Methods
Constructor Details
AnalyticsItems(ApplicationInsightsManagementClientContext)
Create a AnalyticsItems.
new AnalyticsItems(client: ApplicationInsightsManagementClientContext)
Parameters
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'
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'
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<AnalyticsItemsGetResponse>
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
The callback
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'
The callback
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<AnalyticsItemsListResponse>
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
The callback
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'
The callback
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<AnalyticsItemsPutResponse>
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
The callback
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.
The callback