class Azure::BatchAI::Mgmt::V2018_03_01::Models::AppInsightsReference

Specifies Azure Application Insights information for performance counters reporting.

Attributes

component[RW]

@return [ResourceId] Specifies the Azure Application Insights component resource id.

instrumentation_key[RW]

@return [String] Value of the Azure Application Insights instrumentation key.

instrumentation_key_secret_reference[RW]

@return [KeyVaultSecretReference] Specifies a KeyVault Secret containing Azure Application Insights instrumentation key. Specifies KeyVault Store and Secret which contains Azure Application Insights instrumentation key. One of instrumentationKey or instrumentationKeySecretReference must be specified.

Public Class Methods

mapper() click to toggle source

Mapper for AppInsightsReference class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-03-01/generated/azure_mgmt_batchai/models/app_insights_reference.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AppInsightsReference',
    type: {
      name: 'Composite',
      class_name: 'AppInsightsReference',
      model_properties: {
        component: {
          client_side_validation: true,
          required: true,
          serialized_name: 'component',
          type: {
            name: 'Composite',
            class_name: 'ResourceId'
          }
        },
        instrumentation_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'instrumentationKey',
          type: {
            name: 'String'
          }
        },
        instrumentation_key_secret_reference: {
          client_side_validation: true,
          required: false,
          serialized_name: 'instrumentationKeySecretReference',
          type: {
            name: 'Composite',
            class_name: 'KeyVaultSecretReference'
          }
        }
      }
    }
  }
end