Condividi tramite


StorageTargetSpaceAllocation Class

Definition

Storage Target space allocation properties.

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

Constructors

StorageTargetSpaceAllocation()

Initializes a new instance of StorageTargetSpaceAllocation.

Properties

AllocationPercentage

The percentage of cache space allocated for this storage target.

Name

Name of the storage target.

Explicit Interface Implementations

IJsonModel<StorageTargetSpaceAllocation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageTargetSpaceAllocation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageTargetSpaceAllocation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageTargetSpaceAllocation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageTargetSpaceAllocation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to