1. Packages
  2. Cisco ISE Provider
  3. API Docs
  4. trustsec
  5. EgressMatrixCellDefault
Cisco ISE v0.1.13 published on Thursday, Dec 19, 2024 by Pulumi

ise.trustsec.EgressMatrixCellDefault

Explore with Pulumi AI

ise logo
Cisco ISE v0.1.13 published on Thursday, Dec 19, 2024 by Pulumi

    Allows modifications to the default egress policy matrix rule

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ise from "@pulumi/ise";
    
    const example = new ise.trustsec.EgressMatrixCellDefault("example", {
        description: "Default egress rule",
        defaultRule: "PERMIT_IP",
        matrixCellStatus: "ENABLED",
    });
    
    import pulumi
    import pulumi_ise as ise
    
    example = ise.trustsec.EgressMatrixCellDefault("example",
        description="Default egress rule",
        default_rule="PERMIT_IP",
        matrix_cell_status="ENABLED")
    
    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.NewEgressMatrixCellDefault(ctx, "example", &trustsec.EgressMatrixCellDefaultArgs{
    			Description:      pulumi.String("Default egress rule"),
    			DefaultRule:      pulumi.String("PERMIT_IP"),
    			MatrixCellStatus: pulumi.String("ENABLED"),
    		})
    		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.EgressMatrixCellDefault("example", new()
        {
            Description = "Default egress rule",
            DefaultRule = "PERMIT_IP",
            MatrixCellStatus = "ENABLED",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ise.trustsec.EgressMatrixCellDefault;
    import com.pulumi.ise.trustsec.EgressMatrixCellDefaultArgs;
    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 EgressMatrixCellDefault("example", EgressMatrixCellDefaultArgs.builder()
                .description("Default egress rule")
                .defaultRule("PERMIT_IP")
                .matrixCellStatus("ENABLED")
                .build());
    
        }
    }
    
    resources:
      example:
        type: ise:trustsec:EgressMatrixCellDefault
        properties:
          description: Default egress rule
          defaultRule: PERMIT_IP
          matrixCellStatus: ENABLED
    

    Create EgressMatrixCellDefault Resource

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

    Constructor syntax

    new EgressMatrixCellDefault(name: string, args?: EgressMatrixCellDefaultArgs, opts?: CustomResourceOptions);
    @overload
    def EgressMatrixCellDefault(resource_name: str,
                                args: Optional[EgressMatrixCellDefaultArgs] = None,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def EgressMatrixCellDefault(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                default_rule: Optional[str] = None,
                                description: Optional[str] = None,
                                matrix_cell_status: Optional[str] = None,
                                sgacls: Optional[Sequence[str]] = None)
    func NewEgressMatrixCellDefault(ctx *Context, name string, args *EgressMatrixCellDefaultArgs, opts ...ResourceOption) (*EgressMatrixCellDefault, error)
    public EgressMatrixCellDefault(string name, EgressMatrixCellDefaultArgs? args = null, CustomResourceOptions? opts = null)
    public EgressMatrixCellDefault(String name, EgressMatrixCellDefaultArgs args)
    public EgressMatrixCellDefault(String name, EgressMatrixCellDefaultArgs args, CustomResourceOptions options)
    
    type: ise:trustsec:EgressMatrixCellDefault
    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 EgressMatrixCellDefaultArgs
    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 EgressMatrixCellDefaultArgs
    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 EgressMatrixCellDefaultArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EgressMatrixCellDefaultArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EgressMatrixCellDefaultArgs
    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 egressMatrixCellDefaultResource = new Ise.TrustSec.EgressMatrixCellDefault("egressMatrixCellDefaultResource", new()
    {
        DefaultRule = "string",
        Description = "string",
        MatrixCellStatus = "string",
        Sgacls = new[]
        {
            "string",
        },
    });
    
    example, err := trustsec.NewEgressMatrixCellDefault(ctx, "egressMatrixCellDefaultResource", &trustsec.EgressMatrixCellDefaultArgs{
    	DefaultRule:      pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	MatrixCellStatus: pulumi.String("string"),
    	Sgacls: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var egressMatrixCellDefaultResource = new EgressMatrixCellDefault("egressMatrixCellDefaultResource", EgressMatrixCellDefaultArgs.builder()
        .defaultRule("string")
        .description("string")
        .matrixCellStatus("string")
        .sgacls("string")
        .build());
    
    egress_matrix_cell_default_resource = ise.trustsec.EgressMatrixCellDefault("egressMatrixCellDefaultResource",
        default_rule="string",
        description="string",
        matrix_cell_status="string",
        sgacls=["string"])
    
    const egressMatrixCellDefaultResource = new ise.trustsec.EgressMatrixCellDefault("egressMatrixCellDefaultResource", {
        defaultRule: "string",
        description: "string",
        matrixCellStatus: "string",
        sgacls: ["string"],
    });
    
    type: ise:trustsec:EgressMatrixCellDefault
    properties:
        defaultRule: string
        description: string
        matrixCellStatus: string
        sgacls:
            - string
    

    EgressMatrixCellDefault Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EgressMatrixCellDefault resource accepts the following input properties:

    DefaultRule string
    Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
    Description string
    Description
    MatrixCellStatus string
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    Sgacls List<string>
    List of TrustSec Security Groups ACLs
    DefaultRule string
    Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
    Description string
    Description
    MatrixCellStatus string
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    Sgacls []string
    List of TrustSec Security Groups ACLs
    defaultRule String
    Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
    description String
    Description
    matrixCellStatus String
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    sgacls List<String>
    List of TrustSec Security Groups ACLs
    defaultRule string
    Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
    description string
    Description
    matrixCellStatus string
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    sgacls string[]
    List of TrustSec Security Groups ACLs
    default_rule str
    Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
    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
    defaultRule String
    Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
    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 EgressMatrixCellDefault 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 EgressMatrixCellDefault Resource

    Get an existing EgressMatrixCellDefault 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?: EgressMatrixCellDefaultState, opts?: CustomResourceOptions): EgressMatrixCellDefault
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            default_rule: Optional[str] = None,
            description: Optional[str] = None,
            matrix_cell_status: Optional[str] = None,
            sgacls: Optional[Sequence[str]] = None) -> EgressMatrixCellDefault
    func GetEgressMatrixCellDefault(ctx *Context, name string, id IDInput, state *EgressMatrixCellDefaultState, opts ...ResourceOption) (*EgressMatrixCellDefault, error)
    public static EgressMatrixCellDefault Get(string name, Input<string> id, EgressMatrixCellDefaultState? state, CustomResourceOptions? opts = null)
    public static EgressMatrixCellDefault get(String name, Output<String> id, EgressMatrixCellDefaultState state, CustomResourceOptions options)
    resources:  _:    type: ise:trustsec:EgressMatrixCellDefault    get:      id: ${id}
    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. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
    Description string
    Description
    MatrixCellStatus string
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    Sgacls List<string>
    List of TrustSec Security Groups ACLs
    DefaultRule string
    Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
    Description string
    Description
    MatrixCellStatus string
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    Sgacls []string
    List of TrustSec Security Groups ACLs
    defaultRule String
    Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
    description String
    Description
    matrixCellStatus String
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    sgacls List<String>
    List of TrustSec Security Groups ACLs
    defaultRule string
    Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
    description string
    Description
    matrixCellStatus string
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    sgacls string[]
    List of TrustSec Security Groups ACLs
    default_rule str
    Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
    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
    defaultRule String
    Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
    description String
    Description
    matrixCellStatus String
    Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
    sgacls List<String>
    List of TrustSec Security Groups ACLs

    Import

    $ pulumi import ise:trustsec/egressMatrixCellDefault:EgressMatrixCellDefault example "92c1a900-8c01-11e6-996c-525400b48521"
    

    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.13 published on Thursday, Dec 19, 2024 by Pulumi