Condividi tramite


StorageTargetResource Class

Definition

Resource used by a cache.

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

Constructors

StorageTargetResource()

Creates an new StorageTargetResource instance.

Properties

Id

Resource ID of the Storage Target.

Location

Region name string.

Name

Name of the Storage Target.

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.

Type

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StorageTargetResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StorageTargetResource.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of StorageTargetResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to