AutoscaleMetricSourceBuilder::BuildCloudServiceMetricSource Method (String^, String^, Boolean)

 

Build the metric source of a cloud service role.

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

public:
static String^ BuildCloudServiceMetricSource(
	String^ cloudServiceName,
	String^ roleName,
	bool isProductionSlot
)

Parameters

cloudServiceName
Type: System::String^

The cloud service name.

roleName
Type: System::String^

The role name

isProductionSlot
Type: System::Boolean

A flag that determines whether deployment is in production or staging slot.

Return Value

Type: System::String^

The autoscale metric source.

Return to top
Show: