Cisco ISE v0.1.7 published on Tuesday, Sep 24, 2024 by Pulumi
ise.trustsec.getSecurityGroupAcl
Explore with Pulumi AI
This data source can read the TrustSec Security Group ACL.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ise from "@pulumi/ise";
const example = ise.trustsec.getSecurityGroupAcl({
id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
});
import pulumi
import pulumi_ise as ise
example = ise.trustsec.get_security_group_acl(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
package main
import (
"github.com/pulumi/pulumi-ise/sdk/go/ise/trustsec"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := trustsec.LookupSecurityGroupAcl(ctx, &trustsec.LookupSecurityGroupAclArgs{
Id: pulumi.StringRef("76d24097-41c4-4558-a4d0-a8c07ac08470"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ise = Pulumi.Ise;
return await Deployment.RunAsync(() =>
{
var example = Ise.TrustSec.GetSecurityGroupAcl.Invoke(new()
{
Id = "76d24097-41c4-4558-a4d0-a8c07ac08470",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ise.trustsec.TrustsecFunctions;
import com.pulumi.ise.trustsec.inputs.GetSecurityGroupAclArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = TrustsecFunctions.getSecurityGroupAcl(GetSecurityGroupAclArgs.builder()
.id("76d24097-41c4-4558-a4d0-a8c07ac08470")
.build());
}
}
variables:
example:
fn::invoke:
Function: ise:trustsec:getSecurityGroupAcl
Arguments:
id: 76d24097-41c4-4558-a4d0-a8c07ac08470
Using getSecurityGroupAcl
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 getSecurityGroupAcl(args: GetSecurityGroupAclArgs, opts?: InvokeOptions): Promise<GetSecurityGroupAclResult>
function getSecurityGroupAclOutput(args: GetSecurityGroupAclOutputArgs, opts?: InvokeOptions): Output<GetSecurityGroupAclResult>
def get_security_group_acl(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSecurityGroupAclResult
def get_security_group_acl_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecurityGroupAclResult]
func LookupSecurityGroupAcl(ctx *Context, args *LookupSecurityGroupAclArgs, opts ...InvokeOption) (*LookupSecurityGroupAclResult, error)
func LookupSecurityGroupAclOutput(ctx *Context, args *LookupSecurityGroupAclOutputArgs, opts ...InvokeOption) LookupSecurityGroupAclResultOutput
> Note: This function is named LookupSecurityGroupAcl
in the Go SDK.
public static class GetSecurityGroupAcl
{
public static Task<GetSecurityGroupAclResult> InvokeAsync(GetSecurityGroupAclArgs args, InvokeOptions? opts = null)
public static Output<GetSecurityGroupAclResult> Invoke(GetSecurityGroupAclInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSecurityGroupAclResult> getSecurityGroupAcl(GetSecurityGroupAclArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: ise:trustsec/getSecurityGroupAcl:getSecurityGroupAcl
arguments:
# arguments dictionary
The following arguments are supported:
getSecurityGroupAcl Result
The following output properties are available:
- Acl
Content string - Content of ACL
- Description string
- Description
- Id string
- The id of the object
- Ip
Version string - IP Version
- Name string
- The name of the security group ACL
- Read
Only bool - Read-only
- Acl
Content string - Content of ACL
- Description string
- Description
- Id string
- The id of the object
- Ip
Version string - IP Version
- Name string
- The name of the security group ACL
- Read
Only bool - Read-only
- acl
Content String - Content of ACL
- description String
- Description
- id String
- The id of the object
- ip
Version String - IP Version
- name String
- The name of the security group ACL
- read
Only Boolean - Read-only
- acl
Content string - Content of ACL
- description string
- Description
- id string
- The id of the object
- ip
Version string - IP Version
- name string
- The name of the security group ACL
- read
Only boolean - Read-only
- acl_
content str - Content of ACL
- description str
- Description
- id str
- The id of the object
- ip_
version str - IP Version
- name str
- The name of the security group ACL
- read_
only bool - Read-only
- acl
Content String - Content of ACL
- description String
- Description
- id String
- The id of the object
- ip
Version String - IP Version
- name String
- The name of the security group ACL
- read
Only Boolean - Read-only
Package Details
- Repository
- ise pulumi/pulumi-ise
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ise
Terraform Provider.