1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. SystemIpv4DeviceAccessFeature
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

sdwan.SystemIpv4DeviceAccessFeature

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

    This resource can manage a System IPv4 Device Access Feature.

    • Minimum SD-WAN Manager version: 20.12.0

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.SystemIpv4DeviceAccessFeature;
    import com.pulumi.sdwan.SystemIpv4DeviceAccessFeatureArgs;
    import com.pulumi.sdwan.inputs.SystemIpv4DeviceAccessFeatureSequenceArgs;
    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 SystemIpv4DeviceAccessFeature("example", SystemIpv4DeviceAccessFeatureArgs.builder()
                .name("Example")
                .description("My Example")
                .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
                .defaultAction("drop")
                .sequences(SystemIpv4DeviceAccessFeatureSequenceArgs.builder()
                    .id(1)
                    .name("SEQ_1")
                    .base_action("accept")
                    .device_access_port(161)
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: sdwan:SystemIpv4DeviceAccessFeature
        properties:
          name: Example
          description: My Example
          featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
          defaultAction: drop
          sequences:
            - id: 1
              name: SEQ_1
              base_action: accept
              device_access_port: 161
    

    Create SystemIpv4DeviceAccessFeature Resource

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

    Constructor syntax

    new SystemIpv4DeviceAccessFeature(name: string, args: SystemIpv4DeviceAccessFeatureArgs, opts?: CustomResourceOptions);
    @overload
    def SystemIpv4DeviceAccessFeature(resource_name: str,
                                      args: SystemIpv4DeviceAccessFeatureArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def SystemIpv4DeviceAccessFeature(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      feature_profile_id: Optional[str] = None,
                                      default_action: Optional[str] = None,
                                      description: Optional[str] = None,
                                      name: Optional[str] = None,
                                      sequences: Optional[Sequence[SystemIpv4DeviceAccessFeatureSequenceArgs]] = None)
    func NewSystemIpv4DeviceAccessFeature(ctx *Context, name string, args SystemIpv4DeviceAccessFeatureArgs, opts ...ResourceOption) (*SystemIpv4DeviceAccessFeature, error)
    public SystemIpv4DeviceAccessFeature(string name, SystemIpv4DeviceAccessFeatureArgs args, CustomResourceOptions? opts = null)
    public SystemIpv4DeviceAccessFeature(String name, SystemIpv4DeviceAccessFeatureArgs args)
    public SystemIpv4DeviceAccessFeature(String name, SystemIpv4DeviceAccessFeatureArgs args, CustomResourceOptions options)
    
    type: sdwan:SystemIpv4DeviceAccessFeature
    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 SystemIpv4DeviceAccessFeatureArgs
    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 SystemIpv4DeviceAccessFeatureArgs
    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 SystemIpv4DeviceAccessFeatureArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SystemIpv4DeviceAccessFeatureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SystemIpv4DeviceAccessFeatureArgs
    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 systemIpv4DeviceAccessFeatureResource = new Sdwan.SystemIpv4DeviceAccessFeature("systemIpv4DeviceAccessFeatureResource", new()
    {
        FeatureProfileId = "string",
        DefaultAction = "string",
        Description = "string",
        Name = "string",
        Sequences = new[]
        {
            new Sdwan.Inputs.SystemIpv4DeviceAccessFeatureSequenceArgs
            {
                BaseAction = "string",
                DestinationDataPrefixListId = "string",
                DestinationIpPrefixListVariable = "string",
                DestinationIpPrefixLists = new[]
                {
                    "string",
                },
                DeviceAccessPort = 0,
                Id = 0,
                Name = "string",
                SourceDataPrefixListId = "string",
                SourceIpPrefixListVariable = "string",
                SourceIpPrefixLists = new[]
                {
                    "string",
                },
                SourcePorts = new[]
                {
                    0,
                },
            },
        },
    });
    
    example, err := sdwan.NewSystemIpv4DeviceAccessFeature(ctx, "systemIpv4DeviceAccessFeatureResource", &sdwan.SystemIpv4DeviceAccessFeatureArgs{
    	FeatureProfileId: pulumi.String("string"),
    	DefaultAction:    pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	Sequences: sdwan.SystemIpv4DeviceAccessFeatureSequenceArray{
    		&sdwan.SystemIpv4DeviceAccessFeatureSequenceArgs{
    			BaseAction:                      pulumi.String("string"),
    			DestinationDataPrefixListId:     pulumi.String("string"),
    			DestinationIpPrefixListVariable: pulumi.String("string"),
    			DestinationIpPrefixLists: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DeviceAccessPort:           pulumi.Int(0),
    			Id:                         pulumi.Int(0),
    			Name:                       pulumi.String("string"),
    			SourceDataPrefixListId:     pulumi.String("string"),
    			SourceIpPrefixListVariable: pulumi.String("string"),
    			SourceIpPrefixLists: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SourcePorts: pulumi.IntArray{
    				pulumi.Int(0),
    			},
    		},
    	},
    })
    
    var systemIpv4DeviceAccessFeatureResource = new SystemIpv4DeviceAccessFeature("systemIpv4DeviceAccessFeatureResource", SystemIpv4DeviceAccessFeatureArgs.builder()
        .featureProfileId("string")
        .defaultAction("string")
        .description("string")
        .name("string")
        .sequences(SystemIpv4DeviceAccessFeatureSequenceArgs.builder()
            .baseAction("string")
            .destinationDataPrefixListId("string")
            .destinationIpPrefixListVariable("string")
            .destinationIpPrefixLists("string")
            .deviceAccessPort(0)
            .id(0)
            .name("string")
            .sourceDataPrefixListId("string")
            .sourceIpPrefixListVariable("string")
            .sourceIpPrefixLists("string")
            .sourcePorts(0)
            .build())
        .build());
    
    system_ipv4_device_access_feature_resource = sdwan.SystemIpv4DeviceAccessFeature("systemIpv4DeviceAccessFeatureResource",
        feature_profile_id="string",
        default_action="string",
        description="string",
        name="string",
        sequences=[sdwan.SystemIpv4DeviceAccessFeatureSequenceArgs(
            base_action="string",
            destination_data_prefix_list_id="string",
            destination_ip_prefix_list_variable="string",
            destination_ip_prefix_lists=["string"],
            device_access_port=0,
            id=0,
            name="string",
            source_data_prefix_list_id="string",
            source_ip_prefix_list_variable="string",
            source_ip_prefix_lists=["string"],
            source_ports=[0],
        )])
    
    const systemIpv4DeviceAccessFeatureResource = new sdwan.SystemIpv4DeviceAccessFeature("systemIpv4DeviceAccessFeatureResource", {
        featureProfileId: "string",
        defaultAction: "string",
        description: "string",
        name: "string",
        sequences: [{
            baseAction: "string",
            destinationDataPrefixListId: "string",
            destinationIpPrefixListVariable: "string",
            destinationIpPrefixLists: ["string"],
            deviceAccessPort: 0,
            id: 0,
            name: "string",
            sourceDataPrefixListId: "string",
            sourceIpPrefixListVariable: "string",
            sourceIpPrefixLists: ["string"],
            sourcePorts: [0],
        }],
    });
    
    type: sdwan:SystemIpv4DeviceAccessFeature
    properties:
        defaultAction: string
        description: string
        featureProfileId: string
        name: string
        sequences:
            - baseAction: string
              destinationDataPrefixListId: string
              destinationIpPrefixListVariable: string
              destinationIpPrefixLists:
                - string
              deviceAccessPort: 0
              id: 0
              name: string
              sourceDataPrefixListId: string
              sourceIpPrefixListVariable: string
              sourceIpPrefixLists:
                - string
              sourcePorts:
                - 0
    

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

    FeatureProfileId string
    Feature Profile ID
    DefaultAction string
    Default Action - Choices: drop, accept - Default value: drop
    Description string
    The description of the Feature
    Name string
    The name of the Feature
    Sequences List<SystemIpv4DeviceAccessFeatureSequence>
    Device Access Control List
    FeatureProfileId string
    Feature Profile ID
    DefaultAction string
    Default Action - Choices: drop, accept - Default value: drop
    Description string
    The description of the Feature
    Name string
    The name of the Feature
    Sequences []SystemIpv4DeviceAccessFeatureSequenceArgs
    Device Access Control List
    featureProfileId String
    Feature Profile ID
    defaultAction String
    Default Action - Choices: drop, accept - Default value: drop
    description String
    The description of the Feature
    name String
    The name of the Feature
    sequences List<SystemIpv4DeviceAccessFeatureSequence>
    Device Access Control List
    featureProfileId string
    Feature Profile ID
    defaultAction string
    Default Action - Choices: drop, accept - Default value: drop
    description string
    The description of the Feature
    name string
    The name of the Feature
    sequences SystemIpv4DeviceAccessFeatureSequence[]
    Device Access Control List
    feature_profile_id str
    Feature Profile ID
    default_action str
    Default Action - Choices: drop, accept - Default value: drop
    description str
    The description of the Feature
    name str
    The name of the Feature
    sequences Sequence[SystemIpv4DeviceAccessFeatureSequenceArgs]
    Device Access Control List
    featureProfileId String
    Feature Profile ID
    defaultAction String
    Default Action - Choices: drop, accept - Default value: drop
    description String
    The description of the Feature
    name String
    The name of the Feature
    sequences List<Property Map>
    Device Access Control List

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Version int
    The version of the Feature
    Id string
    The provider-assigned unique ID for this managed resource.
    Version int
    The version of the Feature
    id String
    The provider-assigned unique ID for this managed resource.
    version Integer
    The version of the Feature
    id string
    The provider-assigned unique ID for this managed resource.
    version number
    The version of the Feature
    id str
    The provider-assigned unique ID for this managed resource.
    version int
    The version of the Feature
    id String
    The provider-assigned unique ID for this managed resource.
    version Number
    The version of the Feature

    Look up Existing SystemIpv4DeviceAccessFeature Resource

    Get an existing SystemIpv4DeviceAccessFeature 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?: SystemIpv4DeviceAccessFeatureState, opts?: CustomResourceOptions): SystemIpv4DeviceAccessFeature
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            default_action: Optional[str] = None,
            description: Optional[str] = None,
            feature_profile_id: Optional[str] = None,
            name: Optional[str] = None,
            sequences: Optional[Sequence[SystemIpv4DeviceAccessFeatureSequenceArgs]] = None,
            version: Optional[int] = None) -> SystemIpv4DeviceAccessFeature
    func GetSystemIpv4DeviceAccessFeature(ctx *Context, name string, id IDInput, state *SystemIpv4DeviceAccessFeatureState, opts ...ResourceOption) (*SystemIpv4DeviceAccessFeature, error)
    public static SystemIpv4DeviceAccessFeature Get(string name, Input<string> id, SystemIpv4DeviceAccessFeatureState? state, CustomResourceOptions? opts = null)
    public static SystemIpv4DeviceAccessFeature get(String name, Output<String> id, SystemIpv4DeviceAccessFeatureState 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:
    DefaultAction string
    Default Action - Choices: drop, accept - Default value: drop
    Description string
    The description of the Feature
    FeatureProfileId string
    Feature Profile ID
    Name string
    The name of the Feature
    Sequences List<SystemIpv4DeviceAccessFeatureSequence>
    Device Access Control List
    Version int
    The version of the Feature
    DefaultAction string
    Default Action - Choices: drop, accept - Default value: drop
    Description string
    The description of the Feature
    FeatureProfileId string
    Feature Profile ID
    Name string
    The name of the Feature
    Sequences []SystemIpv4DeviceAccessFeatureSequenceArgs
    Device Access Control List
    Version int
    The version of the Feature
    defaultAction String
    Default Action - Choices: drop, accept - Default value: drop
    description String
    The description of the Feature
    featureProfileId String
    Feature Profile ID
    name String
    The name of the Feature
    sequences List<SystemIpv4DeviceAccessFeatureSequence>
    Device Access Control List
    version Integer
    The version of the Feature
    defaultAction string
    Default Action - Choices: drop, accept - Default value: drop
    description string
    The description of the Feature
    featureProfileId string
    Feature Profile ID
    name string
    The name of the Feature
    sequences SystemIpv4DeviceAccessFeatureSequence[]
    Device Access Control List
    version number
    The version of the Feature
    default_action str
    Default Action - Choices: drop, accept - Default value: drop
    description str
    The description of the Feature
    feature_profile_id str
    Feature Profile ID
    name str
    The name of the Feature
    sequences Sequence[SystemIpv4DeviceAccessFeatureSequenceArgs]
    Device Access Control List
    version int
    The version of the Feature
    defaultAction String
    Default Action - Choices: drop, accept - Default value: drop
    description String
    The description of the Feature
    featureProfileId String
    Feature Profile ID
    name String
    The name of the Feature
    sequences List<Property Map>
    Device Access Control List
    version Number
    The version of the Feature

    Supporting Types

    SystemIpv4DeviceAccessFeatureSequence, SystemIpv4DeviceAccessFeatureSequenceArgs

    BaseAction string
    Base Action

    • Choices: drop, accept
    DestinationDataPrefixListId string
    DestinationIpPrefixListVariable string
    Variable name
    DestinationIpPrefixLists List<string>
    Destination Data IP Prefix List
    DeviceAccessPort int
    device access protocol
    Id int
    Sequence Id

    • Range: 1-65536
    Name string
    Sequence Name
    SourceDataPrefixListId string
    SourceIpPrefixListVariable string
    Variable name
    SourceIpPrefixLists List<string>
    Source Data IP Prefix List
    SourcePorts List<int>
    Source Port List
    BaseAction string
    Base Action

    • Choices: drop, accept
    DestinationDataPrefixListId string
    DestinationIpPrefixListVariable string
    Variable name
    DestinationIpPrefixLists []string
    Destination Data IP Prefix List
    DeviceAccessPort int
    device access protocol
    Id int
    Sequence Id

    • Range: 1-65536
    Name string
    Sequence Name
    SourceDataPrefixListId string
    SourceIpPrefixListVariable string
    Variable name
    SourceIpPrefixLists []string
    Source Data IP Prefix List
    SourcePorts []int
    Source Port List
    baseAction String
    Base Action

    • Choices: drop, accept
    destinationDataPrefixListId String
    destinationIpPrefixListVariable String
    Variable name
    destinationIpPrefixLists List<String>
    Destination Data IP Prefix List
    deviceAccessPort Integer
    device access protocol
    id Integer
    Sequence Id

    • Range: 1-65536
    name String
    Sequence Name
    sourceDataPrefixListId String
    sourceIpPrefixListVariable String
    Variable name
    sourceIpPrefixLists List<String>
    Source Data IP Prefix List
    sourcePorts List<Integer>
    Source Port List
    baseAction string
    Base Action

    • Choices: drop, accept
    destinationDataPrefixListId string
    destinationIpPrefixListVariable string
    Variable name
    destinationIpPrefixLists string[]
    Destination Data IP Prefix List
    deviceAccessPort number
    device access protocol
    id number
    Sequence Id

    • Range: 1-65536
    name string
    Sequence Name
    sourceDataPrefixListId string
    sourceIpPrefixListVariable string
    Variable name
    sourceIpPrefixLists string[]
    Source Data IP Prefix List
    sourcePorts number[]
    Source Port List
    base_action str
    Base Action

    • Choices: drop, accept
    destination_data_prefix_list_id str
    destination_ip_prefix_list_variable str
    Variable name
    destination_ip_prefix_lists Sequence[str]
    Destination Data IP Prefix List
    device_access_port int
    device access protocol
    id int
    Sequence Id

    • Range: 1-65536
    name str
    Sequence Name
    source_data_prefix_list_id str
    source_ip_prefix_list_variable str
    Variable name
    source_ip_prefix_lists Sequence[str]
    Source Data IP Prefix List
    source_ports Sequence[int]
    Source Port List
    baseAction String
    Base Action

    • Choices: drop, accept
    destinationDataPrefixListId String
    destinationIpPrefixListVariable String
    Variable name
    destinationIpPrefixLists List<String>
    Destination Data IP Prefix List
    deviceAccessPort Number
    device access protocol
    id Number
    Sequence Id

    • Range: 1-65536
    name String
    Sequence Name
    sourceDataPrefixListId String
    sourceIpPrefixListVariable String
    Variable name
    sourceIpPrefixLists List<String>
    Source Data IP Prefix List
    sourcePorts List<Number>
    Source Port List

    Import

    $ pulumi import sdwan:index/systemIpv4DeviceAccessFeature:SystemIpv4DeviceAccessFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd"
    

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

    Package Details

    Repository
    sdwan pulumi/pulumi-sdwan
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi