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. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for