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_apimanagement_apimloggers

v5.0.0

Published

DataFire integration for ApiManagementClient

Downloads

8

Readme

@datafire/azure_apimanagement_apimloggers

Client library for ApiManagementClient

Installation and Usage

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

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

Description

Use these REST APIs for performing operations on logger entity Azure API Management deployment.The Logger entity in API Management represents an event sink that you can use to log API Management events. Currently the Logger entity supports logging API Management events to Azure EventHub.

Actions

Logger_ListByService

Lists a collection of loggers in the specified service instance.

azure_apimanagement_apimloggers.Logger_ListByService({
  "resourceGroupName": "",
  "serviceName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group.
    • serviceName required string: The name of the API Management service.
    • $filter string: | Field | Usage | Supported operators | Supported functions ||-------------|-------------|-------------|-------------|| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | | description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | | loggerType | filter | eq | | | resourceId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
    • $top integer: Number of records to return.
    • $skip integer: Number of records to skip.
    • api-version required string: Version of the API to be used with the client request.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

  • output object: Paged Logger list representation.
    • count integer: Total record count number across all pages.
    • nextLink string: Next page link if any.
    • value array: Logger values.
      • items object: Logger details.
        • properties object: The Logger entity in API Management represents an event sink that you can use to log API Management events. Currently the Logger entity supports logging API Management events to Azure Event Hubs.
          • credentials required object: The name and SendRule connection string of the event hub for azureEventHub logger.
          • description string: Logger description.
          • isBuffered boolean: Whether records are buffered in the logger before publishing. Default is assumed to be true.
          • loggerType required string (values: azureEventHub, applicationInsights): Logger type.
          • resourceId string: Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application Insights resource).
        • id string: Resource ID.
        • name string: Resource name.
        • type string: Resource type for API Management resource.

Logger_Delete

Deletes the specified logger.

azure_apimanagement_apimloggers.Logger_Delete({
  "resourceGroupName": "",
  "serviceName": "",
  "loggerId": "",
  "If-Match": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group.
    • serviceName required string: The name of the API Management service.
    • loggerId required string: Logger identifier. Must be unique in the API Management service instance.
    • If-Match required string: ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.
    • force boolean: Force deletion even if diagnostic is attached.
    • api-version required string: Version of the API to be used with the client request.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

Output schema unknown

Logger_Get

Gets the details of the logger specified by its identifier.

azure_apimanagement_apimloggers.Logger_Get({
  "resourceGroupName": "",
  "serviceName": "",
  "loggerId": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group.
    • serviceName required string: The name of the API Management service.
    • loggerId required string: Logger identifier. Must be unique in the API Management service instance.
    • api-version required string: Version of the API to be used with the client request.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

  • output object: Logger details.
    • properties object: The Logger entity in API Management represents an event sink that you can use to log API Management events. Currently the Logger entity supports logging API Management events to Azure Event Hubs.
      • credentials required object: The name and SendRule connection string of the event hub for azureEventHub logger.
      • description string: Logger description.
      • isBuffered boolean: Whether records are buffered in the logger before publishing. Default is assumed to be true.
      • loggerType required string (values: azureEventHub, applicationInsights): Logger type.
      • resourceId string: Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application Insights resource).
    • id string: Resource ID.
    • name string: Resource name.
    • type string: Resource type for API Management resource.

Logger_GetEntityTag

Gets the entity state (Etag) version of the logger specified by its identifier.

azure_apimanagement_apimloggers.Logger_GetEntityTag({
  "resourceGroupName": "",
  "serviceName": "",
  "loggerId": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group.
    • serviceName required string: The name of the API Management service.
    • loggerId required string: Logger identifier. Must be unique in the API Management service instance.
    • api-version required string: Version of the API to be used with the client request.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

Output schema unknown

Logger_Update

Updates an existing logger.

azure_apimanagement_apimloggers.Logger_Update({
  "resourceGroupName": "",
  "serviceName": "",
  "loggerId": "",
  "parameters": null,
  "If-Match": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group.
    • serviceName required string: The name of the API Management service.
    • loggerId required string: Logger identifier. Must be unique in the API Management service instance.
    • parameters required object: Logger update contract.
      • properties object: Parameters supplied to the Update Logger operation.
        • credentials object: Logger credentials.
        • description string: Logger description.
        • isBuffered boolean: Whether records are buffered in the logger before publishing. Default is assumed to be true.
        • loggerType string (values: azureEventHub, applicationInsights): Logger type.
    • If-Match required string: ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.
    • api-version required string: Version of the API to be used with the client request.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

Output schema unknown

Logger_CreateOrUpdate

Creates or Updates a logger.

azure_apimanagement_apimloggers.Logger_CreateOrUpdate({
  "resourceGroupName": "",
  "serviceName": "",
  "loggerId": "",
  "parameters": null,
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group.
    • serviceName required string: The name of the API Management service.
    • loggerId required string: Logger identifier. Must be unique in the API Management service instance.
    • parameters required object: Logger details.
      • properties object: The Logger entity in API Management represents an event sink that you can use to log API Management events. Currently the Logger entity supports logging API Management events to Azure Event Hubs.
        • credentials required object: The name and SendRule connection string of the event hub for azureEventHub logger.
        • description string: Logger description.
        • isBuffered boolean: Whether records are buffered in the logger before publishing. Default is assumed to be true.
        • loggerType required string (values: azureEventHub, applicationInsights): Logger type.
        • resourceId string: Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application Insights resource).
      • id string: Resource ID.
      • name string: Resource name.
      • type string: Resource type for API Management resource.
    • If-Match string: ETag of the Entity. Not required when creating an entity, but required when updating an entity.
    • api-version required string: Version of the API to be used with the client request.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

  • output object: Logger details.
    • properties object: The Logger entity in API Management represents an event sink that you can use to log API Management events. Currently the Logger entity supports logging API Management events to Azure Event Hubs.
      • credentials required object: The name and SendRule connection string of the event hub for azureEventHub logger.
      • description string: Logger description.
      • isBuffered boolean: Whether records are buffered in the logger before publishing. Default is assumed to be true.
      • loggerType required string (values: azureEventHub, applicationInsights): Logger type.
      • resourceId string: Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application Insights resource).
    • id string: Resource ID.
    • name string: Resource name.
    • type string: Resource type for API Management resource.

Definitions

This integration has no definitions