你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.