AutoscaleResourceIdBuilder::BuildCloudServiceResourceId Method (String^, String^, Boolean)

 

Build the resource id of the cloud service resource to use in Autoscale API.

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

public:
static String^ BuildCloudServiceResourceId(
	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 value indicating whether the deployment slot is a production slot.

Return Value

Type: System::String^

The resource id.

Return to top
Show: