Skip to content
DocsTry Aspire
DocsTry

ContainerMountAnnotation

Handle
📦 Aspire.Hosting v13.4.0
interface ContainerMountAnnotation extends IResourceAnnotation {
readonly isReadOnly: boolean;
readonly source: string;
readonly target: string;
readonly type: ContainerMountType;
}

Properties

propertyisReadOnlybooleanget
Gets a value indicating whether the volume mount is read-only.
propertysourcestringget
Gets the source of the bind mount or name if a volume. Can be `null` if the mount is an anonymous volume.
propertytargetstringget
Gets the target of the mount.
propertytypeContainerMountTypeget
Gets the type of the mount.