RetentionPolicyDetails Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The properties of a retention policy
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DurableTask.Models.RetentionPolicyDetailsTypeConverter))]
public class RetentionPolicyDetails : Microsoft.Azure.PowerShell.Cmdlets.DurableTask.Models.IRetentionPolicyDetails
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DurableTask.Models.RetentionPolicyDetailsTypeConverter))>]
type RetentionPolicyDetails = class
interface IRetentionPolicyDetails
interface IJsonSerializable
Public Class RetentionPolicyDetails
Implements IRetentionPolicyDetails
- Inheritance
-
RetentionPolicyDetails
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| RetentionPolicyDetails() |
Creates an new RetentionPolicyDetails instance. |
Properties
| Name | Description |
|---|---|
| OrchestrationState |
The orchestration state to which this policy applies. If omitted, the policy applies to all purgeable orchestration states. |
| RetentionPeriodInDay |
The retention period in days after which the orchestration will be purged automatically |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of RetentionPolicyDetails. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of RetentionPolicyDetails. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DurableTask.Models.IRetentionPolicyDetails. |
| FromJsonString(String) |
Creates a new instance of RetentionPolicyDetails, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of RetentionPolicyDetails into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |