Package version:

The retention policy.

interface RetentionPolicy {
    days?: number;
    enabled: boolean;
}

Properties

Properties

days?: number

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: boolean

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.