npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/azure_monitor_activitylogalerts_api

v5.0.0

Published

DataFire integration for Azure Activity Log Alerts

Downloads

5

Readme

@datafire/azure_monitor_activitylogalerts_api

Client library for Azure Activity Log Alerts

Installation and Usage

npm install --save @datafire/azure_monitor_activitylogalerts_api
let azure_monitor_activitylogalerts_api = require('@datafire/azure_monitor_activitylogalerts_api').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

Actions

ActivityLogAlerts_ListBySubscriptionId

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

azure_monitor_activitylogalerts_api.ActivityLogAlerts_ListBySubscriptionId({
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The Azure subscription Id.
    • api-version required string: Client Api Version.

Output

ActivityLogAlerts_ListByResourceGroup

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

azure_monitor_activitylogalerts_api.ActivityLogAlerts_ListByResourceGroup({
  "subscriptionId": "",
  "resourceGroupName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The Azure subscription Id.
    • resourceGroupName required string: The name of the resource group.
    • api-version required string: Client Api Version.

Output

ActivityLogAlerts_Delete

Delete an activity log alert.

azure_monitor_activitylogalerts_api.ActivityLogAlerts_Delete({
  "subscriptionId": "",
  "resourceGroupName": "",
  "activityLogAlertName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The Azure subscription Id.
    • resourceGroupName required string: The name of the resource group.
    • activityLogAlertName required string: The name of the activity log alert.
    • api-version required string: Client Api Version.

Output

Output schema unknown

ActivityLogAlerts_Get

Get an activity log alert.

azure_monitor_activitylogalerts_api.ActivityLogAlerts_Get({
  "subscriptionId": "",
  "resourceGroupName": "",
  "activityLogAlertName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The Azure subscription Id.
    • resourceGroupName required string: The name of the resource group.
    • activityLogAlertName required string: The name of the activity log alert.
    • api-version required string: Client Api Version.

Output

ActivityLogAlerts_Update

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

azure_monitor_activitylogalerts_api.ActivityLogAlerts_Update({
  "subscriptionId": "",
  "resourceGroupName": "",
  "activityLogAlertName": "",
  "api-version": "",
  "activityLogAlertPatch": null
}, context)

Input

  • input object
    • subscriptionId required string: The Azure subscription Id.
    • resourceGroupName required string: The name of the resource group.
    • activityLogAlertName required string: The name of the activity log alert.
    • api-version required string: Client Api Version.
    • activityLogAlertPatch required ActivityLogAlertPatchBody

Output

ActivityLogAlerts_CreateOrUpdate

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

azure_monitor_activitylogalerts_api.ActivityLogAlerts_CreateOrUpdate({
  "subscriptionId": "",
  "resourceGroupName": "",
  "activityLogAlertName": "",
  "api-version": "",
  "activityLogAlert": null
}, context)

Input

  • input object
    • subscriptionId required string: The Azure subscription Id.
    • resourceGroupName required string: The name of the resource group.
    • activityLogAlertName required string: The name of the activity log alert.
    • api-version required string: Client Api Version.
    • activityLogAlert required ActivityLogAlertResource

Output

Definitions

ActivityLogAlert

  • ActivityLogAlert object: An Azure activity log alert.
    • actions required ActivityLogAlertActionList
    • condition required ActivityLogAlertAllOfCondition
    • description string: A description of this activity log alert.
    • enabled boolean: Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated.
    • scopes required array: A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item.
      • items string

ActivityLogAlertActionGroup

  • ActivityLogAlertActionGroup object: A pointer to an Azure Action Group.
    • actionGroupId required string: The resourceId of the action group. This cannot be null or empty.

ActivityLogAlertActionList

  • ActivityLogAlertActionList object: A list of activity log alert actions.

ActivityLogAlertAllOfCondition

  • ActivityLogAlertAllOfCondition object: An Activity Log alert condition that is met when all its member conditions are met.

ActivityLogAlertLeafCondition

  • ActivityLogAlertLeafCondition object: An Activity Log alert condition that is met by comparing an activity log field and value.
    • equals required string: The field value will be compared to this value (case-insensitive) to determine if the condition is met.
    • field required string: The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'.

ActivityLogAlertList

  • ActivityLogAlertList object: A list of activity log alerts.
    • nextLink string: Provides the link to retrieve the next set of elements.
    • value array: The list of activity log alerts.

ActivityLogAlertPatch

  • ActivityLogAlertPatch object: An Azure activity log alert for patch operations.
    • enabled boolean: Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated.

ActivityLogAlertPatchBody

  • ActivityLogAlertPatchBody object: An activity log alert object for the body of patch operations.

ActivityLogAlertResource

  • ActivityLogAlertResource object: An activity log alert resource.
    • properties ActivityLogAlert
    • id string: Azure resource Id
    • location required string: Resource location
    • name string: Azure resource name
    • type string: Azure resource type

ErrorResponse

  • ErrorResponse object: Describes the format of Error response.
    • code string: Error code
    • message string: Error message indicating why the operation failed.

Resource

  • Resource object: An azure resource object
    • id string: Azure resource Id
    • location required string: Resource location
    • name string: Azure resource name
    • type string: Azure resource type