UNPKG

@kengachu-pulumi/azure-native-apimanagement

Version:

Pulumi Azure Native package for apimanagement

96 lines (95 loc) 2.98 kB
import * as pulumi from "@pulumi/pulumi"; import * as types from "./types"; /** * Gets the details of the Diagnostic for an API specified by its identifier. */ export declare function getApiDiagnostic(args: GetApiDiagnosticArgs, opts?: pulumi.InvokeOptions): Promise<GetApiDiagnosticResult>; export interface GetApiDiagnosticArgs { /** * API identifier. Must be unique in the current API Management service instance. */ apiId: string; /** * Diagnostic identifier. Must be unique in the current API Management service instance. */ diagnosticId: string; /** * The name of the resource group. */ resourceGroupName: string; /** * The name of the API Management service. */ serviceName: string; } /** * Diagnostic details. */ export interface GetApiDiagnosticResult { /** * Specifies for what type of messages sampling settings should not apply. */ readonly alwaysLog?: string; /** * Diagnostic settings for incoming/outgoing HTTP messages to the Backend */ readonly backend?: types.outputs.PipelineDiagnosticSettingsResponse; /** * Whether to process Correlation Headers coming to Api Management Service. Only applicable to Application Insights diagnostics. Default is true. */ readonly enableHttpCorrelationHeaders?: boolean; /** * Diagnostic settings for incoming/outgoing HTTP messages to the Gateway. */ readonly frontend?: types.outputs.PipelineDiagnosticSettingsResponse; /** * Sets correlation protocol to use for Application Insights diagnostics. */ readonly httpCorrelationProtocol?: string; /** * Resource ID. */ readonly id: string; /** * Resource Id of a target logger. */ readonly loggerId: string; /** * Resource name. */ readonly name: string; /** * Sampling settings for Diagnostic. */ readonly sampling?: types.outputs.SamplingSettingsResponse; /** * Resource type for API Management resource. */ readonly type: string; /** * The verbosity level applied to traces emitted by trace policies. */ readonly verbosity?: string; } /** * Gets the details of the Diagnostic for an API specified by its identifier. */ export declare function getApiDiagnosticOutput(args: GetApiDiagnosticOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetApiDiagnosticResult>; export interface GetApiDiagnosticOutputArgs { /** * API identifier. Must be unique in the current API Management service instance. */ apiId: pulumi.Input<string>; /** * Diagnostic identifier. Must be unique in the current API Management service instance. */ diagnosticId: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; /** * The name of the API Management service. */ serviceName: pulumi.Input<string>; }