ArmContainerRegistryModelFactory.ContainerRegistryImportImageContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ContainerRegistryImportImageContent.
public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryImportImageContent ContainerRegistryImportImageContent (Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryImportSource source = default, System.Collections.Generic.IEnumerable<string> targetTags = default, System.Collections.Generic.IEnumerable<string> untaggedTargetRepositories = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryImportMode? mode = default);
static member ContainerRegistryImportImageContent : Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryImportSource * seq<string> * seq<string> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryImportMode> -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryImportImageContent
Public Shared Function ContainerRegistryImportImageContent (Optional source As ContainerRegistryImportSource = Nothing, Optional targetTags As IEnumerable(Of String) = Nothing, Optional untaggedTargetRepositories As IEnumerable(Of String) = Nothing, Optional mode As Nullable(Of ContainerRegistryImportMode) = Nothing) As ContainerRegistryImportImageContent
Parameters
The source of the image.
- targetTags
- IEnumerable<String>
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).
- untaggedTargetRepositories
- IEnumerable<String>
List of strings of repository names to do a manifest only copy. No tag will be created.
When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.
Returns
A new ContainerRegistryImportImageContent instance for mocking.
Applies to
Azure SDK for .NET