ContainerMountAnnotation Class
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.
C#
public sealed class ContainerMountAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type ContainerMountAnnotation = class
interface IResourceAnnotation
Public NotInheritable Class ContainerMountAnnotation
Implements IResourceAnnotation
- Inheritance
-
ContainerMountAnnotation
- Implements
Container |
Instantiates a mount annotation that specifies the details for a container mount. |
Is |
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. |
Proizvod | Verzije |
---|---|
.NET Aspire | 8.0.0, 9.0.0, 9.1.0 |