Class UploadManifestOptions
java.lang.Object
com.azure.containers.containerregistry.models.UploadManifestOptions
Options for configuring the upload manifest operation.
-
Constructor Summary
ConstructorDescriptionUploadManifestOptions
(OciManifest ociManifest) Instantiate an instance of upload manifest options with the ocimanifest information.UploadManifestOptions
(BinaryData manifest) Instantiate an instance of upload manifest options with the manifest information. -
Method Summary
Modifier and TypeMethodDescriptionThe manifest to be uploaded.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 manifest information.- Parameters:
manifest
- The manifest that needs to be uploaded.
-
UploadManifestOptions
Instantiate an instance of upload manifest options with the ocimanifest information.- Parameters:
ociManifest
- The Oci 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
The manifest to be uploaded.- Returns:
- The BinaryData representing the manifest.
-