Interface ISecureConnectDeploymentsOrganizationTunnel
- Namespace
- Meraki.Api.Interfaces.SecureConnect.Deployments
- Assembly
- Meraki.Api.dll
I Secure Connect Deployments Organization Tunnel
public interface ISecureConnectDeploymentsOrganizationTunnel
Methods
AddTunnelAsync(long, SecureConnectTunnelCreateRequest, CancellationToken)
Add a new tunnel to the organization.
[Post("/organizations/{organizationId}/tunnels")]
Task<SecureConnectTunnel> AddTunnelAsync(long organizationId, SecureConnectTunnelCreateRequest secureConnectTunnelCreateRequest, CancellationToken cancellationToken = default)
Parameters
organizationIdlongOrganization ID associated with this resource.
secureConnectTunnelCreateRequestSecureConnectTunnelCreateRequestThe tunnel to create.
cancellationTokenCancellationTokenCancellation token
Returns
Exceptions
- ApiException
Thrown when fails to make API call
DeleteTunnelAsync(long, int, SecureConnectTunnelDeleteRequest?, CancellationToken)
Delete a tunnel in the organization.
[Delete("/organizations/{organizationId}/tunnels/{id}")]
Task DeleteTunnelAsync(long organizationId, int id, SecureConnectTunnelDeleteRequest? secureConnectTunnelDeleteRequest, CancellationToken cancellationToken = default)
Parameters
organizationIdlongOrganization ID associated with this resource.
idintThe ID of the tunnel.
secureConnectTunnelDeleteRequestSecureConnectTunnelDeleteRequestProvide the tunnel to delete.y
cancellationTokenCancellationTokenCancellation token
Returns
Exceptions
- ApiException
Thrown when fails to make API call
GetTunnelAsync(long, int, CancellationToken)
Get a specific tunnel.
[Get("/organizations/{organizationId}/tunnels/{id}")]
Task<SecureConnectTunnel> GetTunnelAsync(long organizationId, int id, CancellationToken cancellationToken = default)
Parameters
organizationIdlongOrganization ID associated with this resource.
idintThe ID of the tunnel.
cancellationTokenCancellationTokenCancellation token
Returns
Exceptions
- ApiException
Thrown when fails to make API call
GetTunnelPoliciesAsync(long, int, string?, int?, int?, CancellationToken)
List the policies that include the network tunnel.
[Get("/organizations/{organizationId}/tunnels/{id}/policies")]
Task<List<SecureConnectTunnelPolicy>> GetTunnelPoliciesAsync(long organizationId, int id, string? type, int? limit, int? page, CancellationToken cancellationToken = default)
Parameters
organizationIdlongOrganization ID associated with this resource.
idintThe ID of the tunnel.
typestringFilter the list of policies to only include the specified type. enum = ["firewallrule", "web"]
limitint?The number of items to return in the collection.
pageint?The number of a page in the collection. Use with the limit parameter to implement pagination.
cancellationTokenCancellationTokenCancellation token
Returns
Exceptions
- ApiException
Thrown when fails to make API call
ListTunnelsAsync(long, bool?, int?, string?, string?, CancellationToken)
List the tunnels for an organization.
[Get("/organizations/{organizationId}/tunnels")]
Task<List<SecureConnectTunnel>> ListTunnelsAsync(long organizationId, bool? includeState, int? limit, string? startKey, string? filters, CancellationToken cancellationToken = default)
Parameters
organizationIdlongOrganization ID associated with this resource.
includeStatebool?Specify whether to include the tunnel state information in the response. default = false
limitint?The number of items to return in the collection. If not set, all tunnels are returned.
startKeystringSpecify where to start reading in the tunnel collection (startKey correlates to the first tunnel to return). If the startKey query parameter is not included in the API request, Umbrella reads the collection from the first available tunnel. When the API request includes the limit query parameter and you have more tunnels to read, Umbrella returns the value of startKey for the next tunnel in the hypermedia Link header.
filtersstringFilters the tunnel list by tunnel name, device type, service type, status, data center, or site origin ID.For example:{"name": "test","deviceType": "ISR","serviceType": "SIG","status": "UP","dataCenter": "pao1.edc","siteOriginId": 123}
cancellationTokenCancellationTokenCancellation token
Returns
Exceptions
- ApiException
Thrown when fails to make API call