GetDdosCooInstances

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

Example Usage

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

class MyStack : Stack
{
    public MyStack()
    {
        var instanceDdosCooInstances = Output.Create(AliCloud.Ddos.GetDdosCooInstances.InvokeAsync(new AliCloud.Ddos.GetDdosCooInstancesArgs
        {
            NameRegex = "^ddoscoo",
        }));
        this.Instance = alicloud_ddoscoo_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_coo_instances = alicloud.ddos.get_ddos_coo_instances(name_regex="^ddoscoo")
pulumi.export("instance", [__item["id"] for __item in alicloud_ddoscoo_instances["instance"]])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const instanceDdosCooInstances = pulumi.output(alicloud.ddos.getDdosCooInstances({
    nameRegex: "^ddoscoo",
}, { async: true }));

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

Using GetDdosCooInstances

function getDdosCooInstances(args: GetDdosCooInstancesArgs, opts?: InvokeOptions): Promise<GetDdosCooInstancesResult>
function  get_ddos_coo_instances(ids=None, name_regex=None, output_file=None, opts=None)
func GetDdosCooInstances(ctx *Context, args *GetDdosCooInstancesArgs, opts ...InvokeOption) (*GetDdosCooInstancesResult, error)
public static class GetDdosCooInstances {
    public static Task<GetDdosCooInstancesResult> InvokeAsync(GetDdosCooInstancesArgs 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

GetDdosCooInstances 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.GetDdosCooInstancesInstance>

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 []GetDdosCooInstancesInstance

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 GetDdosCooInstancesInstance[]

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[GetDdosCooInstancesInstance]

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

GetDdosCooInstancesInstance

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.

DomainCount int

The instance’s count of domain retransmission config.

Id string

The instance’s id.

Name string

The instance’s remark.

PortCount int

The instance’s count of port retransmission config.

ServiceBandwidth int

The instance’s business bandwidth.

Bandwidth int

The instance’s elastic defend bandwidth.

BaseBandwidth int

The instance’s base defend bandwidth.

DomainCount int

The instance’s count of domain retransmission config.

Id string

The instance’s id.

Name string

The instance’s remark.

PortCount int

The instance’s count of port retransmission config.

ServiceBandwidth int

The instance’s business bandwidth.

bandwidth number

The instance’s elastic defend bandwidth.

baseBandwidth number

The instance’s base defend bandwidth.

domainCount number

The instance’s count of domain retransmission config.

id string

The instance’s id.

name string

The instance’s remark.

portCount number

The instance’s count of port retransmission config.

serviceBandwidth number

The instance’s business bandwidth.

bandwidth float

The instance’s elastic defend bandwidth.

base_bandwidth float

The instance’s base defend bandwidth.

domain_count float

The instance’s count of domain retransmission config.

id str

The instance’s id.

name str

The instance’s remark.

port_count float

The instance’s count of port retransmission config.

service_bandwidth float

The instance’s business bandwidth.

Package Details

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