Class: Azure::OperationalInsights::Mgmt::V2020_08_01::Models::ManagementGroup

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-08-01/generated/azure_mgmt_operational_insights/models/management_group.rb

Overview

A management group that is connected to a workspace

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#createdDateTime

Returns The datetime that the management group was created.

Returns:

  • (DateTime)

    The datetime that the management group was created.



30
31
32
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/management_group.rb', line 30

def created
  @created
end

#data_receivedDateTime

data.

Returns:

  • (DateTime)

    The last datetime that the management group received



34
35
36
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/management_group.rb', line 34

def data_received
  @data_received
end

#idString

Returns The unique ID of the management group.

Returns:

  • (String)

    The unique ID of the management group.



27
28
29
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/management_group.rb', line 27

def id
  @id
end

#is_gatewayBoolean

management group is a gateway.

Returns:

  • (Boolean)

    Gets or sets a value indicating whether the



21
22
23
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/management_group.rb', line 21

def is_gateway
  @is_gateway
end

#nameString

Returns The name of the management group.

Returns:

  • (String)

    The name of the management group.



24
25
26
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/management_group.rb', line 24

def name
  @name
end

#server_countInteger

group.

Returns:

  • (Integer)

    The number of servers connected to the management



17
18
19
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/management_group.rb', line 17

def server_count
  @server_count
end

#skuString

management group.

Returns:

  • (String)

    The SKU of System Center that is managing the



42
43
44
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/management_group.rb', line 42

def sku
  @sku
end

#versionString

management group.

Returns:

  • (String)

    The version of System Center that is managing the



38
39
40
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/management_group.rb', line 38

def version
  @version
end

Class Method Details

.mapperObject

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



49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/management_group.rb', line 49

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ManagementGroup',
    type: {
      name: 'Composite',
      class_name: 'ManagementGroup',
      model_properties: {
        server_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serverCount',
          type: {
            name: 'Number'
          }
        },
        is_gateway: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isGateway',
          type: {
            name: 'Boolean'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.name',
          type: {
            name: 'String'
          }
        },
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.id',
          type: {
            name: 'String'
          }
        },
        created: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.created',
          type: {
            name: 'DateTime'
          }
        },
        data_received: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dataReceived',
          type: {
            name: 'DateTime'
          }
        },
        version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.version',
          type: {
            name: 'String'
          }
        },
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sku',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end