Class AppInsightsReference

java.lang.Object
com.microsoft.azure.management.batchai.AppInsightsReference

public class AppInsightsReference extends Object
Azure Application Insights information for performance counters reporting.
  • Constructor Details

    • AppInsightsReference

      public AppInsightsReference()
  • Method Details

    • component

      public ResourceId component()
      Get azure Application Insights component resource ID.
      Returns:
      the component value
    • withComponent

      public AppInsightsReference withComponent(ResourceId component)
      Set azure Application Insights component resource ID.
      Parameters:
      component - the component value to set
      Returns:
      the AppInsightsReference object itself.
    • instrumentationKey

      public String instrumentationKey()
      Get value of the Azure Application Insights instrumentation key.
      Returns:
      the instrumentationKey value
    • withInstrumentationKey

      public AppInsightsReference withInstrumentationKey(String instrumentationKey)
      Set value of the Azure Application Insights instrumentation key.
      Parameters:
      instrumentationKey - the instrumentationKey value to set
      Returns:
      the AppInsightsReference object itself.
    • instrumentationKeySecretReference

      public KeyVaultSecretReference 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.