1. Packages
  2. Azure Native
  3. API Docs
  4. web
  5. getWebAppDiagnosticLogsConfiguration
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.50.1 published on Tuesday, Jul 16, 2024 by Pulumi

azure-native.web.getWebAppDiagnosticLogsConfiguration

Explore with Pulumi AI

azure-native logo
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.50.1 published on Tuesday, Jul 16, 2024 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.

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:web:getWebAppDiagnosticLogsConfiguration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Name of the app.
    ResourceGroupName string
    Name of the resource group to which the resource belongs.
    Name string
    Name of the app.
    ResourceGroupName string
    Name of the resource group to which the resource belongs.
    name String
    Name of the app.
    resourceGroupName String
    Name of the resource group to which the resource belongs.
    name string
    Name of the app.
    resourceGroupName string
    Name of the resource group to which the resource belongs.
    name str
    Name of the app.
    resource_group_name str
    Name of the resource group to which the resource belongs.
    name String
    Name of the app.
    resourceGroupName String
    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.AzureNative.Web.Outputs.ApplicationLogsConfigResponse
    Application logs configuration.
    DetailedErrorMessages Pulumi.AzureNative.Web.Outputs.EnabledConfigResponse
    Detailed error messages configuration.
    FailedRequestsTracing Pulumi.AzureNative.Web.Outputs.EnabledConfigResponse
    Failed requests tracing configuration.
    HttpLogs Pulumi.AzureNative.Web.Outputs.HttpLogsConfigResponse
    HTTP logs configuration.
    Kind string
    Kind of resource.
    Id string
    Resource Id.
    Name string
    Resource Name.
    Type string
    Resource type.
    ApplicationLogs ApplicationLogsConfigResponse
    Application logs configuration.
    DetailedErrorMessages EnabledConfigResponse
    Detailed error messages configuration.
    FailedRequestsTracing EnabledConfigResponse
    Failed requests tracing configuration.
    HttpLogs HttpLogsConfigResponse
    HTTP logs configuration.
    Kind string
    Kind of resource.
    id String
    Resource Id.
    name String
    Resource Name.
    type String
    Resource type.
    applicationLogs ApplicationLogsConfigResponse
    Application logs configuration.
    detailedErrorMessages EnabledConfigResponse
    Detailed error messages configuration.
    failedRequestsTracing EnabledConfigResponse
    Failed requests tracing configuration.
    httpLogs HttpLogsConfigResponse
    HTTP logs configuration.
    kind String
    Kind of resource.
    id string
    Resource Id.
    name string
    Resource Name.
    type string
    Resource type.
    applicationLogs ApplicationLogsConfigResponse
    Application logs configuration.
    detailedErrorMessages EnabledConfigResponse
    Detailed error messages configuration.
    failedRequestsTracing EnabledConfigResponse
    Failed requests tracing configuration.
    httpLogs HttpLogsConfigResponse
    HTTP logs configuration.
    kind string
    Kind of resource.
    id str
    Resource Id.
    name str
    Resource Name.
    type str
    Resource type.
    application_logs ApplicationLogsConfigResponse
    Application logs configuration.
    detailed_error_messages EnabledConfigResponse
    Detailed error messages configuration.
    failed_requests_tracing EnabledConfigResponse
    Failed requests tracing configuration.
    http_logs HttpLogsConfigResponse
    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.
    detailedErrorMessages Property Map
    Detailed error messages configuration.
    failedRequestsTracing Property Map
    Failed requests tracing configuration.
    httpLogs Property Map
    HTTP logs configuration.
    kind String
    Kind of resource.

    Supporting Types

    ApplicationLogsConfigResponse

    AzureBlobStorage AzureBlobStorageApplicationLogsConfigResponse
    Application logs to blob storage configuration.
    AzureTableStorage AzureTableStorageApplicationLogsConfigResponse
    Application logs to azure table storage configuration.
    FileSystem FileSystemApplicationLogsConfigResponse
    Application logs to file system configuration.
    azureBlobStorage AzureBlobStorageApplicationLogsConfigResponse
    Application logs to blob storage configuration.
    azureTableStorage AzureTableStorageApplicationLogsConfigResponse
    Application logs to azure table storage configuration.
    fileSystem FileSystemApplicationLogsConfigResponse
    Application logs to file system configuration.
    azureBlobStorage AzureBlobStorageApplicationLogsConfigResponse
    Application logs to blob storage configuration.
    azureTableStorage AzureTableStorageApplicationLogsConfigResponse
    Application logs to azure table storage configuration.
    fileSystem FileSystemApplicationLogsConfigResponse
    Application logs to file system configuration.
    azure_blob_storage AzureBlobStorageApplicationLogsConfigResponse
    Application logs to blob storage configuration.
    azure_table_storage AzureTableStorageApplicationLogsConfigResponse
    Application logs to azure table storage configuration.
    file_system FileSystemApplicationLogsConfigResponse
    Application logs to file system configuration.
    azureBlobStorage Property Map
    Application logs to blob storage configuration.
    azureTableStorage Property Map
    Application logs to azure table storage configuration.
    fileSystem Property Map
    Application logs to file system configuration.

    AzureBlobStorageApplicationLogsConfigResponse

    Level string
    Log level.
    RetentionInDays int
    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.
    RetentionInDays int
    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.
    retentionInDays Integer
    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.
    retentionInDays number
    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_days int
    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.
    retentionInDays Number
    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.
    RetentionInDays int
    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.
    RetentionInDays int
    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.
    retentionInDays Integer
    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.
    retentionInDays number
    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_days int
    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.
    retentionInDays Number
    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

    SasUrl string
    SAS URL to an Azure table with add/query/delete permissions.
    Level string
    Log level.
    SasUrl string
    SAS URL to an Azure table with add/query/delete permissions.
    Level string
    Log level.
    sasUrl String
    SAS URL to an Azure table with add/query/delete permissions.
    level String
    Log level.
    sasUrl string
    SAS URL to an Azure table with add/query/delete permissions.
    level string
    Log level.
    sas_url str
    SAS URL to an Azure table with add/query/delete permissions.
    level str
    Log level.
    sasUrl String
    SAS URL to an Azure table with add/query/delete permissions.
    level String
    Log level.

    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.
    RetentionInDays int
    Retention in days. Remove files older than X days. 0 or lower means no retention.
    RetentionInMb int
    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.
    RetentionInDays int
    Retention in days. Remove files older than X days. 0 or lower means no retention.
    RetentionInMb int
    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.
    retentionInDays Integer
    Retention in days. Remove files older than X days. 0 or lower means no retention.
    retentionInMb Integer
    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.
    retentionInDays number
    Retention in days. Remove files older than X days. 0 or lower means no retention.
    retentionInMb number
    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_days int
    Retention in days. Remove files older than X days. 0 or lower means no retention.
    retention_in_mb int
    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.
    retentionInDays Number
    Retention in days. Remove files older than X days. 0 or lower means no retention.
    retentionInMb Number
    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

    AzureBlobStorage AzureBlobStorageHttpLogsConfigResponse
    Http logs to azure blob storage configuration.
    FileSystem FileSystemHttpLogsConfigResponse
    Http logs to file system configuration.
    azureBlobStorage AzureBlobStorageHttpLogsConfigResponse
    Http logs to azure blob storage configuration.
    fileSystem FileSystemHttpLogsConfigResponse
    Http logs to file system configuration.
    azureBlobStorage AzureBlobStorageHttpLogsConfigResponse
    Http logs to azure blob storage configuration.
    fileSystem FileSystemHttpLogsConfigResponse
    Http logs to file system configuration.
    azure_blob_storage AzureBlobStorageHttpLogsConfigResponse
    Http logs to azure blob storage configuration.
    file_system FileSystemHttpLogsConfigResponse
    Http logs to file system configuration.
    azureBlobStorage Property Map
    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
    azure-native logo
    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.50.1 published on Tuesday, Jul 16, 2024 by Pulumi