# MagicTransit

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#HealthCheckParam">HealthCheckParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#HealthCheckRate">HealthCheckRate</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#HealthCheckType">HealthCheckType</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#HealthCheck">HealthCheck</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#HealthCheckRate">HealthCheckRate</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#HealthCheckType">HealthCheckType</a>

## Apps

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppNewResponse">AppNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppUpdateResponse">AppUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppListResponse">AppListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppDeleteResponse">AppDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppEditResponse">AppEditResponse</a>

Methods:

- <code title="post /accounts/{account_id}/magic/apps">client.MagicTransit.Apps.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppNewParams">AppNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppNewResponse">AppNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/magic/apps/{account_app_id}">client.MagicTransit.Apps.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, accountAppID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppUpdateParams">AppUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppUpdateResponse">AppUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/apps">client.MagicTransit.Apps.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppListParams">AppListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppListResponse">AppListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/magic/apps/{account_app_id}">client.MagicTransit.Apps.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, accountAppID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppDeleteParams">AppDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppDeleteResponse">AppDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /accounts/{account_id}/magic/apps/{account_app_id}">client.MagicTransit.Apps.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, accountAppID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppEditParams">AppEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AppEditResponse">AppEditResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## CfInterconnects

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#CfInterconnectUpdateResponse">CfInterconnectUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#CfInterconnectListResponse">CfInterconnectListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#CfInterconnectBulkUpdateResponse">CfInterconnectBulkUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#CfInterconnectGetResponse">CfInterconnectGetResponse</a>

Methods:

- <code title="put /accounts/{account_id}/magic/cf_interconnects/{cf_interconnect_id}">client.MagicTransit.CfInterconnects.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#CfInterconnectService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, cfInterconnectID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#CfInterconnectUpdateParams">CfInterconnectUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#CfInterconnectUpdateResponse">CfInterconnectUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/cf_interconnects">client.MagicTransit.CfInterconnects.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#CfInterconnectService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#CfInterconnectListParams">CfInterconnectListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#CfInterconnectListResponse">CfInterconnectListResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/magic/cf_interconnects">client.MagicTransit.CfInterconnects.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#CfInterconnectService.BulkUpdate">BulkUpdate</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#CfInterconnectBulkUpdateParams">CfInterconnectBulkUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#CfInterconnectBulkUpdateResponse">CfInterconnectBulkUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/cf_interconnects/{cf_interconnect_id}">client.MagicTransit.CfInterconnects.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#CfInterconnectService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, cfInterconnectID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#CfInterconnectGetParams">CfInterconnectGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#CfInterconnectGetResponse">CfInterconnectGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## GRETunnels

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelNewResponse">GRETunnelNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelUpdateResponse">GRETunnelUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelListResponse">GRETunnelListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelDeleteResponse">GRETunnelDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelBulkUpdateResponse">GRETunnelBulkUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelGetResponse">GRETunnelGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/magic/gre_tunnels">client.MagicTransit.GRETunnels.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelNewParams">GRETunnelNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelNewResponse">GRETunnelNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/magic/gre_tunnels/{gre_tunnel_id}">client.MagicTransit.GRETunnels.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, greTunnelID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelUpdateParams">GRETunnelUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelUpdateResponse">GRETunnelUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/gre_tunnels">client.MagicTransit.GRETunnels.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelListParams">GRETunnelListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelListResponse">GRETunnelListResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/magic/gre_tunnels/{gre_tunnel_id}">client.MagicTransit.GRETunnels.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, greTunnelID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelDeleteParams">GRETunnelDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelDeleteResponse">GRETunnelDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/magic/gre_tunnels">client.MagicTransit.GRETunnels.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelService.BulkUpdate">BulkUpdate</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelBulkUpdateParams">GRETunnelBulkUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelBulkUpdateResponse">GRETunnelBulkUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/gre_tunnels/{gre_tunnel_id}">client.MagicTransit.GRETunnels.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, greTunnelID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelGetParams">GRETunnelGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#GRETunnelGetResponse">GRETunnelGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## IPSECTunnels

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PSKMetadata">PSKMetadata</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelNewResponse">IPSECTunnelNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelUpdateResponse">IPSECTunnelUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelListResponse">IPSECTunnelListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelDeleteResponse">IPSECTunnelDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelBulkUpdateResponse">IPSECTunnelBulkUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelGetResponse">IPSECTunnelGetResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelPSKGenerateResponse">IPSECTunnelPSKGenerateResponse</a>

Methods:

