Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterMonitoringResponse

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_response.rb

Overview

The cluster monitoring status response.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#cluster_monitoring_enabledBoolean

Returns The status of the monitor on the HDInsight cluster.

Returns:

  • (Boolean)

    The status of the monitor on the HDInsight cluster.



16
17
18
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_response.rb', line 16

def cluster_monitoring_enabled
  @cluster_monitoring_enabled
end

#workspace_idString

cluster.

Returns:

  • (String)

    The workspace ID of the monitor on the HDInsight



20
21
22
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_response.rb', line 20

def workspace_id
  @workspace_id
end

Class Method Details

.mapperObject

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



27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_response.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ClusterMonitoringResponse',
    type: {
      name: 'Composite',
      class_name: 'ClusterMonitoringResponse',
      model_properties: {
        cluster_monitoring_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'clusterMonitoringEnabled',
          type: {
            name: 'Boolean'
          }
        },
        workspace_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'workspaceId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end