azure-native.web.WebAppDiagnosticLogsConfiguration

Explore with Pulumi AI

Configuration of App Service site logs. API Version: 2020-12-01.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:web:WebAppDiagnosticLogsConfiguration myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/logs 

Create WebAppDiagnosticLogsConfiguration Resource

new WebAppDiagnosticLogsConfiguration(name: string, args: WebAppDiagnosticLogsConfigurationArgs, opts?: CustomResourceOptions);
@overload
def WebAppDiagnosticLogsConfiguration(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      application_logs: Optional[ApplicationLogsConfigArgs] = None,
                                      detailed_error_messages: Optional[EnabledConfigArgs] = None,
                                      failed_requests_tracing: Optional[EnabledConfigArgs] = None,
                                      http_logs: Optional[HttpLogsConfigArgs] = None,
                                      kind: Optional[str] = None,
                                      name: Optional[str] = None,
                                      resource_group_name: Optional[str] = None)
@overload
def WebAppDiagnosticLogsConfiguration(resource_name: str,
                                      args: WebAppDiagnosticLogsConfigurationArgs,
                                      opts: Optional[ResourceOptions] = None)
func NewWebAppDiagnosticLogsConfiguration(ctx *Context, name string, args WebAppDiagnosticLogsConfigurationArgs, opts ...ResourceOption) (*WebAppDiagnosticLogsConfiguration, error)
public WebAppDiagnosticLogsConfiguration(string name, WebAppDiagnosticLogsConfigurationArgs args, CustomResourceOptions? opts = null)
public WebAppDiagnosticLogsConfiguration(String name, WebAppDiagnosticLogsConfigurationArgs args)
public WebAppDiagnosticLogsConfiguration(String name, WebAppDiagnosticLogsConfigurationArgs args, CustomResourceOptions options)
type: azure-native:web:WebAppDiagnosticLogsConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args WebAppDiagnosticLogsConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args WebAppDiagnosticLogsConfigurationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args WebAppDiagnosticLogsConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args WebAppDiagnosticLogsConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args WebAppDiagnosticLogsConfigurationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

WebAppDiagnosticLogsConfiguration Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The WebAppDiagnosticLogsConfiguration resource accepts the following input properties:

Name string

Name of the app.

ResourceGroupName string

Name of the resource group to which the resource belongs.

ApplicationLogs Pulumi.AzureNative.Web.Inputs.ApplicationLogsConfigArgs

Application logs configuration.

DetailedErrorMessages Pulumi.AzureNative.Web.Inputs.EnabledConfigArgs

Detailed error messages configuration.

FailedRequestsTracing Pulumi.AzureNative.Web.Inputs.EnabledConfigArgs

Failed requests tracing configuration.

HttpLogs Pulumi.AzureNative.Web.Inputs.HttpLogsConfigArgs

HTTP logs configuration.

Kind string

Kind of resource.

Name string

Name of the app.

ResourceGroupName string

Name of the resource group to which the resource belongs.

ApplicationLogs ApplicationLogsConfigArgs

Application logs configuration.

DetailedErrorMessages EnabledConfigArgs

Detailed error messages configuration.

FailedRequestsTracing EnabledConfigArgs

Failed requests tracing configuration.

HttpLogs HttpLogsConfigArgs

HTTP logs configuration.

Kind string

Kind of resource.

name String

Name of the app.

resourceGroupName String

Name of the resource group to which the resource belongs.

applicationLogs ApplicationLogsConfigArgs

Application logs configuration.

detailedErrorMessages EnabledConfigArgs

Detailed error messages configuration.

failedRequestsTracing EnabledConfigArgs

Failed requests tracing configuration.

httpLogs HttpLogsConfigArgs

HTTP logs configuration.

kind String

Kind of resource.

name string

Name of the app.

resourceGroupName string

Name of the resource group to which the resource belongs.

applicationLogs ApplicationLogsConfigArgs

Application logs configuration.

detailedErrorMessages EnabledConfigArgs

Detailed error messages configuration.

failedRequestsTracing EnabledConfigArgs

Failed requests tracing configuration.

httpLogs HttpLogsConfigArgs

HTTP logs configuration.

kind string

Kind of resource.

name str

Name of the app.

resource_group_name str

Name of the resource group to which the resource belongs.

application_logs ApplicationLogsConfigArgs

Application logs configuration.

detailed_error_messages EnabledConfigArgs

Detailed error messages configuration.

failed_requests_tracing EnabledConfigArgs

Failed requests tracing configuration.

http_logs HttpLogsConfigArgs

HTTP logs configuration.

kind str

Kind of resource.

name String

Name of the app.

