共用方式為


AutoscaleResourceIdBuilder.BuildCloudServiceResourceId Method

Definition

Build the resource id of the cloud service resource to use in Autoscale API.

public static string BuildCloudServiceResourceId (string cloudServiceName, string roleName, bool isProductionSlot);
static member BuildCloudServiceResourceId : string * string * bool -> string
Public Shared Function BuildCloudServiceResourceId (cloudServiceName As String, roleName As String, isProductionSlot As Boolean) As String

Parameters

cloudServiceName
String

The cloud service name.

roleName
String

The role name.

isProductionSlot
Boolean

A value indicating whether the deployment slot is a production slot.

Returns

The resource id.

Applies to