共用方式為


Resource Constructors

Definition

Overloads

Resource()

Initializes a new instance of the Resource class.

Resource(String, String, String, String, IDictionary<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, IDictionary<String,String>, String)

Initializes a new instance of the Resource class.

public Resource (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string etag = default);
new Microsoft.Azure.Management.ServiceFabric.Models.Resource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.Management.ServiceFabric.Models.Resource
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As String = Nothing)

Parameters

location
String

Azure resource location.

id
String

Azure resource identifier.

name
String

Azure resource name.

type
String

Azure resource type.

tags
IDictionary<String,String>

Azure resource tags.

etag
String

Azure resource etag.

Applies to