共用方式為


CosmosDBServiceCreateOrUpdateContent Class

Definition

Parameters for Create or Update request for ServiceResource.

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

Constructors

CosmosDBServiceCreateOrUpdateContent()

Initializes a new instance of CosmosDBServiceCreateOrUpdateContent.

Properties

InstanceCount

Instance count for the service.

InstanceSize

Instance type for the service.

Properties

Properties in ServiceResourceCreateUpdateParameters. Please note ServiceResourceCreateUpdateProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DataTransferServiceResourceCreateUpdateProperties, GraphApiComputeServiceResourceCreateUpdateProperties, MaterializedViewsBuilderServiceResourceCreateUpdateProperties and SqlDedicatedGatewayServiceResourceCreateUpdateProperties.

ServiceType

ServiceType for the service.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBServiceCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBServiceCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBServiceCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBServiceCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBServiceCreateOrUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to