meraki.networks.SwitchStacksRoutingInterfaces
Explore with Pulumi AI
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.meraki.networks.SwitchStacksRoutingInterfaces;
import com.pulumi.meraki.networks.SwitchStacksRoutingInterfacesArgs;
import com.pulumi.meraki.networks.inputs.SwitchStacksRoutingInterfacesIpv6Args;
import com.pulumi.meraki.networks.inputs.SwitchStacksRoutingInterfacesOspfSettingsArgs;
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 SwitchStacksRoutingInterfaces("example", SwitchStacksRoutingInterfacesArgs.builder()
.defaultGateway("192.168.1.1")
.interfaceIp("192.168.1.2")
.ipv6(SwitchStacksRoutingInterfacesIpv6Args.builder()
.address("1:2:3:4::1")
.assignment_mode("static")
.gateway("1:2:3:4::2")
.prefix("1:2:3:4::/48")
.build())
.multicastRouting("disabled")
.name("L3 interface")
.networkId("string")
.ospfSettings(SwitchStacksRoutingInterfacesOspfSettingsArgs.builder()
.area("0")
.cost(1)
.is_passive_enabled(true)
.build())
.subnet("192.168.1.0/24")
.switchStackId("string")
.vlanId(100)
.build());
ctx.export("merakiNetworksSwitchStacksRoutingInterfacesExample", example);
}
}
resources:
example:
type: meraki:networks:SwitchStacksRoutingInterfaces
properties:
defaultGateway: 192.168.1.1
interfaceIp: 192.168.1.2
ipv6:
address: 1:2:3:4::1
assignment_mode: static
gateway: 1:2:3:4::2
prefix: 1:2:3:4::/48
multicastRouting: disabled
name: L3 interface
networkId: string
ospfSettings:
area: '0'
cost: 1
is_passive_enabled: true
subnet: 192.168.1.0/24
switchStackId: string
vlanId: 100
outputs:
merakiNetworksSwitchStacksRoutingInterfacesExample: ${example}
Create SwitchStacksRoutingInterfaces Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SwitchStacksRoutingInterfaces(name: string, args: SwitchStacksRoutingInterfacesArgs, opts?: CustomResourceOptions);
@overload
def SwitchStacksRoutingInterfaces(resource_name: str,
args: SwitchStacksRoutingInterfacesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SwitchStacksRoutingInterfaces(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
switch_stack_id: Optional[str] = None,
default_gateway: Optional[str] = None,
interface_id: Optional[str] = None,
interface_ip: Optional[str] = None,
ipv6: Optional[SwitchStacksRoutingInterfacesIpv6Args] = None,
multicast_routing: Optional[str] = None,
name: Optional[str] = None,
ospf_settings: Optional[SwitchStacksRoutingInterfacesOspfSettingsArgs] = None,
subnet: Optional[str] = None,
vlan_id: Optional[int] = None)
func NewSwitchStacksRoutingInterfaces(ctx *Context, name string, args SwitchStacksRoutingInterfacesArgs, opts ...ResourceOption) (*SwitchStacksRoutingInterfaces, error)
public SwitchStacksRoutingInterfaces(string name, SwitchStacksRoutingInterfacesArgs args, CustomResourceOptions? opts = null)
public SwitchStacksRoutingInterfaces(String name, SwitchStacksRoutingInterfacesArgs args)
public SwitchStacksRoutingInterfaces(String name, SwitchStacksRoutingInterfacesArgs args, CustomResourceOptions options)
type: meraki:networks:SwitchStacksRoutingInterfaces
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 SwitchStacksRoutingInterfacesArgs
- 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 SwitchStacksRoutingInterfacesArgs
- 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 SwitchStacksRoutingInterfacesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SwitchStacksRoutingInterfacesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SwitchStacksRoutingInterfacesArgs
- 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 switchStacksRoutingInterfacesResource = new Meraki.Networks.SwitchStacksRoutingInterfaces("switchStacksRoutingInterfacesResource", new()
{
NetworkId = "string",
SwitchStackId = "string",
DefaultGateway = "string",
InterfaceId = "string",
InterfaceIp = "string",
Ipv6 = new Meraki.Networks.Inputs.SwitchStacksRoutingInterfacesIpv6Args
{
Address = "string",
AssignmentMode = "string",
Gateway = "string",
Prefix = "string",
},
MulticastRouting = "string",
Name = "string",
OspfSettings = new Meraki.Networks.Inputs.SwitchStacksRoutingInterfacesOspfSettingsArgs
{
Area = "string",
Cost = 0,
IsPassiveEnabled = false,
},
Subnet = "string",
VlanId = 0,
});
example, err := networks.NewSwitchStacksRoutingInterfaces(ctx, "switchStacksRoutingInterfacesResource", &networks.SwitchStacksRoutingInterfacesArgs{
NetworkId: pulumi.String("string"),
SwitchStackId: pulumi.String("string"),
DefaultGateway: pulumi.String("string"),
InterfaceId: pulumi.String("string"),
InterfaceIp: pulumi.String("string"),
Ipv6: &networks.SwitchStacksRoutingInterfacesIpv6Args{
Address: pulumi.String("string"),
AssignmentMode: pulumi.String("string"),
Gateway: pulumi.String("string"),
Prefix: pulumi.String("string"),
},
MulticastRouting: pulumi.String("string"),
Name: pulumi.String("string"),
OspfSettings: &networks.SwitchStacksRoutingInterfacesOspfSettingsArgs{
Area: pulumi.String("string"),
Cost: pulumi.Int(0),
IsPassiveEnabled: pulumi.Bool(false),
},
Subnet: pulumi.String("string"),
VlanId: pulumi.Int(0),
})
var switchStacksRoutingInterfacesResource = new SwitchStacksRoutingInterfaces("switchStacksRoutingInterfacesResource", SwitchStacksRoutingInterfacesArgs.builder()
.networkId("string")
.switchStackId("string")
.defaultGateway("string")
.interfaceId("string")
.interfaceIp("string")
.ipv6(SwitchStacksRoutingInterfacesIpv6Args.builder()
.address("string")
.assignmentMode("string")
.gateway("string")
.prefix("string")
.build())
.multicastRouting("string")
.name("string")
.ospfSettings(SwitchStacksRoutingInterfacesOspfSettingsArgs.builder()
.area("string")
.cost(0)
.isPassiveEnabled(false)
.build())
.subnet("string")
.vlanId(0)
.build());
switch_stacks_routing_interfaces_resource = meraki.networks.SwitchStacksRoutingInterfaces("switchStacksRoutingInterfacesResource",
network_id="string",
switch_stack_id="string",
default_gateway="string",
interface_id="string",
interface_ip="string",
ipv6=meraki.networks.SwitchStacksRoutingInterfacesIpv6Args(
address="string",
assignment_mode="string",
gateway="string",
prefix="string",
),
multicast_routing="string",
name="string",
ospf_settings=meraki.networks.SwitchStacksRoutingInterfacesOspfSettingsArgs(
area="string",
cost=0,
is_passive_enabled=False,
),
subnet="string",
vlan_id=0)
const switchStacksRoutingInterfacesResource = new meraki.networks.SwitchStacksRoutingInterfaces("switchStacksRoutingInterfacesResource", {
networkId: "string",
switchStackId: "string",
defaultGateway: "string",
interfaceId: "string",
interfaceIp: "string",
ipv6: {
address: "string",
assignmentMode: "string",
gateway: "string",
prefix: "string",
},
multicastRouting: "string",
name: "string",
ospfSettings: {
area: "string",
cost: 0,
isPassiveEnabled: false,
},
subnet: "string",
vlanId: 0,
});
type: meraki:networks:SwitchStacksRoutingInterfaces
properties:
defaultGateway: string
interfaceId: string
interfaceIp: string
ipv6:
address: string
assignmentMode: string
gateway: string
prefix: string
multicastRouting: string
name: string
networkId: string
ospfSettings:
area: string
cost: 0
isPassiveEnabled: false
subnet: string
switchStackId: string
vlanId: 0
SwitchStacksRoutingInterfaces 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 SwitchStacksRoutingInterfaces resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Switch
Stack stringId - switchStackId path parameter. Switch stack ID
- Default
Gateway string - IPv4 default gateway
- Interface
Id string - The id
- Interface
Ip string - IPv4 address
- Ipv6
Switch
Stacks Routing Interfaces Ipv6 - IPv6 addressing
- Multicast
Routing string - Multicast routing status
- Name string
- The name
- Ospf
Settings SwitchStacks Routing Interfaces Ospf Settings - IPv4 OSPF Settings
- Subnet string
- IPv4 subnet
- Vlan
Id int - VLAN id
- Network
Id string - networkId path parameter. Network ID
- Switch
Stack stringId - switchStackId path parameter. Switch stack ID
- Default
Gateway string - IPv4 default gateway
- Interface
Id string - The id
- Interface
Ip string - IPv4 address
- Ipv6
Switch
Stacks Routing Interfaces Ipv6Args - IPv6 addressing
- Multicast
Routing string - Multicast routing status
- Name string
- The name
- Ospf
Settings SwitchStacks Routing Interfaces Ospf Settings Args - IPv4 OSPF Settings
- Subnet string
- IPv4 subnet
- Vlan
Id int - VLAN id
- network
Id String - networkId path parameter. Network ID
- switch
Stack StringId - switchStackId path parameter. Switch stack ID
- default
Gateway String - IPv4 default gateway
- interface
Id String - The id
- interface
Ip String - IPv4 address
- ipv6
Switch
Stacks Routing Interfaces Ipv6 - IPv6 addressing
- multicast
Routing String - Multicast routing status
- name String
- The name
- ospf
Settings SwitchStacks Routing Interfaces Ospf Settings - IPv4 OSPF Settings
- subnet String
- IPv4 subnet
- vlan
Id Integer - VLAN id
- network
Id string - networkId path parameter. Network ID
- switch
Stack stringId - switchStackId path parameter. Switch stack ID
- default
Gateway string - IPv4 default gateway
- interface
Id string - The id
- interface
Ip string - IPv4 address
- ipv6
Switch
Stacks Routing Interfaces Ipv6 - IPv6 addressing
- multicast
Routing string - Multicast routing status
- name string
- The name
- ospf
Settings SwitchStacks Routing Interfaces Ospf Settings - IPv4 OSPF Settings
- subnet string
- IPv4 subnet
- vlan
Id number - VLAN id
- network_
id str - networkId path parameter. Network ID
- switch_
stack_ strid - switchStackId path parameter. Switch stack ID
- default_
gateway str - IPv4 default gateway
- interface_
id str - The id
- interface_
ip str - IPv4 address
- ipv6
Switch
Stacks Routing Interfaces Ipv6Args - IPv6 addressing
- multicast_
routing str - Multicast routing status
- name str
- The name
- ospf_
settings SwitchStacks Routing Interfaces Ospf Settings Args - IPv4 OSPF Settings
- subnet str
- IPv4 subnet
- vlan_
id int - VLAN id
- network
Id String - networkId path parameter. Network ID
- switch
Stack StringId - switchStackId path parameter. Switch stack ID
- default
Gateway String - IPv4 default gateway
- interface
Id String - The id
- interface
Ip String - IPv4 address
- ipv6 Property Map
- IPv6 addressing
- multicast
Routing String - Multicast routing status
- name String
- The name
- ospf
Settings Property Map - IPv4 OSPF Settings
- subnet String
- IPv4 subnet
- vlan
Id Number - VLAN id
Outputs
All input properties are implicitly available as output properties. Additionally, the SwitchStacksRoutingInterfaces resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ospf
V3 SwitchStacks Routing Interfaces Ospf V3 - IPv6 OSPF Settings
- Id string
- The provider-assigned unique ID for this managed resource.
- Ospf
V3 SwitchStacks Routing Interfaces Ospf V3 - IPv6 OSPF Settings
- id String
- The provider-assigned unique ID for this managed resource.
- ospf
V3 SwitchStacks Routing Interfaces Ospf V3 - IPv6 OSPF Settings
- id string
- The provider-assigned unique ID for this managed resource.
- ospf
V3 SwitchStacks Routing Interfaces Ospf V3 - IPv6 OSPF Settings
- id str
- The provider-assigned unique ID for this managed resource.
- ospf_
v3 SwitchStacks Routing Interfaces Ospf V3 - IPv6 OSPF Settings
- id String
- The provider-assigned unique ID for this managed resource.
- ospf
V3 Property Map - IPv6 OSPF Settings
Look up Existing SwitchStacksRoutingInterfaces Resource
Get an existing SwitchStacksRoutingInterfaces 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?: SwitchStacksRoutingInterfacesState, opts?: CustomResourceOptions): SwitchStacksRoutingInterfaces
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
default_gateway: Optional[str] = None,
interface_id: Optional[str] = None,
interface_ip: Optional[str] = None,
ipv6: Optional[SwitchStacksRoutingInterfacesIpv6Args] = None,
multicast_routing: Optional[str] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
ospf_settings: Optional[SwitchStacksRoutingInterfacesOspfSettingsArgs] = None,
ospf_v3: Optional[SwitchStacksRoutingInterfacesOspfV3Args] = None,
subnet: Optional[str] = None,
switch_stack_id: Optional[str] = None,
vlan_id: Optional[int] = None) -> SwitchStacksRoutingInterfaces
func GetSwitchStacksRoutingInterfaces(ctx *Context, name string, id IDInput, state *SwitchStacksRoutingInterfacesState, opts ...ResourceOption) (*SwitchStacksRoutingInterfaces, error)
public static SwitchStacksRoutingInterfaces Get(string name, Input<string> id, SwitchStacksRoutingInterfacesState? state, CustomResourceOptions? opts = null)
public static SwitchStacksRoutingInterfaces get(String name, Output<String> id, SwitchStacksRoutingInterfacesState 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
Gateway string - IPv4 default gateway
- Interface
Id string - The id
- Interface
Ip string - IPv4 address
- Ipv6
Switch
Stacks Routing Interfaces Ipv6 - IPv6 addressing
- Multicast
Routing string - Multicast routing status
- Name string
- The name
- Network
Id string - networkId path parameter. Network ID
- Ospf
Settings SwitchStacks Routing Interfaces Ospf Settings - IPv4 OSPF Settings
- Ospf
V3 SwitchStacks Routing Interfaces Ospf V3 - IPv6 OSPF Settings
- Subnet string
- IPv4 subnet
- Switch
Stack stringId - switchStackId path parameter. Switch stack ID
- Vlan
Id int - VLAN id
- Default
Gateway string - IPv4 default gateway
- Interface
Id string - The id
- Interface
Ip string - IPv4 address
- Ipv6
Switch
Stacks Routing Interfaces Ipv6Args - IPv6 addressing
- Multicast
Routing string - Multicast routing status
- Name string
- The name
- Network
Id string - networkId path parameter. Network ID
- Ospf
Settings SwitchStacks Routing Interfaces Ospf Settings Args - IPv4 OSPF Settings
- Ospf
V3 SwitchStacks Routing Interfaces Ospf V3Args - IPv6 OSPF Settings
- Subnet string
- IPv4 subnet
- Switch
Stack stringId - switchStackId path parameter. Switch stack ID
- Vlan
Id int - VLAN id
- default
Gateway String - IPv4 default gateway
- interface
Id String - The id
- interface
Ip String - IPv4 address
- ipv6
Switch
Stacks Routing Interfaces Ipv6 - IPv6 addressing
- multicast
Routing String - Multicast routing status
- name String
- The name
- network
Id String - networkId path parameter. Network ID
- ospf
Settings SwitchStacks Routing Interfaces Ospf Settings - IPv4 OSPF Settings
- ospf
V3 SwitchStacks Routing Interfaces Ospf V3 - IPv6 OSPF Settings
- subnet String
- IPv4 subnet
- switch
Stack StringId - switchStackId path parameter. Switch stack ID
- vlan
Id Integer - VLAN id
- default
Gateway string - IPv4 default gateway
- interface
Id string - The id
- interface
Ip string - IPv4 address
- ipv6
Switch
Stacks Routing Interfaces Ipv6 - IPv6 addressing
- multicast
Routing string - Multicast routing status
- name string
- The name
- network
Id string - networkId path parameter. Network ID
- ospf
Settings SwitchStacks Routing Interfaces Ospf Settings - IPv4 OSPF Settings
- ospf
V3 SwitchStacks Routing Interfaces Ospf V3 - IPv6 OSPF Settings
- subnet string
- IPv4 subnet
- switch
Stack stringId - switchStackId path parameter. Switch stack ID
- vlan
Id number - VLAN id
- default_
gateway str - IPv4 default gateway
- interface_
id str - The id
- interface_
ip str - IPv4 address
- ipv6
Switch
Stacks Routing Interfaces Ipv6Args - IPv6 addressing
- multicast_
routing str - Multicast routing status
- name str
- The name
- network_
id str - networkId path parameter. Network ID
- ospf_
settings SwitchStacks Routing Interfaces Ospf Settings Args - IPv4 OSPF Settings
- ospf_
v3 SwitchStacks Routing Interfaces Ospf V3Args - IPv6 OSPF Settings
- subnet str
- IPv4 subnet
- switch_
stack_ strid - switchStackId path parameter. Switch stack ID
- vlan_
id int - VLAN id
- default
Gateway String - IPv4 default gateway
- interface
Id String - The id
- interface
Ip String - IPv4 address
- ipv6 Property Map
- IPv6 addressing
- multicast
Routing String - Multicast routing status
- name String
- The name
- network
Id String - networkId path parameter. Network ID
- ospf
Settings Property Map - IPv4 OSPF Settings
- ospf
V3 Property Map - IPv6 OSPF Settings
- subnet String
- IPv4 subnet
- switch
Stack StringId - switchStackId path parameter. Switch stack ID
- vlan
Id Number - VLAN id
Supporting Types
SwitchStacksRoutingInterfacesIpv6, SwitchStacksRoutingInterfacesIpv6Args
- Address string
- IPv6 address
- Assignment
Mode string - Assignment mode
- Gateway string
- IPv6 gateway
- Prefix string
- IPv6 subnet
- Address string
- IPv6 address
- Assignment
Mode string - Assignment mode
- Gateway string
- IPv6 gateway
- Prefix string
- IPv6 subnet
- address String
- IPv6 address
- assignment
Mode String - Assignment mode
- gateway String
- IPv6 gateway
- prefix String
- IPv6 subnet
- address string
- IPv6 address
- assignment
Mode string - Assignment mode
- gateway string
- IPv6 gateway
- prefix string
- IPv6 subnet
- address str
- IPv6 address
- assignment_
mode str - Assignment mode
- gateway str
- IPv6 gateway
- prefix str
- IPv6 subnet
- address String
- IPv6 address
- assignment
Mode String - Assignment mode
- gateway String
- IPv6 gateway
- prefix String
- IPv6 subnet
SwitchStacksRoutingInterfacesOspfSettings, SwitchStacksRoutingInterfacesOspfSettingsArgs
- Area string
- Area id
- Cost int
- OSPF Cost
- Is
Passive boolEnabled - Disable sending Hello packets on this interface's IPv4 area
- Area string
- Area id
- Cost int
- OSPF Cost
- Is
Passive boolEnabled - Disable sending Hello packets on this interface's IPv4 area
- area String
- Area id
- cost Integer
- OSPF Cost
- is
Passive BooleanEnabled - Disable sending Hello packets on this interface's IPv4 area
- area string
- Area id
- cost number
- OSPF Cost
- is
Passive booleanEnabled - Disable sending Hello packets on this interface's IPv4 area
- area str
- Area id
- cost int
- OSPF Cost
- is_
passive_ boolenabled - Disable sending Hello packets on this interface's IPv4 area
- area String
- Area id
- cost Number
- OSPF Cost
- is
Passive BooleanEnabled - Disable sending Hello packets on this interface's IPv4 area
SwitchStacksRoutingInterfacesOspfV3, SwitchStacksRoutingInterfacesOspfV3Args
- Area string
- Area id
- Cost int
- OSPF Cost
- Is
Passive boolEnabled - Disable sending Hello packets on this interface's IPv6 area
- Area string
- Area id
- Cost int
- OSPF Cost
- Is
Passive boolEnabled - Disable sending Hello packets on this interface's IPv6 area
- area String
- Area id
- cost Integer
- OSPF Cost
- is
Passive BooleanEnabled - Disable sending Hello packets on this interface's IPv6 area
- area string
- Area id
- cost number
- OSPF Cost
- is
Passive booleanEnabled - Disable sending Hello packets on this interface's IPv6 area
- area str
- Area id
- cost int
- OSPF Cost
- is_
passive_ boolenabled - Disable sending Hello packets on this interface's IPv6 area
- area String
- Area id
- cost Number
- OSPF Cost
- is
Passive BooleanEnabled - Disable sending Hello packets on this interface's IPv6 area
Import
$ pulumi import meraki:networks/switchStacksRoutingInterfaces:SwitchStacksRoutingInterfaces example "interface_id,network_id,switch_stack_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.