Class AppInsightsReference
java.lang.Object
com.microsoft.azure.management.batchai.AppInsightsReference
Azure Application Insights information for performance counters reporting.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet azure Application Insights component resource ID.Get value of the Azure Application Insights instrumentation key.Get keyVault Store and Secret which contains Azure Application Insights instrumentation key.withComponent
(ResourceId component) Set azure Application Insights component resource ID.withInstrumentationKey
(String instrumentationKey) Set value of the Azure Application Insights instrumentation key.withInstrumentationKeySecretReference
(KeyVaultSecretReference instrumentationKeySecretReference) Set keyVault Store and Secret which contains Azure Application Insights instrumentation key.
-
Constructor Details
-
AppInsightsReference
public AppInsightsReference()
-
-
Method Details
-
component
Get azure Application Insights component resource ID.- Returns:
- the component value
-
withComponent
Set azure Application Insights component resource ID.- Parameters:
component
- the component value to set- Returns:
- the AppInsightsReference object itself.
-
instrumentationKey
Get value of the Azure Application Insights instrumentation key.- Returns:
- the instrumentationKey value
-
withInstrumentationKey
Set value of the Azure Application Insights instrumentation key.- Parameters:
instrumentationKey
- the instrumentationKey value to set- Returns:
- the AppInsightsReference object itself.
-
instrumentationKeySecretReference
Get keyVault Store and Secret which contains Azure Application Insights instrumentation key. One of instrumentationKey or instrumentationKeySecretReference must be specified.- Returns:
- the instrumentationKeySecretReference value
-
withInstrumentationKeySecretReference
public AppInsightsReference withInstrumentationKeySecretReference(KeyVaultSecretReference instrumentationKeySecretReference) Set keyVault Store and Secret which contains Azure Application Insights instrumentation key. One of instrumentationKey or instrumentationKeySecretReference must be specified.- Parameters:
instrumentationKeySecretReference
- the instrumentationKeySecretReference value to set- Returns:
- the AppInsightsReference object itself.
-