Class ArtifactManifestProperties
java.lang.Object
com.azure.containers.containerregistry.models.ArtifactManifestProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ArtifactManifestProperties>
public final class ArtifactManifestProperties
extends Object
implements com.azure.json.JsonSerializable<ArtifactManifestProperties>
Manifest attributes details.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ArtifactManifestProperties class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ArtifactManifestPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ArtifactManifestProperties from the JsonReader.Get the architecture property: CPU architecture.Get the createdOn property: Created time.Get the digest property: Manifest.Get the lastUpdatedOn property: Last update time.Get the operatingSystem property: Operating system.Get the registryLoginServer property: Registry login server name.Get the relatedArtifacts property: List of artifacts that are referenced by this manifest list, with information about the platform each supports.Get the repositoryName property: Repository name.Get the sizeInBytes property: Image size in bytes.getTags()Get the tags property: List of tags.Get the deleteEnabled property: Delete enabled.Get the listEnabled property: List enabled.Get the readEnabled property: Read enabled.Get the writeEnabled property: Write enabled.setDeleteEnabled(Boolean deleteEnabled) Set the deleteEnabled property: Delete enabled.setListEnabled(Boolean listEnabled) Set the listEnabled property: List enabled.setReadEnabled(Boolean readEnabled) Set the readEnabled property: Read enabled.setWriteEnabled(Boolean writeEnabled) Set the writeEnabled property: Write enabled.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter)
-
Constructor Details
-
ArtifactManifestProperties
public ArtifactManifestProperties()Creates an instance of ArtifactManifestProperties class.
-
-
Method Details
-
getRegistryLoginServer
Get the registryLoginServer property: Registry login server name. This is likely to be similar to {registry-name}.azurecr.io.- Returns:
- the registryLoginServer value.
-
getRepositoryName
Get the repositoryName property: Repository name.- Returns:
- the repositoryName value.
-
getDigest
Get the digest property: Manifest.- Returns:
- the digest value.
-
getSizeInBytes
Get the sizeInBytes property: Image size in bytes.- Returns:
- the size value.
-
getCreatedOn
Get the createdOn property: Created time.- Returns:
- the createdOn value.
-
getLastUpdatedOn
Get the lastUpdatedOn property: Last update time.- Returns:
- the lastUpdatedOn value.
-
getArchitecture
Get the architecture property: CPU architecture.- Returns:
- the architecture value.
-
getOperatingSystem
Get the operatingSystem property: Operating system.- Returns:
- the operatingSystem value.
-
getRelatedArtifacts
Get the relatedArtifacts property: 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.- Returns:
- the relatedArtifacts value.
-
getTags
Get the tags property: List of tags.- Returns:
- the tags value.
-
isDeleteEnabled
Get the deleteEnabled property: Delete enabled.- Returns:
- the deleteEnabled value.
-
setDeleteEnabled
Set the deleteEnabled property: Delete enabled.- Parameters:
deleteEnabled- the deleteEnabled value to set.- Returns:
- the ArtifactManifestProperties object itself.
-
isWriteEnabled
Get the writeEnabled property: Write enabled.- Returns:
- the writeEnabled value.
-
setWriteEnabled
Set the writeEnabled property: Write enabled.- Parameters:
writeEnabled- the writeEnabled value to set.- Returns:
- the ArtifactManifestProperties object itself.
-
isListEnabled
Get the listEnabled property: List enabled.- Returns:
- the listEnabled value.
-
setListEnabled
Set the listEnabled property: List enabled.- Parameters:
listEnabled- the listEnabled value to set.- Returns:
- the ArtifactManifestProperties object itself.
-
isReadEnabled
Get the readEnabled property: Read enabled.- Returns:
- the readEnabled value.
-
setReadEnabled
Set the readEnabled property: Read enabled.- Parameters:
readEnabled- the readEnabled value to set.- Returns:
- the ArtifactManifestProperties object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ArtifactManifestProperties>- Throws:
IOException
-
fromJson
public static ArtifactManifestProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ArtifactManifestProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ArtifactManifestProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the ArtifactManifestProperties.
-