class Azure::ContainerService::Mgmt::V2019_09_30_preview::Models::OpenShiftManagedClusterMonitorProfile

Defines the configuration for Log Analytics integration.

Attributes

enabled[RW]

@return [Boolean] If the Log analytics integration should be turned on or off

workspace_resource_id[RW]

@return [String] Azure Resource Manager Resource ID for the Log Analytics workspace to integrate with.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_monitor_profile.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OpenShiftManagedClusterMonitorProfile',
    type: {
      name: 'Composite',
      class_name: 'OpenShiftManagedClusterMonitorProfile',
      model_properties: {
        workspace_resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'workspaceResourceID',
          type: {
            name: 'String'
          }
        },
        enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enabled',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end