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

ProtectedItemResource 构造函数

定义

重载

ProtectedItemResource()

初始化 ProtectedItemResource 类的新实例。

ProtectedItemResource(String, String, String, String, IDictionary<String,String>, String, ProtectedItem)

初始化 ProtectedItemResource 类的新实例。

ProtectedItemResource()

初始化 ProtectedItemResource 类的新实例。

public ProtectedItemResource ();
Public Sub New ()

适用于

ProtectedItemResource(String, String, String, String, IDictionary<String,String>, String, ProtectedItem)

初始化 ProtectedItemResource 类的新实例。

public ProtectedItemResource (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.CrossRegionRestore.Models.ProtectedItem properties = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.ProtectedItemResource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.ProtectedItem -> Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.ProtectedItemResource
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 ProtectedItem = Nothing)

参数

id
String

资源 ID 表示资源的完整路径。

name
String

与资源关联的资源名称。

type
String

资源类型表示命名空间/ResourceType/ResourceType/... 格式的完整路径。

location
String

资源位置。

tags
IDictionary<String,String>

资源标记。

eTag
String

可选 ETag。

properties
ProtectedItem

ProtectedItemResource 属性

适用于