- <code title="post /accounts/{account_id}/magic/ipsec_tunnels">client.MagicTransit.IPSECTunnels.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelNewParams">IPSECTunnelNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelNewResponse">IPSECTunnelNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}">client.MagicTransit.IPSECTunnels.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, ipsecTunnelID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelUpdateParams">IPSECTunnelUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelUpdateResponse">IPSECTunnelUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/ipsec_tunnels">client.MagicTransit.IPSECTunnels.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelListParams">IPSECTunnelListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelListResponse">IPSECTunnelListResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}">client.MagicTransit.IPSECTunnels.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, ipsecTunnelID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelDeleteParams">IPSECTunnelDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelDeleteResponse">IPSECTunnelDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/magic/ipsec_tunnels">client.MagicTransit.IPSECTunnels.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelService.BulkUpdate">BulkUpdate</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelBulkUpdateParams">IPSECTunnelBulkUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelBulkUpdateResponse">IPSECTunnelBulkUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}">client.MagicTransit.IPSECTunnels.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, ipsecTunnelID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelGetParams">IPSECTunnelGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelGetResponse">IPSECTunnelGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}/psk_generate">client.MagicTransit.IPSECTunnels.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelService.PSKGenerate">PSKGenerate</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, ipsecTunnelID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelPSKGenerateParams">IPSECTunnelPSKGenerateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#IPSECTunnelPSKGenerateResponse">IPSECTunnelPSKGenerateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Routes

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ScopeParam">ScopeParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#Scope">Scope</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteNewResponse">RouteNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteUpdateResponse">RouteUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteListResponse">RouteListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteDeleteResponse">RouteDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteBulkUpdateResponse">RouteBulkUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteEmptyResponse">RouteEmptyResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteGetResponse">RouteGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/magic/routes">client.MagicTransit.Routes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteNewParams">RouteNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteNewResponse">RouteNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/magic/routes/{route_id}">client.MagicTransit.Routes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, routeID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteUpdateParams">RouteUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteUpdateResponse">RouteUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/routes">client.MagicTransit.Routes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteListParams">RouteListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteListResponse">RouteListResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/magic/routes/{route_id}">client.MagicTransit.Routes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, routeID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteDeleteParams">RouteDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteDeleteResponse">RouteDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/magic/routes">client.MagicTransit.Routes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteService.BulkUpdate">BulkUpdate</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteBulkUpdateParams">RouteBulkUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteBulkUpdateResponse">RouteBulkUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/magic/routes">client.MagicTransit.Routes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteService.Empty">Empty</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteEmptyParams">RouteEmptyParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteEmptyResponse">RouteEmptyResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/routes/{route_id}">client.MagicTransit.Routes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, routeID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteGetParams">RouteGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RouteGetResponse">RouteGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Sites

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteLocationParam">SiteLocationParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#Site">Site</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteLocation">SiteLocation</a>

Methods:

- <code title="post /accounts/{account_id}/magic/sites">client.MagicTransit.Sites.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteNewParams">SiteNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#Site">Site</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/magic/sites/{site_id}">client.MagicTransit.Sites.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteUpdateParams">SiteUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#Site">Site</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/sites">client.MagicTransit.Sites.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteListParams">SiteListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#Site">Site</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/magic/sites/{site_id}">client.MagicTransit.Sites.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteDeleteParams">SiteDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#Site">Site</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /accounts/{account_id}/magic/sites/{site_id}">client.MagicTransit.Sites.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteEditParams">SiteEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#Site">Site</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/sites/{site_id}">client.MagicTransit.Sites.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteGetParams">SiteGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#Site">Site</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### ACLs

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ACLConfigurationParam">ACLConfigurationParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AllowedProtocol">AllowedProtocol</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SubnetParam">SubnetParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ACL">ACL</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ACLConfiguration">ACLConfiguration</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#AllowedProtocol">AllowedProtocol</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#Subnet">Subnet</a>

Methods:

