1. Packages
  2. Cisco ISE
  3. API Docs
  4. trustsec
  5. SxpDomainFilter
Cisco ISE v0.1.10 published on Tuesday, Nov 19, 2024 by Pulumi

ise.trustsec.SxpDomainFilter

Explore with Pulumi AI

ise logo
Cisco ISE v0.1.10 published on Tuesday, Nov 19, 2024 by Pulumi

    This resource can manage a SXP Domain Filter.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ise from "@pulumi/ise";
    
    const example = new ise.trustsec.SxpDomainFilter("example", {
        subnet: "1.0.0.0/24",
        vn: "VN1",
        domains: "default",
    });
    
    import pulumi
    import pulumi_ise as ise
    
    example = ise.trustsec.SxpDomainFilter("example",
        subnet="1.0.0.0/24",
        vn="VN1",
        domains="default")
    
    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.NewSxpDomainFilter(ctx, "example", &trustsec.SxpDomainFilterArgs{
    			Subnet:  pulumi.String("1.0.0.0/24"),
    			Vn:      pulumi.String("VN1"),
    			Domains: pulumi.String("default"),
    		})
    		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.SxpDomainFilter("example", new()
        {
            Subnet = "1.0.0.0/24",
            Vn = "VN1",
            Domains = "default",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ise.trustsec.SxpDomainFilter;
    import com.pulumi.ise.trustsec.SxpDomainFilterArgs;
    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 SxpDomainFilter("example", SxpDomainFilterArgs.builder()
                .subnet("1.0.0.0/24")
                .vn("VN1")
                .domains("default")
                .build());
    
        }
    }
    
    resources:
      example:
        type: ise:trustsec:SxpDomainFilter
        properties:
          subnet: 1.0.0.0/24
          vn: VN1
          domains: default
    

    Create SxpDomainFilter Resource

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

    Constructor syntax

    new SxpDomainFilter(name: string, args: SxpDomainFilterArgs, opts?: CustomResourceOptions);
    @overload
    def SxpDomainFilter(resource_name: str,
                        args: SxpDomainFilterArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def SxpDomainFilter(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        domains: Optional[str] = None,
                        description: Optional[str] = None,
                        name: Optional[str] = None,
                        sgt: Optional[str] = None,
                        subnet: Optional[str] = None,
                        vn: Optional[str] = None)
    func NewSxpDomainFilter(ctx *Context, name string, args SxpDomainFilterArgs, opts ...ResourceOption) (*SxpDomainFilter, error)
    public SxpDomainFilter(string name, SxpDomainFilterArgs args, CustomResourceOptions? opts = null)
    public SxpDomainFilter(String name, SxpDomainFilterArgs args)
    public SxpDomainFilter(String name, SxpDomainFilterArgs args, CustomResourceOptions options)
    
    type: ise:trustsec:SxpDomainFilter
    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 SxpDomainFilterArgs
    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 SxpDomainFilterArgs
    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 SxpDomainFilterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SxpDomainFilterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SxpDomainFilterArgs
    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 sxpDomainFilterResource = new Ise.TrustSec.SxpDomainFilter("sxpDomainFilterResource", new()
    {
        Domains = "string",
        Description = "string",
        Name = "string",
        Sgt = "string",
        Subnet = "string",
        Vn = "string",
    });
    
    example, err := trustsec.NewSxpDomainFilter(ctx, "sxpDomainFilterResource", &trustsec.SxpDomainFilterArgs{
    	Domains:     pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Sgt:         pulumi.String("string"),
    	Subnet:      pulumi.String("string"),
    	Vn:          pulumi.String("string"),
    })
    
    var sxpDomainFilterResource = new SxpDomainFilter("sxpDomainFilterResource", SxpDomainFilterArgs.builder()
        .domains("string")
        .description("string")
        .name("string")
        .sgt("string")
        .subnet("string")
        .vn("string")
        .build());
    
    sxp_domain_filter_resource = ise.trustsec.SxpDomainFilter("sxpDomainFilterResource",
        domains="string",
        description="string",
        name="string",
        sgt="string",
        subnet="string",
        vn="string")
    
    const sxpDomainFilterResource = new ise.trustsec.SxpDomainFilter("sxpDomainFilterResource", {
        domains: "string",
        description: "string",
        name: "string",
        sgt: "string",
        subnet: "string",
        vn: "string",
    });
    
    type: ise:trustsec:SxpDomainFilter
    properties:
        description: string
        domains: string
        name: string
        sgt: string
        subnet: string
        vn: string
    

    SxpDomainFilter 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 SxpDomainFilter resource accepts the following input properties:

    Domains string
    List of SXP Domains, separated with comma
    Description string
    Description
    Name string
    Resource name
    Sgt string
    SGT name or ID. At least one of subnet or sgt or vn should be defined
    Subnet string
    Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined
    Vn string
    Virtual Network. At least one of subnet or sgt or vn should be defined
    Domains string
    List of SXP Domains, separated with comma
    Description string
    Description
    Name string
    Resource name
    Sgt string
    SGT name or ID. At least one of subnet or sgt or vn should be defined
    Subnet string
    Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined
    Vn string
    Virtual Network. At least one of subnet or sgt or vn should be defined
    domains String
    List of SXP Domains, separated with comma
    description String
    Description
    name String
    Resource name
    sgt String
    SGT name or ID. At least one of subnet or sgt or vn should be defined
    subnet String
    Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined
    vn String
    Virtual Network. At least one of subnet or sgt or vn should be defined
    domains string
    List of SXP Domains, separated with comma
    description string
    Description
    name string
    Resource name
    sgt string
    SGT name or ID. At least one of subnet or sgt or vn should be defined
    subnet string
    Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined
    vn string
    Virtual Network. At least one of subnet or sgt or vn should be defined
    domains str
    List of SXP Domains, separated with comma
    description str
    Description
    name str
    Resource name
    sgt str
    SGT name or ID. At least one of subnet or sgt or vn should be defined
    subnet str
    Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined
    vn str
    Virtual Network. At least one of subnet or sgt or vn should be defined
    domains String
    List of SXP Domains, separated with comma
    description String
    Description
    name String
    Resource name
    sgt String
    SGT name or ID. At least one of subnet or sgt or vn should be defined
    subnet String
    Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined
    vn String
    Virtual Network. At least one of subnet or sgt or vn should be defined

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SxpDomainFilter 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 SxpDomainFilter Resource

    Get an existing SxpDomainFilter 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?: SxpDomainFilterState, opts?: CustomResourceOptions): SxpDomainFilter
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            domains: Optional[str] = None,
            name: Optional[str] = None,
            sgt: Optional[str] = None,
            subnet: Optional[str] = None,
            vn: Optional[str] = None) -> SxpDomainFilter
    func GetSxpDomainFilter(ctx *Context, name string, id IDInput, state *SxpDomainFilterState, opts ...ResourceOption) (*SxpDomainFilter, error)
    public static SxpDomainFilter Get(string name, Input<string> id, SxpDomainFilterState? state, CustomResourceOptions? opts = null)
    public static SxpDomainFilter get(String name, Output<String> id, SxpDomainFilterState 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:
    Description string
    Description
    Domains string
    List of SXP Domains, separated with comma
    Name string
    Resource name
    Sgt string
    SGT name or ID. At least one of subnet or sgt or vn should be defined
    Subnet string
    Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined
    Vn string
    Virtual Network. At least one of subnet or sgt or vn should be defined
    Description string
    Description
    Domains string
    List of SXP Domains, separated with comma
    Name string
    Resource name
    Sgt string
    SGT name or ID. At least one of subnet or sgt or vn should be defined
    Subnet string
    Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined
    Vn string
    Virtual Network. At least one of subnet or sgt or vn should be defined
    description String
    Description
    domains String
    List of SXP Domains, separated with comma
    name String
    Resource name
    sgt String
    SGT name or ID. At least one of subnet or sgt or vn should be defined
    subnet String
    Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined
    vn String
    Virtual Network. At least one of subnet or sgt or vn should be defined
    description string
    Description
    domains string
    List of SXP Domains, separated with comma
    name string
    Resource name
    sgt string
    SGT name or ID. At least one of subnet or sgt or vn should be defined
    subnet string
    Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined
    vn string
    Virtual Network. At least one of subnet or sgt or vn should be defined
    description str
    Description
    domains str
    List of SXP Domains, separated with comma
    name str
    Resource name
    sgt str
    SGT name or ID. At least one of subnet or sgt or vn should be defined
    subnet str
    Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined
    vn str
    Virtual Network. At least one of subnet or sgt or vn should be defined
    description String
    Description
    domains String
    List of SXP Domains, separated with comma
    name String
    Resource name
    sgt String
    SGT name or ID. At least one of subnet or sgt or vn should be defined
    subnet String
    Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined
    vn String
    Virtual Network. At least one of subnet or sgt or vn should be defined

    Import

    $ pulumi import ise:trustsec/sxpDomainFilter:SxpDomainFilter 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.10 published on Tuesday, Nov 19, 2024 by Pulumi