Share via


ContainerRegistryModelFactory.ArtifactTagProperties Method

Definition

Initializes a new instance of ArtifactTagProperties.

public static Azure.Containers.ContainerRegistry.ArtifactTagProperties ArtifactTagProperties (string registryLoginServer = default, string repositoryName = default, string name = default, string digest = default, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, bool? canDelete = default, bool? canWrite = default, bool? canList = default, bool? canRead = default);
static member ArtifactTagProperties : string * string * string * string * DateTimeOffset * DateTimeOffset * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Azure.Containers.ContainerRegistry.ArtifactTagProperties
Public Shared Function ArtifactTagProperties (Optional registryLoginServer As String = Nothing, Optional repositoryName As String = Nothing, Optional name As String = Nothing, Optional digest As String = Nothing, Optional createdOn As DateTimeOffset = Nothing, Optional lastUpdatedOn As DateTimeOffset = Nothing, 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 ArtifactTagProperties

Parameters

registryLoginServer
String

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

repositoryName
String

Image name.

name
String

Tag name.

digest
String

Tag digest.

createdOn
DateTimeOffset

Tag created time.

lastUpdatedOn
DateTimeOffset

Tag last update time.

canDelete
Nullable<Boolean>

Delete enabled.

canWrite
Nullable<Boolean>

Write enabled.

canList
Nullable<Boolean>

List enabled.

canRead
Nullable<Boolean>

Read enabled.

Returns

A new ArtifactTagProperties instance for mocking.

Applies to