ApplicationInsightsComponentProperties Class
- java.
lang. Object - com.
azure. resourcemanager. applicationinsights. fluent. models. ApplicationInsightsComponentProperties
- com.
Implements
public final class ApplicationInsightsComponentProperties
implements JsonSerializable<ApplicationInsightsComponentProperties>
Properties that define an Application Insights component resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationInsightsComponentProperties() |
Creates an instance of Application |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
appId()
Get the app |
| String |
applicationId()
Get the application |
|
Application |
applicationType()
Get the application |
| String |
connectionString()
Get the connection |
|
Offset |
creationDate()
Get the creation |
| Boolean |
disableIpMasking()
Get the disable |
| Boolean |
disableLocalAuth()
Get the disable |
|
Flow |
flowType()
Get the flow |
| Boolean |
forceCustomerStorageForProfiler()
Get the force |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
| String |
hockeyAppId()
Get the hockey |
| String |
hockeyAppToken()
Get the hockey |
| Boolean |
immediatePurgeDataOn30Days()
Get the immediate |
|
Ingestion |
ingestionMode()
Get the ingestion |
| String |
instrumentationKey()
Get the instrumentation |
|
Offset |
laMigrationDate()
Get the la |
| String |
name()
Get the name property: Application name. |
|
List<Private |
privateLinkScopedResources()
Get the private |
| String |
provisioningState()
Get the provisioning |
|
Public |
publicNetworkAccessForIngestion()
Get the public |
|
Public |
publicNetworkAccessForQuery()
Get the public |
|
Request |
requestSource()
Get the request |
| Integer |
retentionInDays()
Get the retention |
| Double |
samplingPercentage()
Get the sampling |
| String |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Application |
withApplicationType(ApplicationType applicationType)
Set the application |
|
Application |
withDisableIpMasking(Boolean disableIpMasking)
Set the disable |
|
Application |
withDisableLocalAuth(Boolean disableLocalAuth)
Set the disable |
|
Application |
withFlowType(FlowType flowType)
Set the flow |
|
Application |
withForceCustomerStorageForProfiler(Boolean forceCustomerStorageForProfiler)
Set the force |
|
Application |
withHockeyAppId(String hockeyAppId)
Set the hockey |
|
Application |
withImmediatePurgeDataOn30Days(Boolean immediatePurgeDataOn30Days)
Set the immediate |
|
Application |
withIngestionMode(IngestionMode ingestionMode)
Set the ingestion |
|
Application |
withPublicNetworkAccessForIngestion(PublicNetworkAccessType publicNetworkAccessForIngestion)
Set the public |
|
Application |
withPublicNetworkAccessForQuery(PublicNetworkAccessType publicNetworkAccessForQuery)
Set the public |
|
Application |
withRequestSource(RequestSource requestSource)
Set the request |
|
Application |
withRetentionInDays(Integer retentionInDays)
Set the retention |
|
Application |
withSamplingPercentage(Double samplingPercentage)
Set the sampling |
|
Application |
withWorkspaceResourceId(String workspaceResourceId)
Set the workspace |
| String |
workspaceResourceId()
Get the workspace |
Methods inherited from java.lang.Object
Constructor Details
ApplicationInsightsComponentProperties
public ApplicationInsightsComponentProperties()
Creates an instance of ApplicationInsightsComponentProperties class.
Method Details
appId
public String appId()
Get the appId property: Application Insights Unique ID for your Application.
Returns:
applicationId
public String applicationId()
Get the applicationId property: The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.
Returns:
applicationType
public ApplicationType applicationType()
Get the applicationType property: Type of application being monitored.
Returns:
connectionString
public String connectionString()
Get the connectionString property: Application Insights component connection string.
Returns:
creationDate
public OffsetDateTime creationDate()
Get the creationDate property: Creation Date for the Application Insights component, in ISO 8601 format.
Returns:
disableIpMasking
public Boolean disableIpMasking()
Get the disableIpMasking property: Disable IP masking.
Returns:
disableLocalAuth
public Boolean disableLocalAuth()
Get the disableLocalAuth property: Disable Non-AAD based Auth.
Returns:
flowType
public FlowType 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:
forceCustomerStorageForProfiler
public Boolean forceCustomerStorageForProfiler()
Get the forceCustomerStorageForProfiler property: Force users to create their own storage account for profiler and debugger.
Returns:
fromJson
public static ApplicationInsightsComponentProperties fromJson(JsonReader jsonReader)
Reads an instance of ApplicationInsightsComponentProperties from the JsonReader.
Parameters:
Returns:
Throws:
hockeyAppId
public String hockeyAppId()
Get the hockeyAppId property: The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.
Returns:
hockeyAppToken
public String hockeyAppToken()
Get the hockeyAppToken property: Token used to authenticate communications with between Application Insights and HockeyApp.
Returns:
immediatePurgeDataOn30Days
public Boolean immediatePurgeDataOn30Days()
Get the immediatePurgeDataOn30Days property: Purge data immediately after 30 days.
Returns:
ingestionMode
public IngestionMode ingestionMode()
Get the ingestionMode property: Indicates the flow of the ingestion.
Returns:
instrumentationKey
public String 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:
laMigrationDate
public OffsetDateTime laMigrationDate()
Get the laMigrationDate property: The date which the component got migrated to LA, in ISO 8601 format.
Returns:
name
public String name()
Get the name property: Application name.
Returns:
privateLinkScopedResources
public List<PrivateLinkScopedResource> privateLinkScopedResources()
Get the privateLinkScopedResources property: List of linked private link scope resources.
Returns:
provisioningState
public String 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:
publicNetworkAccessForIngestion
public PublicNetworkAccessType publicNetworkAccessForIngestion()
Get the publicNetworkAccessForIngestion property: The network access type for accessing Application Insights ingestion.
Returns:
publicNetworkAccessForQuery
public PublicNetworkAccessType publicNetworkAccessForQuery()
Get the publicNetworkAccessForQuery property: The network access type for accessing Application Insights query.
Returns:
requestSource
public RequestSource 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:
retentionInDays
public Integer retentionInDays()
Get the retentionInDays property: Retention period in days.
Returns:
samplingPercentage
public Double samplingPercentage()
Get the samplingPercentage property: Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.
Returns:
tenantId
public String tenantId()
Get the tenantId property: Azure Tenant Id.
Returns:
toJson
validate
public void validate()
Validates the instance.
withApplicationType
public ApplicationInsightsComponentProperties withApplicationType(ApplicationType applicationType)
Set the applicationType property: Type of application being monitored.
Parameters:
Returns:
withDisableIpMasking
public ApplicationInsightsComponentProperties withDisableIpMasking(Boolean disableIpMasking)
Set the disableIpMasking property: Disable IP masking.
Parameters:
Returns:
withDisableLocalAuth
public ApplicationInsightsComponentProperties withDisableLocalAuth(Boolean disableLocalAuth)
Set the disableLocalAuth property: Disable Non-AAD based Auth.
Parameters:
Returns:
withFlowType
public ApplicationInsightsComponentProperties withFlowType(FlowType flowType)
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:
Returns:
withForceCustomerStorageForProfiler
public ApplicationInsightsComponentProperties withForceCustomerStorageForProfiler(Boolean forceCustomerStorageForProfiler)
Set the forceCustomerStorageForProfiler property: Force users to create their own storage account for profiler and debugger.
Parameters:
Returns:
withHockeyAppId
public ApplicationInsightsComponentProperties 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.
Parameters:
Returns:
withImmediatePurgeDataOn30Days
public ApplicationInsightsComponentProperties withImmediatePurgeDataOn30Days(Boolean immediatePurgeDataOn30Days)
Set the immediatePurgeDataOn30Days property: Purge data immediately after 30 days.
Parameters:
Returns:
withIngestionMode
public ApplicationInsightsComponentProperties withIngestionMode(IngestionMode ingestionMode)
Set the ingestionMode property: Indicates the flow of the ingestion.
Parameters:
Returns:
withPublicNetworkAccessForIngestion
public ApplicationInsightsComponentProperties withPublicNetworkAccessForIngestion(PublicNetworkAccessType publicNetworkAccessForIngestion)
Set the publicNetworkAccessForIngestion property: The network access type for accessing Application Insights ingestion.
Parameters:
Returns:
withPublicNetworkAccessForQuery
public ApplicationInsightsComponentProperties withPublicNetworkAccessForQuery(PublicNetworkAccessType publicNetworkAccessForQuery)
Set the publicNetworkAccessForQuery property: The network access type for accessing Application Insights query.
Parameters:
Returns:
withRequestSource
public ApplicationInsightsComponentProperties withRequestSource(RequestSource requestSource)
Set the requestSource property: Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'.
Parameters:
Returns:
withRetentionInDays
public ApplicationInsightsComponentProperties withRetentionInDays(Integer retentionInDays)
Set the retentionInDays property: Retention period in days.
Parameters:
Returns:
withSamplingPercentage
public ApplicationInsightsComponentProperties 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.
Parameters:
Returns:
withWorkspaceResourceId
public ApplicationInsightsComponentProperties withWorkspaceResourceId(String workspaceResourceId)
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:
Returns:
workspaceResourceId
public String 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: