GenericProtectionPolicy 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
GenericProtectionPolicy() |
Initializes a new instance of the GenericProtectionPolicy class. |
GenericProtectionPolicy(Nullable<Int32>, IList<String>, IList<SubProtectionPolicy>, String, String) |
Initializes a new instance of the GenericProtectionPolicy class. |
GenericProtectionPolicy()
Initializes a new instance of the GenericProtectionPolicy class.
public GenericProtectionPolicy ();
Public Sub New ()
Applies to
GenericProtectionPolicy(Nullable<Int32>, IList<String>, IList<SubProtectionPolicy>, String, String)
Initializes a new instance of the GenericProtectionPolicy class.
public GenericProtectionPolicy (int? protectedItemsCount = default, System.Collections.Generic.IList<string> resourceGuardOperationRequests = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.SubProtectionPolicy> subProtectionPolicy = default, string timeZone = default, string fabricName = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.GenericProtectionPolicy : Nullable<int> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.SubProtectionPolicy> * string * string -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.GenericProtectionPolicy
Public Sub New (Optional protectedItemsCount As Nullable(Of Integer) = Nothing, Optional resourceGuardOperationRequests As IList(Of String) = Nothing, Optional subProtectionPolicy As IList(Of SubProtectionPolicy) = Nothing, Optional timeZone As String = Nothing, Optional fabricName As String = Nothing)
Parameters
- subProtectionPolicy
- IList<SubProtectionPolicy>
List of sub-protection policies which includes schedule and retention
- timeZone
- String
TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- fabricName
- String
Name of this policy's fabric.
Applies to
Azure SDK for .NET