<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.AliCloud.Vpc
{
    public static class GetIpv6InternetBandwidths
    {
        /// <summary>
        /// This data source provides the Vpc Ipv6 Internet Bandwidths of the current Alibaba Cloud user.
        /// 
        /// &gt; **NOTE:** Available in v1.143.0+.
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// Basic Usage
        /// 
        /// ```csharp
        /// using System.Collections.Generic;
        /// using Pulumi;
        /// using AliCloud = Pulumi.AliCloud;
        /// 
        /// return await Deployment.RunAsync(() =&gt; 
        /// {
        ///     var ids = AliCloud.Vpc.GetIpv6InternetBandwidths.Invoke(new()
        ///     {
        ///         Ids = new[]
        ///         {
        ///             "example_id",
        ///         },
        ///     });
        /// 
        ///     var ipv6InternetBandwidthId = AliCloud.Vpc.GetIpv6InternetBandwidths.Invoke(new()
        ///     {
        ///         Ipv6InternetBandwidthId = "example_value",
        ///     });
        /// 
        ///     var ipv6AddressId = AliCloud.Vpc.GetIpv6InternetBandwidths.Invoke(new()
        ///     {
        ///         Ipv6AddressId = "example_value",
        ///     });
        /// 
        ///     var status = AliCloud.Vpc.GetIpv6InternetBandwidths.Invoke(new()
        ///     {
        ///         Status = "Normal",
        ///     });
        /// 
        ///     return new Dictionary&lt;string, object?&gt;
        ///     {
        ///         ["vpcIpv6InternetBandwidthId1"] = ids.Apply(getIpv6InternetBandwidthsResult =&gt; getIpv6InternetBandwidthsResult.Bandwidths[0]?.Id),
        ///         ["vpcIpv6InternetBandwidthId2"] = ipv6InternetBandwidthId.Apply(getIpv6InternetBandwidthsResult =&gt; getIpv6InternetBandwidthsResult.Bandwidths[0]?.Id),
        ///         ["vpcIpv6InternetBandwidthId3"] = ipv6AddressId.Apply(getIpv6InternetBandwidthsResult =&gt; getIpv6InternetBandwidthsResult.Bandwidths[0]?.Id),
        ///         ["vpcIpv6InternetBandwidthId4"] = status.Apply(getIpv6InternetBandwidthsResult =&gt; getIpv6InternetBandwidthsResult.Bandwidths[0]?.Id),
        ///     };
        /// });
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Task<GetIpv6InternetBandwidthsResult> InvokeAsync(GetIpv6InternetBandwidthsArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetIpv6InternetBandwidthsResult>("alicloud:vpc/getIpv6InternetBandwidths:getIpv6InternetBandwidths", args ?? new GetIpv6InternetBandwidthsArgs(), options.WithDefaults());

        /// <summary>
        /// This data source provides the Vpc Ipv6 Internet Bandwidths of the current Alibaba Cloud user.
        /// 
        /// &gt; **NOTE:** Available in v1.143.0+.
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// Basic Usage
        /// 
        /// ```csharp
        /// using System.Collections.Generic;
        /// using Pulumi;
        /// using AliCloud = Pulumi.AliCloud;
        /// 
        /// return await Deployment.RunAsync(() =&gt; 
        /// {
        ///     var ids = AliCloud.Vpc.GetIpv6InternetBandwidths.Invoke(new()
        ///     {
        ///         Ids = new[]
        ///         {
        ///             "example_id",
        ///         },
        ///     });
        /// 
        ///     var ipv6InternetBandwidthId = AliCloud.Vpc.GetIpv6InternetBandwidths.Invoke(new()
        ///     {
        ///         Ipv6InternetBandwidthId = "example_value",
        ///     });
        /// 
        ///     var ipv6AddressId = AliCloud.Vpc.GetIpv6InternetBandwidths.Invoke(new()
        ///     {
        ///         Ipv6AddressId = "example_value",
        ///     });
        /// 
        ///     var status = AliCloud.Vpc.GetIpv6InternetBandwidths.Invoke(new()
        ///     {
        ///         Status = "Normal",
        ///     });
        /// 
        ///     return new Dictionary&lt;string, object?&gt;
        ///     {
        ///         ["vpcIpv6InternetBandwidthId1"] = ids.Apply(getIpv6InternetBandwidthsResult =&gt; getIpv6InternetBandwidthsResult.Bandwidths[0]?.Id),
        ///         ["vpcIpv6InternetBandwidthId2"] = ipv6InternetBandwidthId.Apply(getIpv6InternetBandwidthsResult =&gt; getIpv6InternetBandwidthsResult.Bandwidths[0]?.Id),
        ///         ["vpcIpv6InternetBandwidthId3"] = ipv6AddressId.Apply(getIpv6InternetBandwidthsResult =&gt; getIpv6InternetBandwidthsResult.Bandwidths[0]?.Id),
        ///         ["vpcIpv6InternetBandwidthId4"] = status.Apply(getIpv6InternetBandwidthsResult =&gt; getIpv6InternetBandwidthsResult.Bandwidths[0]?.Id),
        ///     };
        /// });
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Output<GetIpv6InternetBandwidthsResult> Invoke(GetIpv6InternetBandwidthsInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetIpv6InternetBandwidthsResult>("alicloud:vpc/getIpv6InternetBandwidths:getIpv6InternetBandwidths", args ?? new GetIpv6InternetBandwidthsInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetIpv6InternetBandwidthsArgs : global::Pulumi.InvokeArgs
    {
        [Input("ids")]
        private List<string>? _ids;

        /// <summary>
        /// A list of Ipv6 Internet Bandwidth IDs.
        /// </summary>
        public List<string> Ids
        {
            get => _ids ?? (_ids = new List<string>());
            set => _ids = value;
        }

        /// <summary>
        /// The ID of the IPv6 address.
        /// </summary>
        [Input("ipv6AddressId")]
        public string? Ipv6AddressId { get; set; }

        /// <summary>
        /// The ID of the Ipv6 Internet Bandwidth.
        /// </summary>
        [Input("ipv6InternetBandwidthId")]
        public string? Ipv6InternetBandwidthId { get; set; }

        [Input("outputFile")]
        public string? OutputFile { get; set; }

        /// <summary>
        /// The status of the resource. Valid values: `Normal`, `FinancialLocked` and `SecurityLocked`.
        /// </summary>
        [Input("status")]
        public string? Status { get; set; }

        public GetIpv6InternetBandwidthsArgs()
        {
        }
        public static new GetIpv6InternetBandwidthsArgs Empty => new GetIpv6InternetBandwidthsArgs();
    }

    public sealed class GetIpv6InternetBandwidthsInvokeArgs : global::Pulumi.InvokeArgs
    {
        [Input("ids")]
        private InputList<string>? _ids;

        /// <summary>
        /// A list of Ipv6 Internet Bandwidth IDs.
        /// </summary>
        public InputList<string> Ids
        {
            get => _ids ?? (_ids = new InputList<string>());
            set => _ids = value;
        }

        /// <summary>
        /// The ID of the IPv6 address.
        /// </summary>
        [Input("ipv6AddressId")]
        public Input<string>? Ipv6AddressId { get; set; }

        /// <summary>
        /// The ID of the Ipv6 Internet Bandwidth.
        /// </summary>
        [Input("ipv6InternetBandwidthId")]
        public Input<string>? Ipv6InternetBandwidthId { get; set; }

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

        /// <summary>
        /// The status of the resource. Valid values: `Normal`, `FinancialLocked` and `SecurityLocked`.
        /// </summary>
        [Input("status")]
        public Input<string>? Status { get; set; }

        public GetIpv6InternetBandwidthsInvokeArgs()
        {
        }
        public static new GetIpv6InternetBandwidthsInvokeArgs Empty => new GetIpv6InternetBandwidthsInvokeArgs();
    }


    [OutputType]
    public sealed class GetIpv6InternetBandwidthsResult
    {
        public readonly ImmutableArray<Outputs.GetIpv6InternetBandwidthsBandwidthResult> Bandwidths;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<string> Ids;
        public readonly string? Ipv6AddressId;
        public readonly string? Ipv6InternetBandwidthId;
        public readonly string? OutputFile;
        public readonly string? Status;

        [OutputConstructor]
        private GetIpv6InternetBandwidthsResult(
            ImmutableArray<Outputs.GetIpv6InternetBandwidthsBandwidthResult> bandwidths,

            string id,

            ImmutableArray<string> ids,

            string? ipv6AddressId,

            string? ipv6InternetBandwidthId,

            string? outputFile,

            string? status)
        {
            Bandwidths = bandwidths;
            Id = id;
            Ids = ids;
            Ipv6AddressId = ipv6AddressId;
            Ipv6InternetBandwidthId = ipv6InternetBandwidthId;
            OutputFile = outputFile;
            Status = status;
        }
    }
}
