Class AutomationRunbookReceiver
java.lang.Object
com.microsoft.azure.management.monitor.AutomationRunbookReceiver
The Azure Automation Runbook notification receiver.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the Azure automation account Id which holds this runbook and authenticate to Azure resource.boolean
Get indicates whether this instance is global runbook.name()
Get indicates name of the webhook.Get the name for this runbook.Get the URI where webhooks should be sent.boolean
Get indicates whether to use common alert schema.Get the resource id for webhook linked to this runbook.withAutomationAccountId
(String automationAccountId) Set the Azure automation account Id which holds this runbook and authenticate to Azure resource.withIsGlobalRunbook
(boolean isGlobalRunbook) Set indicates whether this instance is global runbook.Set indicates name of the webhook.withRunbookName
(String runbookName) Set the name for this runbook.withServiceUri
(String serviceUri) Set the URI where webhooks should be sent.withUseCommonAlertSchema
(boolean useCommonAlertSchema) Set indicates whether to use common alert schema.withWebhookResourceId
(String webhookResourceId) Set the resource id for webhook linked to this runbook.
-
Constructor Details
-
AutomationRunbookReceiver
public AutomationRunbookReceiver()
-
-
Method Details
-
automationAccountId
Get the Azure automation account Id which holds this runbook and authenticate to Azure resource.- Returns:
- the automationAccountId value
-
withAutomationAccountId
Set the Azure automation account Id which holds this runbook and authenticate to Azure resource.- Parameters:
automationAccountId
- the automationAccountId value to set- Returns:
- the AutomationRunbookReceiver object itself.
-
runbookName
Get the name for this runbook.- Returns:
- the runbookName value
-
withRunbookName
Set the name for this runbook.- Parameters:
runbookName
- the runbookName value to set- Returns:
- the AutomationRunbookReceiver object itself.
-
webhookResourceId
Get the resource id for webhook linked to this runbook.- Returns:
- the webhookResourceId value
-
withWebhookResourceId
Set the resource id for webhook linked to this runbook.- Parameters:
webhookResourceId
- the webhookResourceId value to set- Returns:
- the AutomationRunbookReceiver object itself.
-
isGlobalRunbook
public boolean isGlobalRunbook()Get indicates whether this instance is global runbook.- Returns:
- the isGlobalRunbook value
-
withIsGlobalRunbook
Set indicates whether this instance is global runbook.- Parameters:
isGlobalRunbook
- the isGlobalRunbook value to set- Returns:
- the AutomationRunbookReceiver object itself.
-
name
Get indicates name of the webhook.- Returns:
- the name value
-
withName
Set indicates name of the webhook.- Parameters:
name
- the name value to set- Returns:
- the AutomationRunbookReceiver object itself.
-
serviceUri
Get the URI where webhooks should be sent.- Returns:
- the serviceUri value
-
withServiceUri
Set the URI where webhooks should be sent.- Parameters:
serviceUri
- the serviceUri value to set- Returns:
- the AutomationRunbookReceiver object itself.
-
useCommonAlertSchema
public boolean useCommonAlertSchema()Get indicates whether to use common alert schema.- Returns:
- the useCommonAlertSchema value
-
withUseCommonAlertSchema
Set indicates whether to use common alert schema.- Parameters:
useCommonAlertSchema
- the useCommonAlertSchema value to set- Returns:
- the AutomationRunbookReceiver object itself.
-