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)
Syntax
public static string BuildCloudServiceMetricSource(
string cloudServiceName,
string roleName,
bool isProductionSlot
)
public:
static String^ BuildCloudServiceMetricSource(
String^ cloudServiceName,
String^ roleName,
bool isProductionSlot
)
static member BuildCloudServiceMetricSource :
cloudServiceName:string *
roleName:string *
isProductionSlot:bool -> string
Public Shared Function BuildCloudServiceMetricSource (
cloudServiceName As String,
roleName As String,
isProductionSlot As Boolean
) As String
Parameters
cloudServiceName
Type: System.StringThe cloud service name.
roleName
Type: System.StringThe role 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