1. Packages
  2. Cisco ISE Provider
  3. API Docs
  4. trustsec
  5. getMatrix
Viewing docs for Cisco ISE v0.3.0
published on Saturday, Mar 7, 2026 by Pulumi
ise logo
Viewing docs for Cisco ISE v0.3.0
published on Saturday, Mar 7, 2026 by Pulumi

    This data source can read the TrustSec Matrix.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ise from "@pulumi/ise";
    
    const example = ise.trustsec.getMatrix({
        id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
    });
    
    import pulumi
    import pulumi_ise as ise
    
    example = ise.trustsec.get_matrix(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.LookupMatrix(ctx, &trustsec.LookupMatrixArgs{
    			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.GetMatrix.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.GetMatrixArgs;
    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.getMatrix(GetMatrixArgs.builder()
                .id("76d24097-41c4-4558-a4d0-a8c07ac08470")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: ise:trustsec:getMatrix
          arguments:
            id: 76d24097-41c4-4558-a4d0-a8c07ac08470
    

    Using getMatrix

    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 getMatrix(args: GetMatrixArgs, opts?: InvokeOptions): Promise<GetMatrixResult>
    function getMatrixOutput(args: GetMatrixOutputArgs, opts?: InvokeOptions): Output<GetMatrixResult>
    def get_matrix(id: Optional[str] = None,
                   name: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetMatrixResult
    def get_matrix_output(id: Optional[pulumi.Input[str]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetMatrixResult]
    func LookupMatrix(ctx *Context, args *LookupMatrixArgs, opts ...InvokeOption) (*LookupMatrixResult, error)
    func LookupMatrixOutput(ctx *Context, args *LookupMatrixOutputArgs, opts ...InvokeOption) LookupMatrixResultOutput

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

    public static class GetMatrix 
    {
        public static Task<GetMatrixResult> InvokeAsync(GetMatrixArgs args, InvokeOptions? opts = null)
        public static Output<GetMatrixResult> Invoke(GetMatrixInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMatrixResult> getMatrix(GetMatrixArgs args, InvokeOptions options)
    public static Output<GetMatrixResult> getMatrix(GetMatrixArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ise:trustsec/getMatrix:getMatrix
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The id of the object
    Name string
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    Id string
    The id of the object
    Name string
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    id String
    The id of the object
    name String
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    id string
    The id of the object
    name string
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    id str
    The id of the object
    name str
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    id String
    The id of the object
    name String
    The name of the TrustSec Matrix policy. Must be unique across all matrices.

    getMatrix Result

    The following output properties are available:

    CopyPolicyFrom string
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    DefconLevel string
    DEFCON Level for the TrustSec Matrix
    Description string
    Description of the TrustSec Matrix
    Id string
    The id of the object
    MatrixPolicyType string
    Trustsec Matrix Policy Type
    Name string
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    CopyPolicyFrom string
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    DefconLevel string
    DEFCON Level for the TrustSec Matrix
    Description string
    Description of the TrustSec Matrix
    Id string
    The id of the object
    MatrixPolicyType string
    Trustsec Matrix Policy Type
    Name string
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    copyPolicyFrom String
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    defconLevel String
    DEFCON Level for the TrustSec Matrix
    description String
    Description of the TrustSec Matrix
    id String
    The id of the object
    matrixPolicyType String
    Trustsec Matrix Policy Type
    name String
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    copyPolicyFrom string
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    defconLevel string
    DEFCON Level for the TrustSec Matrix
    description string
    Description of the TrustSec Matrix
    id string
    The id of the object
    matrixPolicyType string
    Trustsec Matrix Policy Type
    name string
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    copy_policy_from str
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    defcon_level str
    DEFCON Level for the TrustSec Matrix
    description str
    Description of the TrustSec Matrix
    id str
    The id of the object
    matrix_policy_type str
    Trustsec Matrix Policy Type
    name str
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    copyPolicyFrom String
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    defconLevel String
    DEFCON Level for the TrustSec Matrix
    description String
    Description of the TrustSec Matrix
    id String
    The id of the object
    matrixPolicyType String
    Trustsec Matrix Policy Type
    name String
    The name of the TrustSec Matrix policy. Must be unique across all matrices.

    Package Details

    Repository
    ise pulumi/pulumi-ise
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ise Terraform Provider.
    ise logo
    Viewing docs for Cisco ISE v0.3.0
    published on Saturday, Mar 7, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.