共用方式為


CloudServiceSwapData Class

Definition

A class representing the CloudServiceSwap data model. SwapResource to represent slot type on the specified cloud service.

public class CloudServiceSwapData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.CloudServiceSwapData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.CloudServiceSwapData>
public class CloudServiceSwapData : Azure.ResourceManager.Models.ResourceData
type CloudServiceSwapData = class
    inherit ResourceData
    interface IJsonModel<CloudServiceSwapData>
    interface IPersistableModel<CloudServiceSwapData>
type CloudServiceSwapData = class
    inherit ResourceData
Public Class CloudServiceSwapData
Inherits ResourceData
Implements IJsonModel(Of CloudServiceSwapData), IPersistableModel(Of CloudServiceSwapData)
Public Class CloudServiceSwapData
Inherits ResourceData
Inheritance
CloudServiceSwapData
Implements

Constructors

CloudServiceSwapData()

Initializes a new instance of CloudServiceSwapData.

Properties

CloudServiceSwapSlotType

Specifies slot info on a cloud service.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<CloudServiceSwapData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CloudServiceSwapData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CloudServiceSwapData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CloudServiceSwapData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CloudServiceSwapData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to