Interface ISecureConnectPoliciesDestinations
- Namespace
- Meraki.Api.Interfaces.SecureConnect.Policies
- Assembly
- Meraki.Api.dll
I Secure Connect Policies Destinations
public interface ISecureConnectPoliciesDestinations
Methods
CreateDestinationsAsync(long, int, SecureConnectionDestinationCreateRequest, CancellationToken)
Add destinations to a destination list.
[Post("/organizations/{organizationId}/policy/destinationLists/{destinationListId}/destinations")]
Task<SecureConnectionDestinationsResponse> CreateDestinationsAsync(long organizationId, int destinationListId, SecureConnectionDestinationCreateRequest SecureConnectionDestinationCreateRequest, CancellationToken cancellationToken = default)
Parameters
organizationIdlongOrganization ID associated with this resource.
destinationListIdintThe unique ID of the destination list.
SecureConnectionDestinationCreateRequestSecureConnectionDestinationCreateRequestThe destinations creation request
cancellationTokenCancellationTokenCancellation token
Returns
Exceptions
- ApiException
Thrown when fails to make API call
DeleteDestinationsAsync(long, int, List<int>, CancellationToken)
Remove destinations from the destination list.
[Delete("/organizations/{organizationId}/policy/destinationLists/{destinationListId}/destinations/remove")]
Task<SecureConnectionDestinationsResponse> DeleteDestinationsAsync(long organizationId, int destinationListId, List<int> SecureConnectionDestinationsDeleteRequest, CancellationToken cancellationToken = default)
Parameters
organizationIdlongOrganization ID associated with this resource.
destinationListIdintThe unique ID of the destination list.
SecureConnectionDestinationsDeleteRequestList<int>The list of destination ID.
cancellationTokenCancellationTokenCancellation token
Returns
Exceptions
- ApiException
Thrown when fails to make API call
GetDestinationsAsync(long, int, int?, int?, CancellationToken)
Get destinations in a destination list.
[Get("/organizations/{organizationId}/policy/destinationLists/{destinationListId}/destinations")]
Task<SecureConnectDestinations> GetDestinationsAsync(long organizationId, int destinationListId, int? page, int? limit, CancellationToken cancellationToken = default)
Parameters
organizationIdlongOrganization ID associated with this resource.
destinationListIdintThe unique ID of the destination list.
pageint?The number of a page in the collection.
limitint?The number of records in the collection to return on the page.
cancellationTokenCancellationTokenCancellation token
Returns
Exceptions
- ApiException
Thrown when fails to make API call