UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

104 lines (103 loc) 3.56 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets a specific Analytics Items defined within an Application Insights component. * * Uses Azure REST API version 2015-05-01. */ export declare function getAnalyticsItem(args: GetAnalyticsItemArgs, opts?: pulumi.InvokeOptions): Promise<GetAnalyticsItemResult>; export interface GetAnalyticsItemArgs { /** * The Id of a specific item defined in the Application Insights component */ id?: string; /** * The name of a specific item defined in the Application Insights component */ name?: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the Application Insights component resource. */ resourceName: string; /** * 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. */ scopePath: string; } /** * Properties that define an Analytics item that is associated to an Application Insights component. */ export interface GetAnalyticsItemResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The content of this item */ readonly content?: string; /** * Internally assigned unique id of the item definition. */ readonly id?: string; /** * The user-defined name of the item. */ readonly name?: string; /** * A set of properties that can be defined in the context of a specific item type. Each type may have its own properties. */ readonly properties: outputs.applicationinsights.ApplicationInsightsComponentAnalyticsItemPropertiesResponse; /** * 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. */ readonly scope?: string; /** * Date and time in UTC when this item was created. */ readonly timeCreated: string; /** * Date and time in UTC of the last modification that was made to this item. */ readonly timeModified: string; /** * Enum indicating the type of the Analytics item. */ readonly type?: string; /** * This instance's version of the data model. This can change as new features are added. */ readonly version: string; } /** * Gets a specific Analytics Items defined within an Application Insights component. * * Uses Azure REST API version 2015-05-01. */ export declare function getAnalyticsItemOutput(args: GetAnalyticsItemOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAnalyticsItemResult>; export interface GetAnalyticsItemOutputArgs { /** * The Id of a specific item defined in the Application Insights component */ id?: pulumi.Input<string>; /** * The name of a specific item defined in the Application Insights component */ name?: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the Application Insights component resource. */ resourceName: pulumi.Input<string>; /** * 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. */ scopePath: pulumi.Input<string>; }