| Package | Description |
|---|---|
| com.microsoft.windowsazure.services.blob.models |
This package contains the blob data transfer object classes.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceProperties.RetentionPolicy |
ServiceProperties.Logging.getRetentionPolicy()
Gets the retention policy for logging data set on the storage
account.
|
ServiceProperties.RetentionPolicy |
ServiceProperties.Metrics.getRetentionPolicy()
Gets the retention policy for metrics data set on the storage
account.
|
ServiceProperties.RetentionPolicy |
ServiceProperties.RetentionPolicy.setDays(Integer days)
Sets the number of days that metrics or logging data should be
retained.
|
ServiceProperties.RetentionPolicy |
ServiceProperties.RetentionPolicy.setEnabled(boolean enabled)
Sets a flag indicating whether to enable a retention policy.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceProperties.Logging |
ServiceProperties.Logging.setRetentionPolicy(ServiceProperties.RetentionPolicy retentionPolicy)
Sets the retention policy to use for logging data on the storage
account.
|
ServiceProperties.Metrics |
ServiceProperties.Metrics.setRetentionPolicy(ServiceProperties.RetentionPolicy retentionPolicy)
Sets the retention policy to use for metrics data on the storage
account.
|
/**
* 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.
*/