diff --git a/.changelog/1385.txt b/.changelog/1385.txt new file mode 100644 index 00000000000..64d8b965e04 --- /dev/null +++ b/.changelog/1385.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +tunnel: add support for `include_prefix`, `exclude_prefix` in list operations +``` diff --git a/tunnel.go b/tunnel.go index e61116ae136..2f3f6d7c90d 100644 --- a/tunnel.go +++ b/tunnel.go @@ -217,10 +217,12 @@ type TunnelConfigurationParams struct { } type TunnelListParams struct { - Name string `url:"name,omitempty"` - UUID string `url:"uuid,omitempty"` // the tunnel ID - IsDeleted *bool `url:"is_deleted,omitempty"` - ExistedAt *time.Time `url:"existed_at,omitempty"` + Name string `url:"name,omitempty"` + UUID string `url:"uuid,omitempty"` // the tunnel ID + IsDeleted *bool `url:"is_deleted,omitempty"` + ExistedAt *time.Time `url:"existed_at,omitempty"` + IncludePrefix string `url:"include_prefix,omitempty"` + ExcludePrefix string `url:"exclude_prefix,omitempty"` ResultInfo }