Show / Hide Table of Contents

Class GetDdosCooInstances

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

Methods

View Source

InvokeAsync(GetDdosCooInstancesArgs, InvokeOptions)

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

{{% examples %}}

Example Usage

{{% example %}}

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; }
}

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

Declaration
public static Task<GetDdosCooInstancesResult> InvokeAsync(GetDdosCooInstancesArgs args = null, InvokeOptions options = null)
Parameters
Type Name Description
GetDdosCooInstancesArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetDdosCooInstancesResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.