Share via


Resource Constructors

Definition

Overloads

Resource()

Initializes a new instance of the Resource class.

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

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);
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.DataLake.Store.Models.Resource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.DataLake.Store.Models.Resource
new Microsoft.Azure.Management.DataLake.Store.Models.Resource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.DataLake.Store.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)
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)

Parameters

locationid
String

The resource location.

idname
String

The resource identifier.

nametype
String

The resource name.

typelocation
String

The resource type.

tags
IDictionary<String,String>

The resource tags.

Applies to