Dela via


CsmSlotEntity(String, Boolean) Constructor

Definition

Initializes a new instance of CsmSlotEntity.

public CsmSlotEntity (string targetSlot, bool preserveVnet);
new Azure.ResourceManager.AppService.Models.CsmSlotEntity : string * bool -> Azure.ResourceManager.AppService.Models.CsmSlotEntity
Public Sub New (targetSlot As String, preserveVnet As Boolean)

Parameters

targetSlot
String

Destination deployment slot during swap operation.

preserveVnet
Boolean

<code>true</code> to preserve Virtual Network to the slot during swap; otherwise, <code>false</code>.

Exceptions

targetSlot is null.

Applies to