class Azure::ContainerInstance::Mgmt::V2019_12_01::Models::LogAnalytics

Container group log analytics information.

Attributes

log_type[RW]

@return [LogAnalyticsLogType] The log type to be used. Possible values include: 'ContainerInsights', 'ContainerInstanceLogs'

metadata[RW]

@return [Hash{String => String}] Metadata for log analytics.

workspace_id[RW]

@return [String] The workspace id for log analytics

workspace_key[RW]

@return [String] The workspace key for log analytics

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-12-01/generated/azure_mgmt_container_instance/models/log_analytics.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LogAnalytics',
    type: {
      name: 'Composite',
      class_name: 'LogAnalytics',
      model_properties: {
        workspace_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'workspaceId',
          type: {
            name: 'String'
          }
        },
        workspace_key: {
          client_side_validation: true,
          required: true,
          serialized_name: 'workspaceKey',
          type: {
            name: 'String'
          }
        },
        log_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'logType',
          type: {
            name: 'String'
          }
        },
        metadata: {
          client_side_validation: true,
          required: false,
          serialized_name: 'metadata',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end