BackupGenericProtectionIntent 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.
Base class for backup ProtectionIntent. Please note this is the abstract base class. The derived classes available for instantiation are: RecoveryServiceVaultProtectionIntent, ResourceProtectionIntent, WorkloadContainerAutoProtectionIntent, WorkloadAutoProtectionIntent, and WorkloadSqlAutoProtectionIntent.
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.RecoveryServicesBackup.Models.UnknownProtectionIntent))]
public abstract class BackupGenericProtectionIntent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupGenericProtectionIntent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupGenericProtectionIntent>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.RecoveryServicesBackup.Models.UnknownProtectionIntent))>]
type BackupGenericProtectionIntent = class
interface IJsonModel<BackupGenericProtectionIntent>
interface IPersistableModel<BackupGenericProtectionIntent>
Public MustInherit Class BackupGenericProtectionIntent
Implements IJsonModel(Of BackupGenericProtectionIntent), IPersistableModel(Of BackupGenericProtectionIntent)
- Inheritance
-
BackupGenericProtectionIntent
- Derived
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| BackupGenericProtectionIntent() |
Initializes a new instance of BackupGenericProtectionIntent for deserialization. |
Properties
| Name | Description |
|---|---|
| BackupManagementType |
Type of backup management for the backed up item. |
| ItemId |
ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId. |
| PolicyId |
ID of the backup policy with which this item is backed up. |
| ProtectionState |
Backup state of this backup item. |
| SourceResourceId |
ARM ID of the resource to be backed up. |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<BackupGenericProtectionIntent>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<BackupGenericProtectionIntent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<BackupGenericProtectionIntent>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<BackupGenericProtectionIntent>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<BackupGenericProtectionIntent>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |