<reponame>Kagashino/pulumi-tctest// *** 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.Tctest.Cvm
{
    public static class ReservedInstanceConfigs
    {
        public static Task<ReservedInstanceConfigsResult> InvokeAsync(ReservedInstanceConfigsArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<ReservedInstanceConfigsResult>("tctest:Cvm/reservedInstanceConfigs:ReservedInstanceConfigs", args ?? new ReservedInstanceConfigsArgs(), options.WithDefaults());

        public static Output<ReservedInstanceConfigsResult> Invoke(ReservedInstanceConfigsInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<ReservedInstanceConfigsResult>("tctest:Cvm/reservedInstanceConfigs:ReservedInstanceConfigs", args ?? new ReservedInstanceConfigsInvokeArgs(), options.WithDefaults());
    }


    public sealed class ReservedInstanceConfigsArgs : Pulumi.InvokeArgs
    {
        [Input("availabilityZone")]
        public string? AvailabilityZone { get; set; }

        [Input("duration")]
        public int? Duration { get; set; }

        [Input("instanceType")]
        public string? InstanceType { get; set; }

        [Input("offeringType")]
        public string? OfferingType { get; set; }

        [Input("productDescription")]
        public string? ProductDescription { get; set; }

        [Input("resultOutputFile")]
        public string? ResultOutputFile { get; set; }

        public ReservedInstanceConfigsArgs()
        {
        }
    }

    public sealed class ReservedInstanceConfigsInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("availabilityZone")]
        public Input<string>? AvailabilityZone { get; set; }

        [Input("duration")]
        public Input<int>? Duration { get; set; }

        [Input("instanceType")]
        public Input<string>? InstanceType { get; set; }

        [Input("offeringType")]
        public Input<string>? OfferingType { get; set; }

        [Input("productDescription")]
        public Input<string>? ProductDescription { get; set; }

        [Input("resultOutputFile")]
        public Input<string>? ResultOutputFile { get; set; }

        public ReservedInstanceConfigsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class ReservedInstanceConfigsResult
    {
        public readonly string? AvailabilityZone;
        public readonly ImmutableArray<Outputs.ReservedInstanceConfigsConfigListResult> ConfigLists;
        public readonly int? Duration;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? InstanceType;
        public readonly string? OfferingType;
        public readonly string? ProductDescription;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private ReservedInstanceConfigsResult(
            string? availabilityZone,

            ImmutableArray<Outputs.ReservedInstanceConfigsConfigListResult> configLists,

            int? duration,

            string id,

            string? instanceType,

            string? offeringType,

            string? productDescription,

            string? resultOutputFile)
        {
            AvailabilityZone = availabilityZone;
            ConfigLists = configLists;
            Duration = duration;
            Id = id;
            InstanceType = instanceType;
            OfferingType = offeringType;
            ProductDescription = productDescription;
            ResultOutputFile = resultOutputFile;
        }
    }
}
