1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. SwitchLinkAggregations
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.networks.SwitchLinkAggregations

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 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.SwitchLinkAggregations;
    import com.pulumi.meraki.networks.SwitchLinkAggregationsArgs;
    import com.pulumi.meraki.networks.inputs.SwitchLinkAggregationsSwitchPortArgs;
    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 SwitchLinkAggregations("example", SwitchLinkAggregationsArgs.builder()
                .networkId("string")
                .switchPorts(SwitchLinkAggregationsSwitchPortArgs.builder()
                    .port_id("1")
                    .serial("Q234-ABCD-0001")
                    .build())
                .build());
    
            ctx.export("merakiNetworksSwitchLinkAggregationsExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:SwitchLinkAggregations
        properties:
          networkId: string
          switchPorts:
            - port_id: '1'
              serial: Q234-ABCD-0001
    outputs:
      merakiNetworksSwitchLinkAggregationsExample: ${example}
    

    Create SwitchLinkAggregations Resource

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

    Constructor syntax

    new SwitchLinkAggregations(name: string, args: SwitchLinkAggregationsArgs, opts?: CustomResourceOptions);
    @overload
    def SwitchLinkAggregations(resource_name: str,
                               args: SwitchLinkAggregationsArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def SwitchLinkAggregations(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               network_id: Optional[str] = None,
                               link_aggregation_id: Optional[str] = None,
                               switch_ports: Optional[Sequence[SwitchLinkAggregationsSwitchPortArgs]] = None,
                               switch_profile_ports: Optional[Sequence[SwitchLinkAggregationsSwitchProfilePortArgs]] = None)
    func NewSwitchLinkAggregations(ctx *Context, name string, args SwitchLinkAggregationsArgs, opts ...ResourceOption) (*SwitchLinkAggregations, error)
    public SwitchLinkAggregations(string name, SwitchLinkAggregationsArgs args, CustomResourceOptions? opts = null)
    public SwitchLinkAggregations(String name, SwitchLinkAggregationsArgs args)
    public SwitchLinkAggregations(String name, SwitchLinkAggregationsArgs args, CustomResourceOptions options)
    
    type: meraki:networks:SwitchLinkAggregations
    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 SwitchLinkAggregationsArgs
    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 SwitchLinkAggregationsArgs
    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 SwitchLinkAggregationsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SwitchLinkAggregationsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SwitchLinkAggregationsArgs
    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 switchLinkAggregationsResource = new Meraki.Networks.SwitchLinkAggregations("switchLinkAggregationsResource", new()
    {
        NetworkId = "string",
        LinkAggregationId = "string",
        SwitchPorts = new[]
        {
            new Meraki.Networks.Inputs.SwitchLinkAggregationsSwitchPortArgs
            {
                PortId = "string",
                Serial = "string",
            },
        },
        SwitchProfilePorts = new[]
        {
            new Meraki.Networks.Inputs.SwitchLinkAggregationsSwitchProfilePortArgs
            {
                PortId = "string",
                Profile = "string",
            },
        },
    });
    
    example, err := networks.NewSwitchLinkAggregations(ctx, "switchLinkAggregationsResource", &networks.SwitchLinkAggregationsArgs{
    	NetworkId:         pulumi.String("string"),
    	LinkAggregationId: pulumi.String("string"),
    	SwitchPorts: networks.SwitchLinkAggregationsSwitchPortArray{
    		&networks.SwitchLinkAggregationsSwitchPortArgs{
    			PortId: pulumi.String("string"),
    			Serial: pulumi.String("string"),
    		},
    	},
    	SwitchProfilePorts: networks.SwitchLinkAggregationsSwitchProfilePortArray{
    		&networks.SwitchLinkAggregationsSwitchProfilePortArgs{
    			PortId:  pulumi.String("string"),
    			Profile: pulumi.String("string"),
    		},
    	},
    })
    
    var switchLinkAggregationsResource = new SwitchLinkAggregations("switchLinkAggregationsResource", SwitchLinkAggregationsArgs.builder()
        .networkId("string")
        .linkAggregationId("string")
        .switchPorts(SwitchLinkAggregationsSwitchPortArgs.builder()
            .portId("string")
            .serial("string")
            .build())
        .switchProfilePorts(SwitchLinkAggregationsSwitchProfilePortArgs.builder()
            .portId("string")
            .profile("string")
            .build())
        .build());
    
    switch_link_aggregations_resource = meraki.networks.SwitchLinkAggregations("switchLinkAggregationsResource",
        network_id="string",
        link_aggregation_id="string",
        switch_ports=[meraki.networks.SwitchLinkAggregationsSwitchPortArgs(
            port_id="string",
            serial="string",
        )],
        switch_profile_ports=[meraki.networks.SwitchLinkAggregationsSwitchProfilePortArgs(
            port_id="string",
            profile="string",
        )])
    
    const switchLinkAggregationsResource = new meraki.networks.SwitchLinkAggregations("switchLinkAggregationsResource", {
        networkId: "string",
        linkAggregationId: "string",
        switchPorts: [{
            portId: "string",
            serial: "string",
        }],
        switchProfilePorts: [{
            portId: "string",
            profile: "string",
        }],
    });
    
    type: meraki:networks:SwitchLinkAggregations
    properties:
        linkAggregationId: string
        networkId: string
        switchPorts:
            - portId: string
              serial: string
        switchProfilePorts:
            - portId: string
              profile: string
    

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

    NetworkId string
    networkId path parameter. Network ID
    LinkAggregationId string
    linkAggregationId path parameter. Link aggregation ID
    SwitchPorts List<SwitchLinkAggregationsSwitchPort>
    Array of switch or stack ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    SwitchProfilePorts List<SwitchLinkAggregationsSwitchProfilePort>
    Array of switch profile ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    NetworkId string
    networkId path parameter. Network ID
    LinkAggregationId string
    linkAggregationId path parameter. Link aggregation ID
    SwitchPorts []SwitchLinkAggregationsSwitchPortArgs
    Array of switch or stack ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    SwitchProfilePorts []SwitchLinkAggregationsSwitchProfilePortArgs
    Array of switch profile ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    networkId String
    networkId path parameter. Network ID
    linkAggregationId String
    linkAggregationId path parameter. Link aggregation ID
    switchPorts List<SwitchLinkAggregationsSwitchPort>
    Array of switch or stack ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    switchProfilePorts List<SwitchLinkAggregationsSwitchProfilePort>
    Array of switch profile ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    networkId string
    networkId path parameter. Network ID
    linkAggregationId string
    linkAggregationId path parameter. Link aggregation ID
    switchPorts SwitchLinkAggregationsSwitchPort[]
    Array of switch or stack ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    switchProfilePorts SwitchLinkAggregationsSwitchProfilePort[]
    Array of switch profile ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    network_id str
    networkId path parameter. Network ID
    link_aggregation_id str
    linkAggregationId path parameter. Link aggregation ID
    switch_ports Sequence[SwitchLinkAggregationsSwitchPortArgs]
    Array of switch or stack ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    switch_profile_ports Sequence[SwitchLinkAggregationsSwitchProfilePortArgs]
    Array of switch profile ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    networkId String
    networkId path parameter. Network ID
    linkAggregationId String
    linkAggregationId path parameter. Link aggregation ID
    switchPorts List<Property Map>
    Array of switch or stack ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    switchProfilePorts List<Property Map>
    Array of switch profile ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SwitchLinkAggregations 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 SwitchLinkAggregations Resource

    Get an existing SwitchLinkAggregations 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?: SwitchLinkAggregationsState, opts?: CustomResourceOptions): SwitchLinkAggregations
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            link_aggregation_id: Optional[str] = None,
            network_id: Optional[str] = None,
            switch_ports: Optional[Sequence[SwitchLinkAggregationsSwitchPortArgs]] = None,
            switch_profile_ports: Optional[Sequence[SwitchLinkAggregationsSwitchProfilePortArgs]] = None) -> SwitchLinkAggregations
    func GetSwitchLinkAggregations(ctx *Context, name string, id IDInput, state *SwitchLinkAggregationsState, opts ...ResourceOption) (*SwitchLinkAggregations, error)
    public static SwitchLinkAggregations Get(string name, Input<string> id, SwitchLinkAggregationsState? state, CustomResourceOptions? opts = null)
    public static SwitchLinkAggregations get(String name, Output<String> id, SwitchLinkAggregationsState 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:
    LinkAggregationId string
    linkAggregationId path parameter. Link aggregation ID
    NetworkId string
    networkId path parameter. Network ID
    SwitchPorts List<SwitchLinkAggregationsSwitchPort>
    Array of switch or stack ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    SwitchProfilePorts List<SwitchLinkAggregationsSwitchProfilePort>
    Array of switch profile ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    LinkAggregationId string
    linkAggregationId path parameter. Link aggregation ID
    NetworkId string
    networkId path parameter. Network ID
    SwitchPorts []SwitchLinkAggregationsSwitchPortArgs
    Array of switch or stack ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    SwitchProfilePorts []SwitchLinkAggregationsSwitchProfilePortArgs
    Array of switch profile ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    linkAggregationId String
    linkAggregationId path parameter. Link aggregation ID
    networkId String
    networkId path parameter. Network ID
    switchPorts List<SwitchLinkAggregationsSwitchPort>
    Array of switch or stack ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    switchProfilePorts List<SwitchLinkAggregationsSwitchProfilePort>
    Array of switch profile ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    linkAggregationId string
    linkAggregationId path parameter. Link aggregation ID
    networkId string
    networkId path parameter. Network ID
    switchPorts SwitchLinkAggregationsSwitchPort[]
    Array of switch or stack ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    switchProfilePorts SwitchLinkAggregationsSwitchProfilePort[]
    Array of switch profile ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    link_aggregation_id str
    linkAggregationId path parameter. Link aggregation ID
    network_id str
    networkId path parameter. Network ID
    switch_ports Sequence[SwitchLinkAggregationsSwitchPortArgs]
    Array of switch or stack ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    switch_profile_ports Sequence[SwitchLinkAggregationsSwitchProfilePortArgs]
    Array of switch profile ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    linkAggregationId String
    linkAggregationId path parameter. Link aggregation ID
    networkId String
    networkId path parameter. Network ID
    switchPorts List<Property Map>
    Array of switch or stack ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
    switchProfilePorts List<Property Map>
    Array of switch profile ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.

    Supporting Types

    SwitchLinkAggregationsSwitchPort, SwitchLinkAggregationsSwitchPortArgs

    PortId string
    Port identifier of switch port. For modules, the identifier is "SlotNumberModuleTypePortNumber" (Ex: "18X10G1"), otherwise it is just the port number (Ex: "8").
    Serial string
    Serial number of the switch.
    PortId string
    Port identifier of switch port. For modules, the identifier is "SlotNumberModuleTypePortNumber" (Ex: "18X10G1"), otherwise it is just the port number (Ex: "8").
    Serial string
    Serial number of the switch.
    portId String
    Port identifier of switch port. For modules, the identifier is "SlotNumberModuleTypePortNumber" (Ex: "18X10G1"), otherwise it is just the port number (Ex: "8").
    serial String
    Serial number of the switch.
    portId string
    Port identifier of switch port. For modules, the identifier is "SlotNumberModuleTypePortNumber" (Ex: "18X10G1"), otherwise it is just the port number (Ex: "8").
    serial string
    Serial number of the switch.
    port_id str
    Port identifier of switch port. For modules, the identifier is "SlotNumberModuleTypePortNumber" (Ex: "18X10G1"), otherwise it is just the port number (Ex: "8").
    serial str
    Serial number of the switch.
    portId String
    Port identifier of switch port. For modules, the identifier is "SlotNumberModuleTypePortNumber" (Ex: "18X10G1"), otherwise it is just the port number (Ex: "8").
    serial String
    Serial number of the switch.

    SwitchLinkAggregationsSwitchProfilePort, SwitchLinkAggregationsSwitchProfilePortArgs

    PortId string
    Port identifier of switch port. For modules, the identifier is "SlotNumberModuleTypePortNumber" (Ex: "18X10G1"), otherwise it is just the port number (Ex: "8").
    Profile string
    Profile identifier.
    PortId string
    Port identifier of switch port. For modules, the identifier is "SlotNumberModuleTypePortNumber" (Ex: "18X10G1"), otherwise it is just the port number (Ex: "8").
    Profile string
    Profile identifier.
    portId String
    Port identifier of switch port. For modules, the identifier is "SlotNumberModuleTypePortNumber" (Ex: "18X10G1"), otherwise it is just the port number (Ex: "8").
    profile String
    Profile identifier.
    portId string
    Port identifier of switch port. For modules, the identifier is "SlotNumberModuleTypePortNumber" (Ex: "18X10G1"), otherwise it is just the port number (Ex: "8").
    profile string
    Profile identifier.
    port_id str
    Port identifier of switch port. For modules, the identifier is "SlotNumberModuleTypePortNumber" (Ex: "18X10G1"), otherwise it is just the port number (Ex: "8").
    profile str
    Profile identifier.
    portId String
    Port identifier of switch port. For modules, the identifier is "SlotNumberModuleTypePortNumber" (Ex: "18X10G1"), otherwise it is just the port number (Ex: "8").
    profile String
    Profile identifier.

    Import

    $ pulumi import meraki:networks/switchLinkAggregations:SwitchLinkAggregations 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.2.4 published on Friday, Jun 14, 2024 by Pulumi