Files
pulumi-docker-build/sdk/dotnet/Inputs/RegistryArgs.cs
2024-03-26 13:30:22 -07:00

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