Class GetBandwidthLimits
Inheritance
System.Object
GetBandwidthLimits
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Cen
Assembly: Pulumi.AliCloud.dll
Syntax
public static class GetBandwidthLimits
Methods
View SourceInvokeAsync(GetBandwidthLimitsArgs, InvokeOptions)
This data source provides CEN Bandwidth Limits available to the user.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var bwl = Output.Create(AliCloud.Cen.GetBandwidthLimits.InvokeAsync(new AliCloud.Cen.GetBandwidthLimitsArgs
{
InstanceIds =
{
"cen-id1",
},
}));
this.FirstCenBandwidthLimitsLocalRegionId = bwl.Apply(bwl => bwl.Limits[0].LocalRegionId);
}
[Output("firstCenBandwidthLimitsLocalRegionId")]
public Output<string> FirstCenBandwidthLimitsLocalRegionId { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetBandwidthLimitsResult> InvokeAsync(GetBandwidthLimitsArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBandwidthLimitsArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetBandwidthLimitsResult> |