Share via


ContainerRegistryModelFactory.ArtifactManifestProperties Method

Definition

Initializes a new instance of ArtifactManifestProperties.

public static Azure.Containers.ContainerRegistry.ArtifactManifestProperties ArtifactManifestProperties (string registryLoginServer = default, string repositoryName = default, string digest = default, long? sizeInBytes = default, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, Azure.Containers.ContainerRegistry.ArtifactArchitecture? architecture = default, Azure.Containers.ContainerRegistry.ArtifactOperatingSystem? operatingSystem = default, System.Collections.Generic.IEnumerable<Azure.Containers.ContainerRegistry.ArtifactManifestPlatform> relatedArtifacts = default, System.Collections.Generic.IEnumerable<string> tags = default, bool? canDelete = default, bool? canWrite = default, bool? canList = default, bool? canRead = default);
static member ArtifactManifestProperties : string * string * string * Nullable<int64> * DateTimeOffset * DateTimeOffset * Nullable<Azure.Containers.ContainerRegistry.ArtifactArchitecture> * Nullable<Azure.Containers.ContainerRegistry.ArtifactOperatingSystem> * seq<Azure.Containers.ContainerRegistry.ArtifactManifestPlatform> * seq<string> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Azure.Containers.ContainerRegistry.ArtifactManifestProperties
Public Shared Function ArtifactManifestProperties (Optional registryLoginServer As String = Nothing, Optional repositoryName As String = Nothing, Optional digest As String = Nothing, Optional sizeInBytes As Nullable(Of Long) = Nothing, Optional createdOn As DateTimeOffset = Nothing, Optional lastUpdatedOn As DateTimeOffset = Nothing, Optional architecture As Nullable(Of ArtifactArchitecture) = Nothing, Optional operatingSystem As Nullable(Of ArtifactOperatingSystem) = Nothing, Optional relatedArtifacts As IEnumerable(Of ArtifactManifestPlatform) = Nothing, Optional tags As IEnumerable(Of String) = 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 ArtifactManifestProperties

Parameters

registryLoginServer
String

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

repositoryName
String

Repository name.

digest
String

Manifest.

sizeInBytes
Nullable<Int64>

Image size.

createdOn
DateTimeOffset

Created time.

lastUpdatedOn
DateTimeOffset

Last update time.

architecture
Nullable<ArtifactArchitecture>

CPU architecture.

operatingSystem
Nullable<ArtifactOperatingSystem>

Operating system.

relatedArtifacts
IEnumerable<ArtifactManifestPlatform>

List of artifacts that are referenced by this manifest list, with information about the platform each supports. This list will be empty if this is a leaf manifest and not a manifest list.

tags
IEnumerable<String>

List of tags.

canDelete
Nullable<Boolean>

Delete enabled.

canWrite
Nullable<Boolean>

Write enabled.

canList
Nullable<Boolean>

List enabled.

canRead
Nullable<Boolean>

Read enabled.

Returns

A new ArtifactManifestProperties instance for mocking.

Applies to