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

ise.trustsec.IpToSgtMappingGroup

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 IP to SGT Mapping Group.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ise from "@pulumi/ise";
    
    const example = new ise.trustsec.IpToSgtMappingGroup("example", {
        name: "groupA",
        deployType: "ALL",
        sgt: "93e1bf00-8c01-11e6-996c-525400b48521",
    });
    
    import pulumi
    import pulumi_ise as ise
    
    example = ise.trustsec.IpToSgtMappingGroup("example",
        name="groupA",
        deploy_type="ALL",
        sgt="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.NewIpToSgtMappingGroup(ctx, "example", &trustsec.IpToSgtMappingGroupArgs{
    			Name:       pulumi.String("groupA"),
    			DeployType: pulumi.String("ALL"),
    			Sgt:        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.IpToSgtMappingGroup("example", new()
        {
            Name = "groupA",
            DeployType = "ALL",
            Sgt = "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.IpToSgtMappingGroup;
    import com.pulumi.ise.trustsec.IpToSgtMappingGroupArgs;
    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 IpToSgtMappingGroup("example", IpToSgtMappingGroupArgs.builder()
                .name("groupA")
                .deployType("ALL")
                .sgt("93e1bf00-8c01-11e6-996c-525400b48521")
                .build());
    
        }
    }
    
    resources:
      example:
        type: ise:trustsec:IpToSgtMappingGroup
        properties:
          name: groupA
          deployType: ALL
          sgt: 93e1bf00-8c01-11e6-996c-525400b48521
    

    Create IpToSgtMappingGroup Resource

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

    Constructor syntax

    new IpToSgtMappingGroup(name: string, args: IpToSgtMappingGroupArgs, opts?: CustomResourceOptions);
    @overload
    def IpToSgtMappingGroup(resource_name: str,
                            args: IpToSgtMappingGroupArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def IpToSgtMappingGroup(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            deploy_type: Optional[str] = None,
                            sgt: Optional[str] = None,
                            deploy_to: Optional[str] = None,
                            description: Optional[str] = None,
                            name: Optional[str] = None)
    func NewIpToSgtMappingGroup(ctx *Context, name string, args IpToSgtMappingGroupArgs, opts ...ResourceOption) (*IpToSgtMappingGroup, error)
    public IpToSgtMappingGroup(string name, IpToSgtMappingGroupArgs args, CustomResourceOptions? opts = null)
    public IpToSgtMappingGroup(String name, IpToSgtMappingGroupArgs args)
    public IpToSgtMappingGroup(String name, IpToSgtMappingGroupArgs args, CustomResourceOptions options)
    
    type: ise:trustsec:IpToSgtMappingGroup
    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 IpToSgtMappingGroupArgs
    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 IpToSgtMappingGroupArgs
    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 IpToSgtMappingGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IpToSgtMappingGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IpToSgtMappingGroupArgs
    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 ipToSgtMappingGroupResource = new Ise.TrustSec.IpToSgtMappingGroup("ipToSgtMappingGroupResource", new()
    {
        DeployType = "string",
        Sgt = "string",
        DeployTo = "string",
        Description = "string",
        Name = "string",
    });
    
    example, err := trustsec.NewIpToSgtMappingGroup(ctx, "ipToSgtMappingGroupResource", &trustsec.IpToSgtMappingGroupArgs{
    	DeployType:  pulumi.String("string"),
    	Sgt:         pulumi.String("string"),
    	DeployTo:    pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    var ipToSgtMappingGroupResource = new IpToSgtMappingGroup("ipToSgtMappingGroupResource", IpToSgtMappingGroupArgs.builder()
        .deployType("string")
        .sgt("string")
        .deployTo("string")
        .description("string")
        .name("string")
        .build());
    
    ip_to_sgt_mapping_group_resource = ise.trustsec.IpToSgtMappingGroup("ipToSgtMappingGroupResource",
        deploy_type="string",
        sgt="string",
        deploy_to="string",
        description="string",
        name="string")
    
    const ipToSgtMappingGroupResource = new ise.trustsec.IpToSgtMappingGroup("ipToSgtMappingGroupResource", {
        deployType: "string",
        sgt: "string",
        deployTo: "string",
        description: "string",
        name: "string",
    });
    
    type: ise:trustsec:IpToSgtMappingGroup
    properties:
        deployTo: string
        deployType: string
        description: string
        name: string
        sgt: string
    

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

    DeployType string
    Deploy Type - Choices: ALL, ND, NDG
    Sgt string
    Trustsec Security Group ID
    DeployTo string
    Mandatory unless deploy_type is ALL
    Description string
    Description
    Name string
    The name of the IP to SGT mapping Group
    DeployType string
    Deploy Type - Choices: ALL, ND, NDG
    Sgt string
    Trustsec Security Group ID
    DeployTo string
    Mandatory unless deploy_type is ALL
    Description string
    Description
    Name string
    The name of the IP to SGT mapping Group
    deployType String
    Deploy Type - Choices: ALL, ND, NDG
    sgt String
    Trustsec Security Group ID
    deployTo String
    Mandatory unless deploy_type is ALL
    description String
    Description
    name String
    The name of the IP to SGT mapping Group
    deployType string
    Deploy Type - Choices: ALL, ND, NDG
    sgt string
    Trustsec Security Group ID
    deployTo string
    Mandatory unless deploy_type is ALL
    description string
    Description
    name string
    The name of the IP to SGT mapping Group
    deploy_type str
    Deploy Type - Choices: ALL, ND, NDG
    sgt str
    Trustsec Security Group ID
    deploy_to str
    Mandatory unless deploy_type is ALL
    description str
    Description
    name str
    The name of the IP to SGT mapping Group
    deployType String
    Deploy Type - Choices: ALL, ND, NDG
    sgt String
    Trustsec Security Group ID
    deployTo String
    Mandatory unless deploy_type is ALL
    description String
    Description
    name String
    The name of the IP to SGT mapping Group

    Outputs

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

    Get an existing IpToSgtMappingGroup 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?: IpToSgtMappingGroupState, opts?: CustomResourceOptions): IpToSgtMappingGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            deploy_to: Optional[str] = None,
            deploy_type: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            sgt: Optional[str] = None) -> IpToSgtMappingGroup
    func GetIpToSgtMappingGroup(ctx *Context, name string, id IDInput, state *IpToSgtMappingGroupState, opts ...ResourceOption) (*IpToSgtMappingGroup, error)
    public static IpToSgtMappingGroup Get(string name, Input<string> id, IpToSgtMappingGroupState? state, CustomResourceOptions? opts = null)
    public static IpToSgtMappingGroup get(String name, Output<String> id, IpToSgtMappingGroupState 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:
    DeployTo string
    Mandatory unless deploy_type is ALL
    DeployType string
    Deploy Type - Choices: ALL, ND, NDG
    Description string
    Description
    Name string
    The name of the IP to SGT mapping Group
    Sgt string
    Trustsec Security Group ID
    DeployTo string
    Mandatory unless deploy_type is ALL
    DeployType string
    Deploy Type - Choices: ALL, ND, NDG
    Description string
    Description
    Name string
    The name of the IP to SGT mapping Group
    Sgt string
    Trustsec Security Group ID
    deployTo String
    Mandatory unless deploy_type is ALL
    deployType String
    Deploy Type - Choices: ALL, ND, NDG
    description String
    Description
    name String
    The name of the IP to SGT mapping Group
    sgt String
    Trustsec Security Group ID
    deployTo string
    Mandatory unless deploy_type is ALL
    deployType string
    Deploy Type - Choices: ALL, ND, NDG
    description string
    Description
    name string
    The name of the IP to SGT mapping Group
    sgt string
    Trustsec Security Group ID
    deploy_to str
    Mandatory unless deploy_type is ALL
    deploy_type str
    Deploy Type - Choices: ALL, ND, NDG
    description str
    Description
    name str
    The name of the IP to SGT mapping Group
    sgt str
    Trustsec Security Group ID
    deployTo String
    Mandatory unless deploy_type is ALL
    deployType String
    Deploy Type - Choices: ALL, ND, NDG
    description String
    Description
    name String
    The name of the IP to SGT mapping Group
    sgt String
    Trustsec Security Group ID

    Import

    $ pulumi import ise:trustsec/ipToSgtMappingGroup:IpToSgtMappingGroup 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