RetentionPolicy interface
The retention policy.
Properties
days | Indicates the number of days that metrics data should be retained. All data older than this value will be deleted. Metrics data is deleted on a best-effort basis after the retention period expires. |
enabled | Indicates whether a retention policy is enabled for the File service. If false, metrics data is retained, and the user is responsible for deleting it. |
Property Details
days
Indicates the number of days that metrics data should be retained. All data older than this value will be deleted. Metrics data is deleted on a best-effort basis after the retention period expires.
days?: number
Property Value
number
enabled
Indicates whether a retention policy is enabled for the File service. If false, metrics data is retained, and the user is responsible for deleting it.
enabled: boolean
Property Value
boolean
Azure SDK for JavaScript