ContainerImageReference Class

Definition

Represents the fully‑qualified container image reference that should be deployed.

public class ContainerImageReference : Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences
type ContainerImageReference = class
    interface IManifestExpressionProvider
    interface IValueWithReferences
    interface IValueProvider
Public Class ContainerImageReference
Implements IManifestExpressionProvider, IValueProvider, IValueWithReferences
Inheritance
ContainerImageReference
Implements

Constructors

ContainerImageReference(IResource, IServiceProvider)

Initializes a new instance of the ContainerImageReference class with service provider access.

ContainerImageReference(IResource)
Obsolete.

Initializes a new instance of the ContainerImageReference class.

Properties

References

The referenced objects of the value.

Resource

Gets the resource that this container image is associated with.

ServiceProvider

Gets the service provider for accessing services during callback execution, if available.

ValueExpression

Gets the expression that represents a value in manifest.

Explicit Interface Implementations

IValueProvider.GetValueAsync(CancellationToken)

Gets the value for use as an environment variable.

Extension Methods

AsProvisioningParameter(IManifestExpressionProvider, AzureResourceInfrastructure, String, Nullable<Boolean>)

Creates a new ProvisioningParameter in infrastructure, or reuses an existing bicep parameter if one with

AsEnvironmentPlaceholder(IManifestExpressionProvider, DockerComposeServiceResource)

Creates a placeholder for an environment variable in the Docker Compose file.

Applies to