AutoscaleMetricSourceBuilder.BuildCloudServiceMetricSource Method (String, String, String, Boolean)
Build the metric source of a cloud service role instance.
Namespace: Microsoft.WindowsAzure.Management.Monitoring.Utilities
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)
Syntax
public static string BuildCloudServiceMetricSource(
string cloudServiceName,
string roleName,
string roleInstanceName,
bool isProductionSlot
)
public:
static String^ BuildCloudServiceMetricSource(
String^ cloudServiceName,
String^ roleName,
String^ roleInstanceName,
bool isProductionSlot
)
static member BuildCloudServiceMetricSource :
cloudServiceName:string *
roleName:string *
roleInstanceName:string *
isProductionSlot:bool -> string
Public Shared Function BuildCloudServiceMetricSource (
cloudServiceName As String,
roleName As String,
roleInstanceName As String,
isProductionSlot As Boolean
) As String
Parameters
cloudServiceName
Type: System.StringThe cloud service name.
roleName
Type: System.StringThe role name
roleInstanceName
Type: System.StringThe role instance name
isProductionSlot
Type: System.BooleanA flag that determines whether deployment is in production or staging slot.
Return Value
Type: System.String
The autoscale metric source.
See Also
BuildCloudServiceMetricSource Overload
AutoscaleMetricSourceBuilder Class
Microsoft.WindowsAzure.Management.Monitoring.Utilities Namespace
Return to top