Class ApplicationInsightsComponentInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.applicationinsights.models.ComponentsResource
com.azure.resourcemanager.applicationinsights.fluent.models.ApplicationInsightsComponentInner
An Application Insights component definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappId()
Get the appId property: Application Insights Unique ID for your Application.Get the applicationId property: The unique ID of your application.Get the applicationType property: Type of application being monitored.Get the connectionString property: Application Insights component connection string.Get the creationDate property: Creation Date for the Application Insights component, in ISO 8601 format.Get the disableIpMasking property: Disable IP masking.Get the disableLocalAuth property: Disable Non-AAD based Auth.etag()
Get the etag property: Resource etag.flowType()
Get the flowType property: Used by the Application Insights system to determine what kind of flow this component was created by.Get the forceCustomerStorageForProfiler property: Force users to create their own storage account for profiler and debugger.Get the hockeyAppId property: The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.Get the hockeyAppToken property: Token used to authenticate communications with between Application Insights and HockeyApp.Get the immediatePurgeDataOn30Days property: Purge data immediately after 30 days.Get the ingestionMode property: Indicates the flow of the ingestion.Get the instrumentationKey property: Application Insights Instrumentation key.kind()
Get the kind property: The kind of application that this component refers to, used to customize UI.Get the laMigrationDate property: The date which the component got migrated to LA, in ISO 8601 format.Get the name property: Application name.Get the privateLinkScopedResources property: List of linked private link scope resources.Get the provisioningState property: Current state of this component: whether or not is has been provisioned within the resource group it is defined.Get the publicNetworkAccessForIngestion property: The network access type for accessing Application Insights ingestion.Get the publicNetworkAccessForQuery property: The network access type for accessing Application Insights query.Get the requestSource property: Describes what tool created this Application Insights component.Get the retentionInDays property: Retention period in days.Get the samplingPercentage property: Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.tenantId()
Get the tenantId property: Azure Tenant Id.void
validate()
Validates the instance.withApplicationType
(ApplicationType applicationType) Set the applicationType property: Type of application being monitored.withDisableIpMasking
(Boolean disableIpMasking) Set the disableIpMasking property: Disable IP masking.withDisableLocalAuth
(Boolean disableLocalAuth) Set the disableLocalAuth property: Disable Non-AAD based Auth.Set the etag property: Resource etag.withFlowType
(FlowType flowType) Set the flowType property: Used by the Application Insights system to determine what kind of flow this component was created by.withForceCustomerStorageForProfiler
(Boolean forceCustomerStorageForProfiler) Set the forceCustomerStorageForProfiler property: Force users to create their own storage account for profiler and debugger.withHockeyAppId
(String hockeyAppId) Set the hockeyAppId property: The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.withImmediatePurgeDataOn30Days
(Boolean immediatePurgeDataOn30Days) Set the immediatePurgeDataOn30Days property: Purge data immediately after 30 days.withIngestionMode
(IngestionMode ingestionMode) Set the ingestionMode property: Indicates the flow of the ingestion.Set the kind property: The kind of application that this component refers to, used to customize UI.withLocation
(String location) withPublicNetworkAccessForIngestion
(PublicNetworkAccessType publicNetworkAccessForIngestion) Set the publicNetworkAccessForIngestion property: The network access type for accessing Application Insights ingestion.withPublicNetworkAccessForQuery
(PublicNetworkAccessType publicNetworkAccessForQuery) Set the publicNetworkAccessForQuery property: The network access type for accessing Application Insights query.withRequestSource
(RequestSource requestSource) Set the requestSource property: Describes what tool created this Application Insights component.withRetentionInDays
(Integer retentionInDays) Set the retentionInDays property: Retention period in days.withSamplingPercentage
(Double samplingPercentage) Set the samplingPercentage property: Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.withWorkspaceResourceId
(String workspaceResourceId) Set the workspaceResourceId property: Resource Id of the log analytics workspace which the data will be ingested to.Get the workspaceResourceId property: Resource Id of the log analytics workspace which the data will be ingested to.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ApplicationInsightsComponentInner
public ApplicationInsightsComponentInner()
-
-
Method Details
-
kind
Get the kind property: 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.- Returns:
- the kind value.
-
withKind
Set the kind property: 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.- Parameters:
kind
- the kind value to set.- Returns:
- the ApplicationInsightsComponentInner object itself.
-
etag
Get the etag property: Resource etag.- Returns:
- the etag value.
-
withEtag
Set the etag property: Resource etag.- Parameters:
etag
- the etag value to set.- Returns:
- the ApplicationInsightsComponentInner object itself.
-
withLocation
- Overrides:
withLocation
in classComponentsResource
-
withTags
- Overrides:
withTags
in classComponentsResource
-
applicationId
Get the applicationId property: The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.- Returns:
- the applicationId value.
-
appId
Get the appId property: Application Insights Unique ID for your Application.- Returns:
- the appId value.
-
namePropertiesName
Get the name property: Application name.- Returns:
- the name value.
-
applicationType
Get the applicationType property: Type of application being monitored.- Returns:
- the applicationType value.
-
withApplicationType
Set the applicationType property: Type of application being monitored.- Parameters:
applicationType
- the applicationType value to set.- Returns:
- the ApplicationInsightsComponentInner object itself.
-
flowType
Get the flowType property: 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.- Returns:
- the flowType value.
-
withFlowType
Set the flowType property: 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.- Parameters:
flowType
- the flowType value to set.- Returns:
- the ApplicationInsightsComponentInner object itself.
-
requestSource
Get the requestSource property: Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'.- Returns:
- the requestSource value.
-
withRequestSource
Set the requestSource property: Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'.- Parameters:
requestSource
- the requestSource value to set.- Returns:
- the ApplicationInsightsComponentInner object itself.
-
instrumentationKey
Get the instrumentationKey property: 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.- Returns:
- the instrumentationKey value.
-
creationDate
Get the creationDate property: Creation Date for the Application Insights component, in ISO 8601 format.- Returns:
- the creationDate value.
-
tenantId
Get the tenantId property: Azure Tenant Id.- Returns:
- the tenantId value.
-
hockeyAppId
Get the hockeyAppId property: The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.- Returns:
- the hockeyAppId value.
-
withHockeyAppId
Set the hockeyAppId property: The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.- Parameters:
hockeyAppId
- the hockeyAppId value to set.- Returns:
- the ApplicationInsightsComponentInner object itself.
-
hockeyAppToken
Get the hockeyAppToken property: Token used to authenticate communications with between Application Insights and HockeyApp.- Returns:
- the hockeyAppToken value.
-
provisioningState
Get the provisioningState property: 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.- Returns:
- the provisioningState value.
-
samplingPercentage
Get the samplingPercentage property: Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.- Returns:
- the samplingPercentage value.
-
withSamplingPercentage
Set the samplingPercentage property: Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.- Parameters:
samplingPercentage
- the samplingPercentage value to set.- Returns:
- the ApplicationInsightsComponentInner object itself.
-
connectionString
Get the connectionString property: Application Insights component connection string.- Returns:
- the connectionString value.
-
retentionInDays
Get the retentionInDays property: Retention period in days.- Returns:
- the retentionInDays value.
-
withRetentionInDays
Set the retentionInDays property: Retention period in days.- Parameters:
retentionInDays
- the retentionInDays value to set.- Returns:
- the ApplicationInsightsComponentInner object itself.
-
disableIpMasking
Get the disableIpMasking property: Disable IP masking.- Returns:
- the disableIpMasking value.
-
withDisableIpMasking
Set the disableIpMasking property: Disable IP masking.- Parameters:
disableIpMasking
- the disableIpMasking value to set.- Returns:
- the ApplicationInsightsComponentInner object itself.
-
immediatePurgeDataOn30Days
Get the immediatePurgeDataOn30Days property: Purge data immediately after 30 days.- Returns:
- the immediatePurgeDataOn30Days value.
-
withImmediatePurgeDataOn30Days
public ApplicationInsightsComponentInner withImmediatePurgeDataOn30Days(Boolean immediatePurgeDataOn30Days) Set the immediatePurgeDataOn30Days property: Purge data immediately after 30 days.- Parameters:
immediatePurgeDataOn30Days
- the immediatePurgeDataOn30Days value to set.- Returns:
- the ApplicationInsightsComponentInner object itself.
-
workspaceResourceId
Get the workspaceResourceId property: 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.- Returns:
- the workspaceResourceId value.
-
withWorkspaceResourceId
Set the workspaceResourceId property: 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.- Parameters:
workspaceResourceId
- the workspaceResourceId value to set.- Returns:
- the ApplicationInsightsComponentInner object itself.
-
laMigrationDate
Get the laMigrationDate property: The date which the component got migrated to LA, in ISO 8601 format.- Returns:
- the laMigrationDate value.
-
privateLinkScopedResources
Get the privateLinkScopedResources property: List of linked private link scope resources.- Returns:
- the privateLinkScopedResources value.
-
publicNetworkAccessForIngestion
Get the publicNetworkAccessForIngestion property: The network access type for accessing Application Insights ingestion.- Returns:
- the publicNetworkAccessForIngestion value.
-
withPublicNetworkAccessForIngestion
public ApplicationInsightsComponentInner withPublicNetworkAccessForIngestion(PublicNetworkAccessType publicNetworkAccessForIngestion) Set the publicNetworkAccessForIngestion property: The network access type for accessing Application Insights ingestion.- Parameters:
publicNetworkAccessForIngestion
- the publicNetworkAccessForIngestion value to set.- Returns:
- the ApplicationInsightsComponentInner object itself.
-
publicNetworkAccessForQuery
Get the publicNetworkAccessForQuery property: The network access type for accessing Application Insights query.- Returns:
- the publicNetworkAccessForQuery value.
-
withPublicNetworkAccessForQuery
public ApplicationInsightsComponentInner withPublicNetworkAccessForQuery(PublicNetworkAccessType publicNetworkAccessForQuery) Set the publicNetworkAccessForQuery property: The network access type for accessing Application Insights query.- Parameters:
publicNetworkAccessForQuery
- the publicNetworkAccessForQuery value to set.- Returns:
- the ApplicationInsightsComponentInner object itself.
-
ingestionMode
Get the ingestionMode property: Indicates the flow of the ingestion.- Returns:
- the ingestionMode value.
-
withIngestionMode
Set the ingestionMode property: Indicates the flow of the ingestion.- Parameters:
ingestionMode
- the ingestionMode value to set.- Returns:
- the ApplicationInsightsComponentInner object itself.
-
disableLocalAuth
Get the disableLocalAuth property: Disable Non-AAD based Auth.- Returns:
- the disableLocalAuth value.
-
withDisableLocalAuth
Set the disableLocalAuth property: Disable Non-AAD based Auth.- Parameters:
disableLocalAuth
- the disableLocalAuth value to set.- Returns:
- the ApplicationInsightsComponentInner object itself.
-
forceCustomerStorageForProfiler
Get the forceCustomerStorageForProfiler property: Force users to create their own storage account for profiler and debugger.- Returns:
- the forceCustomerStorageForProfiler value.
-
withForceCustomerStorageForProfiler
public ApplicationInsightsComponentInner withForceCustomerStorageForProfiler(Boolean forceCustomerStorageForProfiler) Set the forceCustomerStorageForProfiler property: Force users to create their own storage account for profiler and debugger.- Parameters:
forceCustomerStorageForProfiler
- the forceCustomerStorageForProfiler value to set.- Returns:
- the ApplicationInsightsComponentInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classComponentsResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-