<gh_stars>0// *** 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.Cloud
{
    public static class APIGatewayUsagePlanEnvironments
    {
        public static Task<APIGatewayUsagePlanEnvironmentsResult> InvokeAsync(APIGatewayUsagePlanEnvironmentsArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<APIGatewayUsagePlanEnvironmentsResult>("tctest:Cloud/aPIGatewayUsagePlanEnvironments:APIGatewayUsagePlanEnvironments", args ?? new APIGatewayUsagePlanEnvironmentsArgs(), options.WithDefaults());

        public static Output<APIGatewayUsagePlanEnvironmentsResult> Invoke(APIGatewayUsagePlanEnvironmentsInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<APIGatewayUsagePlanEnvironmentsResult>("tctest:Cloud/aPIGatewayUsagePlanEnvironments:APIGatewayUsagePlanEnvironments", args ?? new APIGatewayUsagePlanEnvironmentsInvokeArgs(), options.WithDefaults());
    }


    public sealed class APIGatewayUsagePlanEnvironmentsArgs : Pulumi.InvokeArgs
    {
        [Input("bindType")]
        public string? BindType { get; set; }

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

        [Input("usagePlanId", required: true)]
        public string UsagePlanId { get; set; } = null!;

        public APIGatewayUsagePlanEnvironmentsArgs()
        {
        }
    }

    public sealed class APIGatewayUsagePlanEnvironmentsInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("bindType")]
        public Input<string>? BindType { get; set; }

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

        [Input("usagePlanId", required: true)]
        public Input<string> UsagePlanId { get; set; } = null!;

        public APIGatewayUsagePlanEnvironmentsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class APIGatewayUsagePlanEnvironmentsResult
    {
        public readonly string? BindType;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.APIGatewayUsagePlanEnvironmentsListResult> Lists;
        public readonly string? ResultOutputFile;
        public readonly string UsagePlanId;

        [OutputConstructor]
        private APIGatewayUsagePlanEnvironmentsResult(
            string? bindType,

            string id,

            ImmutableArray<Outputs.APIGatewayUsagePlanEnvironmentsListResult> lists,

            string? resultOutputFile,

            string usagePlanId)
        {
            BindType = bindType;
            Id = id;
            Lists = lists;
            ResultOutputFile = resultOutputFile;
            UsagePlanId = usagePlanId;
        }
    }
}
