RetentionLeaseUpdate interface
An update to the retention parameters of a retention lease.
Properties
days |
The number of days to consider the lease valid. A retention lease valid for more than 100 years (36500 days) will display as retaining the build "forever". |
protect |
If set, this lease will also prevent the pipeline from being deleted while the lease is still valid. |
Property Details
daysValid
The number of days to consider the lease valid. A retention lease valid for more than 100 years (36500 days) will display as retaining the build "forever".
daysValid: number
Property Value
number
protectPipeline
If set, this lease will also prevent the pipeline from being deleted while the lease is still valid.
protectPipeline: boolean
Property Value
boolean