Class CsmSlotEntity
java.lang.Object
com.microsoft.azure.management.appservice.CsmSlotEntity
Deployment slot parameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get <code>true</code> to preserve Virtual Network to the slot during swap; otherwise, <code>false</code>.Get destination deployment slot during swap operation.withPreserveVnet
(boolean preserveVnet) Set <code>true</code> to preserve Virtual Network to the slot during swap; otherwise, <code>false</code>.withTargetSlot
(String targetSlot) Set destination deployment slot during swap operation.
-
Constructor Details
-
CsmSlotEntity
public CsmSlotEntity()
-
-
Method Details
-
targetSlot
Get destination deployment slot during swap operation.- Returns:
- the targetSlot value
-
withTargetSlot
Set destination deployment slot during swap operation.- Parameters:
targetSlot
- the targetSlot value to set- Returns:
- the CsmSlotEntity object itself.
-
preserveVnet
public boolean preserveVnet()Get <code>true</code> to preserve Virtual Network to the slot during swap; otherwise, <code>false</code>.- Returns:
- the preserveVnet value
-
withPreserveVnet
Set <code>true</code> to preserve Virtual Network to the slot during swap; otherwise, <code>false</code>.- Parameters:
preserveVnet
- the preserveVnet value to set- Returns:
- the CsmSlotEntity object itself.
-