你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Resource 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
Resource() |
Initializes a new instance of the Resource class. |
Resource(String, String, String, String) |
Initializes a new instance of the Resource class. |
Resource()
Initializes a new instance of the Resource class.
public Resource ();
Public Sub New ()
Applies to
Resource(String, String, String, String)
Initializes a new instance of the Resource class.
public Resource (string id = default, string name = default, string type = default, string location = default);
new Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.Resource : string * string * string * string -> Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.Resource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing)
Parameters
- id
- String
Resource Id
- name
- String
Resource Name
- type
- String
Resource Type
- location
- String
Resource Location