Compartir a través de


ApplicationInsightsComponent Class

Definition

An Application Insights component definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.ApplicationInsightsComponentTypeConverter))]
public class ApplicationInsightsComponent : Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.IApplicationInsightsComponent, Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api202002.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.

ConnectionString

Application Insights component connection string.

CreationDate

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

DisableIPMasking

Disable IP masking.

DisableLocalAuth

Disable Non-AAD based Auth.

Etag

Resource etag

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.

ForceCustomerStorageForProfiler

Force users to create their own storage account for profiler and debugger.

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

ImmediatePurgeDataOn30Day

Purge data immediately after 30 days.

IngestionMode

Indicates the flow of the ingestion.

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.

LaMigrationDate

The date which the component got migrated to LA, in ISO 8601 format.

Location

Resource location

Name

Azure resource name

PrivateLinkScopedResource

List of linked private link scope resources.

PropertiesName

Application 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.

PublicNetworkAccessForIngestion

The network access type for accessing Application Insights ingestion.

PublicNetworkAccessForQuery

The network access type for accessing Application Insights query.

RequestSource

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

ResourceGroupName

Gets the resource group name

RetentionInDay

Retention period in days.

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

WorkspaceResourceId

Resource Id of the log analytics workspace which the data will be ingested to. This property is required to create an application with this API version. Applications from older versions will not have this property.

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.ApplicationInsights.Models.Api202002.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.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to