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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET