// *** 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 CacheToAzureBlobArgs : global::Pulumi.ResourceArgs
{
///
/// Base URL of the storage account.
///
[Input("accountUrl")]
public Input? AccountUrl { get; set; }
///
/// Ignore errors caused by failed cache exports.
///
[Input("ignoreError")]
public Input? IgnoreError { get; set; }
///
/// The cache mode to use. Defaults to `min`.
///
[Input("mode")]
public Input? Mode { get; set; }
///
/// The name of the cache image.
///
[Input("name", required: true)]
public Input Name { get; set; } = null!;
[Input("secretAccessKey")]
private Input? _secretAccessKey;
///
/// Blob storage account key.
///
public Input? SecretAccessKey
{
get => _secretAccessKey;
set
{
var emptySecret = Output.CreateSecret(0);
_secretAccessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1);
}
}
public CacheToAzureBlobArgs()
{
IgnoreError = false;
Mode = Pulumi.DockerBuild.CacheMode.Min;
}
public static new CacheToAzureBlobArgs Empty => new CacheToAzureBlobArgs();
}
}