1. Packages
  2. Meraki Provider
  3. API Docs
  4. networks
  5. SwitchRoutingMulticast
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

meraki.networks.SwitchRoutingMulticast

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

    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:

    NetworkId string
    networkId path parameter. Network ID
    DefaultSettings SwitchRoutingMulticastDefaultSettings
    Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
    Overrides List<SwitchRoutingMulticastOverride>
    Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
    NetworkId string
    networkId path parameter. Network ID
    DefaultSettings SwitchRoutingMulticastDefaultSettingsArgs
    Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
    Overrides []SwitchRoutingMulticastOverrideArgs
    Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
    networkId String
    networkId path parameter. Network ID
    defaultSettings SwitchRoutingMulticastDefaultSettings
    Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
    overrides List<SwitchRoutingMulticastOverride>
    Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
    networkId string
    networkId path parameter. Network ID
    defaultSettings SwitchRoutingMulticastDefaultSettings
    Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
    overrides SwitchRoutingMulticastOverride[]
    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 SwitchRoutingMulticastDefaultSettingsArgs
    Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
    overrides Sequence[SwitchRoutingMulticastOverrideArgs]
    Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
    networkId String
    networkId path parameter. Network ID
    defaultSettings 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.
    The following state arguments are supported:
    DefaultSettings SwitchRoutingMulticastDefaultSettings
    Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
    NetworkId string
    networkId path parameter. Network ID
    Overrides List<SwitchRoutingMulticastOverride>
    Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
    DefaultSettings SwitchRoutingMulticastDefaultSettingsArgs
    Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
    NetworkId string
    networkId path parameter. Network ID
    Overrides []SwitchRoutingMulticastOverrideArgs
    Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
    defaultSettings SwitchRoutingMulticastDefaultSettings
    Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
    networkId String
    networkId path parameter. Network ID
    overrides List<SwitchRoutingMulticastOverride>
    Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
    defaultSettings SwitchRoutingMulticastDefaultSettings
    Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
    networkId string
    networkId path parameter. Network ID
    overrides SwitchRoutingMulticastOverride[]
    Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
    default_settings SwitchRoutingMulticastDefaultSettingsArgs
    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[SwitchRoutingMulticastOverrideArgs]
    Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
    defaultSettings Property Map
    Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default.
    networkId 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

    FloodUnknownMulticastTrafficEnabled bool
    Flood unknown multicast traffic enabled for the entire network
    IgmpSnoopingEnabled bool
    IGMP snooping enabled for the entire network
    FloodUnknownMulticastTrafficEnabled bool
    Flood unknown multicast traffic enabled for the entire network
    IgmpSnoopingEnabled bool
    IGMP snooping enabled for the entire network
    floodUnknownMulticastTrafficEnabled Boolean
    Flood unknown multicast traffic enabled for the entire network
    igmpSnoopingEnabled Boolean
    IGMP snooping enabled for the entire network
    floodUnknownMulticastTrafficEnabled boolean
    Flood unknown multicast traffic enabled for the entire network
    igmpSnoopingEnabled boolean
    IGMP snooping enabled for the entire network
    flood_unknown_multicast_traffic_enabled bool
    Flood unknown multicast traffic enabled for the entire network
    igmp_snooping_enabled bool
    IGMP snooping enabled for the entire network
    floodUnknownMulticastTrafficEnabled Boolean
    Flood unknown multicast traffic enabled for the entire network
    igmpSnoopingEnabled Boolean
    IGMP snooping enabled for the entire network

    SwitchRoutingMulticastOverride, SwitchRoutingMulticastOverrideArgs

    FloodUnknownMulticastTrafficEnabled bool
    Flood unknown multicast traffic enabled for switches, switch stacks or switch templates
    IgmpSnoopingEnabled bool
    IGMP snooping enabled for switches, switch stacks or switch templates
    Stacks List<string>
    (optional) List of switch stack ids for non-template network
    SwitchProfiles List<string>
    (optional) List of switch templates ids for template network
    Switches List<string>
    (optional) List of switch serials for non-template network
    FloodUnknownMulticastTrafficEnabled bool
    Flood unknown multicast traffic enabled for switches, switch stacks or switch templates
    IgmpSnoopingEnabled bool
    IGMP snooping enabled for switches, switch stacks or switch templates
    Stacks []string
    (optional) List of switch stack ids for non-template network
    SwitchProfiles []string
    (optional) List of switch templates ids for template network
    Switches []string
    (optional) List of switch serials for non-template network
    floodUnknownMulticastTrafficEnabled Boolean
    Flood unknown multicast traffic enabled for switches, switch stacks or switch templates
    igmpSnoopingEnabled Boolean
    IGMP snooping enabled for switches, switch stacks or switch templates
    stacks List<String>
    (optional) List of switch stack ids for non-template network
    switchProfiles List<String>
    (optional) List of switch templates ids for template network
    switches List<String>
    (optional) List of switch serials for non-template network
    floodUnknownMulticastTrafficEnabled boolean
    Flood unknown multicast traffic enabled for switches, switch stacks or switch templates
    igmpSnoopingEnabled boolean
    IGMP snooping enabled for switches, switch stacks or switch templates
    stacks string[]
    (optional) List of switch stack ids for non-template network
    switchProfiles string[]
    (optional) List of switch templates ids for template network
    switches string[]
    (optional) List of switch serials for non-template network
    flood_unknown_multicast_traffic_enabled bool
    Flood unknown multicast traffic enabled for switches, switch stacks or switch templates
    igmp_snooping_enabled bool
    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
    floodUnknownMulticastTrafficEnabled Boolean
    Flood unknown multicast traffic enabled for switches, switch stacks or switch templates
    igmpSnoopingEnabled Boolean
    IGMP snooping enabled for switches, switch stacks or switch templates
    stacks List<String>
    (optional) List of switch stack ids for non-template network
    switchProfiles 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.
    meraki logo
    Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi