ContainerMountAnnotation Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
Target |
Gets the target of the mount. |
Type |
Gets the type of the mount. |