Share via


StorageTargetSpaceAllocation Class

Definition

Storage Target space allocation properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.StorageTargetSpaceAllocationTypeConverter))]
public class StorageTargetSpaceAllocation : Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.IStorageTargetSpaceAllocation
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.StorageTargetSpaceAllocationTypeConverter))>]
type StorageTargetSpaceAllocation = class
    interface IStorageTargetSpaceAllocation
    interface IJsonSerializable
Public Class StorageTargetSpaceAllocation
Implements IStorageTargetSpaceAllocation
Inheritance
StorageTargetSpaceAllocation
Attributes
Implements

Constructors

StorageTargetSpaceAllocation()

Creates an new StorageTargetSpaceAllocation instance.

Properties

AllocationPercentage

The percentage of cache space allocated for this storage target

Name

Name of the storage target.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StorageTargetSpaceAllocation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StorageTargetSpaceAllocation.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.IStorageTargetSpaceAllocation.

FromJsonString(String)

Creates a new instance of StorageTargetSpaceAllocation, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of StorageTargetSpaceAllocation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to