AzureBlobStorageHttpLogsConfig Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. AzureBlobStorageHttpLogsConfig
- com.
Implements
public final class AzureBlobStorageHttpLogsConfig
implements JsonSerializable<AzureBlobStorageHttpLogsConfig>
Http logs to azure blob storage configuration.
Constructor Summary
Constructor | Description |
---|---|
AzureBlobStorageHttpLogsConfig() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
enabled()
Get the enabled property: True if configuration is enabled, false if it is disabled and null if configuration is not set. |
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
Integer |
retentionInDays()
Get the retention |
String |
sasUrl()
Get the sas |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Azure |
withEnabled(Boolean enabled)
Set the enabled property: True if configuration is enabled, false if it is disabled and null if configuration is not set. |
Azure |
withRetentionInDays(Integer retentionInDays)
Set the retention |
Azure |
withSasUrl(String sasUrl)
Set the sas |
Methods inherited from java.lang.Object
Constructor Details
AzureBlobStorageHttpLogsConfig
public AzureBlobStorageHttpLogsConfig()
Creates an instance of AzureBlobStorageHttpLogsConfig class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: True if configuration is enabled, false if it is disabled and null if configuration is not set.
Returns:
fromJson
public static AzureBlobStorageHttpLogsConfig fromJson(JsonReader jsonReader)
Reads an instance of AzureBlobStorageHttpLogsConfig from the JsonReader.
Parameters:
Returns:
Throws:
retentionInDays
public Integer retentionInDays()
Get the retentionInDays property: Retention in days. Remove blobs older than X days. 0 or lower means no retention.
Returns:
sasUrl
public String sasUrl()
Get the sasUrl property: SAS url to a azure blob container with read/write/list/delete permissions.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public AzureBlobStorageHttpLogsConfig withEnabled(Boolean enabled)
Set the enabled property: True if configuration is enabled, false if it is disabled and null if configuration is not set.
Parameters:
Returns:
withRetentionInDays
public AzureBlobStorageHttpLogsConfig withRetentionInDays(Integer retentionInDays)
Set the retentionInDays property: Retention in days. Remove blobs older than X days. 0 or lower means no retention.
Parameters:
Returns:
withSasUrl
public AzureBlobStorageHttpLogsConfig withSasUrl(String sasUrl)
Set the sasUrl property: SAS url to a azure blob container with read/write/list/delete permissions.
Parameters:
Returns:
Applies to
Azure SDK for Java