public static class ServiceProperties.Logging extends Object
| Constructor and Description |
|---|
Logging() |
| Modifier and Type | Method and Description |
|---|---|
ServiceProperties.RetentionPolicy |
getRetentionPolicy()
Gets the retention policy for logging data set on the storage
account.
|
String |
getVersion()
Gets the version of logging configured on the storage account.
|
boolean |
isDelete()
Gets a flag indicating whether all delete requests are logged.
|
boolean |
isRead()
Gets a flag indicating whether all read requests are logged.
|
boolean |
isWrite()
Gets a flag indicating whether all write requests are logged.
|
ServiceProperties.Logging |
setDelete(boolean delete)
Sets a flag indicating whether all delete requests should be logged.
|
ServiceProperties.Logging |
setRead(boolean read)
Sets a flag indicating whether all read requests should be logged.
|
ServiceProperties.Logging |
setRetentionPolicy(ServiceProperties.RetentionPolicy retentionPolicy)
Sets the retention policy to use for logging data on the storage
account.
|
ServiceProperties.Logging |
setVersion(String version)
Sets the version of logging configured on the storage account.
|
ServiceProperties.Logging |
setWrite(boolean write)
Sets a flag indicating whether all write requests should be logged.
|
public ServiceProperties.RetentionPolicy getRetentionPolicy()
ServiceProperties.RetentionPolicy set on the storage account.public ServiceProperties.Logging setRetentionPolicy(ServiceProperties.RetentionPolicy retentionPolicy)
retentionPolicy - The ServiceProperties.RetentionPolicy to set on the storage account.ServiceProperties.Logging instance.public boolean isWrite()
true if all write operations are
logged; otherwise, false.public ServiceProperties.Logging setWrite(boolean write)
write - Set a flag value of true to log all write
operations; otherwise, false.ServiceProperties.Logging instance.public boolean isRead()
true if all read operations are
logged; otherwise, false.public ServiceProperties.Logging setRead(boolean read)
read - Set a flag value of true to log all read
operations; otherwise, false.ServiceProperties.Logging instance.public boolean isDelete()
true if all delete operations
are logged; otherwise, false.public ServiceProperties.Logging setDelete(boolean delete)
delete - Set a flag value of true to log all delete
operations; otherwise, false.ServiceProperties.Logging instance.public String getVersion()
String containing the version of logging configured
on the storage account.public ServiceProperties.Logging setVersion(String version)
version - A String containing the version of logging
configured on the storage account.ServiceProperties.Logging instance./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/