StorageCacheData Class

Definition

A class representing the StorageCache data model. A cache instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md

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

Constructors

StorageCacheData(AzureLocation)

Initializes a new instance of StorageCacheData.

Properties

CacheSizeGB

The size of this Cache, in GB.

DirectoryServicesSettings

Specifies Directory Services settings of the cache.

EncryptionSettings

Specifies encryption settings of the cache.

Health

Health of the cache.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Identity

The identity of the cache, if configured.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MountAddresses

Array of IPv4 addresses that can be used by clients mounting this cache.

Name

The name of the resource.

(Inherited from ResourceData)
NetworkSettings

Specifies network settings of the cache.

PrimingJobs

Specifies the priming jobs defined in the cache.

ProvisioningState

ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SecurityAccessPolicies

NFS access policies defined for this cache.

SkuName

SKU name for this cache.

SpaceAllocation

Specifies the space allocation percentage for each storage target in the cache.

Subnet

Subnet used for the Cache.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
UpgradeSettings

Upgrade settings of the cache.

UpgradeStatus

Upgrade status of the cache.

Zones

Availability zones for resources. This field should only contain a single element in the array.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<StorageCacheData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageCacheData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageCacheData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageCacheData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageCacheData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to