Files
pulumi-docker-build/sdk/dotnet/Inputs/CacheToAzureBlobArgs.cs
Bryce Lampe 26c144c916 Initial provider implementation (#18)
This brings over the initial buildx prototype from pulumi/pulumi-docker
and fixes various build and release issues.
2024-04-25 11:03:59 -07:00

63 lines
1.8 KiB
C#
Generated

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