Freigeben über


ContainerRegistryModelFactory.ContainerRepositoryProperties Methode

Definition

Initialisiert eine neue instance von ContainerRepositoryProperties.

public static Azure.Containers.ContainerRegistry.ContainerRepositoryProperties ContainerRepositoryProperties (string registryLoginServer = default, string name = default, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, int manifestCount = 0, int tagCount = 0, bool? canDelete = default, bool? canWrite = default, bool? canList = default, bool? canRead = default);
static member ContainerRepositoryProperties : string * string * DateTimeOffset * DateTimeOffset * int * int * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Azure.Containers.ContainerRegistry.ContainerRepositoryProperties
Public Shared Function ContainerRepositoryProperties (Optional registryLoginServer As String = Nothing, Optional name As String = Nothing, Optional createdOn As DateTimeOffset = Nothing, Optional lastUpdatedOn As DateTimeOffset = Nothing, Optional manifestCount As Integer = 0, Optional tagCount As Integer = 0, Optional canDelete As Nullable(Of Boolean) = Nothing, Optional canWrite As Nullable(Of Boolean) = Nothing, Optional canList As Nullable(Of Boolean) = Nothing, Optional canRead As Nullable(Of Boolean) = Nothing) As ContainerRepositoryProperties

Parameter

registryLoginServer
String

Name des Registrierungsanmeldungsservers. Dies ähnelt wahrscheinlich {registry-name}.azurecr.io.

name
String

Imagename

createdOn
DateTimeOffset

Bilderstellungszeit.

lastUpdatedOn
DateTimeOffset

Zeitpunkt der letzten Aktualisierung des Images.

manifestCount
Int32

Anzahl der Manifeste.

tagCount
Int32

Anzahl der Tags.

canDelete
Nullable<Boolean>

Löschen aktiviert.

canWrite
Nullable<Boolean>

Schreibzugriff aktiviert.

canList
Nullable<Boolean>

Liste aktiviert.

canRead
Nullable<Boolean>

Lesezugriff aktiviert.

Gibt zurück

Eine neue ContainerRepositoryProperties instance zum Mocking.

Gilt für: