class Azure::Monitor::Mgmt::V2019_06_01::Models::ActionGroupPatchBody

An action group object for the body of patch operations.

Attributes

enabled[RW]

@return [Boolean] Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated. Default value: true .

tags[RW]

@return [Hash{String => String}] Resource tags

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-06-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ActionGroupPatchBody',
    type: {
      name: 'Composite',
      class_name: 'ActionGroupPatchBody',
      model_properties: {
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enabled',
          default_value: true,
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end