java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
com.azure.resourcemanager.securityinsights.models.ActionRequest

public final class ActionRequest extends ResourceWithEtag
Action for alert rule.
  • Constructor Details

    • ActionRequest

      public ActionRequest()
  • Method Details

    • withEtag

      public ActionRequest withEtag(String etag)
      Set the etag property: Etag of the azure resource.
      Overrides:
      withEtag in class ResourceWithEtag
      Parameters:
      etag - the etag value to set.
      Returns:
      the ResourceWithEtag object itself.
    • triggerUri

      public String triggerUri()
      Get the triggerUri property: Logic App Callback URL for this specific workflow.
      Returns:
      the triggerUri value.
    • withTriggerUri

      public ActionRequest withTriggerUri(String triggerUri)
      Set the triggerUri property: Logic App Callback URL for this specific workflow.
      Parameters:
      triggerUri - the triggerUri value to set.
      Returns:
      the ActionRequest object itself.
    • logicAppResourceId

      public String logicAppResourceId()
      Get the logicAppResourceId property: Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}.
      Returns:
      the logicAppResourceId value.
    • withLogicAppResourceId

      public ActionRequest withLogicAppResourceId(String logicAppResourceId)
      Set the logicAppResourceId property: Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}.
      Parameters:
      logicAppResourceId - the logicAppResourceId value to set.
      Returns:
      the ActionRequest object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ResourceWithEtag
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.