AzureFileShareProtectionPolicy Constructors
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.
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
- 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
Azure SDK for .NET