Share via


AutoscaleMetricSourceBuilder.BuildStorageServiceMetricSource Method

Build the metric source of a storage resource.

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

Usage

'Usage
Dim storageAccountName As String
Dim resourceType As String
Dim returnValue As String

returnValue = AutoscaleMetricSourceBuilder.BuildStorageServiceMetricSource(storageAccountName, resourceType)

Syntax

'Declaration
Public Shared Function BuildStorageServiceMetricSource ( _
    storageAccountName As String, _
    resourceType As String _
) As String
public static string BuildStorageServiceMetricSource (
    string storageAccountName,
    string resourceType
)
public:
static String^ BuildStorageServiceMetricSource (
    String^ storageAccountName, 
    String^ resourceType
)
public static String BuildStorageServiceMetricSource (
    String storageAccountName, 
    String resourceType
)
public static function BuildStorageServiceMetricSource (
    storageAccountName : String, 
    resourceType : String
) : String

Parameters

  • storageAccountName
    The storage account name.
  • resourceType
    The resource type.

Return Value

The metric source.

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