Share via


ProtectedItemModel Class

Definition

Protected item model.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.ProtectedItemModelTypeConverter))]
public class ProtectedItemModel : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.IProtectedItemModel
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.ProtectedItemModelTypeConverter))>]
type ProtectedItemModel = class
    interface IProtectedItemModel
    interface IJsonSerializable
Public Class ProtectedItemModel
Implements IProtectedItemModel
Inheritance
ProtectedItemModel
Attributes
Implements

Constructors

ProtectedItemModel()

Creates an new ProtectedItemModel instance.

Properties

Id

Gets or sets the Id of the resource.

Name

Gets or sets the name of the resource.

Property

Protected item model properties.

SystemDataCreatedAt

Gets or sets the timestamp of resource creation (UTC).

SystemDataCreatedBy

Gets or sets identity that created the resource.

SystemDataCreatedByType

Gets or sets the type of identity that created the resource: user, application, managedIdentity.

SystemDataLastModifiedAt

Gets or sets the timestamp of resource last modification (UTC).

SystemDataLastModifiedBy

Gets or sets the identity that last modified the resource.

SystemDataLastModifiedByType

Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.

Type

Gets or sets the type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ProtectedItemModel.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ProtectedItemModel.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.IProtectedItemModel.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ProtectedItemModel into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to