共用方式為


ApplicationInsightsComponent Class

Definition

An Application Insights component definition.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ApplicationInsightsComponent : Microsoft.Azure.Management.ApplicationInsights.Management.Models.ComponentsResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ApplicationInsightsComponent = class
    inherit ComponentsResource
Public Class ApplicationInsightsComponent
Inherits ComponentsResource
Inheritance
ApplicationInsightsComponent
Attributes

Constructors

ApplicationInsightsComponent()

Initializes a new instance of the ApplicationInsightsComponent class.

ApplicationInsightsComponent(String, String, String, String, String, String, IDictionary<String,String>, String, String, String, String, String, Nullable<DateTime>, String, String, String, String, Nullable<Double>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, IList<PrivateLinkScopedResource>, String, String)

Initializes a new instance of the ApplicationInsightsComponent class.

Properties

AppId

Gets application Insights Unique ID for your Application.

ApplicationId

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

ApplicationType

Gets or sets type of application being monitored. Possible values include: 'web', 'other'

ConnectionString

Gets application Insights component connection string.

CreationDate

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

DisableIpMasking

Gets or sets disable IP masking.

FlowType

Gets or sets 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. Possible values include: 'Bluefield'

HockeyAppId

Gets or sets the unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.

HockeyAppToken

Gets token used to authenticate communications with between Application Insights and HockeyApp.

Id

Gets azure resource Id

(Inherited from ComponentsResource)
ImmediatePurgeDataOn30Days

Gets or sets purge data immediately after 30 days.

InstrumentationKey

Gets 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

Gets or sets 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

Gets or sets resource location

(Inherited from ComponentsResource)
Name

Gets azure resource name

(Inherited from ComponentsResource)
PrivateLinkScopedResources

Gets list of linked private link scope resources.

ProvisioningState

Gets 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

Gets or sets the network access type for accessing Application Insights ingestion. Possible values include: 'Enabled', 'Disabled'

PublicNetworkAccessForQuery

Gets or sets the network access type for accessing Application Insights query. Possible values include: 'Enabled', 'Disabled'

RequestSource

Gets or sets describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'. Possible values include: 'rest'

RetentionInDays

Gets or sets retention period in days.

SamplingPercentage

Gets or sets percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.

Tags

Gets or sets resource tags

(Inherited from ComponentsResource)
TenantId

Gets azure Tenant Id.

Type

Gets azure resource type

(Inherited from ComponentsResource)

Methods

Validate()

Validate the object.

Applies to