AutoscaleResourceIdBuilder.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 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET