@kengachu-pulumi/azure-native-apimanagement
Version:
Pulumi Azure Native package for apimanagement
88 lines (87 loc) • 2.68 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as types from "./types";
/**
* Gets the details of the Diagnostic specified by its identifier.
*/
export declare function getDiagnostic(args: GetDiagnosticArgs, opts?: pulumi.InvokeOptions): Promise<GetDiagnosticResult>;
export interface GetDiagnosticArgs {
/**
* 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 GetDiagnosticResult {
/**
* 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 specified by its identifier.
*/
export declare function getDiagnosticOutput(args: GetDiagnosticOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDiagnosticResult>;
export interface GetDiagnosticOutputArgs {
/**
* 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>;
}