Show / Hide Table of Contents

Class GetCommonBandwidthPackages

Inheritance
System.Object
GetCommonBandwidthPackages
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.Vpc
Assembly: Pulumi.AliCloud.dll
Syntax
public static class GetCommonBandwidthPackages

Methods

View Source

InvokeAsync(GetCommonBandwidthPackagesArgs, InvokeOptions)

This data source provides a list of Common Bandwidth Packages owned by an Alibaba Cloud account.

NOTE: Available in 1.36.0+.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var fooCommonBandwithPackage = new AliCloud.Vpc.CommonBandwithPackage("fooCommonBandwithPackage", new AliCloud.Vpc.CommonBandwithPackageArgs
    {
        Bandwidth = "2",
        Description = "tf-testAcc-CommonBandwidthPackage",
    });
    var fooCommonBandwidthPackages = fooCommonBandwithPackage.Id.Apply(id => AliCloud.Vpc.GetCommonBandwidthPackages.InvokeAsync(new AliCloud.Vpc.GetCommonBandwidthPackagesArgs
    {
        Ids = 
        {
            id,
        },
        NameRegex = "^tf-testAcc.*",
    }));
}

}

{{% /example %}} {{% /examples %}}

Public ip addresses Block

The public ip addresses mapping supports the following:

  • ip_address - The address of the EIP.
  • allocation_id - The ID of the EIP instance.
Declaration
public static Task<GetCommonBandwidthPackagesResult> InvokeAsync(GetCommonBandwidthPackagesArgs args = null, InvokeOptions options = null)
Parameters
Type Name Description
GetCommonBandwidthPackagesArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetCommonBandwidthPackagesResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.