resourceGroupName String

Name of the resource group to which the resource belongs.

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.

Outputs

All input properties are implicitly available as output properties. Additionally, the WebAppDiagnosticLogsConfiguration resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Type string

Resource type.

Id string

The provider-assigned unique ID for this managed resource.

Type string

Resource type.

id String

The provider-assigned unique ID for this managed resource.

type String

Resource type.

id string

The provider-assigned unique ID for this managed resource.

type string

Resource type.

id str

The provider-assigned unique ID for this managed resource.

type str

Resource type.

id String

The provider-assigned unique ID for this managed resource.

type String

Resource type.

Supporting Types

ApplicationLogsConfig

AzureBlobStorage AzureBlobStorageApplicationLogsConfig

Application logs to blob storage configuration.

AzureTableStorage AzureTableStorageApplicationLogsConfig

Application logs to azure table storage configuration.

FileSystem FileSystemApplicationLogsConfig

Application logs to file system configuration.

azureBlobStorage AzureBlobStorageApplicationLogsConfig

Application logs to blob storage configuration.

azureTableStorage AzureTableStorageApplicationLogsConfig

Application logs to azure table storage configuration.

fileSystem FileSystemApplicationLogsConfig

Application logs to file system configuration.

azureBlobStorage AzureBlobStorageApplicationLogsConfig

Application logs to blob storage configuration.

azureTableStorage AzureTableStorageApplicationLogsConfig

Application logs to azure table storage configuration.

fileSystem FileSystemApplicationLogsConfig

Application logs to file system configuration.

azure_blob_storage AzureBlobStorageApplicationLogsConfig

Application logs to blob storage configuration.

azure_table_storage AzureTableStorageApplicationLogsConfig

Application logs to azure table storage configuration.

file_system FileSystemApplicationLogsConfig

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.

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.

AzureBlobStorageApplicationLogsConfig

Level Pulumi.AzureNative.Web.LogLevel

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 LogLevel

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 LogLevel

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 LogLevel

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 LogLevel

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 "Off" | "Verbose" | "Information" | "Warning" | "Error"

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.

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.

AzureBlobStorageHttpLogsConfig

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.

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.

AzureTableStorageApplicationLogsConfig

SasUrl string

SAS URL to an Azure table with add/query/delete permissions.

Level Pulumi.AzureNative.Web.LogLevel

Log level.

SasUrl string

SAS URL to an Azure table with add/query/delete permissions.

Level LogLevel

Log level.

sasUrl String

SAS URL to an Azure table with add/query/delete permissions.

level LogLevel

Log level.

sasUrl string

SAS URL to an Azure table with add/query/delete permissions.

level LogLevel

Log level.

sas_url str

SAS URL to an Azure table with add/query/delete permissions.

level LogLevel

Log level.

sasUrl String

SAS URL to an Azure table with add/query/delete permissions.

level "Off" | "Verbose" | "Information" | "Warning" | "Error"

Log level.

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.

EnabledConfig

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.

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.

FileSystemApplicationLogsConfig

Level LogLevel

Log level.

level LogLevel

Log level.

level LogLevel

Log level.

level LogLevel

Log level.

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.

FileSystemHttpLogsConfig

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.

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.

HttpLogsConfig

AzureBlobStorage AzureBlobStorageHttpLogsConfig

Http logs to azure blob storage configuration.

FileSystem FileSystemHttpLogsConfig

Http logs to file system configuration.

azureBlobStorage AzureBlobStorageHttpLogsConfig

Http logs to azure blob storage configuration.

fileSystem FileSystemHttpLogsConfig

Http logs to file system configuration.

azureBlobStorage AzureBlobStorageHttpLogsConfig

Http logs to azure blob storage configuration.

fileSystem FileSystemHttpLogsConfig

Http logs to file system configuration.

azure_blob_storage AzureBlobStorageHttpLogsConfig

Http logs to azure blob storage configuration.

file_system FileSystemHttpLogsConfig

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.

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.

LogLevel

Off
Off
Verbose
Verbose
Information
Information
Warning
Warning
Error
Error
LogLevelOff
Off
LogLevelVerbose
Verbose
LogLevelInformation
Information
LogLevelWarning
Warning
LogLevelError
Error
Off
Off
Verbose
Verbose
Information
Information
Warning
Warning
Error
Error
Off
Off
Verbose
Verbose
Information
Information
Warning
Warning
Error
Error
OFF
Off
VERBOSE
Verbose
INFORMATION
Information
WARNING
Warning
ERROR
Error
"Off"
Off
"Verbose"
Verbose
"Information"
Information
"Warning"
Warning
"Error"
Error

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0