ActivityLogAlerts interface

Interface representing a ActivityLogAlerts.

Methods

createOrUpdate(string, string, ActivityLogAlertResource, ActivityLogAlertsCreateOrUpdateOptionalParams)

Create a new activity log alert or update an existing one.

delete(string, string, ActivityLogAlertsDeleteOptionalParams)

Delete an activity log alert.

get(string, string, ActivityLogAlertsGetOptionalParams)

Get an activity log alert.

listByResourceGroup(string, ActivityLogAlertsListByResourceGroupOptionalParams)

Get a list of all activity log alerts in a resource group.

listBySubscriptionId(ActivityLogAlertsListBySubscriptionIdOptionalParams)

Get a list of all activity log alerts in a subscription.

update(string, string, ActivityLogAlertPatchBody, ActivityLogAlertsUpdateOptionalParams)

Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.

Method Details

createOrUpdate(string, string, ActivityLogAlertResource, ActivityLogAlertsCreateOrUpdateOptionalParams)

Create a new activity log alert or update an existing one.

function createOrUpdate(resourceGroupName: string, activityLogAlertName: string, activityLogAlert: ActivityLogAlertResource, options?: ActivityLogAlertsCreateOrUpdateOptionalParams): Promise<ActivityLogAlertResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

activityLogAlertName

string

The name of the activity log alert.

activityLogAlert
ActivityLogAlertResource

The activity log alert to create or use for the update.

options
ActivityLogAlertsCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, ActivityLogAlertsDeleteOptionalParams)

Delete an activity log alert.

function delete(resourceGroupName: string, activityLogAlertName: string, options?: ActivityLogAlertsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

activityLogAlertName

string

The name of the activity log alert.

options
ActivityLogAlertsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, ActivityLogAlertsGetOptionalParams)

Get an activity log alert.

function get(resourceGroupName: string, activityLogAlertName: string, options?: ActivityLogAlertsGetOptionalParams): Promise<ActivityLogAlertResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

activityLogAlertName

string

The name of the activity log alert.

options
ActivityLogAlertsGetOptionalParams

The options parameters.

Returns

listByResourceGroup(string, ActivityLogAlertsListByResourceGroupOptionalParams)

Get a list of all activity log alerts in a resource group.

function listByResourceGroup(resourceGroupName: string, options?: ActivityLogAlertsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ActivityLogAlertResource, ActivityLogAlertResource[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
ActivityLogAlertsListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscriptionId(ActivityLogAlertsListBySubscriptionIdOptionalParams)

Get a list of all activity log alerts in a subscription.

function listBySubscriptionId(options?: ActivityLogAlertsListBySubscriptionIdOptionalParams): PagedAsyncIterableIterator<ActivityLogAlertResource, ActivityLogAlertResource[], PageSettings>

Parameters

options
ActivityLogAlertsListBySubscriptionIdOptionalParams

The options parameters.

Returns

update(string, string, ActivityLogAlertPatchBody, ActivityLogAlertsUpdateOptionalParams)

Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.

function update(resourceGroupName: string, activityLogAlertName: string, activityLogAlertPatch: ActivityLogAlertPatchBody, options?: ActivityLogAlertsUpdateOptionalParams): Promise<ActivityLogAlertResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

activityLogAlertName

string

The name of the activity log alert.

activityLogAlertPatch
ActivityLogAlertPatchBody

Parameters supplied to the operation.

options
ActivityLogAlertsUpdateOptionalParams

The options parameters.

Returns