Share via


SourceLifeCycle Class

Definition

Source LifeCycle

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SourceLifeCycleTypeConverter))]
public class SourceLifeCycle : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SourceLifeCycleTypeConverter))>]
type SourceLifeCycle = class
    interface ISourceLifeCycle
    interface IJsonSerializable
Public Class SourceLifeCycle
Implements ISourceLifeCycle
Inheritance
SourceLifeCycle
Attributes
Implements

Constructors

SourceLifeCycle()

Creates an new SourceLifeCycle instance.

Properties

DeleteAfterDuration

Duration of deletion after given timespan

DeleteAfterObjectType

Type of the specific object - used for deserializing

SourceDataStoreObjectType

Type of Datasource object, used to initialize the right inherited type

SourceDataStoreType

type of datastore; Operational/Vault/Archive

TargetDataStoreCopySetting

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SourceLifeCycle.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SourceLifeCycle.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SourceLifeCycle into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to