Share via


ContainerImagePushOptionsCallbackContext.Resource Property

Definition

Gets the resource being configured for container image push operations.

public Aspire.Hosting.ApplicationModel.IResource Resource { get; init; }
member this.Resource : Aspire.Hosting.ApplicationModel.IResource with get, set
Public Property Resource As IResource

Property Value

The resource instance that is being configured. This allows callbacks to access resource-specific information such as the resource name, annotations, or other metadata when determining image naming and tagging strategies.

Applies to