Dela via


ApplicationInsightsComponentData Class

Definition

A class representing the ApplicationInsightsComponent data model. An Application Insights component definition.

public class ApplicationInsightsComponentData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentData>
type ApplicationInsightsComponentData = class
    inherit TrackedResourceData
    interface IJsonModel<ApplicationInsightsComponentData>
    interface IPersistableModel<ApplicationInsightsComponentData>
Public Class ApplicationInsightsComponentData
Inherits TrackedResourceData
Implements IJsonModel(Of ApplicationInsightsComponentData), IPersistableModel(Of ApplicationInsightsComponentData)
Inheritance
ApplicationInsightsComponentData
Implements

Constructors

ApplicationInsightsComponentData(AzureLocation, String)

Initializes a new instance of ApplicationInsightsComponentData.

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.

CreatedOn

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

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.

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

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
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.

IsDisableIPMasking

Disable IP masking.

IsDisableLocalAuth

Disable Non-AAD based Auth.

IsForceCustomerStorageForProfiler

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

IsImmediatePurgeDataOn30Days

Purge data immediately after 30 days.

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.

LaMigrationOn

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

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
NamePropertiesName

Application name.

PrivateLinkScopedResources

List of linked private link scope resources.

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

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
RetentionInDays

Retention period in days.

SamplingPercentage

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

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
TenantId

Azure Tenant Id.

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

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<ApplicationInsightsComponentData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ApplicationInsightsComponentData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ApplicationInsightsComponentData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ApplicationInsightsComponentData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ApplicationInsightsComponentData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to