// *** WARNING: this file was generated by pulumi-language-dotnet. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.DockerBuild.Inputs { public sealed class BuildContextArgs : global::Pulumi.ResourceArgs { /// /// Resources to use for build context. /// /// The location can be: /// * A relative or absolute path to a local directory (`.`, `./app`, /// `/app`, etc.). /// * A remote URL of a Git repository, tarball, or plain text file /// (`https://github.com/user/myrepo.git`, `http://server/context.tar.gz`, /// etc.). /// [Input("location", required: true)] public Input Location { get; set; } = null!; [Input("named")] private InputMap? _named; /// /// Additional build contexts to use. /// /// These contexts are accessed with `FROM name` or `--from=name` /// statements when using Dockerfile 1.4+ syntax. /// /// Values can be local paths, HTTP URLs, or `docker-image://` images. /// public InputMap Named { get => _named ?? (_named = new InputMap()); set => _named = value; } public BuildContextArgs() { } public static new BuildContextArgs Empty => new BuildContextArgs(); } }