Partager via


ApplicationInsightsComponent Class

Definition

An Application Insights component definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.ApplicationInsightsComponentTypeConverter))]
public class ApplicationInsightsComponent : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponent, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.ApplicationInsightsComponentTypeConverter))>]
type ApplicationInsightsComponent = class
    interface IApplicationInsightsComponent
    interface IJsonSerializable
    interface IComponentsResource
    interface IValidates
Public Class ApplicationInsightsComponent
Implements IApplicationInsightsComponent, IValidates
Inheritance
ApplicationInsightsComponent
Attributes
Implements

Constructors

ApplicationInsightsComponent()

Creates an new ApplicationInsightsComponent instance.

Properties

AppId

Application Insights Unique ID for your Application.

ApplicationId

The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.

ApplicationType

Type of application being monitored.

CreationDate

Creation Date for the Application Insights component, in ISO 8601 format.

FlowType

Used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API.

HockeyAppId

The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.

HockeyAppToken

Token used to authenticate communications with between Application Insights and HockeyApp.

Id

Azure resource Id

InstrumentationKey

Application Insights Instrumentation key. A read-only value that applications can use to identify the destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction of each new Application Insights component.

Kind

The kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone.

Location

Resource location

Name

Azure resource name

ProvisioningState

Current state of this component: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.

RequestSource

Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'.

SamplingPercentage

Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.

Tag

Resource tags

TenantId

Azure Tenant Id.

Type

Azure resource type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ApplicationInsightsComponent.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ApplicationInsightsComponent.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponent.

FromJsonString(String)

Creates a new instance of ApplicationInsightsComponent, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ApplicationInsightsComponent into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to