Share via


AutoscaleMetricSourceBuilder.BuildVirtualMachineMetricSource Method (String, String)

 

Build the metric source of a virtual machine resource.

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

Syntax

public static string BuildVirtualMachineMetricSource(
    string cloudServiceName,
    string availabilitySetName
)
public:
static String^ BuildVirtualMachineMetricSource(
    String^ cloudServiceName,
    String^ availabilitySetName
)
static member BuildVirtualMachineMetricSource : 
        cloudServiceName:string *
        availabilitySetName:string -> string
Public Shared Function BuildVirtualMachineMetricSource (
    cloudServiceName As String,
    availabilitySetName As String
) As String

Parameters

  • cloudServiceName
    Type: System.String

    Name of the cloud service.

  • availabilitySetName
    Type: System.String

    The availability set name.

Return Value

Type: System.String

See Also

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

Return to top