meraki.networks.SwitchRoutingMulticast
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.SwitchRoutingMulticast;
import com.pulumi.meraki.networks.SwitchRoutingMulticastArgs;
import com.pulumi.meraki.networks.inputs.SwitchRoutingMulticastDefaultSettingsArgs;
import com.pulumi.meraki.networks.inputs.SwitchRoutingMulticastOverrideArgs;
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 SwitchRoutingMulticast("example", SwitchRoutingMulticastArgs.builder()
.defaultSettings(SwitchRoutingMulticastDefaultSettingsArgs.builder()
.flood_unknown_multicast_traffic_enabled(true)
.igmp_snooping_enabled(true)
.build())
.networkId("string")
.overrides(SwitchRoutingMulticastOverrideArgs.builder()
.flood_unknown_multicast_traffic_enabled(true)
.igmp_snooping_enabled(true)
.stacks(
"789102",
"123456",
"129102")
.switch_profiles(
"1234",
"4567")
.switches(
"Q234-ABCD-0001",
"Q234-ABCD-0002",
"Q234-ABCD-0003")
.build())
.build());
ctx.export("merakiNetworksSwitchRoutingMulticastExample", example);
}
}
resources:
example:
type: meraki:networks:SwitchRoutingMulticast
properties:
defaultSettings:
flood_unknown_multicast_traffic_enabled: true
igmp_snooping_enabled: true
networkId: string
overrides:
- flood_unknown_multicast_traffic_enabled: true
igmp_snooping_enabled: true
stacks:
- '789102'
- '123456'
- '129102'
switch_profiles:
- '1234'
- '4567'
switches:
- Q234-ABCD-0001
- Q234-ABCD-0002
- Q234-ABCD-0003
outputs:
merakiNetworksSwitchRoutingMulticastExample: ${example}
Create SwitchRoutingMulticast Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SwitchRoutingMulticast(name: string, args: SwitchRoutingMulticastArgs, opts?: CustomResourceOptions);
@overload
def SwitchRoutingMulticast(resource_name: str,
args: SwitchRoutingMulticastArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SwitchRoutingMulticast(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
default_settings: Optional[SwitchRoutingMulticastDefaultSettingsArgs] = None,
overrides: Optional[Sequence[SwitchRoutingMulticastOverrideArgs]] = None)
func NewSwitchRoutingMulticast(ctx *Context, name string, args SwitchRoutingMulticastArgs, opts ...ResourceOption) (*SwitchRoutingMulticast, error)
public SwitchRoutingMulticast(string name, SwitchRoutingMulticastArgs args, CustomResourceOptions? opts = null)
public SwitchRoutingMulticast(String name, SwitchRoutingMulticastArgs args)
public SwitchRoutingMulticast(String name, SwitchRoutingMulticastArgs args, CustomResourceOptions options)
type: meraki:networks:SwitchRoutingMulticast
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 SwitchRoutingMulticastArgs
- 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 SwitchRoutingMulticastArgs
- 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 SwitchRoutingMulticastArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SwitchRoutingMulticastArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SwitchRoutingMulticastArgs
- 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 switchRoutingMulticastResource = new Meraki.Networks.SwitchRoutingMulticast("switchRoutingMulticastResource", new()
{
NetworkId = "string",
DefaultSettings = new Meraki.Networks.Inputs.SwitchRoutingMulticastDefaultSettingsArgs
{
FloodUnknownMulticastTrafficEnabled = false,
IgmpSnoopingEnabled = false,
},
Overrides = new[]
{
new Meraki.Networks.Inputs.SwitchRoutingMulticastOverrideArgs
{
FloodUnknownMulticastTrafficEnabled = false,
IgmpSnoopingEnabled = false,
Stacks = new[]
{
"string",
},
SwitchProfiles = new[]
{
"string",
},
Switches = new[]
{
"string",
},
},
},
});
example, err := networks.NewSwitchRoutingMulticast(ctx, "switchRoutingMulticastResource", &networks.SwitchRoutingMulticastArgs{
NetworkId: pulumi.String("string"),
DefaultSettings: &networks.SwitchRoutingMulticastDefaultSettingsArgs{
FloodUnknownMulticastTrafficEnabled: pulumi.Bool(false),
IgmpSnoopingEnabled: pulumi.Bool(false),
},
Overrides: networks.SwitchRoutingMulticastOverrideArray{
&networks.SwitchRoutingMulticastOverrideArgs{
FloodUnknownMulticastTrafficEnabled: pulumi.Bool(false),
IgmpSnoopingEnabled: pulumi.Bool(false),
Stacks: pulumi.StringArray{
pulumi.String("string"),
},
SwitchProfiles: pulumi.StringArray{
pulumi.String("string"),
},
Switches: pulumi.StringArray{
pulumi.String("string"),
},
},
},
})
var switchRoutingMulticastResource = new SwitchRoutingMulticast("switchRoutingMulticastResource", SwitchRoutingMulticastArgs.builder()
.networkId("string")
.defaultSettings(SwitchRoutingMulticastDefaultSettingsArgs.builder()
.floodUnknownMulticastTrafficEnabled(false)
.igmpSnoopingEnabled(false)
.build())
.overrides(SwitchRoutingMulticastOverrideArgs.builder()
.floodUnknownMulticastTrafficEnabled(false)
.igmpSnoopingEnabled(false)
.stacks("string")
.switchProfiles("string")
.switches("string")
.build())
.build());
switch_routing_multicast_resource = meraki.networks.SwitchRoutingMulticast("switchRoutingMulticastResource",
network_id="string",
default_settings={
"flood_unknown_multicast_traffic_enabled": False,
"igmp_snooping_enabled": False,
},
overrides=[{
"flood_unknown_multicast_traffic_enabled": False,
"igmp_snooping_enabled": False,
"stacks": ["string"],
"switch_profiles": ["string"],
"switches": ["string"],
}])
const switchRoutingMulticastResource = new meraki.networks.SwitchRoutingMulticast("switchRoutingMulticastResource", {
networkId: "string",
defaultSettings: {
floodUnknownMulticastTrafficEnabled: false,
igmpSnoopingEnabled: false,
},
overrides: [{
floodUnknownMulticastTrafficEnabled: false,
igmpSnoopingEnabled: false,
stacks: ["string"],
switchProfiles: ["string"],
switches: ["string"],
}],
});
type: meraki:networks:SwitchRoutingMulticast
properties:
defaultSettings:
floodUnknownMulticastTrafficEnabled: false
igmpSnoopingEnabled: false
networkId: string
overrides:
- floodUnknownMulticastTrafficEnabled: false
igmpSnoopingEnabled: false
stacks:
- string
switchProfiles:
- string
switches:
- string
SwitchRoutingMulticast 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 SwitchRoutingMulticast resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Default
Settings SwitchRouting Multicast Default Settings - Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
- Overrides
List<Switch
Routing Multicast Override> - Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
- Network
Id string - networkId path parameter. Network ID
- Default
Settings SwitchRouting Multicast Default Settings Args - Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
- Overrides
[]Switch
Routing Multicast Override Args - Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
- network
Id String - networkId path parameter. Network ID
- default
Settings SwitchRouting Multicast Default Settings - Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
- overrides
List<Switch
Routing Multicast Override> - Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
- network
Id string - networkId path parameter. Network ID
- default
Settings SwitchRouting Multicast Default Settings - Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
- overrides
Switch
Routing Multicast Override[] - Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
- network_
id str - networkId path parameter. Network ID
- default_
settings SwitchRouting Multicast Default Settings Args - Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
- overrides
Sequence[Switch
Routing Multicast Override Args] - Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
- network
Id String - networkId path parameter. Network ID
- default
Settings Property Map - Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
- overrides List<Property Map>
- Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
Outputs
All input properties are implicitly available as output properties. Additionally, the SwitchRoutingMulticast 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 SwitchRoutingMulticast Resource
Get an existing SwitchRoutingMulticast 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?: SwitchRoutingMulticastState, opts?: CustomResourceOptions): SwitchRoutingMulticast
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
default_settings: Optional[SwitchRoutingMulticastDefaultSettingsArgs] = None,
network_id: Optional[str] = None,
overrides: Optional[Sequence[SwitchRoutingMulticastOverrideArgs]] = None) -> SwitchRoutingMulticast
func GetSwitchRoutingMulticast(ctx *Context, name string, id IDInput, state *SwitchRoutingMulticastState, opts ...ResourceOption) (*SwitchRoutingMulticast, error)
public static SwitchRoutingMulticast Get(string name, Input<string> id, SwitchRoutingMulticastState? state, CustomResourceOptions? opts = null)
public static SwitchRoutingMulticast get(String name, Output<String> id, SwitchRoutingMulticastState 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
Settings SwitchRouting Multicast Default Settings - Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
- Network
Id string - networkId path parameter. Network ID
- Overrides
List<Switch
Routing Multicast Override> - Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
- Default
Settings SwitchRouting Multicast Default Settings Args - Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
- Network
Id string - networkId path parameter. Network ID
- Overrides
[]Switch
Routing Multicast Override Args - Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
- default
Settings SwitchRouting Multicast Default Settings - Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
- network
Id String - networkId path parameter. Network ID
- overrides
List<Switch
Routing Multicast Override> - Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
- default
Settings SwitchRouting Multicast Default Settings - Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
- network
Id string - networkId path parameter. Network ID
- overrides
Switch
Routing Multicast Override[] - Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
- default_
settings SwitchRouting Multicast Default Settings Args - Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
- network_
id str - networkId path parameter. Network ID
- overrides
Sequence[Switch
Routing Multicast Override Args] - Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
- default
Settings Property Map - Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
- network
Id String - networkId path parameter. Network ID
- overrides List<Property Map>
- Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
Supporting Types
SwitchRoutingMulticastDefaultSettings, SwitchRoutingMulticastDefaultSettingsArgs
- Flood
Unknown boolMulticast Traffic Enabled - Flood unknown multicast traffic enabled for the entire network
- Igmp
Snooping boolEnabled - IGMP snooping enabled for the entire network
- Flood
Unknown boolMulticast Traffic Enabled - Flood unknown multicast traffic enabled for the entire network
- Igmp
Snooping boolEnabled - IGMP snooping enabled for the entire network
- flood
Unknown BooleanMulticast Traffic Enabled - Flood unknown multicast traffic enabled for the entire network
- igmp
Snooping BooleanEnabled - IGMP snooping enabled for the entire network
- flood
Unknown booleanMulticast Traffic Enabled - Flood unknown multicast traffic enabled for the entire network
- igmp
Snooping booleanEnabled - IGMP snooping enabled for the entire network
- flood_
unknown_ boolmulticast_ traffic_ enabled - Flood unknown multicast traffic enabled for the entire network
- igmp_
snooping_ boolenabled - IGMP snooping enabled for the entire network
- flood
Unknown BooleanMulticast Traffic Enabled - Flood unknown multicast traffic enabled for the entire network
- igmp
Snooping BooleanEnabled - IGMP snooping enabled for the entire network
SwitchRoutingMulticastOverride, SwitchRoutingMulticastOverrideArgs
- Flood
Unknown boolMulticast Traffic Enabled - Flood unknown multicast traffic enabled for switches, switch stacks or switch templates
- Igmp
Snooping boolEnabled - IGMP snooping enabled for switches, switch stacks or switch templates
- Stacks List<string>
- (optional) List of switch stack ids for non-template network
- Switch
Profiles List<string> - (optional) List of switch templates ids for template network
- Switches List<string>
- (optional) List of switch serials for non-template network
- Flood
Unknown boolMulticast Traffic Enabled - Flood unknown multicast traffic enabled for switches, switch stacks or switch templates
- Igmp
Snooping boolEnabled - IGMP snooping enabled for switches, switch stacks or switch templates
- Stacks []string
- (optional) List of switch stack ids for non-template network
- Switch
Profiles []string - (optional) List of switch templates ids for template network
- Switches []string
- (optional) List of switch serials for non-template network
- flood
Unknown BooleanMulticast Traffic Enabled - Flood unknown multicast traffic enabled for switches, switch stacks or switch templates
- igmp
Snooping BooleanEnabled - IGMP snooping enabled for switches, switch stacks or switch templates
- stacks List<String>
- (optional) List of switch stack ids for non-template network
- switch
Profiles List<String> - (optional) List of switch templates ids for template network
- switches List<String>
- (optional) List of switch serials for non-template network
- flood
Unknown booleanMulticast Traffic Enabled - Flood unknown multicast traffic enabled for switches, switch stacks or switch templates
- igmp
Snooping booleanEnabled - IGMP snooping enabled for switches, switch stacks or switch templates
- stacks string[]
- (optional) List of switch stack ids for non-template network
- switch
Profiles string[] - (optional) List of switch templates ids for template network
- switches string[]
- (optional) List of switch serials for non-template network
- flood_
unknown_ boolmulticast_ traffic_ enabled - Flood unknown multicast traffic enabled for switches, switch stacks or switch templates
- igmp_
snooping_ boolenabled - IGMP snooping enabled for switches, switch stacks or switch templates
- stacks Sequence[str]
- (optional) List of switch stack ids for non-template network
- switch_
profiles Sequence[str] - (optional) List of switch templates ids for template network
- switches Sequence[str]
- (optional) List of switch serials for non-template network
- flood
Unknown BooleanMulticast Traffic Enabled - Flood unknown multicast traffic enabled for switches, switch stacks or switch templates
- igmp
Snooping BooleanEnabled - IGMP snooping enabled for switches, switch stacks or switch templates
- stacks List<String>
- (optional) List of switch stack ids for non-template network
- switch
Profiles List<String> - (optional) List of switch templates ids for template network
- switches List<String>
- (optional) List of switch serials for non-template network
Import
$ pulumi import meraki:networks/switchRoutingMulticast:SwitchRoutingMulticast example "network_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.