FileShareProtectionPolicy Class

Definition

AzureStorage backup policy.

public class FileShareProtectionPolicy : Azure.ResourceManager.RecoveryServicesBackup.Models.BackupGenericProtectionPolicy, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesBackup.Models.FileShareProtectionPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesBackup.Models.FileShareProtectionPolicy>
type FileShareProtectionPolicy = class
    inherit BackupGenericProtectionPolicy
    interface IJsonModel<FileShareProtectionPolicy>
    interface IPersistableModel<FileShareProtectionPolicy>
Public Class FileShareProtectionPolicy
Inherits BackupGenericProtectionPolicy
Implements IJsonModel(Of FileShareProtectionPolicy), IPersistableModel(Of FileShareProtectionPolicy)
Inheritance
FileShareProtectionPolicy
Implements

Constructors

Name Description
FileShareProtectionPolicy()

Initializes a new instance of FileShareProtectionPolicy.

Properties

Name Description
ProtectedItemsCount

Number of items associated with this policy.

(Inherited from BackupGenericProtectionPolicy)
ResourceGuardOperationRequests

ResourceGuard Operation Requests.

(Inherited from BackupGenericProtectionPolicy)
RetentionPolicy

Retention policy with the details on backup copy retention ranges.

SchedulePolicy

Backup schedule specified as part of backup policy.

TimeZone

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

VaultRetentionPolicy

Retention policy with the details on hardened backup copy retention ranges.

WorkLoadType

Type of workload for the backup management.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<BackupGenericProtectionPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from BackupGenericProtectionPolicy)
IJsonModel<BackupGenericProtectionPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from BackupGenericProtectionPolicy)
IJsonModel<FileShareProtectionPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<FileShareProtectionPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BackupGenericProtectionPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from BackupGenericProtectionPolicy)
IPersistableModel<BackupGenericProtectionPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from BackupGenericProtectionPolicy)
IPersistableModel<BackupGenericProtectionPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from BackupGenericProtectionPolicy)
IPersistableModel<FileShareProtectionPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FileShareProtectionPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<FileShareProtectionPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to