次の方法で共有


ContainerMountAnnotation Class

Definition

Represents a mount annotation for a container resource.

public sealed class ContainerMountAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type ContainerMountAnnotation = class
    interface IResourceAnnotation
Public NotInheritable Class ContainerMountAnnotation
Implements IResourceAnnotation
Inheritance
ContainerMountAnnotation
Implements

Constructors

ContainerMountAnnotation(String, String, ContainerMountType, Boolean)

Instantiates a mount annotation that specifies the details for a container mount.

Properties

IsReadOnly

Gets a value indicating whether the volume mount is read-only.

Source

Gets the source of the bind mount or name if a volume. Can be null if the mount is an anonymous volume.

Target

Gets the target of the mount.

Type

Gets the type of the mount.

Applies to