Sha256: 06a81357396769f62fe409d0f225f369a59dfc73309ddcff78a07fd3d90598ff

Contents?: true

Size: 1.8 KB

Versions: 1

Compression:

Stored size: 1.8 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Monitor
  module Models
    #
    # A pointer to an Azure Action Group.
    #
    class ActivityLogAlertActionGroup

      include MsRestAzure

      include MsRest::JSONable
      # @return [String] The resourceId of the action group. This cannot be
      # null or empty.
      attr_accessor :action_group_id

      # @return [Hash{String => String}] the dictionary of custom properties to
      # include with the post operation. These data are appended to the webhook
      # payload.
      attr_accessor :webhook_properties


      #
      # Mapper for ActivityLogAlertActionGroup class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'ActivityLogAlertActionGroup',
          type: {
            name: 'Composite',
            class_name: 'ActivityLogAlertActionGroup',
            model_properties: {
              action_group_id: {
                required: true,
                serialized_name: 'actionGroupId',
                type: {
                  name: 'String'
                }
              },
              webhook_properties: {
                required: false,
                serialized_name: 'webhookProperties',
                type: {
                  name: 'Dictionary',
                  value: {
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.13.0 lib/generated/azure_mgmt_monitor/models/activity_log_alert_action_group.rb