1. Packages
  2. Tailscale Provider
  3. API Docs
  4. getAcl
Tailscale v0.17.4 published on Thursday, Oct 24, 2024 by Pulumi

tailscale.getAcl

Explore with Pulumi AI

tailscale logo
Tailscale v0.17.4 published on Thursday, Oct 24, 2024 by Pulumi

    The acl data source gets the Tailscale ACL for a tailnet

    Using getAcl

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAcl(opts?: InvokeOptions): Promise<GetAclResult>
    function getAclOutput(opts?: InvokeOptions): Output<GetAclResult>
    def get_acl(opts: Optional[InvokeOptions] = None) -> GetAclResult
    def get_acl_output(opts: Optional[InvokeOptions] = None) -> Output[GetAclResult]
    func LookupAcl(ctx *Context, opts ...InvokeOption) (*LookupAclResult, error)
    func LookupAclOutput(ctx *Context, opts ...InvokeOption) LookupAclResultOutput

    > Note: This function is named LookupAcl in the Go SDK.

    public static class GetAcl 
    {
        public static Task<GetAclResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetAclResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAclResult> getAcl(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: tailscale:index/getAcl:getAcl
      arguments:
        # arguments dictionary

    getAcl Result

    The following output properties are available:

    Hujson string
    The contents of Tailscale ACL as a HuJSON string
    Id string
    The provider-assigned unique ID for this managed resource.
    Json string
    The contents of Tailscale ACL as a JSON string
    Hujson string
    The contents of Tailscale ACL as a HuJSON string
    Id string
    The provider-assigned unique ID for this managed resource.
    Json string
    The contents of Tailscale ACL as a JSON string
    hujson String
    The contents of Tailscale ACL as a HuJSON string
    id String
    The provider-assigned unique ID for this managed resource.
    json String
    The contents of Tailscale ACL as a JSON string
    hujson string
    The contents of Tailscale ACL as a HuJSON string
    id string
    The provider-assigned unique ID for this managed resource.
    json string
    The contents of Tailscale ACL as a JSON string
    hujson str
    The contents of Tailscale ACL as a HuJSON string
    id str
    The provider-assigned unique ID for this managed resource.
    json str
    The contents of Tailscale ACL as a JSON string
    hujson String
    The contents of Tailscale ACL as a HuJSON string
    id String
    The provider-assigned unique ID for this managed resource.
    json String
    The contents of Tailscale ACL as a JSON string

    Package Details

    Repository
    tailscale pulumi/pulumi-tailscale
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the tailscale Terraform Provider.
    tailscale logo
    Tailscale v0.17.4 published on Thursday, Oct 24, 2024 by Pulumi