Class INetworksVlanProfilesExtensions
- Namespace
- Meraki.Api.Extensions
- Assembly
- Meraki.Api.dll
public static class INetworksVlanProfilesExtensions
- Inheritance
-
INetworksVlanProfilesExtensions
- Inherited Members
Methods
GetNetworkVlanProfilesAssignmentsByDeviceAllAsync(INetworksVlanProfiles, string, List<string>?, List<string>?, List<string>?, CancellationToken)
Get all the assigned VLAN Profiles for devices in a network
public static Task<List<VlanProfileDeviceAssignment>> GetNetworkVlanProfilesAssignmentsByDeviceAllAsync(this INetworksVlanProfiles vlanProfiles, string networkId, List<string>? serials = null, List<string>? productTypes = null, List<string>? stackIds = null, CancellationToken cancellationToken = default)
Parameters
vlanProfiles
INetworksVlanProfilesnetworkId
stringThe network id
serials
List<string>Optional parameter to filter devices by serials. All devices returned belong to serial numbers that are an exact match.
productTypes
List<string>Optional parameter to filter devices by product types.
stackIds
List<string>Optional parameter to filter devices by Switch Stack ids.
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call