PrometheusRuleGroups Interface
public interface PrometheusRuleGroups
Resource collection API of PrometheusRuleGroups.
Method Summary
Method Details
define
public abstract PrometheusRuleGroupResource.DefinitionStages.Blank define(String name)
Begins definition for a new PrometheusRuleGroupResource resource.
Parameters:
Returns:
deleteById
public abstract void deleteById(String id)
Delete a Prometheus rule group definition.
Parameters:
deleteByIdWithResponse
public abstract Response<Void> deleteByIdWithResponse(String id, Context context)
Delete a Prometheus rule group definition.
Parameters:
Returns:
deleteByResourceGroup
public abstract void deleteByResourceGroup(String resourceGroupName, String ruleGroupName)
Delete a Prometheus rule group definition.
Parameters:
deleteByResourceGroupWithResponse
public abstract Response<Void> deleteByResourceGroupWithResponse(String resourceGroupName, String ruleGroupName, Context context)
Delete a Prometheus rule group definition.
Parameters:
Returns:
getById
public abstract PrometheusRuleGroupResource getById(String id)
Retrieve a Prometheus rule group definition.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<PrometheusRuleGroupResource> getByIdWithResponse(String id, Context context)
Retrieve a Prometheus rule group definition.
Parameters:
Returns:
getByResourceGroup
public abstract PrometheusRuleGroupResource getByResourceGroup(String resourceGroupName, String ruleGroupName)
Retrieve a Prometheus rule group definition.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<PrometheusRuleGroupResource> getByResourceGroupWithResponse(String resourceGroupName, String ruleGroupName, Context context)
Retrieve a Prometheus rule group definition.
Parameters:
Returns:
list
public abstract PagedIterable<PrometheusRuleGroupResource> list()
Retrieve Prometheus rule group definitions in a subscription.
Returns:
list
public abstract PagedIterable<PrometheusRuleGroupResource> list(Context context)
Retrieve Prometheus rule group definitions in a subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<PrometheusRuleGroupResource> listByResourceGroup(String resourceGroupName)
Retrieve Prometheus rule group definitions in a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<PrometheusRuleGroupResource> listByResourceGroup(String resourceGroupName, Context context)
Retrieve Prometheus rule group definitions in a resource group.
Parameters:
Returns: