Table of Contents

Interface ISwitchLinkAggregations

Namespace
Meraki.Api.Interfaces.Products.Switch
Assembly
Meraki.Api.dll

Represents a collection of functions to interact with the API endpoints

public interface ISwitchLinkAggregations

Methods

CreateNetworkSwitchLinkAggregationAsync(string, SwitchLinkAggregation, CancellationToken)

Create a link aggregation group

[Post("/networks/{networkId}/switch/linkAggregations")]
Task<SwitchLinkAggregation> CreateNetworkSwitchLinkAggregationAsync(string networkId, SwitchLinkAggregation createNetworkSwitchLinkAggregation, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

createNetworkSwitchLinkAggregation SwitchLinkAggregation

Body for creating a link aggregation group

cancellationToken CancellationToken

Returns

Task<SwitchLinkAggregation>

Exceptions

ApiException

Thrown when fails to make API call

DeleteNetworkSwitchLinkAggregationAsync(string, string, CancellationToken)

Split a link aggregation group into separate ports

[Delete("/networks/{networkId}/switch/linkAggregations/{linkAggregationId}")]
Task DeleteNetworkSwitchLinkAggregationAsync(string networkId, string linkAggregationId, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

linkAggregationId string

The link aggregation id

cancellationToken CancellationToken

Returns

Task

Exceptions

ApiException

Thrown when fails to make API call

GetNetworkSwitchLinkAggregationsAsync(string, CancellationToken)

List link aggregation groups

[Get("/networks/{networkId}/switch/linkAggregations")]
Task<List<SwitchLinkAggregation>> GetNetworkSwitchLinkAggregationsAsync(string networkId, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

cancellationToken CancellationToken

Returns

Task<List<SwitchLinkAggregation>>

Exceptions

ApiException

Thrown when fails to make API call

UpdateNetworkSwitchLinkAggregationAsync(string, string, SwitchLinkAggregation, CancellationToken)

Update a link aggregation group

[Put("/networks/{networkId}/switch/linkAggregations/{linkAggregationId}")]
Task<SwitchLinkAggregation> UpdateNetworkSwitchLinkAggregationAsync(string networkId, string linkAggregationId, SwitchLinkAggregation updateNetworkSwitchLinkAggregation, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

linkAggregationId string

The link aggregation id

updateNetworkSwitchLinkAggregation SwitchLinkAggregation

Body for updating a link aggregation group

cancellationToken CancellationToken

Returns

Task<SwitchLinkAggregation>

Exceptions

ApiException

Thrown when fails to make API call