ImportSource 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.ImportSourceTypeConverter))]
public class ImportSource : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IImportSource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ImportSourceTypeConverter))>]
type ImportSource = class
interface IImportSource
interface IJsonSerializable
Public Class ImportSource
Implements IImportSource
- Inheritance
-
ImportSource
- Attributes
- Implements
Constructors
ImportSource() |
Creates an new ImportSource instance. |
Properties
CredentialsPassword |
The password used to authenticate with the source registry. |
CredentialsUsername |
The username to authenticate with the source registry. |
RegistryUri |
The address of the source registry (e.g. 'mcr.microsoft.com'). |
ResourceId |
The resource identifier of the source Azure Container Registry. |
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'). |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ImportSource. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ImportSource. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IImportSource. |
FromJsonString(String) |
Creates a new instance of ImportSource, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of ImportSource into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |