Interface IOrganizationsNetworks
- Namespace
- Meraki.Api.Interfaces.General.Organizations
- Assembly
- Meraki.Api.dll
public interface IOrganizationsNetworks
- Extension Methods
Methods
CombineOrganizationNetworksAsync(string, CombineOrganizationNetworksRequest, CancellationToken)
Combine multiple networks into a single network
[Post("/organizations/{organizationId}/networks/combine")]
Task<CombineNetworkResponse> CombineOrganizationNetworksAsync(string organizationId, CombineOrganizationNetworksRequest combineOrganizationNetworks, CancellationToken cancellationToken = default)
Parameters
organizationIdstringThe organization id
combineOrganizationNetworksCombineOrganizationNetworksRequestBody for combining networks
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API cg
CreateOrganizationNetworkAsync(string, NetworkCreationRequest, CancellationToken)
Create a network
[Post("/organizations/{organizationId}/networks")]
Task<Network> CreateOrganizationNetworkAsync(string organizationId, NetworkCreationRequest createOrganizationNetwork, CancellationToken cancellationToken = default)
Parameters
organizationIdstringThe organization id
createOrganizationNetworkNetworkCreationRequestBody for creating a network
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
GetOrganizationNetworksAsync(string, string?, List<string>?, string?, List<ProductType>?, int?, string?, string?, CancellationToken)
Get paged networks that the user has privileges on in an organization
[Get("/organizations/{organizationId}/networks")]
Task<List<Network>> GetOrganizationNetworksAsync(string organizationId, string? configTemplateId = null, List<string>? tags = null, string? tagsFilterType = null, List<ProductType>? productTypes = null, int? perPage = 100000, string? startingAfter = null, string? endingBefore = null, CancellationToken cancellationToken = default)
Parameters
organizationIdstringThe 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>An optional parameter to filter networks by product type. Results will have at least one of the included product types.
perPageint?The number of entries per page returned. Acceptable range is 3 - 100000. Default is 1000.
startingAfterstringA token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
endingBeforestringA token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
cancellationTokenCancellationTokenThe Cancellation Token
Returns
Exceptions
- ApiException
Thrown when fails to make API call