UNPKG

@kengachu-pulumi/azure-native-apimanagement

Version:

Pulumi Azure Native package for apimanagement

74 lines (73 loc) 1.94 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets the details of the logger specified by its identifier. */ export declare function getLogger(args: GetLoggerArgs, opts?: pulumi.InvokeOptions): Promise<GetLoggerResult>; export interface GetLoggerArgs { /** * Logger identifier. Must be unique in the API Management service instance. */ loggerid: string; /** * The name of the resource group. */ resourceGroupName: string; /** * The name of the API Management service. */ serviceName: string; } /** * Logger details. */ export interface GetLoggerResult { /** * The name and SendRule connection string of the event hub for azureEventHub logger. * Instrumentation key for applicationInsights logger. */ readonly credentials: { [key: string]: string; }; /** * Logger description. */ readonly description?: string; /** * Resource ID. */ readonly id: string; /** * Whether records are buffered in the logger before publishing. Default is assumed to be true. */ readonly isBuffered?: boolean; /** * Logger type. */ readonly loggerType: string; /** * Resource name. */ readonly name: string; /** * Resource type for API Management resource. */ readonly type: string; } /** * Gets the details of the logger specified by its identifier. */ export declare function getLoggerOutput(args: GetLoggerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLoggerResult>; export interface GetLoggerOutputArgs { /** * Logger identifier. Must be unique in the API Management service instance. */ loggerid: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; /** * The name of the API Management service. */ serviceName: pulumi.Input<string>; }