AutomationRunbookReceiver Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. AutomationRunbookReceiver
- com.
Implements
public final class AutomationRunbookReceiver
implements JsonSerializable<AutomationRunbookReceiver>
The Azure Automation Runbook notification receiver.
Constructor Summary
Constructor | Description |
---|---|
AutomationRunbookReceiver() |
Creates an instance of Automation |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
automationAccountId()
Get the automation |
static
Automation |
fromJson(JsonReader jsonReader)
Reads an instance of Automation |
boolean |
isGlobalRunbook()
Get the is |
String |
name()
Get the name property: Indicates name of the webhook. |
String |
runbookName()
Get the runbook |
String |
serviceUri()
Get the service |
Json |
toJson(JsonWriter jsonWriter) |
Boolean |
useCommonAlertSchema()
Get the use |
void |
validate()
Validates the instance. |
String |
webhookResourceId()
Get the webhook |
Automation |
withAutomationAccountId(String automationAccountId)
Set the automation |
Automation |
withIsGlobalRunbook(boolean isGlobalRunbook)
Set the is |
Automation |
withName(String name)
Set the name property: Indicates name of the webhook. |
Automation |
withRunbookName(String runbookName)
Set the runbook |
Automation |
withServiceUri(String serviceUri)
Set the service |
Automation |
withUseCommonAlertSchema(Boolean useCommonAlertSchema)
Set the use |
Automation |
withWebhookResourceId(String webhookResourceId)
Set the webhook |
Methods inherited from java.lang.Object
Constructor Details
AutomationRunbookReceiver
public AutomationRunbookReceiver()
Creates an instance of AutomationRunbookReceiver class.
Method Details
automationAccountId
public String automationAccountId()
Get the automationAccountId property: The Azure automation account Id which holds this runbook and authenticate to Azure resource.
Returns:
fromJson
public static AutomationRunbookReceiver fromJson(JsonReader jsonReader)
Reads an instance of AutomationRunbookReceiver from the JsonReader.
Parameters:
Returns:
Throws:
isGlobalRunbook
public boolean isGlobalRunbook()
Get the isGlobalRunbook property: Indicates whether this instance is global runbook.
Returns:
name
public String name()
Get the name property: Indicates name of the webhook.
Returns:
runbookName
public String runbookName()
Get the runbookName property: The name for this runbook.
Returns:
serviceUri
public String serviceUri()
Get the serviceUri property: The URI where webhooks should be sent.
Returns:
toJson
useCommonAlertSchema
public Boolean useCommonAlertSchema()
Get the useCommonAlertSchema property: Indicates whether to use common alert schema.
Returns:
validate
public void validate()
Validates the instance.
webhookResourceId
public String webhookResourceId()
Get the webhookResourceId property: The resource id for webhook linked to this runbook.
Returns:
withAutomationAccountId
public AutomationRunbookReceiver withAutomationAccountId(String automationAccountId)
Set the automationAccountId property: The Azure automation account Id which holds this runbook and authenticate to Azure resource.
Parameters:
Returns:
withIsGlobalRunbook
public AutomationRunbookReceiver withIsGlobalRunbook(boolean isGlobalRunbook)
Set the isGlobalRunbook property: Indicates whether this instance is global runbook.
Parameters:
Returns:
withName
public AutomationRunbookReceiver withName(String name)
Set the name property: Indicates name of the webhook.
Parameters:
Returns:
withRunbookName
public AutomationRunbookReceiver withRunbookName(String runbookName)
Set the runbookName property: The name for this runbook.
Parameters:
Returns:
withServiceUri
public AutomationRunbookReceiver withServiceUri(String serviceUri)
Set the serviceUri property: The URI where webhooks should be sent.
Parameters:
Returns:
withUseCommonAlertSchema
public AutomationRunbookReceiver withUseCommonAlertSchema(Boolean useCommonAlertSchema)
Set the useCommonAlertSchema property: Indicates whether to use common alert schema.
Parameters:
Returns:
withWebhookResourceId
public AutomationRunbookReceiver withWebhookResourceId(String webhookResourceId)
Set the webhookResourceId property: The resource id for webhook linked to this runbook.
Parameters:
Returns:
Applies to
Azure SDK for Java