Class IOrganizationsNetworksExtensions
- Namespace
- Meraki.Api.Extensions
- Assembly
- Meraki.Api.dll
public static class IOrganizationsNetworksExtensions
- Inheritance
-
IOrganizationsNetworksExtensions
- Inherited Members
Methods
GetOrganizationNetworksAllAsync(IOrganizationsNetworks, string, string?, List<string>?, string?, List<ProductType>?, CancellationToken)
Get all networks that the user has privileges on in an organization
public static Task<List<Network>> GetOrganizationNetworksAllAsync(this IOrganizationsNetworks organizationsNetworks, string organizationId, string? configTemplateId = null, List<string>? tags = null, string? tagsFilterType = null, List<ProductType>? productTypes = null, CancellationToken cancellationToken = default)
Parameters
organizationsNetworks
IOrganizationsNetworksorganizationId
stringThe organization id
configTemplateId
stringAn optional parameter that is the ID of a config template. Will return all networks bound to that template. (optional)
tags
List<string>An optional parameter to filter networks by tags. The filtering is case-sensitive. If tags are included, 'tagsFilterType' should also be included (see below).
tagsFilterType
stringAn optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return networks which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected.
productTypes
List<ProductType>cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call