1. Packages
  2. Cisco ISE
  3. API Docs
  4. trustsec
  5. EgressMatrixCell
Cisco ISE v0.1.4 published on Friday, May 31, 2024 by Pulumi

ise.trustsec.EgressMatrixCell

Explore with Pulumi AI

ise logo
Cisco ISE v0.1.4 published on Friday, May 31, 2024 by Pulumi

    This resource can manage a TrustSec Egress Matrix Cell.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ise from "@pulumi/ise";
    
    const example = new ise.trustsec.EgressMatrixCell("example", {
        description: "EgressMatrixCell Description",
        defaultRule: "NONE",
        matrixCellStatus: "ENABLED",
        sgacls: ["26b76b10-66e6-11ee-9cc1-9eb2a3ecc82a, 9d64dcd0-6384-11ee-9cc1-9eb2a3ecc82a"],
        sourceSgtId: "93c66ed0-8c01-11e6-996c-525400b48521",
        destinationSgtId: "93e1bf00-8c01-11e6-996c-525400b48521",
    });
    
    import pulumi
    import pulumi_ise as ise
    
    example = ise.trustsec.EgressMatrixCell("example",
        description="EgressMatrixCell Description",
        default_rule="NONE",
        matrix_cell_status="ENABLED",
        sgacls=["26b76b10-66e6-11ee-9cc1-9eb2a3ecc82a, 9d64dcd0-6384-11ee-9cc1-9eb2a3ecc82a"],
        source_sgt_id="93c66ed0-8c01-11e6-996c-525400b48521",
        destination_sgt_id="93e1bf00-8c01-11e6-996c-525400b48521")
    
    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.NewEgressMatrixCell(ctx, "example", &trustsec.EgressMatrixCellArgs{
    			Description:      pulumi.String("EgressMatrixCell Description"),
    			DefaultRule:      pulumi.String("NONE"),
    			MatrixCellStatus: pulumi.String("ENABLED"),
    			Sgacls: pulumi.StringArray{
    				pulumi.String("26b76b10-66e6-11ee-9cc1-9eb2a3ecc82a, 9d64dcd0-6384-11ee-9cc1-9eb2a3ecc82a"),
    			},
    			SourceSgtId:      pulumi.String("93c66ed0-8c01-11e6-996c-525400b48521"),
    			DestinationSgtId: pulumi.String("93e1bf00-8c01-11e6-996c-525400b48521"),
    		})
    		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 = new Ise.TrustSec.EgressMatrixCell("example", new()
        {
            Description = "EgressMatrixCell Description",
            DefaultRule = "NONE",
            MatrixCellStatus = "ENABLED",
            Sgacls = new[]
            {
                "26b76b10-66e6-11ee-9cc1-9eb2a3ecc82a, 9d64dcd0-6384-11ee-9cc1-9eb2a3ecc82a",
            },
            SourceSgtId = "93c66ed0-8c01-11e6-996c-525400b48521",
            DestinationSgtId = "93e1bf00-8c01-11e6-996c-525400b48521",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ise.trustsec.EgressMatrixCell;
    import com.pulumi.ise.trustsec.EgressMatrixCellArgs;
    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) {
            var example = new EgressMatrixCell("example", EgressMatrixCellArgs.builder()
                .description("EgressMatrixCell Description")
                .defaultRule("NONE")
                .matrixCellStatus("ENABLED")
                .sgacls("26b76b10-66e6-11ee-9cc1-9eb2a3ecc82a, 9d64dcd0-6384-11ee-9cc1-9eb2a3ecc82a")
                .sourceSgtId("93c66ed0-8c01-11e6-996c-525400b48521")
                .destinationSgtId("93e1bf00-8c01-11e6-996c-525400b48521")
                .build());
    
        }
    }
    
    resources:
      example:
        type: ise:trustsec:EgressMatrixCell
        properties:
          description: EgressMatrixCell Description
          defaultRule: NONE
          matrixCellStatus: ENABLED
          sgacls:
            - 26b76b10-66e6-11ee-9cc1-9eb2a3ecc82a, 9d64dcd0-6384-11ee-9cc1-9eb2a3ecc82a
          sourceSgtId: 93c66ed0-8c01-11e6-996c-525400b48521
          destinationSgtId: 93e1bf00-8c01-11e6-996c-525400b48521
    

    Create EgressMatrixCell Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EgressMatrixCell(name: string, args: EgressMatrixCellArgs, opts?: CustomResourceOptions);
    @overload
    def EgressMatrixCell(resource_name: str,
                         args: EgressMatrixCellArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def EgressMatrixCell(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         destination_sgt_id: Optional[str] = None,
                         source_sgt_id: Optional[str] = None,
                         default_rule: Optional[str] = None,
                         description: Optional[str] = None,
                         matrix_cell_status: Optional[str] = None,
                         sgacls: Optional[Sequence[str]] = None)
    func NewEgressMatrixCell(ctx *Context, name string, args EgressMatrixCellArgs, opts ...ResourceOption) (*EgressMatrixCell, error)
    public EgressMatrixCell(string name, EgressMatrixCellArgs args, CustomResourceOptions? opts = null)
    public EgressMatrixCell(String name, EgressMatrixCellArgs args)
    public EgressMatrixCell(String name, EgressMatrixCellArgs args, CustomResourceOptions options)
    
    type: ise:trustsec:EgressMatrixCell
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EgressMatrixCellArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EgressMatrixCellArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EgressMatrixCellArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EgressMatrixCellArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EgressMatrixCellArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var egressMatrixCellResource = new Ise.TrustSec.EgressMatrixCell("egressMatrixCellResource", new()
    {
        DestinationSgtId = "string",
        SourceSgtId = "string",
        DefaultRule = "string",
        Description = "string",
        MatrixCellStatus = "string",
        Sgacls = new[]
        {
            "string",
        },
    });
    
    example, err := trustsec.NewEgressMatrixCell(ctx, "egressMatrixCellResource", &trustsec.EgressMatrixCellArgs{
    	DestinationSgtId: pulumi.String("string"),
    	SourceSgtId:      pulumi.String("string"),
    	DefaultRule:      pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	MatrixCellStatus: pulumi.String("string"),
    	Sgacls: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var egressMatrixCellResource = new EgressMatrixCell("egressMatrixCellResource", EgressMatrixCellArgs.builder()
        .destinationSgtId("string")
        .sourceSgtId("string")
        .defaultRule("string")
        .description("string")
        .matrixCellStatus("string")
        .sgacls("string")
        .build());
    
    egress_matrix_cell_resource = ise.trustsec.EgressMatrixCell("egressMatrixCellResource",
        destination_sgt_id="string",
        source_sgt_id="string",
        default_rule="string",
        description="string",
        matrix_cell_status="string",
        sgacls=["string"])
    
    const egressMatrixCellResource = new ise.trustsec.EgressMatrixCell("egressMatrixCellResource", {
        destinationSgtId: "string",
        sourceSgtId: "string",
        defaultRule: "string",
        description: "string",
        matrixCellStatus: "string",
        sgacls: ["string"],
    });
    
    type: ise:trustsec:EgressMatrixCell
    properties:
        defaultRule: string
        description: string
        destinationSgtId: string
        matrixCellStatus: string
        sgacls:
            - string
        sourceSgtId: string
    

    EgressMatrixCell Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The EgressMatrixCell resource accepts the following input properties:

    DestinationSgtId string
    Destination Trustsec Security Group ID
    SourceSgtId string
    Source Trustsec Security Group ID
    DefaultRule string
    Can be used only if sgacls not specified. - Choices: NONE, DENY_IP, PERMIT_IP - Default value: NONE
    Description string
    Description
    MatrixCellStatus string
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    Sgacls List<string>
    List of TrustSec Security Groups ACLs
    DestinationSgtId string
    Destination Trustsec Security Group ID
    SourceSgtId string
    Source Trustsec Security Group ID
    DefaultRule string
    Can be used only if sgacls not specified. - Choices: NONE, DENY_IP, PERMIT_IP - Default value: NONE
    Description string
    Description
    MatrixCellStatus string
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    Sgacls []string
    List of TrustSec Security Groups ACLs
    destinationSgtId String
    Destination Trustsec Security Group ID
    sourceSgtId String
    Source Trustsec Security Group ID
    defaultRule String
    Can be used only if sgacls not specified. - Choices: NONE, DENY_IP, PERMIT_IP - Default value: NONE
    description String
    Description
    matrixCellStatus String
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    sgacls List<String>
    List of TrustSec Security Groups ACLs
    destinationSgtId string
    Destination Trustsec Security Group ID
    sourceSgtId string
    Source Trustsec Security Group ID
    defaultRule string
    Can be used only if sgacls not specified. - Choices: NONE, DENY_IP, PERMIT_IP - Default value: NONE
    description string
    Description
    matrixCellStatus string
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    sgacls string[]
    List of TrustSec Security Groups ACLs
    destination_sgt_id str
    Destination Trustsec Security Group ID
    source_sgt_id str
    Source Trustsec Security Group ID
    default_rule str
    Can be used only if sgacls not specified. - Choices: NONE, DENY_IP, PERMIT_IP - Default value: NONE
    description str
    Description
    matrix_cell_status str
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    sgacls Sequence[str]
    List of TrustSec Security Groups ACLs
    destinationSgtId String
    Destination Trustsec Security Group ID
    sourceSgtId String
    Source Trustsec Security Group ID
    defaultRule String
    Can be used only if sgacls not specified. - Choices: NONE, DENY_IP, PERMIT_IP - Default value: NONE
    description String
    Description
    matrixCellStatus String
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    sgacls List<String>
    List of TrustSec Security Groups ACLs

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EgressMatrixCell resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing EgressMatrixCell Resource

    Get an existing EgressMatrixCell resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EgressMatrixCellState, opts?: CustomResourceOptions): EgressMatrixCell
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            default_rule: Optional[str] = None,
            description: Optional[str] = None,
            destination_sgt_id: Optional[str] = None,
            matrix_cell_status: Optional[str] = None,
            sgacls: Optional[Sequence[str]] = None,
            source_sgt_id: Optional[str] = None) -> EgressMatrixCell
    func GetEgressMatrixCell(ctx *Context, name string, id IDInput, state *EgressMatrixCellState, opts ...ResourceOption) (*EgressMatrixCell, error)
    public static EgressMatrixCell Get(string name, Input<string> id, EgressMatrixCellState? state, CustomResourceOptions? opts = null)
    public static EgressMatrixCell get(String name, Output<String> id, EgressMatrixCellState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DefaultRule string
    Can be used only if sgacls not specified. - Choices: NONE, DENY_IP, PERMIT_IP - Default value: NONE
    Description string
    Description
    DestinationSgtId string
    Destination Trustsec Security Group ID
    MatrixCellStatus string
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    Sgacls List<string>
    List of TrustSec Security Groups ACLs
    SourceSgtId string
    Source Trustsec Security Group ID
    DefaultRule string
    Can be used only if sgacls not specified. - Choices: NONE, DENY_IP, PERMIT_IP - Default value: NONE
    Description string
    Description
    DestinationSgtId string
    Destination Trustsec Security Group ID
    MatrixCellStatus string
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    Sgacls []string
    List of TrustSec Security Groups ACLs
    SourceSgtId string
    Source Trustsec Security Group ID
    defaultRule String
    Can be used only if sgacls not specified. - Choices: NONE, DENY_IP, PERMIT_IP - Default value: NONE
    description String
    Description
    destinationSgtId String
    Destination Trustsec Security Group ID
    matrixCellStatus String
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    sgacls List<String>
    List of TrustSec Security Groups ACLs
    sourceSgtId String
    Source Trustsec Security Group ID
    defaultRule string
    Can be used only if sgacls not specified. - Choices: NONE, DENY_IP, PERMIT_IP - Default value: NONE
    description string
    Description
    destinationSgtId string
    Destination Trustsec Security Group ID
    matrixCellStatus string
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    sgacls string[]
    List of TrustSec Security Groups ACLs
    sourceSgtId string
    Source Trustsec Security Group ID
    default_rule str
    Can be used only if sgacls not specified. - Choices: NONE, DENY_IP, PERMIT_IP - Default value: NONE
    description str
    Description
    destination_sgt_id str
    Destination Trustsec Security Group ID
    matrix_cell_status str
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    sgacls Sequence[str]
    List of TrustSec Security Groups ACLs
    source_sgt_id str
    Source Trustsec Security Group ID
    defaultRule String
    Can be used only if sgacls not specified. - Choices: NONE, DENY_IP, PERMIT_IP - Default value: NONE
    description String
    Description
    destinationSgtId String
    Destination Trustsec Security Group ID
    matrixCellStatus String
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    sgacls List<String>
    List of TrustSec Security Groups ACLs
    sourceSgtId String
    Source Trustsec Security Group ID

    Import

    $ pulumi import ise:trustsec/egressMatrixCell:EgressMatrixCell example "76d24097-41c4-4558-a4d0-a8c07ac08470"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ise pulumi/pulumi-ise
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ise Terraform Provider.
    ise logo
    Cisco ISE v0.1.4 published on Friday, May 31, 2024 by Pulumi