class Azure::Monitor::Mgmt::V2018_09_01::Models::AutomationRunbookReceiver

The Azure Automation Runbook notification receiver.

Attributes

automation_account_id[RW]

@return [String] The Azure automation account Id which holds this runbook and authenticate to Azure resource.

is_global_runbook[RW]

@return [Boolean] Indicates whether this instance is global runbook.

name[RW]

@return [String] Indicates name of the webhook.

runbook_name[RW]

@return [String] The name for this runbook.

service_uri[RW]

@return [String] The URI where webhooks should be sent.

webhook_resource_id[RW]

@return [String] The resource id for webhook linked to this runbook.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-09-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AutomationRunbookReceiver',
    type: {
      name: 'Composite',
      class_name: 'AutomationRunbookReceiver',
      model_properties: {
        automation_account_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'automationAccountId',
          type: {
            name: 'String'
          }
        },
        runbook_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'runbookName',
          type: {
            name: 'String'
          }
        },
        webhook_resource_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'webhookResourceId',
          type: {
            name: 'String'
          }
        },
        is_global_runbook: {
          client_side_validation: true,
          required: true,
          serialized_name: 'isGlobalRunbook',
          type: {
            name: 'Boolean'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        service_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'serviceUri',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end