AutoscaleMetricSourceBuilder.BuildVirtualMachineMetricSource Method
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)
Usage
'Usage
Dim cloudServiceName As String
Dim availabilitySetName As String
Dim returnValue As String
returnValue = AutoscaleMetricSourceBuilder.BuildVirtualMachineMetricSource(cloudServiceName, availabilitySetName)
Syntax
'Declaration
Public Shared Function BuildVirtualMachineMetricSource ( _
cloudServiceName As String, _
availabilitySetName As String _
) As String
public static string BuildVirtualMachineMetricSource (
string cloudServiceName,
string availabilitySetName
)
public:
static String^ BuildVirtualMachineMetricSource (
String^ cloudServiceName,
String^ availabilitySetName
)
public static String BuildVirtualMachineMetricSource (
String cloudServiceName,
String availabilitySetName
)
public static function BuildVirtualMachineMetricSource (
cloudServiceName : String,
availabilitySetName : String
) : String
Parameters
- cloudServiceName
Name of the cloud service.
- availabilitySetName
The availability set name.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
AutoscaleMetricSourceBuilder Class
AutoscaleMetricSourceBuilder Members
Microsoft.WindowsAzure.Management.Monitoring.Utilities Namespace