Interface MetricAlert.DefinitionStages.WithScopes

    • Method Detail

      • withTargetResource

        MetricAlert.DefinitionStages.WithWindowSize withTargetResource​(String resourceId)
        Sets specified resource as a target to alert on metric.
        Parameters:
        resourceId - resource Id string.
        Returns:
        the next stage of metric alert definition.
      • withTargetResource

        MetricAlert.DefinitionStages.WithWindowSize withTargetResource​(com.microsoft.azure.management.resources.fluentcore.arm.models.HasId resource)
        Sets specified resource as a target to alert on metric.
        Parameters:
        resource - resource type that is inherited from HasId interface
        Returns:
        the next stage of metric alert definition.