AzureVmWorkloadProtectionPolicy 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
AzureVmWorkloadProtectionPolicy() |
Initializes a new instance of the AzureVmWorkloadProtectionPolicy class. |
AzureVmWorkloadProtectionPolicy(Nullable<Int32>, IList<String>, String, Settings, IList<SubProtectionPolicy>, Nullable<Boolean>) |
Initializes a new instance of the AzureVmWorkloadProtectionPolicy class. |
AzureVmWorkloadProtectionPolicy()
Initializes a new instance of the AzureVmWorkloadProtectionPolicy class.
public AzureVmWorkloadProtectionPolicy ();
Public Sub New ()
Applies to
AzureVmWorkloadProtectionPolicy(Nullable<Int32>, IList<String>, String, Settings, IList<SubProtectionPolicy>, Nullable<Boolean>)
Initializes a new instance of the AzureVmWorkloadProtectionPolicy class.
public AzureVmWorkloadProtectionPolicy (int? protectedItemsCount = default, System.Collections.Generic.IList<string> resourceGuardOperationRequests = default, string workLoadType = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.Settings settings = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.SubProtectionPolicy> subProtectionPolicy = default, bool? makePolicyConsistent = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureVmWorkloadProtectionPolicy : Nullable<int> * System.Collections.Generic.IList<string> * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.Settings * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.SubProtectionPolicy> * Nullable<bool> -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureVmWorkloadProtectionPolicy
Public Sub New (Optional protectedItemsCount As Nullable(Of Integer) = Nothing, Optional resourceGuardOperationRequests As IList(Of String) = Nothing, Optional workLoadType As String = Nothing, Optional settings As Settings = Nothing, Optional subProtectionPolicy As IList(Of SubProtectionPolicy) = Nothing, Optional makePolicyConsistent As Nullable(Of Boolean) = 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'
- settings
- Settings
Common settings for the backup management
- subProtectionPolicy
- IList<SubProtectionPolicy>
List of sub-protection policies which includes schedule and retention