共用方式為


ArmContainerRegistryModelFactory.ContainerRegistryBaseImageDependency Method

Definition

Initializes a new instance of ContainerRegistryBaseImageDependency.

public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryBaseImageDependency ContainerRegistryBaseImageDependency (Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryBaseImageDependencyType? dependencyType = default, string registry = default, string repository = default, string tag = default, string digest = default);
static member ContainerRegistryBaseImageDependency : Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryBaseImageDependencyType> * string * string * string * string -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryBaseImageDependency
Public Shared Function ContainerRegistryBaseImageDependency (Optional dependencyType As Nullable(Of ContainerRegistryBaseImageDependencyType) = Nothing, Optional registry As String = Nothing, Optional repository As String = Nothing, Optional tag As String = Nothing, Optional digest As String = Nothing) As ContainerRegistryBaseImageDependency

Parameters

dependencyType
Nullable<ContainerRegistryBaseImageDependencyType>

The type of the base image dependency.

registry
String

The registry login server.

repository
String

The repository name.

tag
String

The tag name.

digest
String

The sha256-based digest of the image manifest.

Returns

A new ContainerRegistryBaseImageDependency instance for mocking.

Applies to