@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.
- resourceGroupName required
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).
- credentials required
- id
string
: Resource ID. - name
string
: Resource name. - type
string
: Resource type for API Management resource.
- properties
- items
- count
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.
- resourceGroupName required
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.
- resourceGroupName required
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).
- credentials required
- id
string
: Resource ID. - name
string
: Resource name. - type
string
: Resource type for API Management resource.
- properties
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.
- resourceGroupName required
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.
- credentials
- properties
- 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.
- resourceGroupName required
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).
- credentials required
- id
string
: Resource ID. - name
string
: Resource name. - type
string
: Resource type for API Management resource.
- properties
- 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.
- resourceGroupName required
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).
- credentials required
- id
string
: Resource ID. - name
string
: Resource name. - type
string
: Resource type for API Management resource.
- properties
Definitions
This integration has no definitions