ResourceIdBuilder.BuildCloudServiceResourceId Method (String, String, String, String)
Build the resource id of the compute resource.
Namespace: Microsoft.WindowsAzure.Management.Monitoring.Utilities
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)
Syntax
public static string BuildCloudServiceResourceId(
string cloudServiceName,
string deploymentName,
string roleName = null,
string roleInstanceId = null
)
public:
static String^ BuildCloudServiceResourceId(
String^ cloudServiceName,
String^ deploymentName,
String^ roleName = null,
String^ roleInstanceId = null
)
static member BuildCloudServiceResourceId :
cloudServiceName:string *
deploymentName:string *
roleName:string = null *
roleInstanceId:string = null -> string
Public Shared Function BuildCloudServiceResourceId (
cloudServiceName As String,
deploymentName As String,
roleName As String,
roleInstanceId As String
) As String
Parameters
cloudServiceName
Type: System.StringThe cloud service name.
deploymentName
Type: System.StringThe deployment name
roleName
Type: System.StringThe role name.
roleInstanceId
Type: System.StringThe role instance id
Return Value
Type: System.String
The resource id.
See Also
ResourceIdBuilder Class
Microsoft.WindowsAzure.Management.Monitoring.Utilities Namespace
Return to top