TenantActivityLogAlertResource Interface

public interface TenantActivityLogAlertResource

An immutable client-side representation of TenantActivityLogAlertResource.

Method Summary

Modifier and Type Method and Description
abstract ActionList actions()

Gets the actions property: The actions that will activate when the condition is met.

abstract AlertRuleAllOfCondition 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 TenantActivityLogAlertResourceInner innerModel()

Gets the inner com.azure.resourcemanager.alertsmanagement.fluent.models.TenantActivityLogAlertResourceInner object.

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 tenantScope property: The tenant GUID.

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:

the actions value.

condition

public abstract AlertRuleAllOfCondition condition()

Gets the condition property: The condition that will cause this alert to activate.

Returns:

the condition value.

description

public abstract String description()

Gets the description property: A description of this Activity Log Alert rule.

Returns:

the description value.

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:

the enabled value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract TenantActivityLogAlertResourceInner innerModel()

Gets the inner com.azure.resourcemanager.alertsmanagement.fluent.models.TenantActivityLogAlertResourceInner object.

Returns:

the inner object.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

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:

the scopes value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

tenantScope

public abstract String tenantScope()

Gets the tenantScope property: The tenant GUID. Must be provided for tenant-level and management group events rules.

Returns:

the tenantScope value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

Applies to