Udostępnij za pośrednictwem


AzureCliScript.RetentionInterval Property

Definition

Gets or sets interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P7D means one week).

[Newtonsoft.Json.JsonProperty(PropertyName="properties.retentionInterval")]
public TimeSpan RetentionInterval { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.retentionInterval")>]
member this.RetentionInterval : TimeSpan with get, set
Public Property RetentionInterval As TimeSpan

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to