ResourceIdBuilder.BuildCloudServiceResourceId Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Build the resource id of the compute resource.
public static string BuildCloudServiceResourceId (string cloudServiceName, string deploymentName, string roleName = default, string roleInstanceId = default);
static member BuildCloudServiceResourceId : string * string * string * string -> string
Public Shared Function BuildCloudServiceResourceId (cloudServiceName As String, deploymentName As String, Optional roleName As String = Nothing, Optional roleInstanceId As String = Nothing) As String
Parameters
- cloudServiceName
- String
The cloud service name.
- deploymentName
- String
The deployment name
- roleName
- String
The role name.
- roleInstanceId
- String
The role instance id
Returns
The resource id.