共用方式為


ResourceIdBuilder.BuildCloudServiceResourceId Method

Definition

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.

Applies to