ImportSource Constructors
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.
Overloads
ImportSource() |
Initializes a new instance of the ImportSource class. |
ImportSource(String, String, String, ImportSourceCredentials) |
Initializes a new instance of the ImportSource class. |
ImportSource()
Initializes a new instance of the ImportSource class.
public ImportSource ();
Public Sub New ()
Applies to
ImportSource(String, String, String, ImportSourceCredentials)
Initializes a new instance of the ImportSource class.
public ImportSource (string sourceImage, string resourceId = default, string registryUri = default, Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.ImportSourceCredentials credentials = default);
new Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.ImportSource : string * string * string * Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.ImportSourceCredentials -> Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.ImportSource
Public Sub New (sourceImage As String, Optional resourceId As String = Nothing, Optional registryUri As String = Nothing, Optional credentials As ImportSourceCredentials = Nothing)
Parameters
- sourceImage
- String
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').
- resourceId
- String
The resource identifier of the source Azure Container Registry.
- registryUri
- String
The address of the source registry (e.g. 'mcr.microsoft.com').
- credentials
- ImportSourceCredentials
Credentials used when importing from a registry uri.
Applies to
Azure SDK for .NET