GetDdosBgpInstances

This data source provides a list of Anti-DDoS Advanced instances in an Alibaba Cloud account according to the specified filters.

NOTE: Available in 1.57.0+ .

Example Usage

using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var instanceDdosBgpInstances = Output.Create(AliCloud.Ddos.GetDdosBgpInstances.InvokeAsync(new AliCloud.Ddos.GetDdosBgpInstancesArgs
        {
            NameRegex = "^ddosbgp",
        }));
        this.Instance = alicloud_ddosbgp_instances.Instance.Select(__item => __item.Id).ToList();
    }

    [Output("instance")]
    public Output<string> Instance { get; set; }
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

instance_ddos_bgp_instances = alicloud.ddos.get_ddos_bgp_instances(name_regex="^ddosbgp")
pulumi.export("instance", [__item["id"] for __item in alicloud_ddosbgp_instances["instance"]])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const instanceDdosBgpInstances = pulumi.output(alicloud.ddos.getDdosBgpInstances({
    nameRegex: "^ddosbgp",
}, { async: true }));

export const instance = alicloud_ddosbgp_instances_instance.map(v => v.id);

Using GetDdosBgpInstances

function getDdosBgpInstances(args: GetDdosBgpInstancesArgs, opts?: InvokeOptions): Promise<GetDdosBgpInstancesResult>
function  get_ddos_bgp_instances(ids=None, name_regex=None, output_file=None, opts=None)
func GetDdosBgpInstances(ctx *Context, args *GetDdosBgpInstancesArgs, opts ...InvokeOption) (*GetDdosBgpInstancesResult, error)
public static class GetDdosBgpInstances {
    public static Task<GetDdosBgpInstancesResult> InvokeAsync(GetDdosBgpInstancesArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Ids List<string>

A list of instance IDs.

NameRegex string

A regex string to filter results by the instance name.

OutputFile string
Ids []string

A list of instance IDs.

NameRegex string

A regex string to filter results by the instance name.

OutputFile string
ids string[]

A list of instance IDs.

nameRegex string

A regex string to filter results by the instance name.

outputFile string
ids List[str]

A list of instance IDs.

name_regex str

A regex string to filter results by the instance name.

output_file str

GetDdosBgpInstances Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>

A list of instance IDs.

Instances List<Pulumi.AliCloud.Ddos.Outputs.GetDdosBgpInstancesInstance>

A list of apis. Each element contains the following attributes:

Names List<string>

A list of instance names.

NameRegex string
OutputFile string
Id string

The provider-assigned unique ID for this managed resource.

Ids []string

A list of instance IDs.

Instances []GetDdosBgpInstancesInstance

A list of apis. Each element contains the following attributes:

Names []string

A list of instance names.

NameRegex string
OutputFile string
id string

The provider-assigned unique ID for this managed resource.

ids string[]

A list of instance IDs.

instances GetDdosBgpInstancesInstance[]

A list of apis. Each element contains the following attributes:

names string[]

A list of instance names.

nameRegex string
outputFile string
id str

The provider-assigned unique ID for this managed resource.

ids List[str]

A list of instance IDs.

instances List[GetDdosBgpInstancesInstance]

A list of apis. Each element contains the following attributes:

names List[str]

A list of instance names.

name_regex str
output_file str

Supporting Types

GetDdosBgpInstancesInstance

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Bandwidth int

The instance’s elastic defend bandwidth.

BaseBandwidth int

The instance’s base defend bandwidth.

Id string

The instance’s id.

IpCount int

The instance’s count of ip config.

IpType string

The instance’s IP version.

Name string

The instance’s remark.

Region string

A region of instance.

Type string

The instance’s type.

Bandwidth int

The instance’s elastic defend bandwidth.

BaseBandwidth int

The instance’s base defend bandwidth.

Id string

The instance’s id.

IpCount int

The instance’s count of ip config.

IpType string

The instance’s IP version.

Name string

The instance’s remark.

Region string

A region of instance.

Type string

The instance’s type.

bandwidth number

The instance’s elastic defend bandwidth.

baseBandwidth number

The instance’s base defend bandwidth.

id string

The instance’s id.

ipCount number

The instance’s count of ip config.

ipType string

The instance’s IP version.

name string

The instance’s remark.

region string

A region of instance.

type string

The instance’s type.

bandwidth float

The instance’s elastic defend bandwidth.

base_bandwidth float

The instance’s base defend bandwidth.

id str

The instance’s id.

ip_count float

The instance’s count of ip config.

ip_type str

The instance’s IP version.

name str

The instance’s remark.

region str

A region of instance.

type str

The instance’s type.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.