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
organizationsNetworksIOrganizationsNetworksorganizationIdstringThe organization id
configTemplateIdstringAn optional parameter that is the ID of a config template. Will return all networks bound to that template. (optional)
tagsList<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).
tagsFilterTypestringAn 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.
productTypesList<ProductType>cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call