This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.web.getWebAppDiagnosticLogsConfiguration
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Description for Gets the logging configuration of an app. Azure REST API version: 2022-09-01.
Other available API versions: 2020-10-01, 2023-01-01, 2023-12-01, 2024-04-01.
Using getWebAppDiagnosticLogsConfiguration
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWebAppDiagnosticLogsConfiguration(args: GetWebAppDiagnosticLogsConfigurationArgs, opts?: InvokeOptions): Promise<GetWebAppDiagnosticLogsConfigurationResult>
function getWebAppDiagnosticLogsConfigurationOutput(args: GetWebAppDiagnosticLogsConfigurationOutputArgs, opts?: InvokeOptions): Output<GetWebAppDiagnosticLogsConfigurationResult>def get_web_app_diagnostic_logs_configuration(name: Optional[str] = None,
                                              resource_group_name: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetWebAppDiagnosticLogsConfigurationResult
def get_web_app_diagnostic_logs_configuration_output(name: Optional[pulumi.Input[str]] = None,
                                              resource_group_name: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetWebAppDiagnosticLogsConfigurationResult]func LookupWebAppDiagnosticLogsConfiguration(ctx *Context, args *LookupWebAppDiagnosticLogsConfigurationArgs, opts ...InvokeOption) (*LookupWebAppDiagnosticLogsConfigurationResult, error)
func LookupWebAppDiagnosticLogsConfigurationOutput(ctx *Context, args *LookupWebAppDiagnosticLogsConfigurationOutputArgs, opts ...InvokeOption) LookupWebAppDiagnosticLogsConfigurationResultOutput> Note: This function is named LookupWebAppDiagnosticLogsConfiguration in the Go SDK.
public static class GetWebAppDiagnosticLogsConfiguration 
{
    public static Task<GetWebAppDiagnosticLogsConfigurationResult> InvokeAsync(GetWebAppDiagnosticLogsConfigurationArgs args, InvokeOptions? opts = null)
    public static Output<GetWebAppDiagnosticLogsConfigurationResult> Invoke(GetWebAppDiagnosticLogsConfigurationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWebAppDiagnosticLogsConfigurationResult> getWebAppDiagnosticLogsConfiguration(GetWebAppDiagnosticLogsConfigurationArgs args, InvokeOptions options)
public static Output<GetWebAppDiagnosticLogsConfigurationResult> getWebAppDiagnosticLogsConfiguration(GetWebAppDiagnosticLogsConfigurationArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:web:getWebAppDiagnosticLogsConfiguration
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- Name of the app.
- ResourceGroup stringName 
- Name of the resource group to which the resource belongs.
- Name string
- Name of the app.
- ResourceGroup stringName 
- Name of the resource group to which the resource belongs.
- name String
- Name of the app.
- resourceGroup StringName 
- Name of the resource group to which the resource belongs.
- name string
- Name of the app.
- resourceGroup stringName 
- Name of the resource group to which the resource belongs.
- name str
- Name of the app.
- resource_group_ strname 
- Name of the resource group to which the resource belongs.
- name String
- Name of the app.
- resourceGroup StringName 
- Name of the resource group to which the resource belongs.
getWebAppDiagnosticLogsConfiguration Result
The following output properties are available:
- Id string
- Resource Id.
- Name string
- Resource Name.
- Type string
- Resource type.
- ApplicationLogs Pulumi.Azure Native. Web. Outputs. Application Logs Config Response 
- Application logs configuration.
- DetailedError Pulumi.Messages Azure Native. Web. Outputs. Enabled Config Response 
- Detailed error messages configuration.
- FailedRequests Pulumi.Tracing Azure Native. Web. Outputs. Enabled Config Response 
- Failed requests tracing configuration.
- HttpLogs Pulumi.Azure Native. Web. Outputs. Http Logs Config Response 
- HTTP logs configuration.
- Kind string
- Kind of resource.
- Id string
- Resource Id.
- Name string
- Resource Name.
- Type string
- Resource type.
- ApplicationLogs ApplicationLogs Config Response 
- Application logs configuration.
- DetailedError EnabledMessages Config Response 
- Detailed error messages configuration.
- FailedRequests EnabledTracing Config Response 
- Failed requests tracing configuration.
- HttpLogs HttpLogs Config Response 
- HTTP logs configuration.
- Kind string
- Kind of resource.
- id String
- Resource Id.
- name String
- Resource Name.
- type String
- Resource type.
- applicationLogs ApplicationLogs Config Response 
- Application logs configuration.
- detailedError EnabledMessages Config Response 
- Detailed error messages configuration.
- failedRequests EnabledTracing Config Response 
- Failed requests tracing configuration.
- httpLogs HttpLogs Config Response 
- HTTP logs configuration.
- kind String
- Kind of resource.
- id string
- Resource Id.
- name string
- Resource Name.
- type string
- Resource type.
- applicationLogs ApplicationLogs Config Response 
- Application logs configuration.
- detailedError EnabledMessages Config Response 
- Detailed error messages configuration.
- failedRequests EnabledTracing Config Response 
- Failed requests tracing configuration.
- httpLogs HttpLogs Config Response 
- HTTP logs configuration.
- kind string
- Kind of resource.
- id str
- Resource Id.
- name str
- Resource Name.
- type str
- Resource type.
- application_logs ApplicationLogs Config Response 
- Application logs configuration.
- detailed_error_ Enabledmessages Config Response 
- Detailed error messages configuration.
- failed_requests_ Enabledtracing Config Response 
- Failed requests tracing configuration.
- http_logs HttpLogs Config Response 
- HTTP logs configuration.
- kind str
- Kind of resource.
- id String
- Resource Id.
- name String
- Resource Name.
- type String
- Resource type.
- applicationLogs Property Map
- Application logs configuration.
- detailedError Property MapMessages 
- Detailed error messages configuration.
- failedRequests Property MapTracing 
- Failed requests tracing configuration.
- httpLogs Property Map
- HTTP logs configuration.
- kind String
- Kind of resource.
Supporting Types
ApplicationLogsConfigResponse   
- AzureBlob Pulumi.Storage Azure Native. Web. Inputs. Azure Blob Storage Application Logs Config Response 
- Application logs to blob storage configuration.
- AzureTable Pulumi.Storage Azure Native. Web. Inputs. Azure Table Storage Application Logs Config Response 
- Application logs to azure table storage configuration.
- FileSystem Pulumi.Azure Native. Web. Inputs. File System Application Logs Config Response 
- Application logs to file system configuration.
- AzureBlob AzureStorage Blob Storage Application Logs Config Response 
- Application logs to blob storage configuration.
- AzureTable AzureStorage Table Storage Application Logs Config Response 
- Application logs to azure table storage configuration.
- FileSystem FileSystem Application Logs Config Response 
- Application logs to file system configuration.
- azureBlob AzureStorage Blob Storage Application Logs Config Response 
- Application logs to blob storage configuration.
- azureTable AzureStorage Table Storage Application Logs Config Response 
- Application logs to azure table storage configuration.
- fileSystem FileSystem Application Logs Config Response 
- Application logs to file system configuration.
- azureBlob AzureStorage Blob Storage Application Logs Config Response 
- Application logs to blob storage configuration.
- azureTable AzureStorage Table Storage Application Logs Config Response 
- Application logs to azure table storage configuration.
- fileSystem FileSystem Application Logs Config Response 
- Application logs to file system configuration.
- azure_blob_ Azurestorage Blob Storage Application Logs Config Response 
- Application logs to blob storage configuration.
- azure_table_ Azurestorage Table Storage Application Logs Config Response 
- Application logs to azure table storage configuration.
- file_system FileSystem Application Logs Config Response 
- Application logs to file system configuration.
- azureBlob Property MapStorage 
- Application logs to blob storage configuration.
- azureTable Property MapStorage 
- Application logs to azure table storage configuration.
- fileSystem Property Map
- Application logs to file system configuration.
AzureBlobStorageApplicationLogsConfigResponse      
- Level string
- Log level.
- RetentionIn intDays 
- Retention in days. Remove blobs older than X days. 0 or lower means no retention.
- SasUrl string
- SAS url to a azure blob container with read/write/list/delete permissions.
- Level string
- Log level.
- RetentionIn intDays 
- Retention in days. Remove blobs older than X days. 0 or lower means no retention.
- SasUrl string
- SAS url to a azure blob container with read/write/list/delete permissions.
- level String
- Log level.
- retentionIn IntegerDays 
- Retention in days. Remove blobs older than X days. 0 or lower means no retention.
- sasUrl String
- SAS url to a azure blob container with read/write/list/delete permissions.
- level string
- Log level.
- retentionIn numberDays 
- Retention in days. Remove blobs older than X days. 0 or lower means no retention.
- sasUrl string
- SAS url to a azure blob container with read/write/list/delete permissions.
- level str
- Log level.
- retention_in_ intdays 
- Retention in days. Remove blobs older than X days. 0 or lower means no retention.
- sas_url str
- SAS url to a azure blob container with read/write/list/delete permissions.
- level String
- Log level.
- retentionIn NumberDays 
- Retention in days. Remove blobs older than X days. 0 or lower means no retention.
- sasUrl String
- SAS url to a azure blob container with read/write/list/delete permissions.
AzureBlobStorageHttpLogsConfigResponse      
- Enabled bool
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- RetentionIn intDays 
- Retention in days. Remove blobs older than X days. 0 or lower means no retention.
- SasUrl string
- SAS url to a azure blob container with read/write/list/delete permissions.
- Enabled bool
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- RetentionIn intDays 
- Retention in days. Remove blobs older than X days. 0 or lower means no retention.
- SasUrl string
- SAS url to a azure blob container with read/write/list/delete permissions.
- enabled Boolean
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- retentionIn IntegerDays 
- Retention in days. Remove blobs older than X days. 0 or lower means no retention.
- sasUrl String
- SAS url to a azure blob container with read/write/list/delete permissions.
- enabled boolean
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- retentionIn numberDays 
- Retention in days. Remove blobs older than X days. 0 or lower means no retention.
- sasUrl string
- SAS url to a azure blob container with read/write/list/delete permissions.
- enabled bool
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- retention_in_ intdays 
- Retention in days. Remove blobs older than X days. 0 or lower means no retention.
- sas_url str
- SAS url to a azure blob container with read/write/list/delete permissions.
- enabled Boolean
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- retentionIn NumberDays 
- Retention in days. Remove blobs older than X days. 0 or lower means no retention.
- sasUrl String
- SAS url to a azure blob container with read/write/list/delete permissions.
AzureTableStorageApplicationLogsConfigResponse      
EnabledConfigResponse  
- Enabled bool
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- Enabled bool
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- enabled Boolean
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- enabled boolean
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- enabled bool
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- enabled Boolean
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
FileSystemApplicationLogsConfigResponse     
- Level string
- Log level.
- Level string
- Log level.
- level String
- Log level.
- level string
- Log level.
- level str
- Log level.
- level String
- Log level.
FileSystemHttpLogsConfigResponse     
- Enabled bool
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- RetentionIn intDays 
- Retention in days. Remove files older than X days. 0 or lower means no retention.
- RetentionIn intMb 
- Maximum size in megabytes that http log files can use. When reached old log files will be removed to make space for new ones. Value can range between 25 and 100.
- Enabled bool
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- RetentionIn intDays 
- Retention in days. Remove files older than X days. 0 or lower means no retention.
- RetentionIn intMb 
- Maximum size in megabytes that http log files can use. When reached old log files will be removed to make space for new ones. Value can range between 25 and 100.
- enabled Boolean
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- retentionIn IntegerDays 
- Retention in days. Remove files older than X days. 0 or lower means no retention.
- retentionIn IntegerMb 
- Maximum size in megabytes that http log files can use. When reached old log files will be removed to make space for new ones. Value can range between 25 and 100.
- enabled boolean
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- retentionIn numberDays 
- Retention in days. Remove files older than X days. 0 or lower means no retention.
- retentionIn numberMb 
- Maximum size in megabytes that http log files can use. When reached old log files will be removed to make space for new ones. Value can range between 25 and 100.
- enabled bool
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- retention_in_ intdays 
- Retention in days. Remove files older than X days. 0 or lower means no retention.
- retention_in_ intmb 
- Maximum size in megabytes that http log files can use. When reached old log files will be removed to make space for new ones. Value can range between 25 and 100.
- enabled Boolean
- True if configuration is enabled, false if it is disabled and null if configuration is not set.
- retentionIn NumberDays 
- Retention in days. Remove files older than X days. 0 or lower means no retention.
- retentionIn NumberMb 
- Maximum size in megabytes that http log files can use. When reached old log files will be removed to make space for new ones. Value can range between 25 and 100.
HttpLogsConfigResponse   
- AzureBlob Pulumi.Storage Azure Native. Web. Inputs. Azure Blob Storage Http Logs Config Response 
- Http logs to azure blob storage configuration.
- FileSystem Pulumi.Azure Native. Web. Inputs. File System Http Logs Config Response 
- Http logs to file system configuration.
- AzureBlob AzureStorage Blob Storage Http Logs Config Response 
- Http logs to azure blob storage configuration.
- FileSystem FileSystem Http Logs Config Response 
- Http logs to file system configuration.
- azureBlob AzureStorage Blob Storage Http Logs Config Response 
- Http logs to azure blob storage configuration.
- fileSystem FileSystem Http Logs Config Response 
- Http logs to file system configuration.
- azureBlob AzureStorage Blob Storage Http Logs Config Response 
- Http logs to azure blob storage configuration.
- fileSystem FileSystem Http Logs Config Response 
- Http logs to file system configuration.
- azure_blob_ Azurestorage Blob Storage Http Logs Config Response 
- Http logs to azure blob storage configuration.
- file_system FileSystem Http Logs Config Response 
- Http logs to file system configuration.
- azureBlob Property MapStorage 
- Http logs to azure blob storage configuration.
- fileSystem Property Map
- Http logs to file system configuration.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi