Partager via


Resource Constructeurs

Définition

Surcharges

Resource()

Initialise une nouvelle instance de la classe Resource.

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

Initialise une nouvelle instance de la classe Resource.

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

Paramètres

id
String

ID de ressource

name
String

Nom de la ressource

type
String

Type de ressource

location
String

Emplacement de la ressource

extendedLocation
ExtendedLocation

Emplacement étendu des ressources.

tags
IDictionary<String,String>

Balises de ressource

S’applique à