1. Packages
  2. Azure Native
  3. API Docs
  4. web
  5. getWebAppDiagnosticLogsConfigurationSlot
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.web.getWebAppDiagnosticLogsConfigurationSlot

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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    Description for Gets the logging configuration of an app. Azure REST API version: 2023-12-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.

    Using getWebAppDiagnosticLogsConfigurationSlot

    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 getWebAppDiagnosticLogsConfigurationSlot(args: GetWebAppDiagnosticLogsConfigurationSlotArgs, opts?: InvokeOptions): Promise<GetWebAppDiagnosticLogsConfigurationSlotResult>
    function getWebAppDiagnosticLogsConfigurationSlotOutput(args: GetWebAppDiagnosticLogsConfigurationSlotOutputArgs, opts?: InvokeOptions): Output<GetWebAppDiagnosticLogsConfigurationSlotResult>
    def get_web_app_diagnostic_logs_configuration_slot(name: Optional[str] = None,
                                                       resource_group_name: Optional[str] = None,
                                                       slot: Optional[str] = None,
                                                       opts: Optional[InvokeOptions] = None) -> GetWebAppDiagnosticLogsConfigurationSlotResult
    def get_web_app_diagnostic_logs_configuration_slot_output(name: Optional[pulumi.Input[str]] = None,
                                                       resource_group_name: Optional[pulumi.Input[str]] = None,
                                                       slot: Optional[pulumi.Input[str]] = None,
                                                       opts: Optional[InvokeOptions] = None) -> Output[GetWebAppDiagnosticLogsConfigurationSlotResult]
    func LookupWebAppDiagnosticLogsConfigurationSlot(ctx *Context, args *LookupWebAppDiagnosticLogsConfigurationSlotArgs, opts ...InvokeOption) (*LookupWebAppDiagnosticLogsConfigurationSlotResult, error)
    func LookupWebAppDiagnosticLogsConfigurationSlotOutput(ctx *Context, args *LookupWebAppDiagnosticLogsConfigurationSlotOutputArgs, opts ...InvokeOption) LookupWebAppDiagnosticLogsConfigurationSlotResultOutput

    > Note: This function is named LookupWebAppDiagnosticLogsConfigurationSlot in the Go SDK.

    public static class GetWebAppDiagnosticLogsConfigurationSlot 
    {
        public static Task<GetWebAppDiagnosticLogsConfigurationSlotResult> InvokeAsync(GetWebAppDiagnosticLogsConfigurationSlotArgs args, InvokeOptions? opts = null)
        public static Output<GetWebAppDiagnosticLogsConfigurationSlotResult> Invoke(GetWebAppDiagnosticLogsConfigurationSlotInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWebAppDiagnosticLogsConfigurationSlotResult> getWebAppDiagnosticLogsConfigurationSlot(GetWebAppDiagnosticLogsConfigurationSlotArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:web:getWebAppDiagnosticLogsConfigurationSlot
      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.
    Slot string
    Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.
    Name string
    Name of the app.
    ResourceGroupName string
    Name of the resource group to which the resource belongs.
    Slot string
    Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.
    name String
    Name of the app.
    resourceGroupName String
    Name of the resource group to which the resource belongs.
    slot String
    Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.
    name string
    Name of the app.
    resourceGroupName string
    Name of the resource group to which the resource belongs.
    slot string
    Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.
    name str
    Name of the app.
    resource_group_name str
    Name of the resource group to which the resource belongs.
    slot str
    Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.
    name String
    Name of the app.
    resourceGroupName String
    Name of the resource group to which the resource belongs.
    slot String
    Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.

    getWebAppDiagnosticLogsConfigurationSlot 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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi