Partager via


Resource Constructeurs

Définition

Surcharges

Resource()

Initialise une nouvelle instance de la classe Resource.

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

Initialise une nouvelle instance de la classe Resource.

Resource()

Initialise une nouvelle instance de la classe Resource.

public Resource ();
Public Sub New ()

S’applique à

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

Initialise une nouvelle instance de la classe Resource.

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

Paramètres

location
String

Emplacement de la ressource

id
String

ID de ressource

name
String

Nom de la ressource

type
String

Type de ressource

tags
IDictionary<String,String>

Balises de ressource

S’applique à