Class UploadManifestOptions
java.lang.Object
com.azure.containers.containerregistry.models.UploadManifestOptions
Options for configuring the upload manifest operation.
-
Constructor Summary
ConstructorDescriptionUploadManifestOptions
(OciImageManifest ociManifest) Instantiate an instance of upload manifest options with the ocimanifest information.UploadManifestOptions
(com.azure.core.util.BinaryData manifest, ManifestMediaType manifestMediaType) Instantiate an instance of upload manifest options with the manifest information. -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.BinaryData
The manifest to be uploaded.Media type of the corresponding manifest.getTag()
The tag assigned to the artifact represented by this manifest.A tag to assign to the artifact represented by this manifest.
-
Constructor Details
-
UploadManifestOptions
Instantiate an instance of upload manifest options with the ocimanifest information.- Parameters:
ociManifest
- The Oci manifest.
-
UploadManifestOptions
public UploadManifestOptions(com.azure.core.util.BinaryData manifest, ManifestMediaType manifestMediaType) Instantiate an instance of upload manifest options with the manifest information.- Parameters:
manifest
- The manifest that needs to be uploaded.manifestMediaType
- The media type of supplied manifest.
-
-
Method Details
-
setTag
A tag to assign to the artifact represented by this manifest.- Parameters:
tag
- The tag of the manifest.- Returns:
- The UploadManifestOptions object.
-
getTag
The tag assigned to the artifact represented by this manifest.- Returns:
- The tag of the manifest.
-
getManifest
public com.azure.core.util.BinaryData getManifest()The manifest to be uploaded.- Returns:
- The BinaryData representing the manifest.
-
getMediaType
Media type of the corresponding manifest.- Returns:
- instance of
ManifestMediaType
.
-