AutoscaleResourceIdBuilder.BuildVirtualMachineResourceId Method
Builds the resource id of the 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 = AutoscaleResourceIdBuilder.BuildVirtualMachineResourceId(cloudServiceName, availabilitySetName)
Syntax
'Declaration
Public Shared Function BuildVirtualMachineResourceId ( _
cloudServiceName As String, _
availabilitySetName As String _
) As String
public static string BuildVirtualMachineResourceId (
string cloudServiceName,
string availabilitySetName
)
public:
static String^ BuildVirtualMachineResourceId (
String^ cloudServiceName,
String^ availabilitySetName
)
public static String BuildVirtualMachineResourceId (
String cloudServiceName,
String availabilitySetName
)
public static function BuildVirtualMachineResourceId (
cloudServiceName : String,
availabilitySetName : String
) : String
Parameters
- cloudServiceName
The cloud service name.
- availabilitySetName
The availability set 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