ResourceIdBuilder.BuildVirtualMachineResourceId Method (String, String, String, String)

 

Builds the resource id of the virtual machine resource.

Namespace:   Microsoft.WindowsAzure.Management.Monitoring.Utilities
Assembly:  Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)

public static string BuildVirtualMachineResourceId(
	string cloudServiceName,
	string deploymentName,
	string roleName = null,
	string roleInstanceId = null
)

Parameters

cloudServiceName
Type: System.String

The cloud service name.

deploymentName
Type: System.String

The deployment name.

roleName
Type: System.String

The role name.

roleInstanceId
Type: System.String

The role instance id.

Return Value

Type: System.String

The resource id.

Return to top
Show: