ContainerFileSystemCallbackAnnotation 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 callback annotation that specifies files and folders that should be created or updated in a container.
public sealed class ContainerFileSystemCallbackAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type ContainerFileSystemCallbackAnnotation = class
interface IResourceAnnotation
Public NotInheritable Class ContainerFileSystemCallbackAnnotation
Implements IResourceAnnotation
- Inheritance
-
ContainerFileSystemCallbackAnnotation
- Implements
Constructors
ContainerFileSystemCallbackAnnotation() |
Properties
Callback |
The callback to be executed when the container is created. Should return a tree of ContainerFileSystemItem entries to create (or update) in the container. |
DefaultGroup |
The GID of the default group for files/directories to be created or updated in the container. The GID defaults to 0 for root if null. |
DefaultOwner |
The UID of the default owner for files/directories to be created or updated in the container. The UID defaults to 0 for root if null. |
DestinationPath |
The (absolute) base path to create the new file (and any parent directories) in the container. This path should already exist in the container. |
Umask |
The umask to apply to files or folders without an explicit mode permission. If set to null, a default umask value of 0022 (octal) will be used. The umask takes away permissions from the default permission set (rather than granting them). |