<filename>sdk/dotnet/Cloud/APIGatewayThrottlingApis.cs// *** 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 APIGatewayThrottlingApis
    {
        public static Task<APIGatewayThrottlingApisResult> InvokeAsync(APIGatewayThrottlingApisArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<APIGatewayThrottlingApisResult>("tctest:Cloud/aPIGatewayThrottlingApis:APIGatewayThrottlingApis", args ?? new APIGatewayThrottlingApisArgs(), options.WithDefaults());

        public static Output<APIGatewayThrottlingApisResult> Invoke(APIGatewayThrottlingApisInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<APIGatewayThrottlingApisResult>("tctest:Cloud/aPIGatewayThrottlingApis:APIGatewayThrottlingApis", args ?? new APIGatewayThrottlingApisInvokeArgs(), options.WithDefaults());
    }


    public sealed class APIGatewayThrottlingApisArgs : Pulumi.InvokeArgs
    {
        [Input("environmentNames")]
        private List<string>? _environmentNames;
        public List<string> EnvironmentNames
        {
            get => _environmentNames ?? (_environmentNames = new List<string>());
            set => _environmentNames = value;
        }

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

        [Input("serviceId")]
        public string? ServiceId { get; set; }

        public APIGatewayThrottlingApisArgs()
        {
        }
    }

    public sealed class APIGatewayThrottlingApisInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("environmentNames")]
        private InputList<string>? _environmentNames;
        public InputList<string> EnvironmentNames
        {
            get => _environmentNames ?? (_environmentNames = new InputList<string>());
            set => _environmentNames = value;
        }

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

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

        public APIGatewayThrottlingApisInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class APIGatewayThrottlingApisResult
    {
        public readonly ImmutableArray<string> EnvironmentNames;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.APIGatewayThrottlingApisListResult> Lists;
        public readonly string? ResultOutputFile;
        public readonly string? ServiceId;

        [OutputConstructor]
        private APIGatewayThrottlingApisResult(
            ImmutableArray<string> environmentNames,

            string id,

            ImmutableArray<Outputs.APIGatewayThrottlingApisListResult> lists,

            string? resultOutputFile,

            string? serviceId)
        {
            EnvironmentNames = environmentNames;
            Id = id;
            Lists = lists;
            ResultOutputFile = resultOutputFile;
            ServiceId = serviceId;
        }
    }
}
