// *** 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.Outputs
{
[OutputType]
public sealed class ExportImage
{
///
/// Attach an arbitrary key/value annotation to the image.
///
public readonly ImmutableDictionary? Annotations;
///
/// The compression type to use.
///
public readonly Pulumi.DockerBuild.CompressionType? Compression;
///
/// Compression level from 0 to 22.
///
public readonly int? CompressionLevel;
///
/// Name image with `prefix@<digest>`, used for anonymous images.
///
public readonly string? DanglingNamePrefix;
///
/// Forcefully apply compression.
///
public readonly bool? ForceCompression;
///
/// Allow pushing to an insecure registry.
///
public readonly bool? Insecure;
///
/// Add additional canonical name (`name@<digest>`).
///
public readonly bool? NameCanonical;
///
/// Specify images names to export. This is overridden if tags are already specified.
///
public readonly ImmutableArray Names;
///
/// Use OCI media types in exporter manifests.
///
public readonly bool? OciMediaTypes;
///
/// Push after creating the image. Defaults to `false`.
///
public readonly bool? Push;
///
/// Push image without name.
///
public readonly bool? PushByDigest;
///
/// 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).
///
public readonly bool? Store;
///
/// Unpack image after creation (for use with containerd). Defaults to
/// `false`.
///
public readonly bool? Unpack;
[OutputConstructor]
private ExportImage(
ImmutableDictionary? annotations,
Pulumi.DockerBuild.CompressionType? compression,
int? compressionLevel,
string? danglingNamePrefix,
bool? forceCompression,
bool? insecure,
bool? nameCanonical,
ImmutableArray names,
bool? ociMediaTypes,
bool? push,
bool? pushByDigest,
bool? store,
bool? unpack)
{
Annotations = annotations;
Compression = compression;
CompressionLevel = compressionLevel;
DanglingNamePrefix = danglingNamePrefix;
ForceCompression = forceCompression;
Insecure = insecure;
NameCanonical = nameCanonical;
Names = names;
OciMediaTypes = ociMediaTypes;
Push = push;
PushByDigest = pushByDigest;
Store = store;
Unpack = unpack;
}
}
}