// *** 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 RegistryArgs : global::Pulumi.ResourceArgs
{
///
/// The registry's address (e.g. "docker.io").
///
[Input("address", required: true)]
public Input Address { get; set; } = null!;
[Input("password")]
private Input? _password;
///
/// Password or token for the registry.
///
public Input? Password
{
get => _password;
set
{
var emptySecret = Output.CreateSecret(0);
_password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1);
}
}
///
/// Username for the registry.
///
[Input("username")]
public Input? Username { get; set; }
public RegistryArgs()
{
}
public static new RegistryArgs Empty => new RegistryArgs();
}
}