ImportImageParameters Class
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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ImportImageParametersTypeConverter))]
public class ImportImageParameters : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IImportImageParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ImportImageParametersTypeConverter))>]
type ImportImageParameters = class
interface IImportImageParameters
interface IJsonSerializable
Public Class ImportImageParameters
Implements IImportImageParameters
- Inheritance
-
ImportImageParameters
- Attributes
- Implements
Constructors
ImportImageParameters() |
Creates an new ImportImageParameters instance. |
Properties
CredentialsPassword |
The password used to authenticate with the source registry. |
CredentialsUsername |
The username to authenticate with the source registry. |
Mode |
When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. |
SourceImage |
Repository name of the source image. Specify an image by repository ('hello-world'). This will use the 'latest' tag. Specify an image by tag ('hello-world:latest'). Specify an image by sha256-based manifest digest ('hello-world@sha256:abc123'). |
SourceRegistryUri |
The address of the source registry (e.g. 'mcr.microsoft.com'). |
SourceResourceId |
The resource identifier of the source Azure Container Registry. |
TargetTag |
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). |
UntaggedTargetRepository |
List of strings of repository names to do a manifest only copy. No tag will be created. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ImportImageParameters. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ImportImageParameters. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IImportImageParameters. |
FromJsonString(String) |
Creates a new instance of ImportImageParameters, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of ImportImageParameters into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |