azure-storage-files-shares
Public Attributes | List of all members
Azure::Storage::Files::Shares::Models::RetentionPolicy Struct Referencefinal

The retention policy.

#include <share_rest_client.hpp>

Public Attributes

bool Enabled = bool()
 
Azure::Nullable< int32_t > Days
 

Member Data Documentation

◆ Days

Azure::Nullable<int32_t> Azure::Storage::Files::Shares::Models::RetentionPolicy::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

bool Azure::Storage::Files::Shares::Models::RetentionPolicy::Enabled = bool()

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.


The documentation for this struct was generated from the following file: