Class ImportImageParameters
java.lang.Object
com.microsoft.azure.management.containerregistry.ImportImageParameters
The ImportImageParameters model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmode()
Get when Force, any existing target tags will be overwritten.source()
Get the source of the image.Get list of strings of the form repo[:tag].Get list of strings of repository names to do a manifest only copy.withMode
(ImportMode mode) Set when Force, any existing target tags will be overwritten.withSource
(ImportSource source) Set the source of the image.withTargetTags
(List<String> targetTags) Set list of strings of the form repo[:tag].withUntaggedTargetRepositories
(List<String> untaggedTargetRepositories) Set list of strings of repository names to do a manifest only copy.
-
Constructor Details
-
ImportImageParameters
public ImportImageParameters()
-
-
Method Details
-
source
Get the source of the image.- Returns:
- the source value
-
withSource
Set the source of the image.- Parameters:
source
- the source value to set- Returns:
- the ImportImageParameters object itself.
-
targetTags
Get list of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).- Returns:
- the targetTags value
-
withTargetTags
Set list of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).- Parameters:
targetTags
- the targetTags value to set- Returns:
- the ImportImageParameters object itself.
-
untaggedTargetRepositories
Get list of strings of repository names to do a manifest only copy. No tag will be created.- Returns:
- the untaggedTargetRepositories value
-
withUntaggedTargetRepositories
public ImportImageParameters withUntaggedTargetRepositories(List<String> untaggedTargetRepositories) Set list of strings of repository names to do a manifest only copy. No tag will be created.- Parameters:
untaggedTargetRepositories
- the untaggedTargetRepositories value to set- Returns:
- the ImportImageParameters object itself.
-
mode
Get when Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. Possible values include: 'NoForce', 'Force'.- Returns:
- the mode value
-
withMode
Set when Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. Possible values include: 'NoForce', 'Force'.- Parameters:
mode
- the mode value to set- Returns:
- the ImportImageParameters object itself.
-