Partager via


ResourceIdBuilder.BuildVirtualMachineResourceId Méthode

Définition

Génère l’ID de ressource de la ressource de machine virtuelle.

public static string BuildVirtualMachineResourceId (string cloudServiceName, string deploymentName, string roleName = default, string roleInstanceId = default);
static member BuildVirtualMachineResourceId : string * string * string * string -> string
Public Shared Function BuildVirtualMachineResourceId (cloudServiceName As String, deploymentName As String, Optional roleName As String = Nothing, Optional roleInstanceId As String = Nothing) As String

Paramètres

cloudServiceName
String

Nom du service cloud.

deploymentName
String

Le nom du déploiement.

roleName
String

Nom du rôle.

roleInstanceId
String

ID de instance de rôle.

Retours

ID de la ressource.

S’applique à