ResourceIdBuilder::BuildCloudServiceResourceId Method (String^, String^, String^, String^)

 

Build the resource id of the compute resource.

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

public:
static String^ BuildCloudServiceResourceId(
	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: