Table of Contents

Interface ISecureConnectPoliciesDestinationLists

Namespace
Meraki.Api.Interfaces.SecureConnect.Policies
Assembly
Meraki.Api.dll

I Secure Connect Policies Destination Lists

public interface ISecureConnectPoliciesDestinationLists

Methods

CreateDestinationListAsync(long, SecureConnectDestinationListCreateRequest, CancellationToken)

Create a destination list in your organization.

[Post("/organizations/{organizationId}/policy/destinationLists")]
Task<SecureConnectDestinationListResponse> CreateDestinationListAsync(long organizationId, SecureConnectDestinationListCreateRequest secureConnectDestinationListCreateRequest, CancellationToken cancellationToken = default)

Parameters

organizationId long

Organization ID associated with this resource.

secureConnectDestinationListCreateRequest SecureConnectDestinationListCreateRequest

Destination list to create.

cancellationToken CancellationToken

Cancellation token

Returns

Task<SecureConnectDestinationListResponse>

Exceptions

ApiException

Thrown when fails to make API call

DeleteDestinationListAsync(long, int, CancellationToken)

Delete a destination list from your organization.

[Delete("/organizations/{organizationId}/policy/destinationLists/{destinationListId}")]
Task DeleteDestinationListAsync(long organizationId, int destinationListId, CancellationToken cancellationToken = default)

Parameters

organizationId long

Organization ID associated with this resource.

destinationListId int

The unique ID of the destination list.

cancellationToken CancellationToken

Cancellation token

Returns

Task

Exceptions

ApiException

Thrown when fails to make API call

GetDestinationListAsync(long, int, CancellationToken)

Get a destination list.

[Get("/organizations/{organizationId}/policy/destinationLists/{destinationListId}")]
Task<SecureConnectDestinationListResponse> GetDestinationListAsync(long organizationId, int destinationListId, CancellationToken cancellationToken = default)

Parameters

organizationId long

Organization ID associated with this resource.

destinationListId int

The unique ID of the destination list.

cancellationToken CancellationToken

Cancellation token

Returns

Task<SecureConnectDestinationListResponse>

Exceptions

ApiException

Thrown when fails to make API call

GetDestinationListsAsync(long, int?, string?, CancellationToken)

Get the destination lists in your organization.

[Get("/organizations/{organizationId}/policy/destinationLists")]
Task<SecureConnectDestinationLists> GetDestinationListsAsync(long organizationId, int? page, string? limit, CancellationToken cancellationToken = default)

Parameters

organizationId long

Organization ID associated with this resource.

page int?

The number of a page in the collection.

limit string

The number of records in the collection to return on the page. example = 50, default = 100, minimum = 1, maximum = 100

cancellationToken CancellationToken

Cancellation token

Returns

Task<SecureConnectDestinationLists>

Exceptions

ApiException

Thrown when fails to make API call

UpdateDestinationListsAsync(long, int, SecureConnectDestinationListUpdateRequest, CancellationToken)

Update a destination list in your organization.

[Patch("/organizations/{organizationId}/policy/destinationLists/{destinationListId}")]
Task<SecureConnectDestinationListResponse> UpdateDestinationListsAsync(long organizationId, int destinationListId, SecureConnectDestinationListUpdateRequest secureConnectDestinationListUpdateRequest, CancellationToken cancellationToken = default)

Parameters

organizationId long

Organization ID associated with this resource.

destinationListId int

The unique ID of the destination list.

secureConnectDestinationListUpdateRequest SecureConnectDestinationListUpdateRequest

Destination list update request.

cancellationToken CancellationToken

Cancellation token

Returns

Task<SecureConnectDestinationListResponse>

Exceptions

ApiException

Thrown when fails to make API call