// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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.Yandex.Inputs
{

    public sealed class CmCertificateChallengeArgs : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// Time the challenge was created.
        /// </summary>
        [Input("createdAt")]
        public Input<string>? CreatedAt { get; set; }

        /// <summary>
        /// DNS record name (only for DNS challenge).
        /// </summary>
        [Input("dnsName")]
        public Input<string>? DnsName { get; set; }

        /// <summary>
        /// DNS record type: `"TXT"` or `"CNAME"` (only for DNS challenge).
        /// </summary>
        [Input("dnsType")]
        public Input<string>? DnsType { get; set; }

        /// <summary>
        /// DNS record value (only for DNS challenge).
        /// </summary>
        [Input("dnsValue")]
        public Input<string>? DnsValue { get; set; }

        /// <summary>
        /// Validated domain.
        /// </summary>
        [Input("domain")]
        public Input<string>? Domain { get; set; }

        /// <summary>
        /// The content that should be made accessible with the given `http_url` (only for HTTP challenge).
        /// </summary>
        [Input("httpContent")]
        public Input<string>? HttpContent { get; set; }

        /// <summary>
        /// URL where the challenge content http_content should be placed (only for HTTP challenge).
        /// </summary>
        [Input("httpUrl")]
        public Input<string>? HttpUrl { get; set; }

        /// <summary>
        /// Current status message.
        /// </summary>
        [Input("message")]
        public Input<string>? Message { get; set; }

        /// <summary>
        /// Challenge type `"DNS"` or `"HTTP"`.
        /// </summary>
        [Input("type")]
        public Input<string>? Type { get; set; }

        /// <summary>
        /// Last time the challenge was updated.
        /// </summary>
        [Input("updatedAt")]
        public Input<string>? UpdatedAt { get; set; }

        public CmCertificateChallengeArgs()
        {
        }
        public static new CmCertificateChallengeArgs Empty => new CmCertificateChallengeArgs();
    }
}
