Share via


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

  • 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.

See Also

BuildCloudServiceMetricSource Overload
AutoscaleMetricSourceBuilder Class
Microsoft.WindowsAzure.Management.Monitoring.Utilities Namespace

Return to top