Share via


ContainerRegistryModelFactory.ContainerRepositoryProperties Method

Definition

Initializes a new instance of 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

Parameters

registryLoginServer
String

Registry login server name. This is likely to be similar to {registry-name}.azurecr.io.

name
String

Image name.

createdOn
DateTimeOffset

Image created time.

lastUpdatedOn
DateTimeOffset

Image last update time.

manifestCount
Int32

Number of the manifests.

tagCount
Int32

Number of the tags.

canDelete
Nullable<Boolean>

Delete enabled.

canWrite
Nullable<Boolean>

Write enabled.

canList
Nullable<Boolean>

List enabled.

canRead
Nullable<Boolean>

Read enabled.

Returns

A new ContainerRepositoryProperties instance for mocking.

Applies to