Interface MetricAlertApi


@Path("/resourcegroups/{resourcegroup}/providers/Microsoft.Insights/metricAlerts") @Consumes("application/json") public interface MetricAlertApi
The Metric Alert API includes operations for managing metric type alert rules in your subscription.
See Also:
  • Method Details

    • get

      @Named("metricalert:get") @GET @Path("/{name}") MetricAlert get(@PathParam("name") String name)
    • list

      @Named("metricalert:list") @GET List<MetricAlert> list()
    • createOrUpdate

      @Named("metricalert:createOrUpdate") @PUT @Path("/{ruleName}") MetricAlert createOrUpdate(@PathParam("ruleName") String ruleName, MetricAlertProperties properties, Map<String,String> tags, String location)
    • delete

      @Named("metricalert:delete") @DELETE @Path("/{ruleName}") URI delete(@PathParam("ruleName") String ruleName)