Share via


ProtectionPolicyResource Constructors

Definition

Overloads

ProtectionPolicyResource()

Initializes a new instance of the ProtectionPolicyResource class.

ProtectionPolicyResource(String, String, String, String, IDictionary<String,String>, String, ProtectionPolicy)

Initializes a new instance of the ProtectionPolicyResource class.

ProtectionPolicyResource()

Initializes a new instance of the ProtectionPolicyResource class.

public ProtectionPolicyResource ();
Public Sub New ()

Applies to

ProtectionPolicyResource(String, String, String, String, IDictionary<String,String>, String, ProtectionPolicy)

Initializes a new instance of the ProtectionPolicyResource class.

public ProtectionPolicyResource (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, string eTag = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicy properties = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicy -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional eTag As String = Nothing, Optional properties As ProtectionPolicy = Nothing)

Parameters

id
String

Resource Id represents the complete path to the resource.

name
String

Resource name associated with the resource.

type
String

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

location
String

Resource location.

tags
IDictionary<String,String>

Resource tags.

eTag
String

Optional ETag.

properties
ProtectionPolicy

ProtectionPolicyResource properties

Applies to