// *** 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 ExportRegistryArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; /// /// Attach an arbitrary key/value annotation to the image. /// public InputMap Annotations { get => _annotations ?? (_annotations = new InputMap()); set => _annotations = value; } /// /// The compression type to use. /// [Input("compression")] public Input? Compression { get; set; } /// /// Compression level from 0 to 22. /// [Input("compressionLevel")] public Input? CompressionLevel { get; set; } /// /// Name image with `prefix@<digest>`, used for anonymous images. /// [Input("danglingNamePrefix")] public Input? DanglingNamePrefix { get; set; } /// /// Forcefully apply compression. /// [Input("forceCompression")] public Input? ForceCompression { get; set; } /// /// Allow pushing to an insecure registry. /// [Input("insecure")] public Input? Insecure { get; set; } /// /// Add additional canonical name (`name@<digest>`). /// [Input("nameCanonical")] public Input? NameCanonical { get; set; } [Input("names")] private InputList? _names; /// /// Specify images names to export. This is overridden if tags are already specified. /// public InputList Names { get => _names ?? (_names = new InputList()); set => _names = value; } /// /// Use OCI media types in exporter manifests. /// [Input("ociMediaTypes")] public Input? OciMediaTypes { get; set; } /// /// Push after creating the image. Defaults to `true`. /// [Input("push")] public Input? Push { get; set; } /// /// Push image without name. /// [Input("pushByDigest")] public Input? PushByDigest { get; set; } /// /// Store resulting images to the worker's image store and ensure all of /// its blobs are in the content store. /// /// Defaults to `true`. /// /// Ignored if the worker doesn't have image store (when using OCI workers, /// for example). /// [Input("store")] public Input? Store { get; set; } /// /// Unpack image after creation (for use with containerd). Defaults to /// `false`. /// [Input("unpack")] public Input? Unpack { get; set; } public ExportRegistryArgs() { Compression = Pulumi.DockerBuild.CompressionType.Gzip; CompressionLevel = 0; ForceCompression = false; OciMediaTypes = false; Push = true; Store = true; } public static new ExportRegistryArgs Empty => new ExportRegistryArgs(); } }