共用方式為


DeploymentCapacitySettings Class

Definition

Internal use only.

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

Constructors

DeploymentCapacitySettings()

Initializes a new instance of DeploymentCapacitySettings.

Properties

DesignatedCapacity

The designated capacity.

Priority

The priority of this capacity setting.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DeploymentCapacitySettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DeploymentCapacitySettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DeploymentCapacitySettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DeploymentCapacitySettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DeploymentCapacitySettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to