Share via


StorageTarget Class

Definition

Type of the Storage Target.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.StorageTargetTypeConverter))]
public class StorageTarget : Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.IStorageTarget, Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.StorageTargetTypeConverter))>]
type StorageTarget = class
    interface IStorageTarget
    interface IJsonSerializable
    interface IStorageTargetResource
    interface IValidates
Public Class StorageTarget
Implements IStorageTarget, IValidates
Inheritance
StorageTarget
Attributes
Implements

Constructors

StorageTarget()

Creates an new StorageTarget instance.

Properties

AllocationPercentage

The percentage of cache space allocated for this storage target

BlobNfTarget

Resource ID of the storage container.

BlobNfUsageModel

Identifies the StorageCache usage model to be used for this storage target.

BlobNfVerificationTimer

Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.

BlobNfWriteBackTimer

Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.

ClfTarget

Resource ID of storage container.

Id

Resource ID of the Storage Target.

Junction

List of cache namespace junctions to target for namespace associations.

Location

Region name string.

Name

Name of the Storage Target.

Nfs3Target

IP address or host name of an NFSv3 host (e.g., 10.0.44.44).

Nfs3UsageModel

Identifies the StorageCache usage model to be used for this storage target.

Nfs3VerificationTimer

Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.

Nfs3WriteBackTimer

Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.

ProvisioningState

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

ResourceGroupName

Gets the resource group name

State

Storage target operational state.

SystemData

The system meta data relating to this resource.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

TargetType

Type of the Storage Target.

Type

Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget

UnknownAttribute

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StorageTarget.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StorageTarget.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of StorageTarget into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to