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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for