Show / Hide Table of Contents

Class GetAcls

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

Methods

View Source

InvokeAsync(GetAclsArgs, InvokeOptions)

This data source provides the acls in the region.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var sampleDs = Output.Create(AliCloud.Slb.GetAcls.InvokeAsync());
    this.FirstSlbAclId = sampleDs.Apply(sampleDs => sampleDs.Acls[0].Id);
}

[Output("firstSlbAclId")]
public Output<string> FirstSlbAclId { get; set; }
}

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

Entry Block

The entry mapping supports the following:

  • entry - An IP addresses or CIDR blocks.
  • comment - the comment of the entry.

Listener Block

The Listener mapping supports the following:

  • load_balancer_id - the id of load balancer instance, the listener belongs to.
  • frontend_port - the listener port.
  • protocol - the listener protocol (such as tcp/udp/http/https, etc).
  • acl_type - the type of acl (such as white/black).
Declaration
public static Task<GetAclsResult> InvokeAsync(GetAclsArgs args = null, InvokeOptions options = null)
Parameters
Type Name Description
GetAclsArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetAclsResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.