你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AzureBlobStorageApplicationLogsConfig Class

  • java.lang.Object
    • com.microsoft.azure.management.appservice.AzureBlobStorageApplicationLogsConfig

public class AzureBlobStorageApplicationLogsConfig

Application logs azure blob storage configuration.

Method Summary

Modifier and Type Method and Description
LogLevel level()

Get the level value.

Integer retentionInDays()

Get the retentionInDays value.

String sasUrl()

Get the sasUrl value.

AzureBlobStorageApplicationLogsConfig withLevel(LogLevel level)

Set the level value.

AzureBlobStorageApplicationLogsConfig withRetentionInDays(Integer retentionInDays)

Set the retentionInDays value.

AzureBlobStorageApplicationLogsConfig withSasUrl(String sasUrl)

Set the sasUrl value.

Method Details

level

public LogLevel level()

Get the level value.

Returns:

the level value

retentionInDays

public Integer retentionInDays()

Get the retentionInDays value.

Returns:

the retentionInDays value

sasUrl

public String sasUrl()

Get the sasUrl value.

Returns:

the sasUrl value

withLevel

public AzureBlobStorageApplicationLogsConfig withLevel(LogLevel level)

Set the level value.

Parameters:

level - the level value to set

Returns:

the AzureBlobStorageApplicationLogsConfig object itself.

withRetentionInDays

public AzureBlobStorageApplicationLogsConfig withRetentionInDays(Integer retentionInDays)

Set the retentionInDays value.

Parameters:

retentionInDays - the retentionInDays value to set

Returns:

the AzureBlobStorageApplicationLogsConfig object itself.

withSasUrl

public AzureBlobStorageApplicationLogsConfig withSasUrl(String sasUrl)

Set the sasUrl value.

Parameters:

sasUrl - the sasUrl value to set

Returns:

the AzureBlobStorageApplicationLogsConfig object itself.

Applies to