Compartilhar via


ServiceResourceCreateUpdateProperties Class

Definition

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.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.CosmosDB.Models.UnknownServiceResourceCreateUpdateProperties))]
public abstract class ServiceResourceCreateUpdateProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.ServiceResourceCreateUpdateProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.ServiceResourceCreateUpdateProperties>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.CosmosDB.Models.UnknownServiceResourceCreateUpdateProperties))>]
type ServiceResourceCreateUpdateProperties = class
    interface IJsonModel<ServiceResourceCreateUpdateProperties>
    interface IPersistableModel<ServiceResourceCreateUpdateProperties>
Public MustInherit Class ServiceResourceCreateUpdateProperties
Implements IJsonModel(Of ServiceResourceCreateUpdateProperties), IPersistableModel(Of ServiceResourceCreateUpdateProperties)
Inheritance
ServiceResourceCreateUpdateProperties
Derived
Attributes
Implements

Constructors

ServiceResourceCreateUpdateProperties()

Initializes a new instance of ServiceResourceCreateUpdateProperties.

Properties

InstanceCount

Instance count for the service.

InstanceSize

Instance type for the service.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ServiceResourceCreateUpdateProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServiceResourceCreateUpdateProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceResourceCreateUpdateProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceResourceCreateUpdateProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServiceResourceCreateUpdateProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to