共用方式為


CsmSlotEntity Class

Definition

Deployment slot parameters.

public class CsmSlotEntity : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.CsmSlotEntity>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.CsmSlotEntity>
type CsmSlotEntity = class
    interface IJsonModel<CsmSlotEntity>
    interface IPersistableModel<CsmSlotEntity>
Public Class CsmSlotEntity
Implements IJsonModel(Of CsmSlotEntity), IPersistableModel(Of CsmSlotEntity)
Inheritance
CsmSlotEntity
Implements

Constructors

CsmSlotEntity(String, Boolean)

Initializes a new instance of CsmSlotEntity.

Properties

PreserveVnet

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

TargetSlot

Destination deployment slot during swap operation.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CsmSlotEntity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CsmSlotEntity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CsmSlotEntity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CsmSlotEntity>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CsmSlotEntity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to