LongTermRetentionPolicyData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing the LongTermRetentionPolicy data model. A long term retention policy.
public class LongTermRetentionPolicyData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.LongTermRetentionPolicyData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.LongTermRetentionPolicyData>
type LongTermRetentionPolicyData = class
inherit ResourceData
interface IJsonModel<LongTermRetentionPolicyData>
interface IPersistableModel<LongTermRetentionPolicyData>
Public Class LongTermRetentionPolicyData
Inherits ResourceData
Implements IJsonModel(Of LongTermRetentionPolicyData), IPersistableModel(Of LongTermRetentionPolicyData)
- Inheritance
- Implements
Constructors
LongTermRetentionPolicyData() |
Initializes a new instance of LongTermRetentionPolicyData. |
Properties
BackupStorageAccessTier |
The BackupStorageAccessTier for the LTR backups. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
MakeBackupsImmutable |
The setting whether to make LTR backups immutable. |
MonthlyRetention |
The monthly retention policy for an LTR backup in an ISO 8601 format. |
Name |
The name of the resource. (Inherited from ResourceData) |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
WeeklyRetention |
The weekly retention policy for an LTR backup in an ISO 8601 format. |
WeekOfYear |
The week of year to take the yearly backup in an ISO 8601 format. |
YearlyRetention |
The yearly retention policy for an LTR backup in an ISO 8601 format. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ResourceData) |
Explicit Interface Implementations
IJsonModel<LongTermRetentionPolicyData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<LongTermRetentionPolicyData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<LongTermRetentionPolicyData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<LongTermRetentionPolicyData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<LongTermRetentionPolicyData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |