// *** 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.AliCloud.Ecs.Outputs
{

    [OutputType]
    public sealed class GetActivationsActivationResult
    {
        /// <summary>
        /// The ID of the activation code.
        /// </summary>
        public readonly string ActivationId;
        /// <summary>
        /// The time when the activation code was created.
        /// </summary>
        public readonly string CreateTime;
        /// <summary>
        /// The number of instances that have been logged out.
        /// </summary>
        public readonly int DeregisteredCount;
        /// <summary>
        /// Description of the corresponding activation code.
        /// </summary>
        public readonly string Description;
        /// <summary>
        /// Indicates whether the activation code is disabled.
        /// </summary>
        public readonly bool Disabled;
        /// <summary>
        /// The ID of the Activation.
        /// </summary>
        public readonly string Id;
        /// <summary>
        /// The maximum number of times the activation code is used to register a managed instance.
        /// </summary>
        public readonly int InstanceCount;
        /// <summary>
        /// The default prefix of the instance name.
        /// </summary>
        public readonly string InstanceName;
        /// <summary>
        /// The IP address of the host that allows the activation code to be used.
        /// </summary>
        public readonly string IpAddressRange;
        /// <summary>
        /// The number of instances that were registered.
        /// </summary>
        public readonly int RegisteredCount;
        /// <summary>
        /// The validity period of the activation code. Unit: hours.
        /// </summary>
        public readonly int TimeToLiveInHours;

        [OutputConstructor]
        private GetActivationsActivationResult(
            string activationId,

            string createTime,

            int deregisteredCount,

            string description,

            bool disabled,

            string id,

            int instanceCount,

            string instanceName,

            string ipAddressRange,

            int registeredCount,

            int timeToLiveInHours)
        {
            ActivationId = activationId;
            CreateTime = createTime;
            DeregisteredCount = deregisteredCount;
            Description = description;
            Disabled = disabled;
            Id = id;
            InstanceCount = instanceCount;
            InstanceName = instanceName;
            IpAddressRange = ipAddressRange;
            RegisteredCount = registeredCount;
            TimeToLiveInHours = timeToLiveInHours;
        }
    }
}
