Share via


GenericProtectionPolicy Constructors

Definition

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

protectedItemsCount
Nullable<Int32>

Number of items associated with this policy.

resourceGuardOperationRequests
IList<String>

ResourceGuard Operation Requests

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