@kengachu-pulumi/azure-native-web
Version:
Pulumi Azure Native package for web
80 lines (79 loc) • 3.13 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as types from "./types";
/**
* Description for Gets the logging configuration of an app.
*
* Uses Azure REST API version 2024-04-01.
*
* Other available API versions: 2016-08-01, 2018-02-01, 2018-11-01, 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getWebAppDiagnosticLogsConfiguration(args: GetWebAppDiagnosticLogsConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetWebAppDiagnosticLogsConfigurationResult>;
export interface GetWebAppDiagnosticLogsConfigurationArgs {
/**
* Name of the app.
*/
name: string;
/**
* Name of the resource group to which the resource belongs.
*/
resourceGroupName: string;
}
/**
* Configuration of App Service site logs.
*/
export interface GetWebAppDiagnosticLogsConfigurationResult {
/**
* Application logs configuration.
*/
readonly applicationLogs?: types.outputs.ApplicationLogsConfigResponse;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Detailed error messages configuration.
*/
readonly detailedErrorMessages?: types.outputs.EnabledConfigResponse;
/**
* Failed requests tracing configuration.
*/
readonly failedRequestsTracing?: types.outputs.EnabledConfigResponse;
/**
* HTTP logs configuration.
*/
readonly httpLogs?: types.outputs.HttpLogsConfigResponse;
/**
* Resource Id.
*/
readonly id: string;
/**
* Kind of resource.
*/
readonly kind?: string;
/**
* Resource Name.
*/
readonly name: string;
/**
* Resource type.
*/
readonly type: string;
}
/**
* Description for Gets the logging configuration of an app.
*
* Uses Azure REST API version 2024-04-01.
*
* Other available API versions: 2016-08-01, 2018-02-01, 2018-11-01, 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getWebAppDiagnosticLogsConfigurationOutput(args: GetWebAppDiagnosticLogsConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWebAppDiagnosticLogsConfigurationResult>;
export interface GetWebAppDiagnosticLogsConfigurationOutputArgs {
/**
* Name of the app.
*/
name: pulumi.Input<string>;
/**
* Name of the resource group to which the resource belongs.
*/
resourceGroupName: pulumi.Input<string>;
}