sdwan.SystemIpv4DeviceAccessFeature
Explore with Pulumi AI
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:
- Feature
Profile stringId - Feature Profile ID
- Default
Action 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<System
Ipv4Device Access Feature Sequence> - Device Access Control List
- Feature
Profile stringId - Feature Profile ID
- Default
Action string - Default Action - Choices:
drop
,accept
- Default value:drop
- Description string
- The description of the Feature
- Name string
- The name of the Feature
- Sequences
[]System
Ipv4Device Access Feature Sequence Args - Device Access Control List
- feature
Profile StringId - Feature Profile ID
- default
Action 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<System
Ipv4Device Access Feature Sequence> - Device Access Control List
- feature
Profile stringId - Feature Profile ID
- default
Action string - Default Action - Choices:
drop
,accept
- Default value:drop
- description string
- The description of the Feature
- name string
- The name of the Feature
- sequences
System
Ipv4Device Access Feature Sequence[] - Device Access Control List
- feature_
profile_ strid - 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[System
Ipv4Device Access Feature Sequence Args] - Device Access Control List
- feature
Profile StringId - Feature Profile ID
- default
Action 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:
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.
- Default
Action string - Default Action - Choices:
drop
,accept
- Default value:drop
- Description string
- The description of the Feature
- Feature
Profile stringId - Feature Profile ID
- Name string
- The name of the Feature
- Sequences
List<System
Ipv4Device Access Feature Sequence> - Device Access Control List
- Version int
- The version of the Feature
- Default
Action string - Default Action - Choices:
drop
,accept
- Default value:drop
- Description string
- The description of the Feature
- Feature
Profile stringId - Feature Profile ID
- Name string
- The name of the Feature
- Sequences
[]System
Ipv4Device Access Feature Sequence Args - Device Access Control List
- Version int
- The version of the Feature
- default
Action String - Default Action - Choices:
drop
,accept
- Default value:drop
- description String
- The description of the Feature
- feature
Profile StringId - Feature Profile ID
- name String
- The name of the Feature
- sequences
List<System
Ipv4Device Access Feature Sequence> - Device Access Control List
- version Integer
- The version of the Feature
- default
Action string - Default Action - Choices:
drop
,accept
- Default value:drop
- description string
- The description of the Feature
- feature
Profile stringId - Feature Profile ID
- name string
- The name of the Feature
- sequences
System
Ipv4Device Access Feature Sequence[] - 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_ strid - Feature Profile ID
- name str
- The name of the Feature
- sequences
Sequence[System
Ipv4Device Access Feature Sequence Args] - Device Access Control List
- version int
- The version of the Feature
- default
Action String - Default Action - Choices:
drop
,accept
- Default value:drop
- description String
- The description of the Feature
- feature
Profile StringId - 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
- Base
Action string - Base Action
- Choices:
drop
,accept
- Choices:
- Destination
Data stringPrefix List Id - Destination
Ip stringPrefix List Variable - Variable name
- Destination
Ip List<string>Prefix Lists - Destination Data IP Prefix List
- Device
Access intPort - device access protocol
- Id int
- Sequence Id
- Range:
1
-65536
- Range:
- Name string
- Sequence Name
- Source
Data stringPrefix List Id - Source
Ip stringPrefix List Variable - Variable name
- Source
Ip List<string>Prefix Lists - Source Data IP Prefix List
- Source
Ports List<int> - Source Port List
- Base
Action string - Base Action
- Choices:
drop
,accept
- Choices:
- Destination
Data stringPrefix List Id - Destination
Ip stringPrefix List Variable - Variable name
- Destination
Ip []stringPrefix Lists - Destination Data IP Prefix List
- Device
Access intPort - device access protocol
- Id int
- Sequence Id
- Range:
1
-65536
- Range:
- Name string
- Sequence Name
- Source
Data stringPrefix List Id - Source
Ip stringPrefix List Variable - Variable name
- Source
Ip []stringPrefix Lists - Source Data IP Prefix List
- Source
Ports []int - Source Port List
- base
Action String - Base Action
- Choices:
drop
,accept
- Choices:
- destination
Data StringPrefix List Id - destination
Ip StringPrefix List Variable - Variable name
- destination
Ip List<String>Prefix Lists - Destination Data IP Prefix List
- device
Access IntegerPort - device access protocol
- id Integer
- Sequence Id
- Range:
1
-65536
- Range:
- name String
- Sequence Name
- source
Data StringPrefix List Id - source
Ip StringPrefix List Variable - Variable name
- source
Ip List<String>Prefix Lists - Source Data IP Prefix List
- source
Ports List<Integer> - Source Port List
- base
Action string - Base Action
- Choices:
drop
,accept
- Choices:
- destination
Data stringPrefix List Id - destination
Ip stringPrefix List Variable - Variable name
- destination
Ip string[]Prefix Lists - Destination Data IP Prefix List
- device
Access numberPort - device access protocol
- id number
- Sequence Id
- Range:
1
-65536
- Range:
- name string
- Sequence Name
- source
Data stringPrefix List Id - source
Ip stringPrefix List Variable - Variable name
- source
Ip string[]Prefix Lists - Source Data IP Prefix List
- source
Ports number[] - Source Port List
- base_
action str - Base Action
- Choices:
drop
,accept
- Choices:
- destination_
data_ strprefix_ list_ id - destination_
ip_ strprefix_ list_ variable - Variable name
- destination_
ip_ Sequence[str]prefix_ lists - Destination Data IP Prefix List
- device_
access_ intport - device access protocol
- id int
- Sequence Id
- Range:
1
-65536
- Range:
- name str
- Sequence Name
- source_
data_ strprefix_ list_ id - source_
ip_ strprefix_ list_ variable - Variable name
- source_
ip_ Sequence[str]prefix_ lists - Source Data IP Prefix List
- source_
ports Sequence[int] - Source Port List
- base
Action String - Base Action
- Choices:
drop
,accept
- Choices:
- destination
Data StringPrefix List Id - destination
Ip StringPrefix List Variable - Variable name
- destination
Ip List<String>Prefix Lists - Destination Data IP Prefix List
- device
Access NumberPort - device access protocol
- id Number
- Sequence Id
- Range:
1
-65536
- Range:
- name String
- Sequence Name
- source
Data StringPrefix List Id - source
Ip StringPrefix List Variable - Variable name
- source
Ip List<String>Prefix Lists - Source Data IP Prefix List
- source
Ports 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.