共用方式為


AzureFileShareProtectionPolicy Constructors

Definition

Overloads

AzureFileShareProtectionPolicy()

Initializes a new instance of the AzureFileShareProtectionPolicy class.

AzureFileShareProtectionPolicy(Nullable<Int32>, IList<String>, String, SchedulePolicy, RetentionPolicy, String)

Initializes a new instance of the AzureFileShareProtectionPolicy class.

AzureFileShareProtectionPolicy()

Initializes a new instance of the AzureFileShareProtectionPolicy class.

public AzureFileShareProtectionPolicy ();
Public Sub New ()

Applies to

AzureFileShareProtectionPolicy(Nullable<Int32>, IList<String>, String, SchedulePolicy, RetentionPolicy, String)

Initializes a new instance of the AzureFileShareProtectionPolicy class.

public AzureFileShareProtectionPolicy (int? protectedItemsCount = default, System.Collections.Generic.IList<string> resourceGuardOperationRequests = default, string workLoadType = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.SchedulePolicy schedulePolicy = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.RetentionPolicy retentionPolicy = default, string timeZone = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureFileShareProtectionPolicy : Nullable<int> * System.Collections.Generic.IList<string> * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.SchedulePolicy * Microsoft.Azure.Management.RecoveryServices.Backup.Models.RetentionPolicy * string -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureFileShareProtectionPolicy
Public Sub New (Optional protectedItemsCount As Nullable(Of Integer) = Nothing, Optional resourceGuardOperationRequests As IList(Of String) = Nothing, Optional workLoadType As String = Nothing, Optional schedulePolicy As SchedulePolicy = Nothing, Optional retentionPolicy As RetentionPolicy = Nothing, Optional timeZone As String = Nothing)

Parameters

protectedItemsCount
Nullable<Int32>

Number of items associated with this policy.

resourceGuardOperationRequests
IList<String>

ResourceGuard Operation Requests

workLoadType
String

Type of workload for the backup management. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'

schedulePolicy
SchedulePolicy

Backup schedule specified as part of backup policy.

retentionPolicy
RetentionPolicy

Retention policy with the details on backup copy retention ranges.

timeZone
String

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

Applies to