Share via


CacheNodeDriveConfiguration Class

Definition

Drive configuration for cache node.

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

Constructors

CacheNodeDriveConfiguration()

Initializes a new instance of CacheNodeDriveConfiguration.

Properties

CacheNumber

corresponding nginx cache number. Valid cache numbers are 1 - 20.

NginxMapping

full binding for corresponding nginx cache drive.

PhysicalPath

physical path ___location of the folder used for caching content.

SizeInGb

physical size of the drive used for caching content.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CacheNodeDriveConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CacheNodeDriveConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CacheNodeDriveConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CacheNodeDriveConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CacheNodeDriveConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to