Actions Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. Actions
- com.
Implements
public final class Actions
implements JsonSerializable<Actions>
Actions to invoke when the alert fires.
Constructor Summary
Constructor | Description |
---|---|
Actions() |
Creates an instance of Actions class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
actionGroups()
Get the action |
Map<String,String> |
customProperties()
Get the custom |
static Actions |
fromJson(JsonReader jsonReader)
Reads an instance of Actions from the Json |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Actions |
withActionGroups(List<String> actionGroups)
Set the action |
Actions |
withCustomProperties(Map<String,String> customProperties)
Set the custom |
Methods inherited from java.lang.Object
Constructor Details
Actions
public Actions()
Creates an instance of Actions class.
Method Details
actionGroups
public List
Get the actionGroups property: Action Group resource Ids to invoke when the alert fires.
Returns:
customProperties
public Map
Get the customProperties property: The properties of an alert payload.
Returns:
fromJson
public static Actions fromJson(JsonReader jsonReader)
Reads an instance of Actions from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withActionGroups
public Actions withActionGroups(List
Set the actionGroups property: Action Group resource Ids to invoke when the alert fires.
Parameters:
Returns:
withCustomProperties
public Actions withCustomProperties(Map
Set the customProperties property: The properties of an alert payload.
Parameters:
Returns:
Applies to
Azure SDK for Java