<reponame>rhysmdnz/pulumi-alicloud-rhys-hacks// *** 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.OpenSearch.Outputs
{

    [OutputType]
    public sealed class AppGroupOrder
    {
        /// <summary>
        /// Whether to renew automatically. It only takes effect when the parameter payment_type takes the value `Subscription`.
        /// </summary>
        public readonly bool? AutoRenew;
        /// <summary>
        /// Order cycle. The minimum value is not less than 0.
        /// </summary>
        public readonly int? Duration;
        /// <summary>
        /// Order cycle unit. Valid values: `Year` and `Month`.
        /// </summary>
        public readonly string? PricingCycle;

        [OutputConstructor]
        private AppGroupOrder(
            bool? autoRenew,

            int? duration,

            string? pricingCycle)
        {
            AutoRenew = autoRenew;
            Duration = duration;
            PricingCycle = pricingCycle;
        }
    }
}