- <code title="post /accounts/{account_id}/magic/sites/{site_id}/acls">client.MagicTransit.Sites.ACLs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteACLService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteACLNewParams">SiteACLNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ACL">ACL</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/magic/sites/{site_id}/acls/{acl_id}">client.MagicTransit.Sites.ACLs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteACLService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, aclID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteACLUpdateParams">SiteACLUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ACL">ACL</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/sites/{site_id}/acls">client.MagicTransit.Sites.ACLs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteACLService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteACLListParams">SiteACLListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ACL">ACL</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/magic/sites/{site_id}/acls/{acl_id}">client.MagicTransit.Sites.ACLs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteACLService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, aclID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteACLDeleteParams">SiteACLDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ACL">ACL</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /accounts/{account_id}/magic/sites/{site_id}/acls/{acl_id}">client.MagicTransit.Sites.ACLs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteACLService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, aclID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteACLEditParams">SiteACLEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ACL">ACL</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/sites/{site_id}/acls/{acl_id}">client.MagicTransit.Sites.ACLs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteACLService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, aclID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteACLGetParams">SiteACLGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ACL">ACL</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### LANs

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#DHCPRelayParam">DHCPRelayParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#DHCPServerParam">DHCPServerParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#LANStaticAddressingParam">LANStaticAddressingParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#NatParam">NatParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RoutedSubnetParam">RoutedSubnetParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#DHCPRelay">DHCPRelay</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#DHCPServer">DHCPServer</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#LAN">LAN</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#LANStaticAddressing">LANStaticAddressing</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#Nat">Nat</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#RoutedSubnet">RoutedSubnet</a>

Methods:

- <code title="post /accounts/{account_id}/magic/sites/{site_id}/lans">client.MagicTransit.Sites.LANs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteLANService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteLANNewParams">SiteLANNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#LAN">LAN</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}">client.MagicTransit.Sites.LANs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteLANService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, lanID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteLANUpdateParams">SiteLANUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#LAN">LAN</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/sites/{site_id}/lans">client.MagicTransit.Sites.LANs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteLANService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteLANListParams">SiteLANListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#LAN">LAN</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}">client.MagicTransit.Sites.LANs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteLANService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, lanID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteLANDeleteParams">SiteLANDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#LAN">LAN</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}">client.MagicTransit.Sites.LANs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteLANService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, lanID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteLANEditParams">SiteLANEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#LAN">LAN</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}">client.MagicTransit.Sites.LANs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteLANService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, lanID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteLANGetParams">SiteLANGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#LAN">LAN</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### WANs

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#WANStaticAddressingParam">WANStaticAddressingParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#WAN">WAN</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#WANStaticAddressing">WANStaticAddressing</a>

Methods:

- <code title="post /accounts/{account_id}/magic/sites/{site_id}/wans">client.MagicTransit.Sites.WANs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteWANService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteWANNewParams">SiteWANNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#WAN">WAN</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}">client.MagicTransit.Sites.WANs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteWANService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, wanID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteWANUpdateParams">SiteWANUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#WAN">WAN</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/sites/{site_id}/wans">client.MagicTransit.Sites.WANs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteWANService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteWANListParams">SiteWANListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#WAN">WAN</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}">client.MagicTransit.Sites.WANs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteWANService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, wanID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteWANDeleteParams">SiteWANDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#WAN">WAN</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}">client.MagicTransit.Sites.WANs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteWANService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, wanID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteWANEditParams">SiteWANEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#WAN">WAN</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}">client.MagicTransit.Sites.WANs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteWANService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, wanID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#SiteWANGetParams">SiteWANGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#WAN">WAN</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Connectors

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorNewResponse">ConnectorNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorUpdateResponse">ConnectorUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorListResponse">ConnectorListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorDeleteResponse">ConnectorDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorEditResponse">ConnectorEditResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorGetResponse">ConnectorGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/magic/connectors">client.MagicTransit.Connectors.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorNewParams">ConnectorNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorNewResponse">ConnectorNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/magic/connectors/{connector_id}">client.MagicTransit.Connectors.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, connectorID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorUpdateParams">ConnectorUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorUpdateResponse">ConnectorUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/connectors">client.MagicTransit.Connectors.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorListParams">ConnectorListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorListResponse">ConnectorListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/magic/connectors/{connector_id}">client.MagicTransit.Connectors.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, connectorID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorDeleteParams">ConnectorDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorDeleteResponse">ConnectorDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /accounts/{account_id}/magic/connectors/{connector_id}">client.MagicTransit.Connectors.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, connectorID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorEditParams">ConnectorEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorEditResponse">ConnectorEditResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/connectors/{connector_id}">client.MagicTransit.Connectors.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, connectorID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorGetParams">ConnectorGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorGetResponse">ConnectorGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Events

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorEventListResponse">ConnectorEventListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorEventGetResponse">ConnectorEventGetResponse</a>

Methods:

- <code title="get /accounts/{account_id}/magic/connectors/{connector_id}/telemetry/events">client.MagicTransit.Connectors.Events.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorEventService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, connectorID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorEventListParams">ConnectorEventListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorEventListResponse">ConnectorEventListResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/connectors/{connector_id}/telemetry/events/{event_t}.{event_n}">client.MagicTransit.Connectors.Events.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorEventService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, connectorID <a href="https://pkg.go.dev/builtin#string">string</a>, eventT <a href="https://pkg.go.dev/builtin#float64">float64</a>, eventN <a href="https://pkg.go.dev/builtin#float64">float64</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorEventGetParams">ConnectorEventGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorEventGetResponse">ConnectorEventGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

#### Latest

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorEventLatestListResponse">ConnectorEventLatestListResponse</a>

Methods:

- <code title="get /accounts/{account_id}/magic/connectors/{connector_id}/telemetry/events/latest">client.MagicTransit.Connectors.Events.Latest.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorEventLatestService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, connectorID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorEventLatestListParams">ConnectorEventLatestListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorEventLatestListResponse">ConnectorEventLatestListResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Snapshots

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorSnapshotListResponse">ConnectorSnapshotListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorSnapshotGetResponse">ConnectorSnapshotGetResponse</a>

Methods:

- <code title="get /accounts/{account_id}/magic/connectors/{connector_id}/telemetry/snapshots">client.MagicTransit.Connectors.Snapshots.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorSnapshotService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, connectorID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorSnapshotListParams">ConnectorSnapshotListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorSnapshotListResponse">ConnectorSnapshotListResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/magic/connectors/{connector_id}/telemetry/snapshots/{snapshot_t}">client.MagicTransit.Connectors.Snapshots.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorSnapshotService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, connectorID <a href="https://pkg.go.dev/builtin#string">string</a>, snapshotT <a href="https://pkg.go.dev/builtin#float64">float64</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorSnapshotGetParams">ConnectorSnapshotGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorSnapshotGetResponse">ConnectorSnapshotGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

#### Latest

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorSnapshotLatestListResponse">ConnectorSnapshotLatestListResponse</a>

Methods:

- <code title="get /accounts/{account_id}/magic/connectors/{connector_id}/telemetry/snapshots/latest">client.MagicTransit.Connectors.Snapshots.Latest.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorSnapshotLatestService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, connectorID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorSnapshotLatestListParams">ConnectorSnapshotLatestListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#ConnectorSnapshotLatestListResponse">ConnectorSnapshotLatestListResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## PCAPs

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPFilterParam">PCAPFilterParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAP">PCAP</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPFilter">PCAPFilter</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPNewResponse">PCAPNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPListResponse">PCAPListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPGetResponse">PCAPGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/pcaps">client.MagicTransit.PCAPs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPNewParams">PCAPNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPNewResponse">PCAPNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/pcaps">client.MagicTransit.PCAPs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPListParams">PCAPListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPListResponse">PCAPListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/pcaps/{pcap_id}">client.MagicTransit.PCAPs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, pcapID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPGetParams">PCAPGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPGetResponse">PCAPGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/pcaps/{pcap_id}/stop">client.MagicTransit.PCAPs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPService.Stop">Stop</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, pcapID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPStopParams">PCAPStopParams</a>) <a href="https://pkg.go.dev/builtin#error">error</a></code>

### Ownership

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#Ownership">Ownership</a>

Methods:

- <code title="post /accounts/{account_id}/pcaps/ownership">client.MagicTransit.PCAPs.Ownership.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPOwnershipService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPOwnershipNewParams">PCAPOwnershipNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#Ownership">Ownership</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/pcaps/ownership/{ownership_id}">client.MagicTransit.PCAPs.Ownership.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPOwnershipService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, ownershipID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPOwnershipDeleteParams">PCAPOwnershipDeleteParams</a>) <a href="https://pkg.go.dev/builtin#error">error</a></code>
- <code title="get /accounts/{account_id}/pcaps/ownership">client.MagicTransit.PCAPs.Ownership.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPOwnershipService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPOwnershipGetParams">PCAPOwnershipGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#Ownership">Ownership</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_id}/pcaps/ownership/validate">client.MagicTransit.PCAPs.Ownership.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPOwnershipService.Validate">Validate</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPOwnershipValidateParams">PCAPOwnershipValidateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#Ownership">Ownership</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Download

Methods:

- <code title="get /accounts/{account_id}/pcaps/{pcap_id}/download">client.MagicTransit.PCAPs.Download.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPDownloadService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, pcapID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit">magic_transit</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/magic_transit#PCAPDownloadGetParams">PCAPDownloadGetParams</a>) (\*http.Response, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
