-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.mgmt.containerregistry.v2019_05_01.models.RetentionPolicy.yml
47 lines (43 loc) · 1.52 KB
/
azure.mgmt.containerregistry.v2019_05_01.models.RetentionPolicy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
### YamlMime:PythonClass
uid: azure.mgmt.containerregistry.v2019_05_01.models.RetentionPolicy
name: RetentionPolicy
fullName: azure.mgmt.containerregistry.v2019_05_01.models.RetentionPolicy
module: azure.mgmt.containerregistry.v2019_05_01.models
inheritances:
- azure.mgmt.containerregistry._serialization.Model
summary: 'The retention policy for a container registry.
Variables are only populated by the server, and will be ignored when sending a request.'
constructor:
syntax: 'RetentionPolicy(*, days: int = 7, status: str | _models.PolicyStatus |
None = None, **kwargs: Any)'
keywordOnlyParameters:
- name: days
description: The number of days to retain an untagged manifest after which it
gets purged.
defaultValue: '7'
types:
- <xref:int>
- name: status
description: 'The value that indicates whether the policy is enabled or not. Known
values
are: "enabled" and "disabled".'
types:
- <xref:str>
- <xref:azure.mgmt.containerregistry.v2019_05_01.models.PolicyStatus>
variables:
- description: The number of days to retain an untagged manifest after which it gets
purged.
name: days
types:
- <xref:int>
- description: The timestamp when the policy was last updated.
name: last_updated_time
types:
- <xref:datetime.datetime>
- description: 'The value that indicates whether the policy is enabled or not. Known
values are:
"enabled" and "disabled".'
name: status
types:
- <xref:str>
- <xref:azure.mgmt.containerregistry.v2019_05_01.models.PolicyStatus>