get Ipv6Internet Bandwidths
suspend fun getIpv6InternetBandwidths(argument: GetIpv6InternetBandwidthsPlainArgs): GetIpv6InternetBandwidthsResult
This data source provides the Vpc Ipv6 Internet Bandwidths of the current Alibaba Cloud user.
NOTE: Available in v1.143.0+.
Example Usage
Basic Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.inputs.GetIpv6InternetBandwidthsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var ids = VpcFunctions.getIpv6InternetBandwidths(GetIpv6InternetBandwidthsArgs.builder()
.ids("example_id")
.build());
ctx.export("vpcIpv6InternetBandwidthId1", ids.applyValue(getIpv6InternetBandwidthsResult -> getIpv6InternetBandwidthsResult.bandwidths()[0].id()));
final var ipv6InternetBandwidthId = VpcFunctions.getIpv6InternetBandwidths(GetIpv6InternetBandwidthsArgs.builder()
.ipv6InternetBandwidthId("example_value")
.build());
ctx.export("vpcIpv6InternetBandwidthId2", ipv6InternetBandwidthId.applyValue(getIpv6InternetBandwidthsResult -> getIpv6InternetBandwidthsResult.bandwidths()[0].id()));
final var ipv6AddressId = VpcFunctions.getIpv6InternetBandwidths(GetIpv6InternetBandwidthsArgs.builder()
.ipv6AddressId("example_value")
.build());
ctx.export("vpcIpv6InternetBandwidthId3", ipv6AddressId.applyValue(getIpv6InternetBandwidthsResult -> getIpv6InternetBandwidthsResult.bandwidths()[0].id()));
final var status = VpcFunctions.getIpv6InternetBandwidths(GetIpv6InternetBandwidthsArgs.builder()
.status("Normal")
.build());
ctx.export("vpcIpv6InternetBandwidthId4", status.applyValue(getIpv6InternetBandwidthsResult -> getIpv6InternetBandwidthsResult.bandwidths()[0].id()));
}
}
Content copied to clipboard
Return
A collection of values returned by getIpv6InternetBandwidths.
Parameters
argument
A collection of arguments for invoking getIpv6InternetBandwidths.
suspend fun getIpv6InternetBandwidths(ids: List<String>? = null, ipv6AddressId: String? = null, ipv6InternetBandwidthId: String? = null, outputFile: String? = null, status: String? = null): GetIpv6InternetBandwidthsResult
Return
A collection of values returned by getIpv6InternetBandwidths.
See also
Parameters
ids
A list of Ipv6 Internet Bandwidth IDs.
ipv6Address Id
The ID of the IPv6 address.
ipv6Internet Bandwidth Id
The ID of the Ipv6 Internet Bandwidth.
output File
File name where to save data source results (after running pulumi preview
).
status
The status of the resource. Valid values: Normal
, FinancialLocked
and SecurityLocked
.
suspend fun getIpv6InternetBandwidths(argument: suspend GetIpv6InternetBandwidthsPlainArgsBuilder.() -> Unit): GetIpv6InternetBandwidthsResult
Return
A collection of values returned by getIpv6InternetBandwidths.
See also
Parameters
argument
Builder for com.pulumi.alicloud.vpc.kotlin.inputs.GetIpv6InternetBandwidthsPlainArgs.