RetentionPolicy Constructors
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.
Overloads
RetentionPolicy() |
Initializes a new instance of the RetentionPolicy class. |
RetentionPolicy(Nullable<Int32>, Nullable<DateTime>, String) |
Initializes a new instance of the RetentionPolicy class. |
RetentionPolicy()
Initializes a new instance of the RetentionPolicy class.
public RetentionPolicy ();
Public Sub New ()
Applies to
RetentionPolicy(Nullable<Int32>, Nullable<DateTime>, String)
Initializes a new instance of the RetentionPolicy class.
public RetentionPolicy (int? days = default, DateTime? lastUpdatedTime = default, string status = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.RetentionPolicy : Nullable<int> * Nullable<DateTime> * string -> Microsoft.Azure.Management.ContainerRegistry.Models.RetentionPolicy
Public Sub New (Optional days As Nullable(Of Integer) = Nothing, Optional lastUpdatedTime As Nullable(Of DateTime) = Nothing, Optional status As String = Nothing)
Parameters
- status
- String
The value that indicates whether the policy is enabled or not. Possible values include: 'enabled', 'disabled'
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET