Share via


StorageTargetData Class

Definition

A class representing the StorageTarget data model. Type of the Storage Target.

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

Constructors

StorageTargetData()

Initializes a new instance of StorageTargetData.

Properties

AllocationPercentage

The percentage of cache space allocated for this storage target.

BlobNfs

Properties when targetType is blobNfs.

ClfsTarget

Resource ID of storage container.

Id

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

(Inherited from ResourceData)
Junctions

List of cache namespace junctions to target for namespace associations.

Location

Region name string.

Name

The name of the resource.

(Inherited from ResourceData)
Nfs3

Properties when targetType is nfs3.

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)
State

Storage target operational state.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TargetType

Type of the Storage Target.

UnknownAttributes

Dictionary of string->string pairs containing information about the Storage Target.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<StorageTargetData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageTargetData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageTargetData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageTargetData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageTargetData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to