共用方式為


Resource 建構函式

定義

多載

Resource()

初始化 Resource 類別的新執行個體。

Resource(String, String, String, String, IDictionary<String,String>)

初始化 Resource 類別的新執行個體。

Resource()

初始化 Resource 類別的新執行個體。

public Resource ();
Public Sub New ()

適用於

Resource(String, String, String, String, IDictionary<String,String>)

初始化 Resource 類別的新執行個體。

public Resource (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default);
new Microsoft.Azure.Management.Batch.Models.Resource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.Batch.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, Optional tags As IDictionary(Of String, String) = Nothing)

參數

id
String

資源的識別碼。

name
String

資源名稱。

type
String

資源類型。

location
String

資源的位置。

tags
IDictionary<String,String>

資源的標記。

適用於