Share via


AutoscaleResourceIdBuilder.BuildWebSiteResourceId Method

Builds the resource id of the web site resource to use in Autoscale API.

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

Usage

'Usage
Dim webspaceName As String
Dim serverFarmName As String
Dim returnValue As String

returnValue = AutoscaleResourceIdBuilder.BuildWebSiteResourceId(webspaceName, serverFarmName)

Syntax

'Declaration
Public Shared Function BuildWebSiteResourceId ( _
    webspaceName As String, _
    serverFarmName As String _
) As String
public static string BuildWebSiteResourceId (
    string webspaceName,
    string serverFarmName
)
public:
static String^ BuildWebSiteResourceId (
    String^ webspaceName, 
    String^ serverFarmName
)
public static String BuildWebSiteResourceId (
    String webspaceName, 
    String serverFarmName
)
public static function BuildWebSiteResourceId (
    webspaceName : String, 
    serverFarmName : String
) : String

Parameters

  • webspaceName
    The web space name.
  • serverFarmName
    The server farm name.

Return Value

The resource id.

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

AutoscaleResourceIdBuilder Class
AutoscaleResourceIdBuilder Members
Microsoft.WindowsAzure.Management.Monitoring.Utilities Namespace