Share via


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

  • 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