class Azure::BatchAI::Mgmt::V2018_05_01::Models::AppInsightsReference

Azure Application Insights information for performance counters reporting.

Attributes

component[RW]

@return [ResourceId] Component ID. Azure Application Insights component resource ID.

instrumentation_key[RW]

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

instrumentation_key_secret_reference[RW]

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

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-05-01/generated/azure_mgmt_batchai/models/app_insights_reference.rb, line 35
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