Policy 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
Policy() |
Initializes a new instance of the Policy class. |
Policy(String, String, String, String, PolicyProperties) |
Initializes a new instance of the Policy class. |
Policy()
Initializes a new instance of the Policy class.
public Policy ();
Public Sub New ()
Applies to
Policy(String, String, String, String, PolicyProperties)
Initializes a new instance of the Policy class.
public Policy (string id = default, string name = default, string type = default, string location = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.PolicyProperties properties = default);
new Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.Policy : string * string * string * string * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.PolicyProperties -> Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.Policy
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional properties As PolicyProperties = Nothing)
Parameters
- id
- String
Resource Id
- name
- String
Resource Name
- type
- String
Resource Type
- location
- String
Resource Location
- properties
- PolicyProperties
The custom data.