TenantActivityLogAlertResource Interface
public interface TenantActivityLogAlertResource
An immutable client-side representation of TenantActivityLogAlertResource.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Action |
actions()
Gets the actions property: The actions that will activate when the condition is met. |
|
abstract
Alert |
condition()
Gets the condition property: The condition that will cause this alert to activate. |
| abstract String |
description()
Gets the description property: A description of this Activity Log Alert rule. |
| abstract Boolean |
enabled()
Gets the enabled property: Indicates whether this Activity Log Alert rule is enabled. |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
|
abstract
Tenant |
innerModel()
Gets the inner com. |
| abstract String |
location()
Gets the location property: The geo-location where the resource lives. |
| abstract String |
name()
Gets the name property: The name of the resource. |
| abstract List<String> |
scopes()
Gets the scopes property: A list of resource IDs that will be used as prefixes. |
| abstract Map<String,String> |
tags()
Gets the tags property: Resource tags. |
| abstract String |
tenantScope()
Gets the tenant |
| abstract String |
type()
Gets the type property: The type of the resource. |
Method Details
actions
public abstract ActionList actions()
Gets the actions property: The actions that will activate when the condition is met.
Returns:
condition
public abstract AlertRuleAllOfCondition condition()
Gets the condition property: The condition that will cause this alert to activate.
Returns:
description
public abstract String description()
Gets the description property: A description of this Activity Log Alert rule.
Returns:
enabled
public abstract Boolean enabled()
Gets the enabled property: Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract TenantActivityLogAlertResourceInner innerModel()
Gets the inner com.azure.resourcemanager.alertsmanagement.fluent.models.TenantActivityLogAlertResourceInner object.
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
scopes
public abstract List<String> scopes()
Gets the scopes property: A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item.
Returns:
tags
public abstract Map<String,String> tags()
Gets the tags property: Resource tags.
Returns:
tenantScope
public abstract String tenantScope()
Gets the tenantScope property: The tenant GUID. Must be provided for tenant-level and management group events rules.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns: