ActivityLogAlertActionGroup Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. ActivityLogAlertActionGroup
- com.
Implements
public final class ActivityLogAlertActionGroup
implements JsonSerializable<ActivityLogAlertActionGroup>
A pointer to an Azure Action Group.
Constructor Summary
Constructor | Description |
---|---|
ActivityLogAlertActionGroup() |
Creates an instance of Activity |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
actionGroupId()
Get the action |
static
Activity |
fromJson(JsonReader jsonReader)
Reads an instance of Activity |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Map<String,String> |
webhookProperties()
Get the webhook |
Activity |
withActionGroupId(String actionGroupId)
Set the action |
Activity |
withWebhookProperties(Map<String,String> webhookProperties)
Set the webhook |
Methods inherited from java.lang.Object
Constructor Details
ActivityLogAlertActionGroup
public ActivityLogAlertActionGroup()
Creates an instance of ActivityLogAlertActionGroup class.
Method Details
actionGroupId
public String actionGroupId()
Get the actionGroupId property: The resource ID of the Action Group. This cannot be null or empty.
Returns:
fromJson
public static ActivityLogAlertActionGroup fromJson(JsonReader jsonReader)
Reads an instance of ActivityLogAlertActionGroup from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
webhookProperties
public Map
Get the webhookProperties property: the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
Returns:
withActionGroupId
public ActivityLogAlertActionGroup withActionGroupId(String actionGroupId)
Set the actionGroupId property: The resource ID of the Action Group. This cannot be null or empty.
Parameters:
Returns:
withWebhookProperties
public ActivityLogAlertActionGroup withWebhookProperties(Map
Set the webhookProperties property: the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
Parameters:
Returns:
Applies to
Azure SDK for Java