Documentation
¶
Overview ¶
Package vpn provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.1 DO NOT EDIT.
Index ¶
- func NewBatchDeleteLockedSslVpnTunnelRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewBatchDeleteLockedSslVpnTunnelRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewBatchDeleteSslVpnUserGroupRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewBatchDeleteSslVpnUserGroupRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewBatchDeleteVpnRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewBatchDeleteVpnRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewBatchDeleteVpnUserRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewBatchDeleteVpnUserRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCheckUsedInVpnsRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCheckUsedInVpnsRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCheckUsedVpnRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
- func NewCheckValueAvailableRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCheckValueAvailableRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateClientToSiteVpnClientRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateClientToSiteVpnClientRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateClientToSiteVpnServerRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateClientToSiteVpnServerRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateIpsecFailoverRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateIpsecFailoverRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateLockedSslVpnTunnuelRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateLockedSslVpnTunnuelRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateLockedSslVpnUserRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateLockedSslVpnUserRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreatePeerRequest(server string, omadacId string, siteId string, body CreatePeerJSONRequestBody) (*http.Request, error)
- func NewCreatePeerRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateS2SAutoVpnRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateS2SAutoVpnRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateS2SManualVpnRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateS2SManualVpnRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateSiteToSiteVpnRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateSiteToSiteVpnRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateSslVpnResourceGroupRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateSslVpnResourceGroupRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateSslVpnResourceRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateSslVpnResourceRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateSslVpnUserGroupRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateSslVpnUserGroupRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateSslVpnUserRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateSslVpnUserRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateVpnClientRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateVpnClientRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateVpnServerRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateVpnServerRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateVpnUserRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateVpnUserRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateVpnUserV2Request(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateVpnUserV2RequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateVpnUserV3Request(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateVpnUserV3RequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewCreateWireguardRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewCreateWireguardRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewDeleteClientToSiteVpnClientRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
- func NewDeleteClientToSiteVpnServerRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
- func NewDeleteIpsecFailoverRequest(server string, omadacId string, siteId string, failoverId string) (*http.Request, error)
- func NewDeleteLockedSslVpnTunnelRequest(server string, omadacId string, siteId string, lockTunnelId string) (*http.Request, error)
- func NewDeleteLockedSslVpnUserRequest(server string, omadacId string, siteId string, id string) (*http.Request, error)
- func NewDeletePeerRequest(server string, omadacId string, siteId string, id string) (*http.Request, error)
- func NewDeleteSiteToSiteVpnRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
- func NewDeleteSslVpnResourceGroupRequest(server string, omadacId string, siteId string, id string) (*http.Request, error)
- func NewDeleteSslVpnResourceRequest(server string, omadacId string, siteId string, id string) (*http.Request, error)
- func NewDeleteSslVpnUserGroupRequest(server string, omadacId string, siteId string, id string) (*http.Request, error)
- func NewDeleteSslVpnUserRequest(server string, omadacId string, siteId string, id string) (*http.Request, error)
- func NewDeleteVpnRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
- func NewDeleteVpnUserRequest(server string, omadacId string, siteId string, userId string) (*http.Request, error)
- func NewDeleteVpnV2Request(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
- func NewDeleteWireguardRequest(server string, omadacId string, siteId string, id string) (*http.Request, error)
- func NewDisconnectSslVpnTunnelRequest(server string, omadacId string, siteId string, tunnelId string) (*http.Request, error)
- func NewDownloadSslVpnCertificateRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewDownloadVpnCertificateRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
- func NewGetAllVpnListRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetBriefVpnUserByServerIdListRequest(server string, omadacId string, siteId string, serverId string) (*http.Request, error)
- func NewGetClientToSiteVpnClientListRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetClientToSiteVpnServerInfoRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
- func NewGetClientToSiteVpnServerListRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetClientToSiteVpnServerUserListRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
- func NewGetGridIpsecFailoverRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetGridLockedSslVpnServerUserRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetGridSslVpnServerResourceGroupRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetGridSslVpnServerResourceRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetGridSslVpnServerUserGroupRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetGridSslVpnServerUserRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetGridSslVpnUserInGroupRequest(server string, omadacId string, siteId string, userGroupId string, ...) (*http.Request, error)
- func NewGetGridSslVpnUserInGroupV2Request(server string, omadacId string, siteId string, userGroupId string, ...) (*http.Request, error)
- func NewGetGridVpnClientV2Request(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetGridVpnS2SV2Request(server string, omadacId string, siteId string, params *GetGridVpnS2SV2Params) (*http.Request, error)
- func NewGetGridVpnServerV2Request(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetGridVpnUserRequest(server string, omadacId string, siteId string, params *GetGridVpnUserParams) (*http.Request, error)
- func NewGetGridVpnUserV2Request(server string, omadacId string, siteId string, params *GetGridVpnUserV2Params) (*http.Request, error)
- func NewGetLockedSslVpnTunnuelsRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetRadiusServerInfoRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetSiteToSiteVpnInfoRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
- func NewGetSiteToSiteVpnListRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetSslVpnResourceGroupListRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetSslVpnResourceListRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetSslVpnServerSettingRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetSslVpnUserGroupBriefListRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetSslVpnUserGroupListRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetVpnAvailableIpPoolRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetVpnClientDetailInfoRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
- func NewGetVpnClientToSiteClientInfoRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
- func NewGetVpnDefaultValueRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewGetVpnDefaultValueRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewGetVpnPreSharedKeyRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetVpnS2SDetailInfoRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
- func NewGetVpnServerDetailInfoRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
- func NewGetVpnServerUserListV3Request(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewGetVpnUserListRequest(server string, omadacId string, siteId string, protocol string) (*http.Request, error)
- func NewGetVpnUserServerListRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetWireguardKeyRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewGetWireguardSummaryRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewListPeerRequest(server string, omadacId string, siteId string, params *ListPeerParams) (*http.Request, error)
- func NewListRemoteSiteRequest(server string, omadacId string, siteId string) (*http.Request, error)
- func NewListWireguardRequest(server string, omadacId string, siteId string, params *ListWireguardParams) (*http.Request, error)
- func NewLockSslVpnTunnelRequest(server string, omadacId string, siteId string, tunnelId string) (*http.Request, error)
- func NewModifyClientStatusRequest(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewModifyClientStatusRequestWithBody(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewModifyClientToSiteVpnClientRequest(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewModifyClientToSiteVpnClientRequestWithBody(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewModifyClientToSiteVpnServerRequest(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewModifyClientToSiteVpnServerRequestWithBody(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewModifyIpsecFailoverRequest(server string, omadacId string, siteId string, failoverId string, ...) (*http.Request, error)
- func NewModifyIpsecFailoverRequestWithBody(server string, omadacId string, siteId string, failoverId string, ...) (*http.Request, error)
- func NewModifyLockedSslVpnTunnuelRequest(server string, omadacId string, siteId string, lockTunnelId string, ...) (*http.Request, error)
- func NewModifyLockedSslVpnTunnuelRequestWithBody(server string, omadacId string, siteId string, lockTunnelId string, ...) (*http.Request, error)
- func NewModifyLockedSslVpnUserRequest(server string, omadacId string, siteId string, id string, ...) (*http.Request, error)
- func NewModifyLockedSslVpnUserRequestWithBody(server string, omadacId string, siteId string, id string, contentType string, ...) (*http.Request, error)
- func NewModifyPeerRequest(server string, omadacId string, siteId string, id string, ...) (*http.Request, error)
- func NewModifyPeerRequestWithBody(server string, omadacId string, siteId string, id string, contentType string, ...) (*http.Request, error)
- func NewModifyS2SAutoVpnRequest(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewModifyS2SAutoVpnRequestWithBody(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewModifyS2SManualVpnRequest(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewModifyS2SManualVpnRequestWithBody(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewModifySiteToSiteVpnRequest(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewModifySiteToSiteVpnRequestWithBody(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewModifySslVpnResourceGroupRequest(server string, omadacId string, siteId string, id string, ...) (*http.Request, error)
- func NewModifySslVpnResourceGroupRequestWithBody(server string, omadacId string, siteId string, id string, contentType string, ...) (*http.Request, error)
- func NewModifySslVpnResourceRequest(server string, omadacId string, siteId string, id string, ...) (*http.Request, error)
- func NewModifySslVpnResourceRequestWithBody(server string, omadacId string, siteId string, id string, contentType string, ...) (*http.Request, error)
- func NewModifySslVpnServerSettingRequest(server string, omadacId string, siteId string, ...) (*http.Request, error)
- func NewModifySslVpnServerSettingRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewModifySslVpnUserGroupRequest(server string, omadacId string, siteId string, id string, ...) (*http.Request, error)
- func NewModifySslVpnUserGroupRequestWithBody(server string, omadacId string, siteId string, id string, contentType string, ...) (*http.Request, error)
- func NewModifySslVpnUserRequest(server string, omadacId string, siteId string, id string, ...) (*http.Request, error)
- func NewModifySslVpnUserRequestWithBody(server string, omadacId string, siteId string, id string, contentType string, ...) (*http.Request, error)
- func NewModifyVpnClientRequest(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewModifyVpnClientRequestWithBody(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewModifyVpnServerRequest(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewModifyVpnServerRequestWithBody(server string, omadacId string, siteId string, vpnId string, ...) (*http.Request, error)
- func NewModifyVpnUserRequest(server string, omadacId string, siteId string, userId string, ...) (*http.Request, error)
- func NewModifyVpnUserRequestWithBody(server string, omadacId string, siteId string, userId string, ...) (*http.Request, error)
- func NewModifyVpnUserV2Request(server string, omadacId string, siteId string, userId string, ...) (*http.Request, error)
- func NewModifyVpnUserV2RequestWithBody(server string, omadacId string, siteId string, userId string, ...) (*http.Request, error)
- func NewModifyVpnUserV3Request(server string, omadacId string, siteId string, userId string, ...) (*http.Request, error)
- func NewModifyVpnUserV3RequestWithBody(server string, omadacId string, siteId string, userId string, ...) (*http.Request, error)
- func NewModifyWireguardRequest(server string, omadacId string, siteId string, id string, ...) (*http.Request, error)
- func NewModifyWireguardRequestWithBody(server string, omadacId string, siteId string, id string, contentType string, ...) (*http.Request, error)
- func NewUploadVpnCertificateFileRequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- func NewUploadVpnCertificateFileV2RequestWithBody(server string, omadacId string, siteId string, contentType string, ...) (*http.Request, error)
- type ApInterference
- type BatchDeleteLockedSslVpnTunnelJSONRequestBody
- type BatchDeleteLockedSslVpnTunnelResponse
- type BatchDeleteSslVpnUserGroupJSONRequestBody
- type BatchDeleteSslVpnUserGroupResponse
- type BatchDeleteVpnJSONRequestBody
- type BatchDeleteVpnResponse
- type BatchDeleteVpnUserJSONRequestBody
- type BatchDeleteVpnUserResponse
- type BatchSelectSslUserVO
- type BatchSelectVpnUserVO
- type BatchSelectVpnVO
- type CheckUsedInVpnsJSONRequestBody
- type CheckUsedInVpnsResponse
- type CheckUsedVpnResponse
- type CheckValueAvailableJSONRequestBody
- type CheckValueAvailableResponse
- type Client
- func (c *Client) BatchDeleteLockedSslVpnTunnel(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) BatchDeleteLockedSslVpnTunnelWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) BatchDeleteSslVpnUserGroup(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) BatchDeleteSslVpnUserGroupWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) BatchDeleteVpn(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) BatchDeleteVpnUser(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) BatchDeleteVpnUserWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) BatchDeleteVpnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CheckUsedInVpns(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CheckUsedInVpnsWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CheckUsedVpn(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) CheckValueAvailable(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CheckValueAvailableWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateClientToSiteVpnClient(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateClientToSiteVpnClientWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateClientToSiteVpnServer(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateClientToSiteVpnServerWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateIpsecFailover(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateIpsecFailoverWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateLockedSslVpnTunnuel(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateLockedSslVpnTunnuelWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateLockedSslVpnUser(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateLockedSslVpnUserWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreatePeer(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreatePeerWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateS2SAutoVpn(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateS2SAutoVpnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateS2SManualVpn(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateS2SManualVpnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateSiteToSiteVpn(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateSiteToSiteVpnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateSslVpnResource(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateSslVpnResourceGroup(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateSslVpnResourceGroupWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateSslVpnResourceWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateSslVpnUser(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateSslVpnUserGroup(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateSslVpnUserGroupWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateSslVpnUserWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateVpnClient(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateVpnClientWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateVpnServer(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateVpnServerWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateVpnUser(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateVpnUserV2(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateVpnUserV2WithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateVpnUserV3(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateVpnUserV3WithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateVpnUserWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateWireguard(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) CreateWireguardWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteClientToSiteVpnClient(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) DeleteClientToSiteVpnServer(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) DeleteIpsecFailover(ctx context.Context, omadacId string, siteId string, failoverId string, ...) (*http.Response, error)
- func (c *Client) DeleteLockedSslVpnTunnel(ctx context.Context, omadacId string, siteId string, lockTunnelId string, ...) (*http.Response, error)
- func (c *Client) DeleteLockedSslVpnUser(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) DeletePeer(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) DeleteSiteToSiteVpn(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) DeleteSslVpnResource(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) DeleteSslVpnResourceGroup(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) DeleteSslVpnUser(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) DeleteSslVpnUserGroup(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) DeleteVpn(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) DeleteVpnUser(ctx context.Context, omadacId string, siteId string, userId string, ...) (*http.Response, error)
- func (c *Client) DeleteVpnV2(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) DeleteWireguard(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) DisconnectSslVpnTunnel(ctx context.Context, omadacId string, siteId string, tunnelId string, ...) (*http.Response, error)
- func (c *Client) DownloadSslVpnCertificate(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) DownloadVpnCertificate(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) GetAllVpnList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetBriefVpnUserByServerIdList(ctx context.Context, omadacId string, siteId string, serverId string, ...) (*http.Response, error)
- func (c *Client) GetClientToSiteVpnClientList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetClientToSiteVpnServerInfo(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) GetClientToSiteVpnServerList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetClientToSiteVpnServerUserList(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) GetGridIpsecFailover(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridLockedSslVpnServerUser(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridSslVpnServerResource(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridSslVpnServerResourceGroup(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridSslVpnServerUser(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridSslVpnServerUserGroup(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridSslVpnUserInGroup(ctx context.Context, omadacId string, siteId string, userGroupId string, ...) (*http.Response, error)
- func (c *Client) GetGridSslVpnUserInGroupV2(ctx context.Context, omadacId string, siteId string, userGroupId string, ...) (*http.Response, error)
- func (c *Client) GetGridVpnClientV2(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridVpnS2SV2(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridVpnServerV2(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridVpnUser(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetGridVpnUserV2(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetLockedSslVpnTunnuels(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetRadiusServerInfo(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetSiteToSiteVpnInfo(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) GetSiteToSiteVpnList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetSslVpnResourceGroupList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetSslVpnResourceList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetSslVpnServerSetting(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetSslVpnUserGroupBriefList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetSslVpnUserGroupList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetVpnAvailableIpPool(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetVpnClientDetailInfo(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) GetVpnClientToSiteClientInfo(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) GetVpnDefaultValue(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetVpnDefaultValueWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) GetVpnPreSharedKey(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetVpnS2SDetailInfo(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) GetVpnServerDetailInfo(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) GetVpnServerUserListV3(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) GetVpnUserList(ctx context.Context, omadacId string, siteId string, protocol string, ...) (*http.Response, error)
- func (c *Client) GetVpnUserServerList(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetWireguardKey(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) GetWireguardSummary(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ListPeer(ctx context.Context, omadacId string, siteId string, params *ListPeerParams, ...) (*http.Response, error)
- func (c *Client) ListRemoteSite(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ListWireguard(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) LockSslVpnTunnel(ctx context.Context, omadacId string, siteId string, tunnelId string, ...) (*http.Response, error)
- func (c *Client) ModifyClientStatus(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) ModifyClientStatusWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) ModifyClientToSiteVpnClient(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) ModifyClientToSiteVpnClientWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) ModifyClientToSiteVpnServer(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) ModifyClientToSiteVpnServerWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) ModifyIpsecFailover(ctx context.Context, omadacId string, siteId string, failoverId string, ...) (*http.Response, error)
- func (c *Client) ModifyIpsecFailoverWithBody(ctx context.Context, omadacId string, siteId string, failoverId string, ...) (*http.Response, error)
- func (c *Client) ModifyLockedSslVpnTunnuel(ctx context.Context, omadacId string, siteId string, lockTunnelId string, ...) (*http.Response, error)
- func (c *Client) ModifyLockedSslVpnTunnuelWithBody(ctx context.Context, omadacId string, siteId string, lockTunnelId string, ...) (*http.Response, error)
- func (c *Client) ModifyLockedSslVpnUser(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifyLockedSslVpnUserWithBody(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifyPeer(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifyPeerWithBody(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifyS2SAutoVpn(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) ModifyS2SAutoVpnWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) ModifyS2SManualVpn(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) ModifyS2SManualVpnWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) ModifySiteToSiteVpn(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) ModifySiteToSiteVpnWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) ModifySslVpnResource(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifySslVpnResourceGroup(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifySslVpnResourceGroupWithBody(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifySslVpnResourceWithBody(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifySslVpnServerSetting(ctx context.Context, omadacId string, siteId string, ...) (*http.Response, error)
- func (c *Client) ModifySslVpnServerSettingWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ModifySslVpnUser(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifySslVpnUserGroup(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifySslVpnUserGroupWithBody(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifySslVpnUserWithBody(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifyVpnClient(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) ModifyVpnClientWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) ModifyVpnServer(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) ModifyVpnServerWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*http.Response, error)
- func (c *Client) ModifyVpnUser(ctx context.Context, omadacId string, siteId string, userId string, ...) (*http.Response, error)
- func (c *Client) ModifyVpnUserV2(ctx context.Context, omadacId string, siteId string, userId string, ...) (*http.Response, error)
- func (c *Client) ModifyVpnUserV2WithBody(ctx context.Context, omadacId string, siteId string, userId string, ...) (*http.Response, error)
- func (c *Client) ModifyVpnUserV3(ctx context.Context, omadacId string, siteId string, userId string, ...) (*http.Response, error)
- func (c *Client) ModifyVpnUserV3WithBody(ctx context.Context, omadacId string, siteId string, userId string, ...) (*http.Response, error)
- func (c *Client) ModifyVpnUserWithBody(ctx context.Context, omadacId string, siteId string, userId string, ...) (*http.Response, error)
- func (c *Client) ModifyWireguard(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) ModifyWireguardWithBody(ctx context.Context, omadacId string, siteId string, id string, ...) (*http.Response, error)
- func (c *Client) UploadVpnCertificateFileV2WithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UploadVpnCertificateFileWithBody(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*http.Response, error)
- type ClientAggHealthDTO
- type ClientInterface
- type ClientOption
- type ClientToSiteVpnClient
- type ClientToSiteVpnServer
- type ClientWithResponses
- func (c *ClientWithResponses) BatchDeleteLockedSslVpnTunnelWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*BatchDeleteLockedSslVpnTunnelResponse, error)
- func (c *ClientWithResponses) BatchDeleteLockedSslVpnTunnelWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*BatchDeleteLockedSslVpnTunnelResponse, error)
- func (c *ClientWithResponses) BatchDeleteSslVpnUserGroupWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*BatchDeleteSslVpnUserGroupResponse, error)
- func (c *ClientWithResponses) BatchDeleteSslVpnUserGroupWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*BatchDeleteSslVpnUserGroupResponse, error)
- func (c *ClientWithResponses) BatchDeleteVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*BatchDeleteVpnUserResponse, error)
- func (c *ClientWithResponses) BatchDeleteVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*BatchDeleteVpnUserResponse, error)
- func (c *ClientWithResponses) BatchDeleteVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*BatchDeleteVpnResponse, error)
- func (c *ClientWithResponses) BatchDeleteVpnWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*BatchDeleteVpnResponse, error)
- func (c *ClientWithResponses) CheckUsedInVpnsWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CheckUsedInVpnsResponse, error)
- func (c *ClientWithResponses) CheckUsedInVpnsWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CheckUsedInVpnsResponse, error)
- func (c *ClientWithResponses) CheckUsedVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*CheckUsedVpnResponse, error)
- func (c *ClientWithResponses) CheckValueAvailableWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CheckValueAvailableResponse, error)
- func (c *ClientWithResponses) CheckValueAvailableWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CheckValueAvailableResponse, error)
- func (c *ClientWithResponses) CreateClientToSiteVpnClientWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateClientToSiteVpnClientResponse, error)deprecated
- func (c *ClientWithResponses) CreateClientToSiteVpnClientWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateClientToSiteVpnClientResponse, error)
- func (c *ClientWithResponses) CreateClientToSiteVpnServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateClientToSiteVpnServerResponse, error)deprecated
- func (c *ClientWithResponses) CreateClientToSiteVpnServerWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateClientToSiteVpnServerResponse, error)
- func (c *ClientWithResponses) CreateIpsecFailoverWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateIpsecFailoverResponse, error)deprecated
- func (c *ClientWithResponses) CreateIpsecFailoverWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateIpsecFailoverResponse, error)
- func (c *ClientWithResponses) CreateLockedSslVpnTunnuelWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateLockedSslVpnTunnuelResponse, error)
- func (c *ClientWithResponses) CreateLockedSslVpnTunnuelWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateLockedSslVpnTunnuelResponse, error)
- func (c *ClientWithResponses) CreateLockedSslVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateLockedSslVpnUserResponse, error)
- func (c *ClientWithResponses) CreateLockedSslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateLockedSslVpnUserResponse, error)
- func (c *ClientWithResponses) CreatePeerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreatePeerResponse, error)deprecated
- func (c *ClientWithResponses) CreatePeerWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreatePeerResponse, error)
- func (c *ClientWithResponses) CreateS2SAutoVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateS2SAutoVpnResponse, error)
- func (c *ClientWithResponses) CreateS2SAutoVpnWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateS2SAutoVpnResponse, error)
- func (c *ClientWithResponses) CreateS2SManualVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateS2SManualVpnResponse, error)
- func (c *ClientWithResponses) CreateS2SManualVpnWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateS2SManualVpnResponse, error)
- func (c *ClientWithResponses) CreateSiteToSiteVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateSiteToSiteVpnResponse, error)deprecated
- func (c *ClientWithResponses) CreateSiteToSiteVpnWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateSiteToSiteVpnResponse, error)
- func (c *ClientWithResponses) CreateSslVpnResourceGroupWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateSslVpnResourceGroupResponse, error)
- func (c *ClientWithResponses) CreateSslVpnResourceGroupWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateSslVpnResourceGroupResponse, error)
- func (c *ClientWithResponses) CreateSslVpnResourceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateSslVpnResourceResponse, error)
- func (c *ClientWithResponses) CreateSslVpnResourceWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateSslVpnResourceResponse, error)
- func (c *ClientWithResponses) CreateSslVpnUserGroupWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateSslVpnUserGroupResponse, error)
- func (c *ClientWithResponses) CreateSslVpnUserGroupWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateSslVpnUserGroupResponse, error)
- func (c *ClientWithResponses) CreateSslVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateSslVpnUserResponse, error)
- func (c *ClientWithResponses) CreateSslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateSslVpnUserResponse, error)
- func (c *ClientWithResponses) CreateVpnClientWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateVpnClientResponse, error)
- func (c *ClientWithResponses) CreateVpnClientWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateVpnClientResponse, error)
- func (c *ClientWithResponses) CreateVpnServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateVpnServerResponse, error)
- func (c *ClientWithResponses) CreateVpnServerWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateVpnServerResponse, error)
- func (c *ClientWithResponses) CreateVpnUserV2WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateVpnUserV2Response, error)deprecated
- func (c *ClientWithResponses) CreateVpnUserV2WithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateVpnUserV2Response, error)
- func (c *ClientWithResponses) CreateVpnUserV3WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateVpnUserV3Response, error)
- func (c *ClientWithResponses) CreateVpnUserV3WithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateVpnUserV3Response, error)
- func (c *ClientWithResponses) CreateVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateVpnUserResponse, error)deprecated
- func (c *ClientWithResponses) CreateVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateVpnUserResponse, error)
- func (c *ClientWithResponses) CreateWireguardWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*CreateWireguardResponse, error)deprecated
- func (c *ClientWithResponses) CreateWireguardWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*CreateWireguardResponse, error)
- func (c *ClientWithResponses) DeleteClientToSiteVpnClientWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*DeleteClientToSiteVpnClientResponse, error)deprecated
- func (c *ClientWithResponses) DeleteClientToSiteVpnServerWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*DeleteClientToSiteVpnServerResponse, error)deprecated
- func (c *ClientWithResponses) DeleteIpsecFailoverWithResponse(ctx context.Context, omadacId string, siteId string, failoverId string, ...) (*DeleteIpsecFailoverResponse, error)deprecated
- func (c *ClientWithResponses) DeleteLockedSslVpnTunnelWithResponse(ctx context.Context, omadacId string, siteId string, lockTunnelId string, ...) (*DeleteLockedSslVpnTunnelResponse, error)
- func (c *ClientWithResponses) DeleteLockedSslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*DeleteLockedSslVpnUserResponse, error)
- func (c *ClientWithResponses) DeletePeerWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*DeletePeerResponse, error)deprecated
- func (c *ClientWithResponses) DeleteSiteToSiteVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*DeleteSiteToSiteVpnResponse, error)deprecated
- func (c *ClientWithResponses) DeleteSslVpnResourceGroupWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*DeleteSslVpnResourceGroupResponse, error)
- func (c *ClientWithResponses) DeleteSslVpnResourceWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*DeleteSslVpnResourceResponse, error)
- func (c *ClientWithResponses) DeleteSslVpnUserGroupWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*DeleteSslVpnUserGroupResponse, error)
- func (c *ClientWithResponses) DeleteSslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*DeleteSslVpnUserResponse, error)
- func (c *ClientWithResponses) DeleteVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, userId string, ...) (*DeleteVpnUserResponse, error)
- func (c *ClientWithResponses) DeleteVpnV2WithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*DeleteVpnV2Response, error)
- func (c *ClientWithResponses) DeleteVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*DeleteVpnResponse, error)deprecated
- func (c *ClientWithResponses) DeleteWireguardWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*DeleteWireguardResponse, error)deprecated
- func (c *ClientWithResponses) DisconnectSslVpnTunnelWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, ...) (*DisconnectSslVpnTunnelResponse, error)
- func (c *ClientWithResponses) DownloadSslVpnCertificateWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*DownloadSslVpnCertificateResponse, error)deprecated
- func (c *ClientWithResponses) DownloadVpnCertificateWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*DownloadVpnCertificateResponse, error)
- func (c *ClientWithResponses) GetAllVpnListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetAllVpnListResponse, error)deprecated
- func (c *ClientWithResponses) GetBriefVpnUserByServerIdListWithResponse(ctx context.Context, omadacId string, siteId string, serverId string, ...) (*GetBriefVpnUserByServerIdListResponse, error)
- func (c *ClientWithResponses) GetClientToSiteVpnClientListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetClientToSiteVpnClientListResponse, error)deprecated
- func (c *ClientWithResponses) GetClientToSiteVpnServerInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*GetClientToSiteVpnServerInfoResponse, error)deprecated
- func (c *ClientWithResponses) GetClientToSiteVpnServerListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetClientToSiteVpnServerListResponse, error)deprecated
- func (c *ClientWithResponses) GetClientToSiteVpnServerUserListWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*GetClientToSiteVpnServerUserListResponse, error)
- func (c *ClientWithResponses) GetGridIpsecFailoverWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridIpsecFailoverResponse, error)deprecated
- func (c *ClientWithResponses) GetGridLockedSslVpnServerUserWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridLockedSslVpnServerUserResponse, error)
- func (c *ClientWithResponses) GetGridSslVpnServerResourceGroupWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridSslVpnServerResourceGroupResponse, error)
- func (c *ClientWithResponses) GetGridSslVpnServerResourceWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridSslVpnServerResourceResponse, error)
- func (c *ClientWithResponses) GetGridSslVpnServerUserGroupWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridSslVpnServerUserGroupResponse, error)
- func (c *ClientWithResponses) GetGridSslVpnServerUserWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridSslVpnServerUserResponse, error)deprecated
- func (c *ClientWithResponses) GetGridSslVpnUserInGroupV2WithResponse(ctx context.Context, omadacId string, siteId string, userGroupId string, ...) (*GetGridSslVpnUserInGroupV2Response, error)
- func (c *ClientWithResponses) GetGridSslVpnUserInGroupWithResponse(ctx context.Context, omadacId string, siteId string, userGroupId string, ...) (*GetGridSslVpnUserInGroupResponse, error)deprecated
- func (c *ClientWithResponses) GetGridVpnClientV2WithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridVpnClientV2Response, error)
- func (c *ClientWithResponses) GetGridVpnS2SV2WithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridVpnS2SV2Response, error)
- func (c *ClientWithResponses) GetGridVpnServerV2WithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridVpnServerV2Response, error)
- func (c *ClientWithResponses) GetGridVpnUserV2WithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridVpnUserV2Response, error)
- func (c *ClientWithResponses) GetGridVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetGridVpnUserResponse, error)deprecated
- func (c *ClientWithResponses) GetLockedSslVpnTunnuelsWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetLockedSslVpnTunnuelsResponse, error)
- func (c *ClientWithResponses) GetRadiusServerInfoWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetRadiusServerInfoResponse, error)
- func (c *ClientWithResponses) GetSiteToSiteVpnInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*GetSiteToSiteVpnInfoResponse, error)deprecated
- func (c *ClientWithResponses) GetSiteToSiteVpnListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetSiteToSiteVpnListResponse, error)deprecated
- func (c *ClientWithResponses) GetSslVpnResourceGroupListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetSslVpnResourceGroupListResponse, error)
- func (c *ClientWithResponses) GetSslVpnResourceListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetSslVpnResourceListResponse, error)
- func (c *ClientWithResponses) GetSslVpnServerSettingWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetSslVpnServerSettingResponse, error)deprecated
- func (c *ClientWithResponses) GetSslVpnUserGroupBriefListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetSslVpnUserGroupBriefListResponse, error)
- func (c *ClientWithResponses) GetSslVpnUserGroupListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetSslVpnUserGroupListResponse, error)
- func (c *ClientWithResponses) GetVpnAvailableIpPoolWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetVpnAvailableIpPoolResponse, error)
- func (c *ClientWithResponses) GetVpnClientDetailInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*GetVpnClientDetailInfoResponse, error)
- func (c *ClientWithResponses) GetVpnClientToSiteClientInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*GetVpnClientToSiteClientInfoResponse, error)deprecated
- func (c *ClientWithResponses) GetVpnDefaultValueWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*GetVpnDefaultValueResponse, error)
- func (c *ClientWithResponses) GetVpnDefaultValueWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetVpnDefaultValueResponse, error)
- func (c *ClientWithResponses) GetVpnPreSharedKeyWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetVpnPreSharedKeyResponse, error)
- func (c *ClientWithResponses) GetVpnS2SDetailInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*GetVpnS2SDetailInfoResponse, error)
- func (c *ClientWithResponses) GetVpnServerDetailInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*GetVpnServerDetailInfoResponse, error)
- func (c *ClientWithResponses) GetVpnServerUserListV3WithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*GetVpnServerUserListV3Response, error)
- func (c *ClientWithResponses) GetVpnUserListWithResponse(ctx context.Context, omadacId string, siteId string, protocol string, ...) (*GetVpnUserListResponse, error)
- func (c *ClientWithResponses) GetVpnUserServerListWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetVpnUserServerListResponse, error)
- func (c *ClientWithResponses) GetWireguardKeyWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetWireguardKeyResponse, error)
- func (c *ClientWithResponses) GetWireguardSummaryWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*GetWireguardSummaryResponse, error)deprecated
- func (c *ClientWithResponses) ListPeerWithResponse(ctx context.Context, omadacId string, siteId string, params *ListPeerParams, ...) (*ListPeerResponse, error)deprecated
- func (c *ClientWithResponses) ListRemoteSiteWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ListRemoteSiteResponse, error)
- func (c *ClientWithResponses) ListWireguardWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ListWireguardResponse, error)deprecated
- func (c *ClientWithResponses) LockSslVpnTunnelWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, ...) (*LockSslVpnTunnelResponse, error)
- func (c *ClientWithResponses) ModifyClientStatusWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*ModifyClientStatusResponse, error)
- func (c *ClientWithResponses) ModifyClientStatusWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*ModifyClientStatusResponse, error)
- func (c *ClientWithResponses) ModifyClientToSiteVpnClientWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*ModifyClientToSiteVpnClientResponse, error)deprecated
- func (c *ClientWithResponses) ModifyClientToSiteVpnClientWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*ModifyClientToSiteVpnClientResponse, error)
- func (c *ClientWithResponses) ModifyClientToSiteVpnServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*ModifyClientToSiteVpnServerResponse, error)deprecated
- func (c *ClientWithResponses) ModifyClientToSiteVpnServerWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*ModifyClientToSiteVpnServerResponse, error)
- func (c *ClientWithResponses) ModifyIpsecFailoverWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, failoverId string, ...) (*ModifyIpsecFailoverResponse, error)deprecated
- func (c *ClientWithResponses) ModifyIpsecFailoverWithResponse(ctx context.Context, omadacId string, siteId string, failoverId string, ...) (*ModifyIpsecFailoverResponse, error)
- func (c *ClientWithResponses) ModifyLockedSslVpnTunnuelWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, lockTunnelId string, ...) (*ModifyLockedSslVpnTunnuelResponse, error)
- func (c *ClientWithResponses) ModifyLockedSslVpnTunnuelWithResponse(ctx context.Context, omadacId string, siteId string, lockTunnelId string, ...) (*ModifyLockedSslVpnTunnuelResponse, error)
- func (c *ClientWithResponses) ModifyLockedSslVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifyLockedSslVpnUserResponse, error)
- func (c *ClientWithResponses) ModifyLockedSslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifyLockedSslVpnUserResponse, error)
- func (c *ClientWithResponses) ModifyPeerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifyPeerResponse, error)deprecated
- func (c *ClientWithResponses) ModifyPeerWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifyPeerResponse, error)
- func (c *ClientWithResponses) ModifyS2SAutoVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*ModifyS2SAutoVpnResponse, error)
- func (c *ClientWithResponses) ModifyS2SAutoVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*ModifyS2SAutoVpnResponse, error)
- func (c *ClientWithResponses) ModifyS2SManualVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*ModifyS2SManualVpnResponse, error)
- func (c *ClientWithResponses) ModifyS2SManualVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*ModifyS2SManualVpnResponse, error)
- func (c *ClientWithResponses) ModifySiteToSiteVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*ModifySiteToSiteVpnResponse, error)deprecated
- func (c *ClientWithResponses) ModifySiteToSiteVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*ModifySiteToSiteVpnResponse, error)
- func (c *ClientWithResponses) ModifySslVpnResourceGroupWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifySslVpnResourceGroupResponse, error)
- func (c *ClientWithResponses) ModifySslVpnResourceGroupWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifySslVpnResourceGroupResponse, error)
- func (c *ClientWithResponses) ModifySslVpnResourceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifySslVpnResourceResponse, error)
- func (c *ClientWithResponses) ModifySslVpnResourceWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifySslVpnResourceResponse, error)
- func (c *ClientWithResponses) ModifySslVpnServerSettingWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*ModifySslVpnServerSettingResponse, error)deprecated
- func (c *ClientWithResponses) ModifySslVpnServerSettingWithResponse(ctx context.Context, omadacId string, siteId string, ...) (*ModifySslVpnServerSettingResponse, error)
- func (c *ClientWithResponses) ModifySslVpnUserGroupWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifySslVpnUserGroupResponse, error)
- func (c *ClientWithResponses) ModifySslVpnUserGroupWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifySslVpnUserGroupResponse, error)
- func (c *ClientWithResponses) ModifySslVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifySslVpnUserResponse, error)
- func (c *ClientWithResponses) ModifySslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifySslVpnUserResponse, error)
- func (c *ClientWithResponses) ModifyVpnClientWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*ModifyVpnClientResponse, error)
- func (c *ClientWithResponses) ModifyVpnClientWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*ModifyVpnClientResponse, error)
- func (c *ClientWithResponses) ModifyVpnServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*ModifyVpnServerResponse, error)
- func (c *ClientWithResponses) ModifyVpnServerWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, ...) (*ModifyVpnServerResponse, error)
- func (c *ClientWithResponses) ModifyVpnUserV2WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, userId string, ...) (*ModifyVpnUserV2Response, error)deprecated
- func (c *ClientWithResponses) ModifyVpnUserV2WithResponse(ctx context.Context, omadacId string, siteId string, userId string, ...) (*ModifyVpnUserV2Response, error)
- func (c *ClientWithResponses) ModifyVpnUserV3WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, userId string, ...) (*ModifyVpnUserV3Response, error)
- func (c *ClientWithResponses) ModifyVpnUserV3WithResponse(ctx context.Context, omadacId string, siteId string, userId string, ...) (*ModifyVpnUserV3Response, error)
- func (c *ClientWithResponses) ModifyVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, userId string, ...) (*ModifyVpnUserResponse, error)deprecated
- func (c *ClientWithResponses) ModifyVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, userId string, ...) (*ModifyVpnUserResponse, error)
- func (c *ClientWithResponses) ModifyWireguardWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifyWireguardResponse, error)deprecated
- func (c *ClientWithResponses) ModifyWireguardWithResponse(ctx context.Context, omadacId string, siteId string, id string, ...) (*ModifyWireguardResponse, error)
- func (c *ClientWithResponses) UploadVpnCertificateFileV2WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*UploadVpnCertificateFileV2Response, error)
- func (c *ClientWithResponses) UploadVpnCertificateFileWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, ...) (*UploadVpnCertificateFileResponse, error)deprecated
- type ClientWithResponsesInterface
- type ClientsQueryMacAndFilterType
- type CreateClientToSiteVpnClientJSONRequestBodydeprecated
- type CreateClientToSiteVpnClientResponse
- type CreateClientToSiteVpnServerJSONRequestBodydeprecated
- type CreateClientToSiteVpnServerResponse
- type CreateIpsecFailoverJSONRequestBodydeprecated
- type CreateIpsecFailoverResponse
- type CreateLockedSslVpnTunnuelJSONRequestBody
- type CreateLockedSslVpnTunnuelResponse
- type CreateLockedSslVpnUserJSONRequestBody
- type CreateLockedSslVpnUserResponse
- type CreatePeerJSONRequestBodydeprecated
- type CreatePeerResponse
- type CreateS2SAutoVpnJSONRequestBody
- type CreateS2SAutoVpnResponse
- type CreateS2SManualVpnJSONRequestBody
- type CreateS2SManualVpnResponse
- type CreateSiteToSiteVpnJSONRequestBodydeprecated
- type CreateSiteToSiteVpnResponse
- type CreateSslVpnResourceGroupJSONRequestBody
- type CreateSslVpnResourceGroupResponse
- type CreateSslVpnResourceJSONRequestBody
- type CreateSslVpnResourceResponse
- type CreateSslVpnUserGroupJSONRequestBody
- type CreateSslVpnUserGroupResponse
- type CreateSslVpnUserJSONRequestBody
- type CreateSslVpnUserResponse
- type CreateVpnClientJSONRequestBody
- type CreateVpnClientResponse
- type CreateVpnServerJSONRequestBody
- type CreateVpnServerResponse
- type CreateVpnUserJSONRequestBodydeprecated
- type CreateVpnUserResponse
- type CreateVpnUserV2JSONRequestBodydeprecated
- type CreateVpnUserV2Response
- type CreateVpnUserV3JSONRequestBody
- type CreateVpnUserV3Response
- type CreateWireguardJSONRequestBodydeprecated
- type CreateWireguardResponse
- type DeleteClientToSiteVpnClientResponse
- type DeleteClientToSiteVpnServerResponse
- type DeleteIpsecFailoverResponse
- type DeleteLockedSslVpnTunnelResponse
- type DeleteLockedSslVpnUserResponse
- type DeletePeerResponse
- type DeleteSiteToSiteVpnResponse
- type DeleteSslVpnResourceGroupResponse
- type DeleteSslVpnResourceResponse
- type DeleteSslVpnUserGroupResponse
- type DeleteSslVpnUserResponse
- type DeleteVpnResponse
- type DeleteVpnUserResponse
- type DeleteVpnV2Response
- type DeleteWireguardResponse
- type DisconnectSslVpnTunnelResponse
- type DownloadSslVpnCertificateParams
- type DownloadSslVpnCertificateResponse
- type DownloadVpnCertificateResponse
- type FeatureInfoVO
- type FunctionOpenApiVO
- type GetAllVpnListResponse
- type GetBriefVpnUserByServerIdListResponse
- type GetClientToSiteVpnClientListResponse
- type GetClientToSiteVpnServerInfoResponse
- type GetClientToSiteVpnServerListResponse
- type GetClientToSiteVpnServerUserListResponse
- type GetGridIpsecFailoverParams
- type GetGridIpsecFailoverResponse
- type GetGridLockedSslVpnServerUserParams
- type GetGridLockedSslVpnServerUserResponse
- type GetGridSslVpnServerResourceGroupParams
- type GetGridSslVpnServerResourceGroupResponse
- type GetGridSslVpnServerResourceParams
- type GetGridSslVpnServerResourceResponse
- type GetGridSslVpnServerUserGroupParams
- type GetGridSslVpnServerUserGroupResponse
- type GetGridSslVpnServerUserParams
- type GetGridSslVpnServerUserResponse
- type GetGridSslVpnUserInGroupParams
- type GetGridSslVpnUserInGroupResponse
- type GetGridSslVpnUserInGroupV2Params
- type GetGridSslVpnUserInGroupV2Response
- type GetGridVpnClientV2Params
- type GetGridVpnClientV2Response
- type GetGridVpnS2SV2Params
- type GetGridVpnS2SV2Response
- type GetGridVpnServerV2Params
- type GetGridVpnServerV2Response
- type GetGridVpnUserParams
- type GetGridVpnUserResponse
- type GetGridVpnUserV2Params
- type GetGridVpnUserV2Response
- type GetLockedSslVpnTunnuelsParams
- type GetLockedSslVpnTunnuelsResponse
- type GetRadiusServerInfoResponse
- type GetSiteToSiteVpnInfoResponse
- type GetSiteToSiteVpnListResponse
- type GetSslVpnResourceGroupListResponse
- type GetSslVpnResourceListResponse
- type GetSslVpnServerSettingResponse
- type GetSslVpnUserGroupBriefListResponse
- type GetSslVpnUserGroupListResponse
- type GetVpnAvailableIpPoolResponse
- type GetVpnClientDetailInfoResponse
- type GetVpnClientToSiteClientInfoResponse
- type GetVpnDefaultValueJSONRequestBody
- type GetVpnDefaultValueResponse
- type GetVpnPreSharedKeyResponse
- type GetVpnS2SDetailInfoResponse
- type GetVpnServerDetailInfoResponse
- type GetVpnServerUserListV3Params
- type GetVpnServerUserListV3Response
- type GetVpnUserListResponse
- type GetVpnUserServerListResponse
- type GetWireguardKeyResponse
- type GetWireguardSummaryResponse
- type GridVOIPsecFailoverInformation
- type GridVOSSLVPNLockEntity
- type GridVOSslVpnResourceEntity
- type GridVOSslVpnResourceGroup
- type GridVOWireguardDetailOpenApiVO
- type HttpRequestDoer
- type IPSubnetsOpenApiVO
- type IPSubnetsVO
- type IPsecFailoverConfiguration
- type IPsecFailoverInformation
- type IPsecFailoverSettingOpenApiVO
- type IPsecFailoverStatusOpenApiVO
- type IPsecInfoOpenApiVO
- type InstancesVO
- type LagCapVO
- type LanPort
- type LdapSettingOpenApiVO
- type ListPeerParams
- type ListPeerResponse
- type ListRemoteSiteResponse
- type ListWireguardParams
- type ListWireguardResponse
- type LockSettingOpenApiVO
- type LockSslVpnTunnelResponse
- type MirroredLag
- type MirroredPort
- type ModifyClientStatusJSONRequestBody
- type ModifyClientStatusResponse
- type ModifyClientToSiteVpnClientJSONRequestBodydeprecated
- type ModifyClientToSiteVpnClientResponse
- type ModifyClientToSiteVpnServerJSONRequestBodydeprecated
- type ModifyClientToSiteVpnServerResponse
- type ModifyIpsecFailoverJSONRequestBodydeprecated
- type ModifyIpsecFailoverResponse
- type ModifyLockedSslVpnTunnuelJSONRequestBody
- type ModifyLockedSslVpnTunnuelResponse
- type ModifyLockedSslVpnUserJSONRequestBody
- type ModifyLockedSslVpnUserResponse
- type ModifyPeerJSONRequestBodydeprecated
- type ModifyPeerResponse
- type ModifyS2SAutoVpnJSONRequestBody
- type ModifyS2SAutoVpnResponse
- type ModifyS2SManualVpnJSONRequestBody
- type ModifyS2SManualVpnResponse
- type ModifySiteToSiteVpnJSONRequestBodydeprecated
- type ModifySiteToSiteVpnResponse
- type ModifySslVpnResourceGroupJSONRequestBody
- type ModifySslVpnResourceGroupResponse
- type ModifySslVpnResourceJSONRequestBody
- type ModifySslVpnResourceResponse
- type ModifySslVpnServerSettingJSONRequestBodydeprecated
- type ModifySslVpnServerSettingResponse
- type ModifySslVpnUserGroupJSONRequestBody
- type ModifySslVpnUserGroupResponse
- type ModifySslVpnUserJSONRequestBody
- type ModifySslVpnUserResponse
- type ModifyVpnClientJSONRequestBody
- type ModifyVpnClientResponse
- type ModifyVpnServerJSONRequestBody
- type ModifyVpnServerResponse
- type ModifyVpnUserJSONRequestBodydeprecated
- type ModifyVpnUserResponse
- type ModifyVpnUserV2JSONRequestBodydeprecated
- type ModifyVpnUserV2Response
- type ModifyVpnUserV3JSONRequestBody
- type ModifyVpnUserV3Response
- type ModifyWireguardJSONRequestBodydeprecated
- type ModifyWireguardResponse
- type MultiLinkEntryDTO
- type OnuInformationConfigDTO
- type OnuInformationConfigDTOActiveStatus
- type OnuInformationConfigDTOAdminStatus
- type OnuInformationConfigDTOConfigStatus
- type OnuInformationConfigDTOMatchStatus
- type OnuInformationConfigDTOOnlineStatus
- type OperationResponse
- type OperationResponseClientToSiteVpnClient
- type OperationResponseClientToSiteVpnServer
- type OperationResponseFunctionOpenApiVO
- type OperationResponseGridVOIPsecFailoverInformation
- type OperationResponseGridVOSSLVPNLockEntity
- type OperationResponseGridVOSslVpnResourceEntity
- type OperationResponseGridVOSslVpnResourceGroup
- type OperationResponseGridVOWireguardDetailOpenApiVO
- type OperationResponseListRadiusServerBriefInfo
- type OperationResponseListSiteToSiteVpn
- type OperationResponseListSslVpnResourceBriefInfo
- type OperationResponseListSslVpnResourceGroupBriefInfo
- type OperationResponseListSslVpnUserGroupBriefVO
- type OperationResponseListVpnUserBriefVO
- type OperationResponseListVpnUserResponse
- type OperationResponseListVpnUserServerBriefVO
- type OperationResponseMapStringObject
- type OperationResponseResponseDataVOWireguardSummaryOpenApiVO
- type OperationResponseResponseIdVO
- type OperationResponseSiteToSiteVpn
- type OperationResponseSslVpnServerSetting
- type OperationResponseSslVpnUserGridVOVpnUserInfoVO
- type OperationResponseSslVpnUserGroupGridVOSslVpnUserGroupBriefVO
- type OperationResponseSslVpnUserGroupGridVOSslVpnUserGroupEntity
- type OperationResponseSslVpnUserOpenApiGridVOSslVpnUserEntity
- type OperationResponseVpnAvailableIpPoolVO
- type OperationResponseVpnCertificateVO
- type OperationResponseVpnClientDetailVO
- type OperationResponseVpnDefaultValueRespVO
- type OperationResponseVpnListUsedFunctionOpenApiVO
- type OperationResponseVpnOpenApiGridVOClientToSiteVpnClient
- type OperationResponseVpnOpenApiGridVOClientToSiteVpnServer
- type OperationResponseVpnOpenApiGridVOVPN
- type OperationResponseVpnPreSharedKeyVO
- type OperationResponseVpnServerDetailVO
- type OperationResponseVpnSiteToSiteDetailOpenApiVO
- type OperationResponseVpnSummaryOpenApiGridVOVpnSummaryVO
- type OperationResponseVpnUserBriefVO
- type OperationResponseVpnUserOpenApiGridVOVpnUserInfoVO
- type OperationResponseVpnUserOpenApiGridVOVpnUserResponse
- type OperationResponseVpnUserServerGridVOVpnUserInfoVO
- type OperationResponseWireguardKeyOpenApiVO
- type OperationResponseWireguardPeerOpenApiGridVOWireguardPeerDetailOpenApiVO
- type OperationResponseWithoutResult
- type OswBandCtrlLimitRangeVO
- type OswBandCtrlVO
- type OswDataVO
- type OswDevCapVO
- type OswFecCapVO
- type OswLagStatusVO
- type OswLagVO
- type OswLinkCapVO
- type OswMlagPeerAllPortsConfigInfoVO
- type OswMlagPeerSettingVO
- type OswPeerPortVO
- type OswPortDhcpL2RelayVO
- type OswPortOuiBasedVlanVO
- type OswPortSpeedCapVO
- type OswPortStatusVO
- type OswPortVO
- type OswStackDataVOOswDataVO
- type OswStackDataVOSwitchDataVO
- type OswStandPortVO
- type OswStormCtrlLimitRangeVO
- type OswStormCtrlVO
- type OswUplinkVO
- type OuiBasedVlanNetworkVO
- type PartnerLinkDTO
- type PortLabelDTO
- type PortSpeedCapVO
- type PortVO
- type RadiusAuthSettingOpenApiVO
- type RadiusServerBriefInfo
- type RadiusSettingOpenApiVO
- type RequestEditorFn
- type ResponseDataVOWireguardSummaryOpenApiVO
- type ResponseIdVO
- type SSLVPNLockEntity
- type ServerWireGuardClientsConfigVO
- type ServerWireGuardClientsVO
- type SiteToSiteManualWgPeerConfigVO
- type SiteToSiteVpn
- type SpanningTreeSettingVO
- type SslVpnLockConfigOpenApiVO
- type SslVpnLockCreateAndModifyOpenApiVO
- type SslVpnLockModifyOpenApiVO
- type SslVpnResourceBriefInfo
- type SslVpnResourceConfigOpenApiVO
- type SslVpnResourceEntity
- type SslVpnResourceGroup
- type SslVpnResourceGroupBriefInfo
- type SslVpnResourceGroupConfigOpenApiVO
- type SslVpnResourceGroupModifyOpenApiVO
- type SslVpnResourceModifyOpenApiVO
- type SslVpnServerConfigOpenApiVO
- type SslVpnServerSetting
- type SslVpnUserConfigOpenApiVO
- type SslVpnUserEntity
- type SslVpnUserGridVOVpnUserInfoVO
- type SslVpnUserGroupBriefVO
- type SslVpnUserGroupConfigOpenApiVO
- type SslVpnUserGroupEntity
- type SslVpnUserGroupGridVOSslVpnUserGroupBriefVO
- type SslVpnUserGroupGridVOSslVpnUserGroupEntity
- type SslVpnUserGroupModifyOpenApiVO
- type SslVpnUserModifyOpenApiVO
- type SslVpnUserOpenApiGridVOSslVpnUserEntity
- type SwitchDataVO
- type TopologyFilterClientCountDTO
- type TopologyOpenApiEdgeVO
- type TopologyV3OpenApiNodeVO
- type UploadVpnCertificateFileMultipartBody
- type UploadVpnCertificateFileMultipartRequestBodydeprecated
- type UploadVpnCertificateFileResponse
- type UploadVpnCertificateFileV2MultipartBody
- type UploadVpnCertificateFileV2MultipartRequestBody
- type UploadVpnCertificateFileV2Response
- type VPN
- type VigiWirelessUpInfoDTO
- type VpnAdvancedSettingOpenApiVO
- type VpnAvailableIpPoolVO
- type VpnBaseAuthSettingOpenApiVO
- type VpnCertificateOpenApiVO
- type VpnCertificateVO
- type VpnClientConfigOpenApiVO
- type VpnClientDetailVO
- type VpnDefaultValueReqVO
- type VpnDefaultValueRespVO
- type VpnIPSubnetsOpenApiVO
- type VpnListUsedFunctionOpenApiVO
- type VpnOpenApiGridVOClientToSiteVpnClient
- type VpnOpenApiGridVOClientToSiteVpnServer
- type VpnOpenApiGridVOVPN
- type VpnPreSharedKeyVO
- type VpnServerConfigOpenApiVO
- type VpnServerDetailVO
- type VpnSiteToSiteAutoConfigOpenApiVO
- type VpnSiteToSiteDetailOpenApiVO
- type VpnSiteToSiteManualConfigOpenApiVO
- type VpnStatusVO
- type VpnSummaryOpenApiGridVOVpnSummaryVO
- type VpnSummaryVO
- type VpnUsedFunctionOpenApiVO
- type VpnUser
- type VpnUserBriefVO
- type VpnUserConfigVO
- type VpnUserInfoVO
- type VpnUserOpenApiGridVOVpnUserInfoVO
- type VpnUserOpenApiGridVOVpnUserResponse
- type VpnUserRequest
- type VpnUserResponse
- type VpnUserServerBriefVO
- type VpnUserServerGridVOVpnUserInfoVO
- type VpnUserServerInfoVO
- type VpnValueAvailableVO
- type VrrpGroupDTO
- type VrrpLinkDTO
- type WanPort
- type WiredPortV3DTO
- type WiredUpInfoDTO
- type WireguardDetailOpenApiVO
- type WireguardKeyOpenApiVO
- type WireguardOpenApiVO
- type WireguardPeerDetailOpenApiVO
- type WireguardPeerOpenApiGridVOWireguardPeerDetailOpenApiVO
- type WireguardPeerOpenApiVO
- type WireguardSummaryOpenApiVO
- type WirelessUpInfoDTO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBatchDeleteLockedSslVpnTunnelRequest ¶
func NewBatchDeleteLockedSslVpnTunnelRequest(server string, omadacId string, siteId string, body BatchDeleteLockedSslVpnTunnelJSONRequestBody) (*http.Request, error)
NewBatchDeleteLockedSslVpnTunnelRequest calls the generic BatchDeleteLockedSslVpnTunnel builder with application/json body
func NewBatchDeleteLockedSslVpnTunnelRequestWithBody ¶
func NewBatchDeleteLockedSslVpnTunnelRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewBatchDeleteLockedSslVpnTunnelRequestWithBody constructs an http.Request for the BatchDeleteLockedSslVpnTunnel method, with any body, and a specified content type
func NewBatchDeleteSslVpnUserGroupRequest ¶
func NewBatchDeleteSslVpnUserGroupRequest(server string, omadacId string, siteId string, body BatchDeleteSslVpnUserGroupJSONRequestBody) (*http.Request, error)
NewBatchDeleteSslVpnUserGroupRequest calls the generic BatchDeleteSslVpnUserGroup builder with application/json body
func NewBatchDeleteSslVpnUserGroupRequestWithBody ¶
func NewBatchDeleteSslVpnUserGroupRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewBatchDeleteSslVpnUserGroupRequestWithBody constructs an http.Request for the BatchDeleteSslVpnUserGroup method, with any body, and a specified content type
func NewBatchDeleteVpnRequest ¶
func NewBatchDeleteVpnRequest(server string, omadacId string, siteId string, body BatchDeleteVpnJSONRequestBody) (*http.Request, error)
NewBatchDeleteVpnRequest calls the generic BatchDeleteVpn builder with application/json body
func NewBatchDeleteVpnRequestWithBody ¶
func NewBatchDeleteVpnRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewBatchDeleteVpnRequestWithBody constructs an http.Request for the BatchDeleteVpn method, with any body, and a specified content type
func NewBatchDeleteVpnUserRequest ¶
func NewBatchDeleteVpnUserRequest(server string, omadacId string, siteId string, body BatchDeleteVpnUserJSONRequestBody) (*http.Request, error)
NewBatchDeleteVpnUserRequest calls the generic BatchDeleteVpnUser builder with application/json body
func NewBatchDeleteVpnUserRequestWithBody ¶
func NewBatchDeleteVpnUserRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewBatchDeleteVpnUserRequestWithBody constructs an http.Request for the BatchDeleteVpnUser method, with any body, and a specified content type
func NewCheckUsedInVpnsRequest ¶
func NewCheckUsedInVpnsRequest(server string, omadacId string, siteId string, body CheckUsedInVpnsJSONRequestBody) (*http.Request, error)
NewCheckUsedInVpnsRequest calls the generic CheckUsedInVpns builder with application/json body
func NewCheckUsedInVpnsRequestWithBody ¶
func NewCheckUsedInVpnsRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCheckUsedInVpnsRequestWithBody constructs an http.Request for the CheckUsedInVpns method, with any body, and a specified content type
func NewCheckUsedVpnRequest ¶
func NewCheckUsedVpnRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
NewCheckUsedVpnRequest constructs an http.Request for the CheckUsedVpn method
func NewCheckValueAvailableRequest ¶
func NewCheckValueAvailableRequest(server string, omadacId string, siteId string, body CheckValueAvailableJSONRequestBody) (*http.Request, error)
NewCheckValueAvailableRequest calls the generic CheckValueAvailable builder with application/json body
func NewCheckValueAvailableRequestWithBody ¶
func NewCheckValueAvailableRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCheckValueAvailableRequestWithBody constructs an http.Request for the CheckValueAvailable method, with any body, and a specified content type
func NewCreateClientToSiteVpnClientRequest ¶
func NewCreateClientToSiteVpnClientRequest(server string, omadacId string, siteId string, body CreateClientToSiteVpnClientJSONRequestBody) (*http.Request, error)
NewCreateClientToSiteVpnClientRequest calls the generic CreateClientToSiteVpnClient builder with application/json body
func NewCreateClientToSiteVpnClientRequestWithBody ¶
func NewCreateClientToSiteVpnClientRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateClientToSiteVpnClientRequestWithBody constructs an http.Request for the CreateClientToSiteVpnClient method, with any body, and a specified content type
func NewCreateClientToSiteVpnServerRequest ¶
func NewCreateClientToSiteVpnServerRequest(server string, omadacId string, siteId string, body CreateClientToSiteVpnServerJSONRequestBody) (*http.Request, error)
NewCreateClientToSiteVpnServerRequest calls the generic CreateClientToSiteVpnServer builder with application/json body
func NewCreateClientToSiteVpnServerRequestWithBody ¶
func NewCreateClientToSiteVpnServerRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateClientToSiteVpnServerRequestWithBody constructs an http.Request for the CreateClientToSiteVpnServer method, with any body, and a specified content type
func NewCreateIpsecFailoverRequest ¶
func NewCreateIpsecFailoverRequest(server string, omadacId string, siteId string, body CreateIpsecFailoverJSONRequestBody) (*http.Request, error)
NewCreateIpsecFailoverRequest calls the generic CreateIpsecFailover builder with application/json body
func NewCreateIpsecFailoverRequestWithBody ¶
func NewCreateIpsecFailoverRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateIpsecFailoverRequestWithBody constructs an http.Request for the CreateIpsecFailover method, with any body, and a specified content type
func NewCreateLockedSslVpnTunnuelRequest ¶
func NewCreateLockedSslVpnTunnuelRequest(server string, omadacId string, siteId string, body CreateLockedSslVpnTunnuelJSONRequestBody) (*http.Request, error)
NewCreateLockedSslVpnTunnuelRequest calls the generic CreateLockedSslVpnTunnuel builder with application/json body
func NewCreateLockedSslVpnTunnuelRequestWithBody ¶
func NewCreateLockedSslVpnTunnuelRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateLockedSslVpnTunnuelRequestWithBody constructs an http.Request for the CreateLockedSslVpnTunnuel method, with any body, and a specified content type
func NewCreateLockedSslVpnUserRequest ¶
func NewCreateLockedSslVpnUserRequest(server string, omadacId string, siteId string, body CreateLockedSslVpnUserJSONRequestBody) (*http.Request, error)
NewCreateLockedSslVpnUserRequest calls the generic CreateLockedSslVpnUser builder with application/json body
func NewCreateLockedSslVpnUserRequestWithBody ¶
func NewCreateLockedSslVpnUserRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateLockedSslVpnUserRequestWithBody constructs an http.Request for the CreateLockedSslVpnUser method, with any body, and a specified content type
func NewCreatePeerRequest ¶
func NewCreatePeerRequest(server string, omadacId string, siteId string, body CreatePeerJSONRequestBody) (*http.Request, error)
NewCreatePeerRequest calls the generic CreatePeer builder with application/json body
func NewCreatePeerRequestWithBody ¶
func NewCreatePeerRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePeerRequestWithBody constructs an http.Request for the CreatePeer method, with any body, and a specified content type
func NewCreateS2SAutoVpnRequest ¶
func NewCreateS2SAutoVpnRequest(server string, omadacId string, siteId string, body CreateS2SAutoVpnJSONRequestBody) (*http.Request, error)
NewCreateS2SAutoVpnRequest calls the generic CreateS2SAutoVpn builder with application/json body
func NewCreateS2SAutoVpnRequestWithBody ¶
func NewCreateS2SAutoVpnRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateS2SAutoVpnRequestWithBody constructs an http.Request for the CreateS2SAutoVpn method, with any body, and a specified content type
func NewCreateS2SManualVpnRequest ¶
func NewCreateS2SManualVpnRequest(server string, omadacId string, siteId string, body CreateS2SManualVpnJSONRequestBody) (*http.Request, error)
NewCreateS2SManualVpnRequest calls the generic CreateS2SManualVpn builder with application/json body
func NewCreateS2SManualVpnRequestWithBody ¶
func NewCreateS2SManualVpnRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateS2SManualVpnRequestWithBody constructs an http.Request for the CreateS2SManualVpn method, with any body, and a specified content type
func NewCreateSiteToSiteVpnRequest ¶
func NewCreateSiteToSiteVpnRequest(server string, omadacId string, siteId string, body CreateSiteToSiteVpnJSONRequestBody) (*http.Request, error)
NewCreateSiteToSiteVpnRequest calls the generic CreateSiteToSiteVpn builder with application/json body
func NewCreateSiteToSiteVpnRequestWithBody ¶
func NewCreateSiteToSiteVpnRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSiteToSiteVpnRequestWithBody constructs an http.Request for the CreateSiteToSiteVpn method, with any body, and a specified content type
func NewCreateSslVpnResourceGroupRequest ¶
func NewCreateSslVpnResourceGroupRequest(server string, omadacId string, siteId string, body CreateSslVpnResourceGroupJSONRequestBody) (*http.Request, error)
NewCreateSslVpnResourceGroupRequest calls the generic CreateSslVpnResourceGroup builder with application/json body
func NewCreateSslVpnResourceGroupRequestWithBody ¶
func NewCreateSslVpnResourceGroupRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSslVpnResourceGroupRequestWithBody constructs an http.Request for the CreateSslVpnResourceGroup method, with any body, and a specified content type
func NewCreateSslVpnResourceRequest ¶
func NewCreateSslVpnResourceRequest(server string, omadacId string, siteId string, body CreateSslVpnResourceJSONRequestBody) (*http.Request, error)
NewCreateSslVpnResourceRequest calls the generic CreateSslVpnResource builder with application/json body
func NewCreateSslVpnResourceRequestWithBody ¶
func NewCreateSslVpnResourceRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSslVpnResourceRequestWithBody constructs an http.Request for the CreateSslVpnResource method, with any body, and a specified content type
func NewCreateSslVpnUserGroupRequest ¶
func NewCreateSslVpnUserGroupRequest(server string, omadacId string, siteId string, body CreateSslVpnUserGroupJSONRequestBody) (*http.Request, error)
NewCreateSslVpnUserGroupRequest calls the generic CreateSslVpnUserGroup builder with application/json body
func NewCreateSslVpnUserGroupRequestWithBody ¶
func NewCreateSslVpnUserGroupRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSslVpnUserGroupRequestWithBody constructs an http.Request for the CreateSslVpnUserGroup method, with any body, and a specified content type
func NewCreateSslVpnUserRequest ¶
func NewCreateSslVpnUserRequest(server string, omadacId string, siteId string, body CreateSslVpnUserJSONRequestBody) (*http.Request, error)
NewCreateSslVpnUserRequest calls the generic CreateSslVpnUser builder with application/json body
func NewCreateSslVpnUserRequestWithBody ¶
func NewCreateSslVpnUserRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSslVpnUserRequestWithBody constructs an http.Request for the CreateSslVpnUser method, with any body, and a specified content type
func NewCreateVpnClientRequest ¶
func NewCreateVpnClientRequest(server string, omadacId string, siteId string, body CreateVpnClientJSONRequestBody) (*http.Request, error)
NewCreateVpnClientRequest calls the generic CreateVpnClient builder with application/json body
func NewCreateVpnClientRequestWithBody ¶
func NewCreateVpnClientRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateVpnClientRequestWithBody constructs an http.Request for the CreateVpnClient method, with any body, and a specified content type
func NewCreateVpnServerRequest ¶
func NewCreateVpnServerRequest(server string, omadacId string, siteId string, body CreateVpnServerJSONRequestBody) (*http.Request, error)
NewCreateVpnServerRequest calls the generic CreateVpnServer builder with application/json body
func NewCreateVpnServerRequestWithBody ¶
func NewCreateVpnServerRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateVpnServerRequestWithBody constructs an http.Request for the CreateVpnServer method, with any body, and a specified content type
func NewCreateVpnUserRequest ¶
func NewCreateVpnUserRequest(server string, omadacId string, siteId string, body CreateVpnUserJSONRequestBody) (*http.Request, error)
NewCreateVpnUserRequest calls the generic CreateVpnUser builder with application/json body
func NewCreateVpnUserRequestWithBody ¶
func NewCreateVpnUserRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateVpnUserRequestWithBody constructs an http.Request for the CreateVpnUser method, with any body, and a specified content type
func NewCreateVpnUserV2Request ¶
func NewCreateVpnUserV2Request(server string, omadacId string, siteId string, body CreateVpnUserV2JSONRequestBody) (*http.Request, error)
NewCreateVpnUserV2Request calls the generic CreateVpnUserV2 builder with application/json body
func NewCreateVpnUserV2RequestWithBody ¶
func NewCreateVpnUserV2RequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateVpnUserV2RequestWithBody constructs an http.Request for the CreateVpnUserV2 method, with any body, and a specified content type
func NewCreateVpnUserV3Request ¶
func NewCreateVpnUserV3Request(server string, omadacId string, siteId string, body CreateVpnUserV3JSONRequestBody) (*http.Request, error)
NewCreateVpnUserV3Request calls the generic CreateVpnUserV3 builder with application/json body
func NewCreateVpnUserV3RequestWithBody ¶
func NewCreateVpnUserV3RequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateVpnUserV3RequestWithBody constructs an http.Request for the CreateVpnUserV3 method, with any body, and a specified content type
func NewCreateWireguardRequest ¶
func NewCreateWireguardRequest(server string, omadacId string, siteId string, body CreateWireguardJSONRequestBody) (*http.Request, error)
NewCreateWireguardRequest calls the generic CreateWireguard builder with application/json body
func NewCreateWireguardRequestWithBody ¶
func NewCreateWireguardRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWireguardRequestWithBody constructs an http.Request for the CreateWireguard method, with any body, and a specified content type
func NewDeleteClientToSiteVpnClientRequest ¶
func NewDeleteClientToSiteVpnClientRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
NewDeleteClientToSiteVpnClientRequest constructs an http.Request for the DeleteClientToSiteVpnClient method
func NewDeleteClientToSiteVpnServerRequest ¶
func NewDeleteClientToSiteVpnServerRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
NewDeleteClientToSiteVpnServerRequest constructs an http.Request for the DeleteClientToSiteVpnServer method
func NewDeleteIpsecFailoverRequest ¶
func NewDeleteIpsecFailoverRequest(server string, omadacId string, siteId string, failoverId string) (*http.Request, error)
NewDeleteIpsecFailoverRequest constructs an http.Request for the DeleteIpsecFailover method
func NewDeleteLockedSslVpnTunnelRequest ¶
func NewDeleteLockedSslVpnTunnelRequest(server string, omadacId string, siteId string, lockTunnelId string) (*http.Request, error)
NewDeleteLockedSslVpnTunnelRequest constructs an http.Request for the DeleteLockedSslVpnTunnel method
func NewDeleteLockedSslVpnUserRequest ¶
func NewDeleteLockedSslVpnUserRequest(server string, omadacId string, siteId string, id string) (*http.Request, error)
NewDeleteLockedSslVpnUserRequest constructs an http.Request for the DeleteLockedSslVpnUser method
func NewDeletePeerRequest ¶
func NewDeletePeerRequest(server string, omadacId string, siteId string, id string) (*http.Request, error)
NewDeletePeerRequest constructs an http.Request for the DeletePeer method
func NewDeleteSiteToSiteVpnRequest ¶
func NewDeleteSiteToSiteVpnRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
NewDeleteSiteToSiteVpnRequest constructs an http.Request for the DeleteSiteToSiteVpn method
func NewDeleteSslVpnResourceGroupRequest ¶
func NewDeleteSslVpnResourceGroupRequest(server string, omadacId string, siteId string, id string) (*http.Request, error)
NewDeleteSslVpnResourceGroupRequest constructs an http.Request for the DeleteSslVpnResourceGroup method
func NewDeleteSslVpnResourceRequest ¶
func NewDeleteSslVpnResourceRequest(server string, omadacId string, siteId string, id string) (*http.Request, error)
NewDeleteSslVpnResourceRequest constructs an http.Request for the DeleteSslVpnResource method
func NewDeleteSslVpnUserGroupRequest ¶
func NewDeleteSslVpnUserGroupRequest(server string, omadacId string, siteId string, id string) (*http.Request, error)
NewDeleteSslVpnUserGroupRequest constructs an http.Request for the DeleteSslVpnUserGroup method
func NewDeleteSslVpnUserRequest ¶
func NewDeleteSslVpnUserRequest(server string, omadacId string, siteId string, id string) (*http.Request, error)
NewDeleteSslVpnUserRequest constructs an http.Request for the DeleteSslVpnUser method
func NewDeleteVpnRequest ¶
func NewDeleteVpnRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
NewDeleteVpnRequest constructs an http.Request for the DeleteVpn method
func NewDeleteVpnUserRequest ¶
func NewDeleteVpnUserRequest(server string, omadacId string, siteId string, userId string) (*http.Request, error)
NewDeleteVpnUserRequest constructs an http.Request for the DeleteVpnUser method
func NewDeleteVpnV2Request ¶
func NewDeleteVpnV2Request(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
NewDeleteVpnV2Request constructs an http.Request for the DeleteVpnV2 method
func NewDeleteWireguardRequest ¶
func NewDeleteWireguardRequest(server string, omadacId string, siteId string, id string) (*http.Request, error)
NewDeleteWireguardRequest constructs an http.Request for the DeleteWireguard method
func NewDisconnectSslVpnTunnelRequest ¶
func NewDisconnectSslVpnTunnelRequest(server string, omadacId string, siteId string, tunnelId string) (*http.Request, error)
NewDisconnectSslVpnTunnelRequest constructs an http.Request for the DisconnectSslVpnTunnel method
func NewDownloadSslVpnCertificateRequest ¶
func NewDownloadSslVpnCertificateRequest(server string, omadacId string, siteId string, params *DownloadSslVpnCertificateParams) (*http.Request, error)
NewDownloadSslVpnCertificateRequest constructs an http.Request for the DownloadSslVpnCertificate method
func NewDownloadVpnCertificateRequest ¶
func NewDownloadVpnCertificateRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
NewDownloadVpnCertificateRequest constructs an http.Request for the DownloadVpnCertificate method
func NewGetAllVpnListRequest ¶
NewGetAllVpnListRequest constructs an http.Request for the GetAllVpnList method
func NewGetBriefVpnUserByServerIdListRequest ¶
func NewGetBriefVpnUserByServerIdListRequest(server string, omadacId string, siteId string, serverId string) (*http.Request, error)
NewGetBriefVpnUserByServerIdListRequest constructs an http.Request for the GetBriefVpnUserByServerIdList method
func NewGetClientToSiteVpnClientListRequest ¶
func NewGetClientToSiteVpnClientListRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetClientToSiteVpnClientListRequest constructs an http.Request for the GetClientToSiteVpnClientList method
func NewGetClientToSiteVpnServerInfoRequest ¶
func NewGetClientToSiteVpnServerInfoRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
NewGetClientToSiteVpnServerInfoRequest constructs an http.Request for the GetClientToSiteVpnServerInfo method
func NewGetClientToSiteVpnServerListRequest ¶
func NewGetClientToSiteVpnServerListRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetClientToSiteVpnServerListRequest constructs an http.Request for the GetClientToSiteVpnServerList method
func NewGetClientToSiteVpnServerUserListRequest ¶
func NewGetClientToSiteVpnServerUserListRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
NewGetClientToSiteVpnServerUserListRequest constructs an http.Request for the GetClientToSiteVpnServerUserList method
func NewGetGridIpsecFailoverRequest ¶
func NewGetGridIpsecFailoverRequest(server string, omadacId string, siteId string, params *GetGridIpsecFailoverParams) (*http.Request, error)
NewGetGridIpsecFailoverRequest constructs an http.Request for the GetGridIpsecFailover method
func NewGetGridLockedSslVpnServerUserRequest ¶
func NewGetGridLockedSslVpnServerUserRequest(server string, omadacId string, siteId string, params *GetGridLockedSslVpnServerUserParams) (*http.Request, error)
NewGetGridLockedSslVpnServerUserRequest constructs an http.Request for the GetGridLockedSslVpnServerUser method
func NewGetGridSslVpnServerResourceGroupRequest ¶
func NewGetGridSslVpnServerResourceGroupRequest(server string, omadacId string, siteId string, params *GetGridSslVpnServerResourceGroupParams) (*http.Request, error)
NewGetGridSslVpnServerResourceGroupRequest constructs an http.Request for the GetGridSslVpnServerResourceGroup method
func NewGetGridSslVpnServerResourceRequest ¶
func NewGetGridSslVpnServerResourceRequest(server string, omadacId string, siteId string, params *GetGridSslVpnServerResourceParams) (*http.Request, error)
NewGetGridSslVpnServerResourceRequest constructs an http.Request for the GetGridSslVpnServerResource method
func NewGetGridSslVpnServerUserGroupRequest ¶
func NewGetGridSslVpnServerUserGroupRequest(server string, omadacId string, siteId string, params *GetGridSslVpnServerUserGroupParams) (*http.Request, error)
NewGetGridSslVpnServerUserGroupRequest constructs an http.Request for the GetGridSslVpnServerUserGroup method
func NewGetGridSslVpnServerUserRequest ¶
func NewGetGridSslVpnServerUserRequest(server string, omadacId string, siteId string, params *GetGridSslVpnServerUserParams) (*http.Request, error)
NewGetGridSslVpnServerUserRequest constructs an http.Request for the GetGridSslVpnServerUser method
func NewGetGridSslVpnUserInGroupRequest ¶
func NewGetGridSslVpnUserInGroupRequest(server string, omadacId string, siteId string, userGroupId string, params *GetGridSslVpnUserInGroupParams) (*http.Request, error)
NewGetGridSslVpnUserInGroupRequest constructs an http.Request for the GetGridSslVpnUserInGroup method
func NewGetGridSslVpnUserInGroupV2Request ¶
func NewGetGridSslVpnUserInGroupV2Request(server string, omadacId string, siteId string, userGroupId string, params *GetGridSslVpnUserInGroupV2Params) (*http.Request, error)
NewGetGridSslVpnUserInGroupV2Request constructs an http.Request for the GetGridSslVpnUserInGroupV2 method
func NewGetGridVpnClientV2Request ¶
func NewGetGridVpnClientV2Request(server string, omadacId string, siteId string, params *GetGridVpnClientV2Params) (*http.Request, error)
NewGetGridVpnClientV2Request constructs an http.Request for the GetGridVpnClientV2 method
func NewGetGridVpnS2SV2Request ¶
func NewGetGridVpnS2SV2Request(server string, omadacId string, siteId string, params *GetGridVpnS2SV2Params) (*http.Request, error)
NewGetGridVpnS2SV2Request constructs an http.Request for the GetGridVpnS2SV2 method
func NewGetGridVpnServerV2Request ¶
func NewGetGridVpnServerV2Request(server string, omadacId string, siteId string, params *GetGridVpnServerV2Params) (*http.Request, error)
NewGetGridVpnServerV2Request constructs an http.Request for the GetGridVpnServerV2 method
func NewGetGridVpnUserRequest ¶
func NewGetGridVpnUserRequest(server string, omadacId string, siteId string, params *GetGridVpnUserParams) (*http.Request, error)
NewGetGridVpnUserRequest constructs an http.Request for the GetGridVpnUser method
func NewGetGridVpnUserV2Request ¶
func NewGetGridVpnUserV2Request(server string, omadacId string, siteId string, params *GetGridVpnUserV2Params) (*http.Request, error)
NewGetGridVpnUserV2Request constructs an http.Request for the GetGridVpnUserV2 method
func NewGetLockedSslVpnTunnuelsRequest ¶
func NewGetLockedSslVpnTunnuelsRequest(server string, omadacId string, siteId string, params *GetLockedSslVpnTunnuelsParams) (*http.Request, error)
NewGetLockedSslVpnTunnuelsRequest constructs an http.Request for the GetLockedSslVpnTunnuels method
func NewGetRadiusServerInfoRequest ¶
func NewGetRadiusServerInfoRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetRadiusServerInfoRequest constructs an http.Request for the GetRadiusServerInfo method
func NewGetSiteToSiteVpnInfoRequest ¶
func NewGetSiteToSiteVpnInfoRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
NewGetSiteToSiteVpnInfoRequest constructs an http.Request for the GetSiteToSiteVpnInfo method
func NewGetSiteToSiteVpnListRequest ¶
func NewGetSiteToSiteVpnListRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetSiteToSiteVpnListRequest constructs an http.Request for the GetSiteToSiteVpnList method
func NewGetSslVpnResourceGroupListRequest ¶
func NewGetSslVpnResourceGroupListRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetSslVpnResourceGroupListRequest constructs an http.Request for the GetSslVpnResourceGroupList method
func NewGetSslVpnResourceListRequest ¶
func NewGetSslVpnResourceListRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetSslVpnResourceListRequest constructs an http.Request for the GetSslVpnResourceList method
func NewGetSslVpnServerSettingRequest ¶
func NewGetSslVpnServerSettingRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetSslVpnServerSettingRequest constructs an http.Request for the GetSslVpnServerSetting method
func NewGetSslVpnUserGroupBriefListRequest ¶
func NewGetSslVpnUserGroupBriefListRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetSslVpnUserGroupBriefListRequest constructs an http.Request for the GetSslVpnUserGroupBriefList method
func NewGetSslVpnUserGroupListRequest ¶
func NewGetSslVpnUserGroupListRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetSslVpnUserGroupListRequest constructs an http.Request for the GetSslVpnUserGroupList method
func NewGetVpnAvailableIpPoolRequest ¶
func NewGetVpnAvailableIpPoolRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetVpnAvailableIpPoolRequest constructs an http.Request for the GetVpnAvailableIpPool method
func NewGetVpnClientDetailInfoRequest ¶
func NewGetVpnClientDetailInfoRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
NewGetVpnClientDetailInfoRequest constructs an http.Request for the GetVpnClientDetailInfo method
func NewGetVpnClientToSiteClientInfoRequest ¶
func NewGetVpnClientToSiteClientInfoRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
NewGetVpnClientToSiteClientInfoRequest constructs an http.Request for the GetVpnClientToSiteClientInfo method
func NewGetVpnDefaultValueRequest ¶
func NewGetVpnDefaultValueRequest(server string, omadacId string, siteId string, body GetVpnDefaultValueJSONRequestBody) (*http.Request, error)
NewGetVpnDefaultValueRequest calls the generic GetVpnDefaultValue builder with application/json body
func NewGetVpnDefaultValueRequestWithBody ¶
func NewGetVpnDefaultValueRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewGetVpnDefaultValueRequestWithBody constructs an http.Request for the GetVpnDefaultValue method, with any body, and a specified content type
func NewGetVpnPreSharedKeyRequest ¶
func NewGetVpnPreSharedKeyRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetVpnPreSharedKeyRequest constructs an http.Request for the GetVpnPreSharedKey method
func NewGetVpnS2SDetailInfoRequest ¶
func NewGetVpnS2SDetailInfoRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
NewGetVpnS2SDetailInfoRequest constructs an http.Request for the GetVpnS2SDetailInfo method
func NewGetVpnServerDetailInfoRequest ¶
func NewGetVpnServerDetailInfoRequest(server string, omadacId string, siteId string, vpnId string) (*http.Request, error)
NewGetVpnServerDetailInfoRequest constructs an http.Request for the GetVpnServerDetailInfo method
func NewGetVpnServerUserListV3Request ¶
func NewGetVpnServerUserListV3Request(server string, omadacId string, siteId string, vpnId string, params *GetVpnServerUserListV3Params) (*http.Request, error)
NewGetVpnServerUserListV3Request constructs an http.Request for the GetVpnServerUserListV3 method
func NewGetVpnUserListRequest ¶
func NewGetVpnUserListRequest(server string, omadacId string, siteId string, protocol string) (*http.Request, error)
NewGetVpnUserListRequest constructs an http.Request for the GetVpnUserList method
func NewGetVpnUserServerListRequest ¶
func NewGetVpnUserServerListRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetVpnUserServerListRequest constructs an http.Request for the GetVpnUserServerList method
func NewGetWireguardKeyRequest ¶
func NewGetWireguardKeyRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetWireguardKeyRequest constructs an http.Request for the GetWireguardKey method
func NewGetWireguardSummaryRequest ¶
func NewGetWireguardSummaryRequest(server string, omadacId string, siteId string) (*http.Request, error)
NewGetWireguardSummaryRequest constructs an http.Request for the GetWireguardSummary method
func NewListPeerRequest ¶
func NewListPeerRequest(server string, omadacId string, siteId string, params *ListPeerParams) (*http.Request, error)
NewListPeerRequest constructs an http.Request for the ListPeer method
func NewListRemoteSiteRequest ¶
NewListRemoteSiteRequest constructs an http.Request for the ListRemoteSite method
func NewListWireguardRequest ¶
func NewListWireguardRequest(server string, omadacId string, siteId string, params *ListWireguardParams) (*http.Request, error)
NewListWireguardRequest constructs an http.Request for the ListWireguard method
func NewLockSslVpnTunnelRequest ¶
func NewLockSslVpnTunnelRequest(server string, omadacId string, siteId string, tunnelId string) (*http.Request, error)
NewLockSslVpnTunnelRequest constructs an http.Request for the LockSslVpnTunnel method
func NewModifyClientStatusRequest ¶
func NewModifyClientStatusRequest(server string, omadacId string, siteId string, vpnId string, body ModifyClientStatusJSONRequestBody) (*http.Request, error)
NewModifyClientStatusRequest calls the generic ModifyClientStatus builder with application/json body
func NewModifyClientStatusRequestWithBody ¶
func NewModifyClientStatusRequestWithBody(server string, omadacId string, siteId string, vpnId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyClientStatusRequestWithBody constructs an http.Request for the ModifyClientStatus method, with any body, and a specified content type
func NewModifyClientToSiteVpnClientRequest ¶
func NewModifyClientToSiteVpnClientRequest(server string, omadacId string, siteId string, vpnId string, body ModifyClientToSiteVpnClientJSONRequestBody) (*http.Request, error)
NewModifyClientToSiteVpnClientRequest calls the generic ModifyClientToSiteVpnClient builder with application/json body
func NewModifyClientToSiteVpnClientRequestWithBody ¶
func NewModifyClientToSiteVpnClientRequestWithBody(server string, omadacId string, siteId string, vpnId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyClientToSiteVpnClientRequestWithBody constructs an http.Request for the ModifyClientToSiteVpnClient method, with any body, and a specified content type
func NewModifyClientToSiteVpnServerRequest ¶
func NewModifyClientToSiteVpnServerRequest(server string, omadacId string, siteId string, vpnId string, body ModifyClientToSiteVpnServerJSONRequestBody) (*http.Request, error)
NewModifyClientToSiteVpnServerRequest calls the generic ModifyClientToSiteVpnServer builder with application/json body
func NewModifyClientToSiteVpnServerRequestWithBody ¶
func NewModifyClientToSiteVpnServerRequestWithBody(server string, omadacId string, siteId string, vpnId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyClientToSiteVpnServerRequestWithBody constructs an http.Request for the ModifyClientToSiteVpnServer method, with any body, and a specified content type
func NewModifyIpsecFailoverRequest ¶
func NewModifyIpsecFailoverRequest(server string, omadacId string, siteId string, failoverId string, body ModifyIpsecFailoverJSONRequestBody) (*http.Request, error)
NewModifyIpsecFailoverRequest calls the generic ModifyIpsecFailover builder with application/json body
func NewModifyIpsecFailoverRequestWithBody ¶
func NewModifyIpsecFailoverRequestWithBody(server string, omadacId string, siteId string, failoverId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyIpsecFailoverRequestWithBody constructs an http.Request for the ModifyIpsecFailover method, with any body, and a specified content type
func NewModifyLockedSslVpnTunnuelRequest ¶
func NewModifyLockedSslVpnTunnuelRequest(server string, omadacId string, siteId string, lockTunnelId string, body ModifyLockedSslVpnTunnuelJSONRequestBody) (*http.Request, error)
NewModifyLockedSslVpnTunnuelRequest calls the generic ModifyLockedSslVpnTunnuel builder with application/json body
func NewModifyLockedSslVpnTunnuelRequestWithBody ¶
func NewModifyLockedSslVpnTunnuelRequestWithBody(server string, omadacId string, siteId string, lockTunnelId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyLockedSslVpnTunnuelRequestWithBody constructs an http.Request for the ModifyLockedSslVpnTunnuel method, with any body, and a specified content type
func NewModifyLockedSslVpnUserRequest ¶
func NewModifyLockedSslVpnUserRequest(server string, omadacId string, siteId string, id string, body ModifyLockedSslVpnUserJSONRequestBody) (*http.Request, error)
NewModifyLockedSslVpnUserRequest calls the generic ModifyLockedSslVpnUser builder with application/json body
func NewModifyLockedSslVpnUserRequestWithBody ¶
func NewModifyLockedSslVpnUserRequestWithBody(server string, omadacId string, siteId string, id string, contentType string, body io.Reader) (*http.Request, error)
NewModifyLockedSslVpnUserRequestWithBody constructs an http.Request for the ModifyLockedSslVpnUser method, with any body, and a specified content type
func NewModifyPeerRequest ¶
func NewModifyPeerRequest(server string, omadacId string, siteId string, id string, body ModifyPeerJSONRequestBody) (*http.Request, error)
NewModifyPeerRequest calls the generic ModifyPeer builder with application/json body
func NewModifyPeerRequestWithBody ¶
func NewModifyPeerRequestWithBody(server string, omadacId string, siteId string, id string, contentType string, body io.Reader) (*http.Request, error)
NewModifyPeerRequestWithBody constructs an http.Request for the ModifyPeer method, with any body, and a specified content type
func NewModifyS2SAutoVpnRequest ¶
func NewModifyS2SAutoVpnRequest(server string, omadacId string, siteId string, vpnId string, body ModifyS2SAutoVpnJSONRequestBody) (*http.Request, error)
NewModifyS2SAutoVpnRequest calls the generic ModifyS2SAutoVpn builder with application/json body
func NewModifyS2SAutoVpnRequestWithBody ¶
func NewModifyS2SAutoVpnRequestWithBody(server string, omadacId string, siteId string, vpnId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyS2SAutoVpnRequestWithBody constructs an http.Request for the ModifyS2SAutoVpn method, with any body, and a specified content type
func NewModifyS2SManualVpnRequest ¶
func NewModifyS2SManualVpnRequest(server string, omadacId string, siteId string, vpnId string, body ModifyS2SManualVpnJSONRequestBody) (*http.Request, error)
NewModifyS2SManualVpnRequest calls the generic ModifyS2SManualVpn builder with application/json body
func NewModifyS2SManualVpnRequestWithBody ¶
func NewModifyS2SManualVpnRequestWithBody(server string, omadacId string, siteId string, vpnId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyS2SManualVpnRequestWithBody constructs an http.Request for the ModifyS2SManualVpn method, with any body, and a specified content type
func NewModifySiteToSiteVpnRequest ¶
func NewModifySiteToSiteVpnRequest(server string, omadacId string, siteId string, vpnId string, body ModifySiteToSiteVpnJSONRequestBody) (*http.Request, error)
NewModifySiteToSiteVpnRequest calls the generic ModifySiteToSiteVpn builder with application/json body
func NewModifySiteToSiteVpnRequestWithBody ¶
func NewModifySiteToSiteVpnRequestWithBody(server string, omadacId string, siteId string, vpnId string, contentType string, body io.Reader) (*http.Request, error)
NewModifySiteToSiteVpnRequestWithBody constructs an http.Request for the ModifySiteToSiteVpn method, with any body, and a specified content type
func NewModifySslVpnResourceGroupRequest ¶
func NewModifySslVpnResourceGroupRequest(server string, omadacId string, siteId string, id string, body ModifySslVpnResourceGroupJSONRequestBody) (*http.Request, error)
NewModifySslVpnResourceGroupRequest calls the generic ModifySslVpnResourceGroup builder with application/json body
func NewModifySslVpnResourceGroupRequestWithBody ¶
func NewModifySslVpnResourceGroupRequestWithBody(server string, omadacId string, siteId string, id string, contentType string, body io.Reader) (*http.Request, error)
NewModifySslVpnResourceGroupRequestWithBody constructs an http.Request for the ModifySslVpnResourceGroup method, with any body, and a specified content type
func NewModifySslVpnResourceRequest ¶
func NewModifySslVpnResourceRequest(server string, omadacId string, siteId string, id string, body ModifySslVpnResourceJSONRequestBody) (*http.Request, error)
NewModifySslVpnResourceRequest calls the generic ModifySslVpnResource builder with application/json body
func NewModifySslVpnResourceRequestWithBody ¶
func NewModifySslVpnResourceRequestWithBody(server string, omadacId string, siteId string, id string, contentType string, body io.Reader) (*http.Request, error)
NewModifySslVpnResourceRequestWithBody constructs an http.Request for the ModifySslVpnResource method, with any body, and a specified content type
func NewModifySslVpnServerSettingRequest ¶
func NewModifySslVpnServerSettingRequest(server string, omadacId string, siteId string, body ModifySslVpnServerSettingJSONRequestBody) (*http.Request, error)
NewModifySslVpnServerSettingRequest calls the generic ModifySslVpnServerSetting builder with application/json body
func NewModifySslVpnServerSettingRequestWithBody ¶
func NewModifySslVpnServerSettingRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewModifySslVpnServerSettingRequestWithBody constructs an http.Request for the ModifySslVpnServerSetting method, with any body, and a specified content type
func NewModifySslVpnUserGroupRequest ¶
func NewModifySslVpnUserGroupRequest(server string, omadacId string, siteId string, id string, body ModifySslVpnUserGroupJSONRequestBody) (*http.Request, error)
NewModifySslVpnUserGroupRequest calls the generic ModifySslVpnUserGroup builder with application/json body
func NewModifySslVpnUserGroupRequestWithBody ¶
func NewModifySslVpnUserGroupRequestWithBody(server string, omadacId string, siteId string, id string, contentType string, body io.Reader) (*http.Request, error)
NewModifySslVpnUserGroupRequestWithBody constructs an http.Request for the ModifySslVpnUserGroup method, with any body, and a specified content type
func NewModifySslVpnUserRequest ¶
func NewModifySslVpnUserRequest(server string, omadacId string, siteId string, id string, body ModifySslVpnUserJSONRequestBody) (*http.Request, error)
NewModifySslVpnUserRequest calls the generic ModifySslVpnUser builder with application/json body
func NewModifySslVpnUserRequestWithBody ¶
func NewModifySslVpnUserRequestWithBody(server string, omadacId string, siteId string, id string, contentType string, body io.Reader) (*http.Request, error)
NewModifySslVpnUserRequestWithBody constructs an http.Request for the ModifySslVpnUser method, with any body, and a specified content type
func NewModifyVpnClientRequest ¶
func NewModifyVpnClientRequest(server string, omadacId string, siteId string, vpnId string, body ModifyVpnClientJSONRequestBody) (*http.Request, error)
NewModifyVpnClientRequest calls the generic ModifyVpnClient builder with application/json body
func NewModifyVpnClientRequestWithBody ¶
func NewModifyVpnClientRequestWithBody(server string, omadacId string, siteId string, vpnId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyVpnClientRequestWithBody constructs an http.Request for the ModifyVpnClient method, with any body, and a specified content type
func NewModifyVpnServerRequest ¶
func NewModifyVpnServerRequest(server string, omadacId string, siteId string, vpnId string, body ModifyVpnServerJSONRequestBody) (*http.Request, error)
NewModifyVpnServerRequest calls the generic ModifyVpnServer builder with application/json body
func NewModifyVpnServerRequestWithBody ¶
func NewModifyVpnServerRequestWithBody(server string, omadacId string, siteId string, vpnId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyVpnServerRequestWithBody constructs an http.Request for the ModifyVpnServer method, with any body, and a specified content type
func NewModifyVpnUserRequest ¶
func NewModifyVpnUserRequest(server string, omadacId string, siteId string, userId string, body ModifyVpnUserJSONRequestBody) (*http.Request, error)
NewModifyVpnUserRequest calls the generic ModifyVpnUser builder with application/json body
func NewModifyVpnUserRequestWithBody ¶
func NewModifyVpnUserRequestWithBody(server string, omadacId string, siteId string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyVpnUserRequestWithBody constructs an http.Request for the ModifyVpnUser method, with any body, and a specified content type
func NewModifyVpnUserV2Request ¶
func NewModifyVpnUserV2Request(server string, omadacId string, siteId string, userId string, body ModifyVpnUserV2JSONRequestBody) (*http.Request, error)
NewModifyVpnUserV2Request calls the generic ModifyVpnUserV2 builder with application/json body
func NewModifyVpnUserV2RequestWithBody ¶
func NewModifyVpnUserV2RequestWithBody(server string, omadacId string, siteId string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyVpnUserV2RequestWithBody constructs an http.Request for the ModifyVpnUserV2 method, with any body, and a specified content type
func NewModifyVpnUserV3Request ¶
func NewModifyVpnUserV3Request(server string, omadacId string, siteId string, userId string, body ModifyVpnUserV3JSONRequestBody) (*http.Request, error)
NewModifyVpnUserV3Request calls the generic ModifyVpnUserV3 builder with application/json body
func NewModifyVpnUserV3RequestWithBody ¶
func NewModifyVpnUserV3RequestWithBody(server string, omadacId string, siteId string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewModifyVpnUserV3RequestWithBody constructs an http.Request for the ModifyVpnUserV3 method, with any body, and a specified content type
func NewModifyWireguardRequest ¶
func NewModifyWireguardRequest(server string, omadacId string, siteId string, id string, body ModifyWireguardJSONRequestBody) (*http.Request, error)
NewModifyWireguardRequest calls the generic ModifyWireguard builder with application/json body
func NewModifyWireguardRequestWithBody ¶
func NewModifyWireguardRequestWithBody(server string, omadacId string, siteId string, id string, contentType string, body io.Reader) (*http.Request, error)
NewModifyWireguardRequestWithBody constructs an http.Request for the ModifyWireguard method, with any body, and a specified content type
func NewUploadVpnCertificateFileRequestWithBody ¶
func NewUploadVpnCertificateFileRequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewUploadVpnCertificateFileRequestWithBody constructs an http.Request for the UploadVpnCertificateFile method, with any body, and a specified content type
func NewUploadVpnCertificateFileV2RequestWithBody ¶
func NewUploadVpnCertificateFileV2RequestWithBody(server string, omadacId string, siteId string, contentType string, body io.Reader) (*http.Request, error)
NewUploadVpnCertificateFileV2RequestWithBody constructs an http.Request for the UploadVpnCertificateFileV2 method, with any body, and a specified content type
Types ¶
type ApInterference ¶
type ApInterference struct {
// Interferences2g List of 2G interferences.
Interferences2g *[]ApInterference `json:"interferences2g,omitempty"`
// Interferences5g List of 5G interferences.
Interferences5g *[]ApInterference `json:"interferences5g,omitempty"`
// Interferences6g List of 6G interferences.
Interferences6g *[]ApInterference `json:"interferences6g,omitempty"`
}
ApInterference defines model for ApInterference.
type BatchDeleteLockedSslVpnTunnelJSONRequestBody ¶
type BatchDeleteLockedSslVpnTunnelJSONRequestBody = BatchSelectSslUserVO
BatchDeleteLockedSslVpnTunnelJSONRequestBody defines body for BatchDeleteLockedSslVpnTunnel for application/json ContentType.
type BatchDeleteLockedSslVpnTunnelResponse ¶
func ParseBatchDeleteLockedSslVpnTunnelResponse ¶
func ParseBatchDeleteLockedSslVpnTunnelResponse(rsp *http.Response) (*BatchDeleteLockedSslVpnTunnelResponse, error)
ParseBatchDeleteLockedSslVpnTunnelResponse parses an HTTP response from a BatchDeleteLockedSslVpnTunnelWithResponse call
func (BatchDeleteLockedSslVpnTunnelResponse) ContentType ¶
func (r BatchDeleteLockedSslVpnTunnelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BatchDeleteLockedSslVpnTunnelResponse) GetBody ¶
func (r BatchDeleteLockedSslVpnTunnelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BatchDeleteLockedSslVpnTunnelResponse) Status ¶
func (r BatchDeleteLockedSslVpnTunnelResponse) Status() string
Status returns HTTPResponse.Status
func (BatchDeleteLockedSslVpnTunnelResponse) StatusCode ¶
func (r BatchDeleteLockedSslVpnTunnelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BatchDeleteSslVpnUserGroupJSONRequestBody ¶
type BatchDeleteSslVpnUserGroupJSONRequestBody = BatchSelectSslUserVO
BatchDeleteSslVpnUserGroupJSONRequestBody defines body for BatchDeleteSslVpnUserGroup for application/json ContentType.
type BatchDeleteSslVpnUserGroupResponse ¶
func ParseBatchDeleteSslVpnUserGroupResponse ¶
func ParseBatchDeleteSslVpnUserGroupResponse(rsp *http.Response) (*BatchDeleteSslVpnUserGroupResponse, error)
ParseBatchDeleteSslVpnUserGroupResponse parses an HTTP response from a BatchDeleteSslVpnUserGroupWithResponse call
func (BatchDeleteSslVpnUserGroupResponse) ContentType ¶
func (r BatchDeleteSslVpnUserGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BatchDeleteSslVpnUserGroupResponse) GetBody ¶
func (r BatchDeleteSslVpnUserGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BatchDeleteSslVpnUserGroupResponse) Status ¶
func (r BatchDeleteSslVpnUserGroupResponse) Status() string
Status returns HTTPResponse.Status
func (BatchDeleteSslVpnUserGroupResponse) StatusCode ¶
func (r BatchDeleteSslVpnUserGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BatchDeleteVpnJSONRequestBody ¶
type BatchDeleteVpnJSONRequestBody = BatchSelectVpnVO
BatchDeleteVpnJSONRequestBody defines body for BatchDeleteVpn for application/json ContentType.
type BatchDeleteVpnResponse ¶
func ParseBatchDeleteVpnResponse ¶
func ParseBatchDeleteVpnResponse(rsp *http.Response) (*BatchDeleteVpnResponse, error)
ParseBatchDeleteVpnResponse parses an HTTP response from a BatchDeleteVpnWithResponse call
func (BatchDeleteVpnResponse) ContentType ¶
func (r BatchDeleteVpnResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BatchDeleteVpnResponse) GetBody ¶
func (r BatchDeleteVpnResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BatchDeleteVpnResponse) Status ¶
func (r BatchDeleteVpnResponse) Status() string
Status returns HTTPResponse.Status
func (BatchDeleteVpnResponse) StatusCode ¶
func (r BatchDeleteVpnResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BatchDeleteVpnUserJSONRequestBody ¶
type BatchDeleteVpnUserJSONRequestBody = BatchSelectVpnUserVO
BatchDeleteVpnUserJSONRequestBody defines body for BatchDeleteVpnUser for application/json ContentType.
type BatchDeleteVpnUserResponse ¶
func ParseBatchDeleteVpnUserResponse ¶
func ParseBatchDeleteVpnUserResponse(rsp *http.Response) (*BatchDeleteVpnUserResponse, error)
ParseBatchDeleteVpnUserResponse parses an HTTP response from a BatchDeleteVpnUserWithResponse call
func (BatchDeleteVpnUserResponse) ContentType ¶
func (r BatchDeleteVpnUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BatchDeleteVpnUserResponse) GetBody ¶
func (r BatchDeleteVpnUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BatchDeleteVpnUserResponse) Status ¶
func (r BatchDeleteVpnUserResponse) Status() string
Status returns HTTPResponse.Status
func (BatchDeleteVpnUserResponse) StatusCode ¶
func (r BatchDeleteVpnUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BatchSelectSslUserVO ¶
type BatchSelectSslUserVO struct {
// Ids ID list of batch selected SSL VPN users.
Ids *[]string `json:"ids,omitempty"`
// SearchKey The keywords of the searchIt is effected when [selectAll] is 'true'.
SearchKey *string `json:"searchKey,omitempty"`
// SelectAll Indicates whether to select all SSL VPN users for deletion.The behavior depends on the combination with 'ids':
// - If selectAll is true and ids is not empty: perform a reverse selection (excluding the specified IDs).
// - If selectAll is true and ids is empty: select all SSL VPN users.
// - If selectAll is false and ids is not empty: select only the specified SSL VPN users in the ID list.
SelectAll *bool `json:"selectAll,omitempty"`
}
BatchSelectSslUserVO defines model for BatchSelectSslUserVO.
type BatchSelectVpnUserVO ¶
type BatchSelectVpnUserVO struct {
// Ids ID list of batch selected VPN users.
Ids *[]string `json:"ids,omitempty"`
// Protocol Protocol should be a value as follows: 0: L2TP or PPTP; 1: OpenVPN, 2: SSL VPN.
Protocol *int32 `json:"protocol,omitempty"`
// SearchKey The keywords of the searchIt is effected when [selectAll] is 'true'.
SearchKey *string `json:"searchKey,omitempty"`
// SelectAll Indicates whether to select all VPN users for deletion. The behavior depends on the combination with 'ids': 1: If selectAll is true and ids is not empty: perform a reverse selection (excluding the specified IDs). 2: If selectAll is true and ids is empty: select all VPN users. 3: If selectAll is false and ids is not empty: select only the specified VPN users in the ID list.
SelectAll *bool `json:"selectAll,omitempty"`
}
BatchSelectVpnUserVO defines model for BatchSelectVpnUserVO.
type BatchSelectVpnVO ¶
type BatchSelectVpnVO struct {
// Ids ID list of batch selected VPNs.
Ids *[]string `json:"ids,omitempty"`
// SearchKey The keywords of the searchIt is effected when [selectAll] is 'true'.
SearchKey *string `json:"searchKey,omitempty"`
// SelectAll Indicates whether to select all VPNs for deletion. The behavior depends on the combination with 'ids': 1: If selectAll is true and ids is not empty: perform a reverse selection (excluding the specified IDs). 2: If selectAll is true and ids is empty: select all VPNs. 3: If selectAll is false and ids is not empty: select only the specified VPNs in the ID list.
SelectAll *bool `json:"selectAll,omitempty"`
// Usage Parameter [usage] should be a value as follows: 0, Server; 1, Client; 2, Site-To-Site.
Usage *int32 `json:"usage,omitempty"`
}
BatchSelectVpnVO defines model for BatchSelectVpnVO.
type CheckUsedInVpnsJSONRequestBody ¶
type CheckUsedInVpnsJSONRequestBody = BatchSelectVpnVO
CheckUsedInVpnsJSONRequestBody defines body for CheckUsedInVpns for application/json ContentType.
type CheckUsedInVpnsResponse ¶
func ParseCheckUsedInVpnsResponse ¶
func ParseCheckUsedInVpnsResponse(rsp *http.Response) (*CheckUsedInVpnsResponse, error)
ParseCheckUsedInVpnsResponse parses an HTTP response from a CheckUsedInVpnsWithResponse call
func (CheckUsedInVpnsResponse) ContentType ¶
func (r CheckUsedInVpnsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CheckUsedInVpnsResponse) GetBody ¶
func (r CheckUsedInVpnsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CheckUsedInVpnsResponse) Status ¶
func (r CheckUsedInVpnsResponse) Status() string
Status returns HTTPResponse.Status
func (CheckUsedInVpnsResponse) StatusCode ¶
func (r CheckUsedInVpnsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CheckUsedVpnResponse ¶
func ParseCheckUsedVpnResponse ¶
func ParseCheckUsedVpnResponse(rsp *http.Response) (*CheckUsedVpnResponse, error)
ParseCheckUsedVpnResponse parses an HTTP response from a CheckUsedVpnWithResponse call
func (CheckUsedVpnResponse) ContentType ¶
func (r CheckUsedVpnResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CheckUsedVpnResponse) GetBody ¶
func (r CheckUsedVpnResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CheckUsedVpnResponse) Status ¶
func (r CheckUsedVpnResponse) Status() string
Status returns HTTPResponse.Status
func (CheckUsedVpnResponse) StatusCode ¶
func (r CheckUsedVpnResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CheckValueAvailableJSONRequestBody ¶
type CheckValueAvailableJSONRequestBody = VpnValueAvailableVO
CheckValueAvailableJSONRequestBody defines body for CheckValueAvailable for application/json ContentType.
type CheckValueAvailableResponse ¶
func ParseCheckValueAvailableResponse ¶
func ParseCheckValueAvailableResponse(rsp *http.Response) (*CheckValueAvailableResponse, error)
ParseCheckValueAvailableResponse parses an HTTP response from a CheckValueAvailableWithResponse call
func (CheckValueAvailableResponse) ContentType ¶
func (r CheckValueAvailableResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CheckValueAvailableResponse) GetBody ¶
func (r CheckValueAvailableResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CheckValueAvailableResponse) Status ¶
func (r CheckValueAvailableResponse) Status() string
Status returns HTTPResponse.Status
func (CheckValueAvailableResponse) StatusCode ¶
func (r CheckValueAvailableResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) BatchDeleteLockedSslVpnTunnel ¶
func (c *Client) BatchDeleteLockedSslVpnTunnel(ctx context.Context, omadacId string, siteId string, body BatchDeleteLockedSslVpnTunnelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchDeleteLockedSslVpnTunnel Batch delete SSL VPN locked tunnel
Batch delete SSL VPN locked tunnel.
Takes a body of the `application/json` content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `BatchDeleteLockedSslVpnTunnel` operationId).
func (*Client) BatchDeleteLockedSslVpnTunnelWithBody ¶
func (c *Client) BatchDeleteLockedSslVpnTunnelWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchDeleteLockedSslVpnTunnelWithBody Batch delete SSL VPN locked tunnel
Batch delete SSL VPN locked tunnel.
Takes any type of body and a specified content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `BatchDeleteLockedSslVpnTunnel` operationId).
func (*Client) BatchDeleteSslVpnUserGroup ¶
func (c *Client) BatchDeleteSslVpnUserGroup(ctx context.Context, omadacId string, siteId string, body BatchDeleteSslVpnUserGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchDeleteSslVpnUserGroup Batch delete SSL VPN user group
Batch delete SSL VPN user group.
Takes a body of the `application/json` content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `BatchDeleteSslVpnUserGroup` operationId).
func (*Client) BatchDeleteSslVpnUserGroupWithBody ¶
func (c *Client) BatchDeleteSslVpnUserGroupWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchDeleteSslVpnUserGroupWithBody Batch delete SSL VPN user group
Batch delete SSL VPN user group.
Takes any type of body and a specified content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `BatchDeleteSslVpnUserGroup` operationId).
func (*Client) BatchDeleteVpn ¶
func (c *Client) BatchDeleteVpn(ctx context.Context, omadacId string, siteId string, body BatchDeleteVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchDeleteVpn Batch delete VPN
Batch delete VPN.
Takes a body of the `application/json` content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn (the `BatchDeleteVpn` operationId).
func (*Client) BatchDeleteVpnUser ¶
func (c *Client) BatchDeleteVpnUser(ctx context.Context, omadacId string, siteId string, body BatchDeleteVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchDeleteVpnUser Batch delete VPN user
Batch delete VPN user.
Takes a body of the `application/json` content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `BatchDeleteVpnUser` operationId).
func (*Client) BatchDeleteVpnUserWithBody ¶
func (c *Client) BatchDeleteVpnUserWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchDeleteVpnUserWithBody Batch delete VPN user
Batch delete VPN user.
Takes any type of body and a specified content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `BatchDeleteVpnUser` operationId).
func (*Client) BatchDeleteVpnWithBody ¶
func (c *Client) BatchDeleteVpnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchDeleteVpnWithBody Batch delete VPN
Batch delete VPN.
Takes any type of body and a specified content type.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn (the `BatchDeleteVpn` operationId).
func (*Client) CheckUsedInVpns ¶
func (c *Client) CheckUsedInVpns(ctx context.Context, omadacId string, siteId string, body CheckUsedInVpnsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CheckUsedInVpns Check used function for multiple VPN items
Check used function for multiple VPN items.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/checkUsed (the `CheckUsedInVpns` operationId).
func (*Client) CheckUsedInVpnsWithBody ¶
func (c *Client) CheckUsedInVpnsWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CheckUsedInVpnsWithBody Check used function for multiple VPN items
Check used function for multiple VPN items.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/checkUsed (the `CheckUsedInVpns` operationId).
func (*Client) CheckUsedVpn ¶
func (c *Client) CheckUsedVpn(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
CheckUsedVpn Check used function for single VPN item
Check used function for single VPN item.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/{vpnId}/checkUsed (the `CheckUsedVpn` operationId).
func (*Client) CheckValueAvailable ¶
func (c *Client) CheckValueAvailable(ctx context.Context, omadacId string, siteId string, body CheckValueAvailableJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CheckValueAvailable Check whether vpn value is available
Check whether vpn value is available.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/checkValue (the `CheckValueAvailable` operationId).
func (*Client) CheckValueAvailableWithBody ¶
func (c *Client) CheckValueAvailableWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CheckValueAvailableWithBody Check whether vpn value is available
Check whether vpn value is available.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/checkValue (the `CheckValueAvailable` operationId).
func (*Client) CreateClientToSiteVpnClient ¶
func (c *Client) CreateClientToSiteVpnClient(ctx context.Context, omadacId string, siteId string, body CreateClientToSiteVpnClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateClientToSiteVpnClient Create client-to-site VPN client
Create client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN client V2. This interface had been deprecated.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `CreateClientToSiteVpnClient` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreateClientToSiteVpnClientWithBody ¶
func (c *Client) CreateClientToSiteVpnClientWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateClientToSiteVpnClientWithBody Create client-to-site VPN client
Create client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN client V2. This interface had been deprecated.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `CreateClientToSiteVpnClient` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreateClientToSiteVpnServer ¶
func (c *Client) CreateClientToSiteVpnServer(ctx context.Context, omadacId string, siteId string, body CreateClientToSiteVpnServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateClientToSiteVpnServer Create client-to-site VPN server
Create client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN server V2. This interface had been deprecated.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `CreateClientToSiteVpnServer` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreateClientToSiteVpnServerWithBody ¶
func (c *Client) CreateClientToSiteVpnServerWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateClientToSiteVpnServerWithBody Create client-to-site VPN server
Create client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN server V2. This interface had been deprecated.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `CreateClientToSiteVpnServer` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreateIpsecFailover ¶
func (c *Client) CreateIpsecFailover(ctx context.Context, omadacId string, siteId string, body CreateIpsecFailoverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateIpsecFailover Create IPsec failover
Create IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual or Modify site-to-site VPN by manual. This interface had been deprecated.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers (the `CreateIpsecFailover` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreateIpsecFailoverWithBody ¶
func (c *Client) CreateIpsecFailoverWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateIpsecFailoverWithBody Create IPsec failover
Create IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual or Modify site-to-site VPN by manual. This interface had been deprecated.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers (the `CreateIpsecFailover` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreateLockedSslVpnTunnuel ¶
func (c *Client) CreateLockedSslVpnTunnuel(ctx context.Context, omadacId string, siteId string, body CreateLockedSslVpnTunnuelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateLockedSslVpnTunnuel Create locked SSL VPN tunnel
Create locked SSL VPN tunnel.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `CreateLockedSslVpnTunnuel` operationId).
func (*Client) CreateLockedSslVpnTunnuelWithBody ¶
func (c *Client) CreateLockedSslVpnTunnuelWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateLockedSslVpnTunnuelWithBody Create locked SSL VPN tunnel
Create locked SSL VPN tunnel.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `CreateLockedSslVpnTunnuel` operationId).
func (*Client) CreateLockedSslVpnUser ¶
func (c *Client) CreateLockedSslVpnUser(ctx context.Context, omadacId string, siteId string, body CreateLockedSslVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateLockedSslVpnUser Create SSL VPN locked user
Create SSL VPN locked user.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users (the `CreateLockedSslVpnUser` operationId).
func (*Client) CreateLockedSslVpnUserWithBody ¶
func (c *Client) CreateLockedSslVpnUserWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateLockedSslVpnUserWithBody Create SSL VPN locked user
Create SSL VPN locked user.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users (the `CreateLockedSslVpnUser` operationId).
func (*Client) CreatePeer ¶
func (c *Client) CreatePeer(ctx context.Context, omadacId string, siteId string, body CreatePeerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePeer Create new wireguard peer
Create new wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual or Modify site-to-site VPN by manual.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers (the `CreatePeer` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreatePeerWithBody ¶
func (c *Client) CreatePeerWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePeerWithBody Create new wireguard peer
Create new wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual or Modify site-to-site VPN by manual.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers (the `CreatePeer` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreateS2SAutoVpn ¶
func (c *Client) CreateS2SAutoVpn(ctx context.Context, omadacId string, siteId string, body CreateS2SAutoVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateS2SAutoVpn Create site-to-site VPN by auto
Create site-to-site VPN by auto.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/auto (the `CreateS2SAutoVpn` operationId).
func (*Client) CreateS2SAutoVpnWithBody ¶
func (c *Client) CreateS2SAutoVpnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateS2SAutoVpnWithBody Create site-to-site VPN by auto
Create site-to-site VPN by auto.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/auto (the `CreateS2SAutoVpn` operationId).
func (*Client) CreateS2SManualVpn ¶
func (c *Client) CreateS2SManualVpn(ctx context.Context, omadacId string, siteId string, body CreateS2SManualVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateS2SManualVpn Create site-to-site VPN by manual
Create site-to-site VPN by manual.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `CreateS2SManualVpn` operationId).
func (*Client) CreateS2SManualVpnWithBody ¶
func (c *Client) CreateS2SManualVpnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateS2SManualVpnWithBody Create site-to-site VPN by manual
Create site-to-site VPN by manual.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `CreateS2SManualVpn` operationId).
func (*Client) CreateSiteToSiteVpn ¶
func (c *Client) CreateSiteToSiteVpn(ctx context.Context, omadacId string, siteId string, body CreateSiteToSiteVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSiteToSiteVpn Create site-to-site VPN
Create site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by auto or Create site-to-site VPN by manual. This interface had been deprecated.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `CreateSiteToSiteVpn` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreateSiteToSiteVpnWithBody ¶
func (c *Client) CreateSiteToSiteVpnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSiteToSiteVpnWithBody Create site-to-site VPN
Create site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by auto or Create site-to-site VPN by manual. This interface had been deprecated.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `CreateSiteToSiteVpn` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreateSslVpnResource ¶
func (c *Client) CreateSslVpnResource(ctx context.Context, omadacId string, siteId string, body CreateSslVpnResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSslVpnResource Create SSL VPN resource
Create SSL VPN tunnel resource.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources (the `CreateSslVpnResource` operationId).
func (*Client) CreateSslVpnResourceGroup ¶
func (c *Client) CreateSslVpnResourceGroup(ctx context.Context, omadacId string, siteId string, body CreateSslVpnResourceGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSslVpnResourceGroup Create SSL VPN resource group
Create SSL VPN tunnel resource group.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups (the `CreateSslVpnResourceGroup` operationId).
func (*Client) CreateSslVpnResourceGroupWithBody ¶
func (c *Client) CreateSslVpnResourceGroupWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSslVpnResourceGroupWithBody Create SSL VPN resource group
Create SSL VPN tunnel resource group.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups (the `CreateSslVpnResourceGroup` operationId).
func (*Client) CreateSslVpnResourceWithBody ¶
func (c *Client) CreateSslVpnResourceWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSslVpnResourceWithBody Create SSL VPN resource
Create SSL VPN tunnel resource.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources (the `CreateSslVpnResource` operationId).
func (*Client) CreateSslVpnUser ¶
func (c *Client) CreateSslVpnUser(ctx context.Context, omadacId string, siteId string, body CreateSslVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSslVpnUser Create SSL VPN user
Create SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Create VPN user V3.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users (the `CreateSslVpnUser` operationId).
func (*Client) CreateSslVpnUserGroup ¶
func (c *Client) CreateSslVpnUserGroup(ctx context.Context, omadacId string, siteId string, body CreateSslVpnUserGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSslVpnUserGroup Create SSL VPN user group
Create SSL VPN user group.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `CreateSslVpnUserGroup` operationId).
func (*Client) CreateSslVpnUserGroupWithBody ¶
func (c *Client) CreateSslVpnUserGroupWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSslVpnUserGroupWithBody Create SSL VPN user group
Create SSL VPN user group.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `CreateSslVpnUserGroup` operationId).
func (*Client) CreateSslVpnUserWithBody ¶
func (c *Client) CreateSslVpnUserWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSslVpnUserWithBody Create SSL VPN user
Create SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Create VPN user V3.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users (the `CreateSslVpnUser` operationId).
func (*Client) CreateVpnClient ¶
func (c *Client) CreateVpnClient(ctx context.Context, omadacId string, siteId string, body CreateVpnClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVpnClient Create client-to-site VPN client V2
Create client-to-site VPN client.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `CreateVpnClient` operationId).
func (*Client) CreateVpnClientWithBody ¶
func (c *Client) CreateVpnClientWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVpnClientWithBody Create client-to-site VPN client V2
Create client-to-site VPN client.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `CreateVpnClient` operationId).
func (*Client) CreateVpnServer ¶
func (c *Client) CreateVpnServer(ctx context.Context, omadacId string, siteId string, body CreateVpnServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVpnServer Create client-to-site VPN server V2
Create client-to-site VPN server V2.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `CreateVpnServer` operationId).
func (*Client) CreateVpnServerWithBody ¶
func (c *Client) CreateVpnServerWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVpnServerWithBody Create client-to-site VPN server V2
Create client-to-site VPN server V2.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `CreateVpnServer` operationId).
func (*Client) CreateVpnUser ¶
func (c *Client) CreateVpnUser(ctx context.Context, omadacId string, siteId string, body CreateVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVpnUser Create VPN user
Create VPN user. This interface has been deprecated. Please use the following interface instead: Create VPN user V2. This interface had been deprecated.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUser` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreateVpnUserV2 ¶
func (c *Client) CreateVpnUserV2(ctx context.Context, omadacId string, siteId string, body CreateVpnUserV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVpnUserV2 Create VPN user V2
Create VPN user. This interface has been deprecated. Please use the following interfaces instead: Create VPN user V3. This interface had been deprecated.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUserV2` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreateVpnUserV2WithBody ¶
func (c *Client) CreateVpnUserV2WithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVpnUserV2WithBody Create VPN user V2
Create VPN user. This interface has been deprecated. Please use the following interfaces instead: Create VPN user V3. This interface had been deprecated.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUserV2` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreateVpnUserV3 ¶
func (c *Client) CreateVpnUserV3(ctx context.Context, omadacId string, siteId string, body CreateVpnUserV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVpnUserV3 Create VPN user V3
Create VPN user.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v3/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUserV3` operationId).
func (*Client) CreateVpnUserV3WithBody ¶
func (c *Client) CreateVpnUserV3WithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVpnUserV3WithBody Create VPN user V3
Create VPN user.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v3/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUserV3` operationId).
func (*Client) CreateVpnUserWithBody ¶
func (c *Client) CreateVpnUserWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVpnUserWithBody Create VPN user
Create VPN user. This interface has been deprecated. Please use the following interface instead: Create VPN user V2. This interface had been deprecated.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUser` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreateWireguard ¶
func (c *Client) CreateWireguard(ctx context.Context, omadacId string, siteId string, body CreateWireguardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWireguard Create new wireguard
Create new wireguard. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards (the `CreateWireguard` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreateWireguardWithBody ¶
func (c *Client) CreateWireguardWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWireguardWithBody Create new wireguard
Create new wireguard. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards (the `CreateWireguard` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) DeleteClientToSiteVpnClient ¶
func (c *Client) DeleteClientToSiteVpnClient(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteClientToSiteVpnClient Delete client-to-site VPN client
Delete client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2. This interface had been deprecated.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `DeleteClientToSiteVpnClient` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) DeleteClientToSiteVpnServer ¶
func (c *Client) DeleteClientToSiteVpnServer(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteClientToSiteVpnServer Delete client-to-site VPN server
Delete client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2. This interface had been deprecated.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `DeleteClientToSiteVpnServer` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) DeleteIpsecFailover ¶
func (c *Client) DeleteIpsecFailover(ctx context.Context, omadacId string, siteId string, failoverId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteIpsecFailover Delete IPsec failover
Delete IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual. This interface had been deprecated.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers/{failoverId} (the `DeleteIpsecFailover` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) DeleteLockedSslVpnTunnel ¶
func (c *Client) DeleteLockedSslVpnTunnel(ctx context.Context, omadacId string, siteId string, lockTunnelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteLockedSslVpnTunnel Delete SSL VPN locked tunnel
Delete SSL VPN locked tunnel.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels/{lockTunnelId} (the `DeleteLockedSslVpnTunnel` operationId).
func (*Client) DeleteLockedSslVpnUser ¶
func (c *Client) DeleteLockedSslVpnUser(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteLockedSslVpnUser Delete SSL VPN locked user
Delete SSL VPN locked user.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users/{id} (the `DeleteLockedSslVpnUser` operationId).
func (*Client) DeletePeer ¶
func (c *Client) DeletePeer(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeletePeer Delete an existing wireguard peer
Delete an existing wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers/{id} (the `DeletePeer` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) DeleteSiteToSiteVpn ¶
func (c *Client) DeleteSiteToSiteVpn(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSiteToSiteVpn Delete site-to-site VPN
Delete site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2. This interface had been deprecated.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `DeleteSiteToSiteVpn` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) DeleteSslVpnResource ¶
func (c *Client) DeleteSslVpnResource(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSslVpnResource Delete SSL VPN resource
Delete SSL VPN tunnel resource.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources/{id} (the `DeleteSslVpnResource` operationId).
func (*Client) DeleteSslVpnResourceGroup ¶
func (c *Client) DeleteSslVpnResourceGroup(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSslVpnResourceGroup Delete SSL VPN resource group
Delete SSL VPN tunnel resource group.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups/{id} (the `DeleteSslVpnResourceGroup` operationId).
func (*Client) DeleteSslVpnUser ¶
func (c *Client) DeleteSslVpnUser(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSslVpnUser Delete SSL VPN user
Delete SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Delete VPN user.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users/{id} (the `DeleteSslVpnUser` operationId).
func (*Client) DeleteSslVpnUserGroup ¶
func (c *Client) DeleteSslVpnUserGroup(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSslVpnUserGroup Delete SSL VPN user group
Delete SSL VPN user group.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups/{id} (the `DeleteSslVpnUserGroup` operationId).
func (*Client) DeleteVpn ¶
func (c *Client) DeleteVpn(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVpn Delete VPN
Delete VPN. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2. This interface had been deprecated.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/{vpnId} (the `DeleteVpn` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) DeleteVpnUser ¶
func (c *Client) DeleteVpnUser(ctx context.Context, omadacId string, siteId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVpnUser Delete VPN user
Delete VPN user.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `DeleteVpnUser` operationId).
func (*Client) DeleteVpnV2 ¶
func (c *Client) DeleteVpnV2(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVpnV2 Delete VPN V2
Delete VPN V2.
Corresponds with DELETE /openapi/v2/{omadacId}/sites/{siteId}/vpn/{vpnId} (the `DeleteVpnV2` operationId).
func (*Client) DeleteWireguard ¶
func (c *Client) DeleteWireguard(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteWireguard Delete an existing wireguard
Delete an existing wireguard. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2.
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards/{id} (the `DeleteWireguard` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) DisconnectSslVpnTunnel ¶
func (c *Client) DisconnectSslVpnTunnel(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DisconnectSslVpnTunnel Disconnect SSL VPN tunnel
Disconnect SSL VPN tunnel by VPN ID.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/stats/sslvpn/tunnel/{tunnelId}/disconnect (the `DisconnectSslVpnTunnel` operationId).
func (*Client) DownloadSslVpnCertificate ¶
func (c *Client) DownloadSslVpnCertificate(ctx context.Context, omadacId string, siteId string, params *DownloadSslVpnCertificateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadSslVpnCertificate Download SSL VPN certificate.
Download SSL VPN certificate. Filename is a UTF-8 string encoded by URL Encoder. This interface has been deprecated. Please use the following interfaces instead: Download Open VPN or SSL VPN certificate.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/certificate (the `DownloadSslVpnCertificate` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) DownloadVpnCertificate ¶
func (c *Client) DownloadVpnCertificate(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadVpnCertificate Download Open VPN or SSL VPN certificate
Download Open VPN or SSL VPN certificate. Filename is a UTF-8 string encoded by URL Encoder.
Corresponds with GET /openapi/v1/{omadacId}/files/sites/{siteId}/vpn/{vpnId}/certificate (the `DownloadVpnCertificate` operationId).
func (*Client) GetAllVpnList ¶
func (c *Client) GetAllVpnList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAllVpnList Get All VPN list
Get All VPN list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Server summary list and Get client-to-site VPN server detail info;Get VPN Client summary list and Get client-to-site VPN client detail info;Get VPN Site to Site summary list and Get site-to-site VPN detail info. This interface had been deprecated.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn (the `GetAllVpnList` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetBriefVpnUserByServerIdList ¶
func (c *Client) GetBriefVpnUserByServerIdList(ctx context.Context, omadacId string, siteId string, serverId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBriefVpnUserByServerIdList Get brief VPN user list by VPN server ID without page
Get brief VPN user list by VPN server ID without page.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/userlist/server/{serverId} (the `GetBriefVpnUserByServerIdList` operationId).
func (*Client) GetClientToSiteVpnClientList ¶
func (c *Client) GetClientToSiteVpnClientList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetClientToSiteVpnClientList Get client-to-site VPN client list
Get client-to-site VPN client list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Client summary list and Get client-to-site VPN client detail info. This interface had been deprecated.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `GetClientToSiteVpnClientList` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetClientToSiteVpnServerInfo ¶
func (c *Client) GetClientToSiteVpnServerInfo(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetClientToSiteVpnServerInfo Get client-to-site VPN server info
Get client-to-site VPN server info. This interface has been deprecated. Please use the following interfaces instead: Get VPN Server summary list and Get client-to-site VPN server detail info. This interface had been deprecated.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `GetClientToSiteVpnServerInfo` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetClientToSiteVpnServerList ¶
func (c *Client) GetClientToSiteVpnServerList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetClientToSiteVpnServerList Get client-to-site VPN server list
Get client-to-site VPN server list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Server summary list and Get client-to-site VPN server detail info. This interface had been deprecated.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `GetClientToSiteVpnServerList` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetClientToSiteVpnServerUserList ¶
func (c *Client) GetClientToSiteVpnServerUserList(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetClientToSiteVpnServerUserList Get user list for client-to-site VPN server
Get user list for client-to-site VPN server.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId}/users (the `GetClientToSiteVpnServerUserList` operationId).
func (*Client) GetGridIpsecFailover ¶
func (c *Client) GetGridIpsecFailover(ctx context.Context, omadacId string, siteId string, params *GetGridIpsecFailoverParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridIpsecFailover Get IPsec failover list
Get IPsec failover list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Site to Site summary list and Get site-to-site VPN detail info. This interface had been deprecated.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers (the `GetGridIpsecFailover` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetGridLockedSslVpnServerUser ¶
func (c *Client) GetGridLockedSslVpnServerUser(ctx context.Context, omadacId string, siteId string, params *GetGridLockedSslVpnServerUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridLockedSslVpnServerUser Get locked user list for SSL VPN server
Get locked user list for SSL VPN server.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users (the `GetGridLockedSslVpnServerUser` operationId).
func (*Client) GetGridSslVpnServerResource ¶
func (c *Client) GetGridSslVpnServerResource(ctx context.Context, omadacId string, siteId string, params *GetGridSslVpnServerResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridSslVpnServerResource Get resource list for SSL VPN server
Get resource list for SSL VPN server.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources (the `GetGridSslVpnServerResource` operationId).
func (*Client) GetGridSslVpnServerResourceGroup ¶
func (c *Client) GetGridSslVpnServerResourceGroup(ctx context.Context, omadacId string, siteId string, params *GetGridSslVpnServerResourceGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridSslVpnServerResourceGroup Get resource group list for SSL VPN server
Get resource group list for SSL VPN server.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups (the `GetGridSslVpnServerResourceGroup` operationId).
func (*Client) GetGridSslVpnServerUser ¶
func (c *Client) GetGridSslVpnServerUser(ctx context.Context, omadacId string, siteId string, params *GetGridSslVpnServerUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridSslVpnServerUser Get user list for SSL VPN server
Get user list for SSL VPN server. This interface has been deprecated. Please use the following interfaces instead: Get VPN user list V2 or Get user list by VPN server ID.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users (the `GetGridSslVpnServerUser` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetGridSslVpnServerUserGroup ¶
func (c *Client) GetGridSslVpnServerUserGroup(ctx context.Context, omadacId string, siteId string, params *GetGridSslVpnServerUserGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridSslVpnServerUserGroup Get user group list for SSL VPN server
Get user group list for SSL VPN server.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `GetGridSslVpnServerUserGroup` operationId).
func (*Client) GetGridSslVpnUserInGroup ¶
func (c *Client) GetGridSslVpnUserInGroup(ctx context.Context, omadacId string, siteId string, userGroupId string, params *GetGridSslVpnUserInGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridSslVpnUserInGroup Get SSL VPN user list in group.
Get SSL VPN user list in group. This interface has been deprecated. Please use the following interfaces instead: Get SSL VPN user list in group V2.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/usergroups/{userGroupId}/users (the `GetGridSslVpnUserInGroup` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetGridSslVpnUserInGroupV2 ¶
func (c *Client) GetGridSslVpnUserInGroupV2(ctx context.Context, omadacId string, siteId string, userGroupId string, params *GetGridSslVpnUserInGroupV2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridSslVpnUserInGroupV2 Get SSL VPN user list in group V2.
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/usergroups/{userGroupId}/users (the `GetGridSslVpnUserInGroupV2` operationId).
func (*Client) GetGridVpnClientV2 ¶
func (c *Client) GetGridVpnClientV2(ctx context.Context, omadacId string, siteId string, params *GetGridVpnClientV2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridVpnClientV2 Get VPN Client summary list
Get VPN Client summary list.
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `GetGridVpnClientV2` operationId).
func (*Client) GetGridVpnS2SV2 ¶
func (c *Client) GetGridVpnS2SV2(ctx context.Context, omadacId string, siteId string, params *GetGridVpnS2SV2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridVpnS2SV2 Get VPN Site to Site summary list
Get VPN Site to Site summary list.
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `GetGridVpnS2SV2` operationId).
func (*Client) GetGridVpnServerV2 ¶
func (c *Client) GetGridVpnServerV2(ctx context.Context, omadacId string, siteId string, params *GetGridVpnServerV2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridVpnServerV2 Get VPN Server summary list
Get VPN Server summary list.
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `GetGridVpnServerV2` operationId).
func (*Client) GetGridVpnUser ¶
func (c *Client) GetGridVpnUser(ctx context.Context, omadacId string, siteId string, params *GetGridVpnUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridVpnUser Get VPN user list
Get VPN user list. This interface has been deprecated. Please use the following interfaces instead: Get VPN user list V2. This interface had been deprecated.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `GetGridVpnUser` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetGridVpnUserV2 ¶
func (c *Client) GetGridVpnUserV2(ctx context.Context, omadacId string, siteId string, params *GetGridVpnUserV2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGridVpnUserV2 Get VPN user list V2
Get VPN user list V2.
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/users (the `GetGridVpnUserV2` operationId).
func (*Client) GetLockedSslVpnTunnuels ¶
func (c *Client) GetLockedSslVpnTunnuels(ctx context.Context, omadacId string, siteId string, params *GetLockedSslVpnTunnuelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetLockedSslVpnTunnuels Get locked SSL VPN tunnel.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `GetLockedSslVpnTunnuels` operationId).
func (*Client) GetRadiusServerInfo ¶
func (c *Client) GetRadiusServerInfo(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRadiusServerInfo Get radius server for SSL VPN server
Get radius server for SSL VPN server.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/radius (the `GetRadiusServerInfo` operationId).
func (*Client) GetSiteToSiteVpnInfo ¶
func (c *Client) GetSiteToSiteVpnInfo(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSiteToSiteVpnInfo Get site-to-site VPN info
Get site-to-site VPN info. This interface has been deprecated. Please use the following interfaces instead: Get VPN Site to Site summary list and Get site-to-site VPN detail info. This interface had been deprecated.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `GetSiteToSiteVpnInfo` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetSiteToSiteVpnList ¶
func (c *Client) GetSiteToSiteVpnList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSiteToSiteVpnList Get site-to-site VPN list
Get site-to-site VPN list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Site to Site summary list and Get site-to-site VPN detail info. This interface had been deprecated.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `GetSiteToSiteVpnList` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetSslVpnResourceGroupList ¶
func (c *Client) GetSslVpnResourceGroupList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSslVpnResourceGroupList Get SSL VPN resource group list.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/briefresourcegroups (the `GetSslVpnResourceGroupList` operationId).
func (*Client) GetSslVpnResourceList ¶
func (c *Client) GetSslVpnResourceList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSslVpnResourceList Get SSL VPN resource list
Get SSL VPN resource list.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/briefresources (the `GetSslVpnResourceList` operationId).
func (*Client) GetSslVpnServerSetting ¶
func (c *Client) GetSslVpnServerSetting(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSslVpnServerSetting Get SSL VPN server setting
Get SSL VPN server setting.This interface has been deprecated. Please use the following interfaces instead: Get VPN Server summary list and Get client-to-site VPN server detail info.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/setting (the `GetSslVpnServerSetting` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetSslVpnUserGroupBriefList ¶
func (c *Client) GetSslVpnUserGroupBriefList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSslVpnUserGroupBriefList Get SSL VPN user Group list V2
Get SSL VPN user Group brief information list.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/briefusergroups (the `GetSslVpnUserGroupBriefList` operationId).
func (*Client) GetSslVpnUserGroupList ¶
func (c *Client) GetSslVpnUserGroupList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSslVpnUserGroupList Get SSL VPN user Group list.
Get SSL VPN user Group list. This interface has been deprecated. Please use the following interfaces instead: Get SSL VPN user Group list V2.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/briefusergroups (the `GetSslVpnUserGroupList` operationId).
func (*Client) GetVpnAvailableIpPool ¶
func (c *Client) GetVpnAvailableIpPool(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVpnAvailableIpPool Get available IP pools for VPN
Get available IP pools for VPN.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ippool (the `GetVpnAvailableIpPool` operationId).
func (*Client) GetVpnClientDetailInfo ¶
func (c *Client) GetVpnClientDetailInfo(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVpnClientDetailInfo Get client-to-site VPN client detail info
Get client-to-site VPN client detail information by VPN ID.
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `GetVpnClientDetailInfo` operationId).
func (*Client) GetVpnClientToSiteClientInfo ¶
func (c *Client) GetVpnClientToSiteClientInfo(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVpnClientToSiteClientInfo Get client-to-site VPN client info
Get client-to-site VPN client info. This interface has been deprecated. Please use the following interfaces instead: Get VPN Client summary list and Get client-to-site VPN client detail info. This interface had been deprecated.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `GetVpnClientToSiteClientInfo` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetVpnDefaultValue ¶
func (c *Client) GetVpnDefaultValue(ctx context.Context, omadacId string, siteId string, body GetVpnDefaultValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVpnDefaultValue Get default value for VPN
Get default value for VPN.
Takes a body of the `application/json` content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/defaultValue (the `GetVpnDefaultValue` operationId).
func (*Client) GetVpnDefaultValueWithBody ¶
func (c *Client) GetVpnDefaultValueWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVpnDefaultValueWithBody Get default value for VPN
Get default value for VPN.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/defaultValue (the `GetVpnDefaultValue` operationId).
func (*Client) GetVpnPreSharedKey ¶
func (c *Client) GetVpnPreSharedKey(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVpnPreSharedKey Generate a random pre-shared key for IPSec
Generate a random pre-shared key for IPSec.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/psk (the `GetVpnPreSharedKey` operationId).
func (*Client) GetVpnS2SDetailInfo ¶
func (c *Client) GetVpnS2SDetailInfo(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVpnS2SDetailInfo Get site-to-site VPN detail info
Get site-to-site VPN detail information by VPN ID.
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `GetVpnS2SDetailInfo` operationId).
func (*Client) GetVpnServerDetailInfo ¶
func (c *Client) GetVpnServerDetailInfo(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVpnServerDetailInfo Get client-to-site VPN server detail info
Get client-to-site VPN server detail information by VPN ID.
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `GetVpnServerDetailInfo` operationId).
func (*Client) GetVpnServerUserListV3 ¶
func (c *Client) GetVpnServerUserListV3(ctx context.Context, omadacId string, siteId string, vpnId string, params *GetVpnServerUserListV3Params, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVpnServerUserListV3 Get user list by VPN server ID
Get user list by VPN server ID.
Corresponds with GET /openapi/v3/{omadacId}/sites/{siteId}/vpn/{vpnId}/users (the `GetVpnServerUserListV3` operationId).
func (*Client) GetVpnUserList ¶
func (c *Client) GetVpnUserList(ctx context.Context, omadacId string, siteId string, protocol string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVpnUserList Get VPN user list without page
Get VPN user list without page.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/userlist/{protocol} (the `GetVpnUserList` operationId).
func (*Client) GetVpnUserServerList ¶
func (c *Client) GetVpnUserServerList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVpnUserServerList Get VPN server list for user
Get VPN server list for user.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/userServers (the `GetVpnUserServerList` operationId).
func (*Client) GetWireguardKey ¶
func (c *Client) GetWireguardKey(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWireguardKey Get new private key and public key
Get new private key and public key.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-key (the `GetWireguardKey` operationId).
func (*Client) GetWireguardSummary ¶
func (c *Client) GetWireguardSummary(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWireguardSummary Get all wireguard's id and name info
Get all wireguard's id and name info.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-summarys (the `GetWireguardSummary` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ListPeer ¶
func (c *Client) ListPeer(ctx context.Context, omadacId string, siteId string, params *ListPeerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListPeer Get wireguard peer list
Get wireguard peer list. This interface has been deprecated. Please use the following interfaces instead: Get site-to-site VPN detail info.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers (the `ListPeer` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ListRemoteSite ¶
func (c *Client) ListRemoteSite(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListRemoteSite List Remote Site
List Remote Site.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteSites (the `ListRemoteSite` operationId).
func (*Client) ListWireguard ¶
func (c *Client) ListWireguard(ctx context.Context, omadacId string, siteId string, params *ListWireguardParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListWireguard Get wireguard list
Get wireguard list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Site to Site summary list and Get site-to-site VPN detail info.
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards (the `ListWireguard` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) LockSslVpnTunnel ¶
func (c *Client) LockSslVpnTunnel(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
LockSslVpnTunnel Lock SSL VPN tunnel
Lock SSL VPN tunnel by VPN ID.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/stats/sslvpn/tunnel/{tunnelId}/lock (the `LockSslVpnTunnel` operationId).
func (*Client) ModifyClientStatus ¶
func (c *Client) ModifyClientStatus(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyClientStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyClientStatus Modify VPN status
Modify VPN status.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/{vpnId}/status (the `ModifyClientStatus` operationId).
func (*Client) ModifyClientStatusWithBody ¶
func (c *Client) ModifyClientStatusWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyClientStatusWithBody Modify VPN status
Modify VPN status.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/{vpnId}/status (the `ModifyClientStatus` operationId).
func (*Client) ModifyClientToSiteVpnClient ¶
func (c *Client) ModifyClientToSiteVpnClient(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyClientToSiteVpnClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyClientToSiteVpnClient Modify client-to-site VPN client
Modify client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Modify client-to-site VPN client V2. This interface had been deprecated.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `ModifyClientToSiteVpnClient` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyClientToSiteVpnClientWithBody ¶
func (c *Client) ModifyClientToSiteVpnClientWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyClientToSiteVpnClientWithBody Modify client-to-site VPN client
Modify client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Modify client-to-site VPN client V2. This interface had been deprecated.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `ModifyClientToSiteVpnClient` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyClientToSiteVpnServer ¶
func (c *Client) ModifyClientToSiteVpnServer(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyClientToSiteVpnServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyClientToSiteVpnServer Modify client-to-site VPN server
Modify client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Modify client-to-site VPN server V2. This interface had been deprecated.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `ModifyClientToSiteVpnServer` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyClientToSiteVpnServerWithBody ¶
func (c *Client) ModifyClientToSiteVpnServerWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyClientToSiteVpnServerWithBody Modify client-to-site VPN server
Modify client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Modify client-to-site VPN server V2. This interface had been deprecated.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `ModifyClientToSiteVpnServer` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyIpsecFailover ¶
func (c *Client) ModifyIpsecFailover(ctx context.Context, omadacId string, siteId string, failoverId string, body ModifyIpsecFailoverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyIpsecFailover Modify IPsec failover
Modify IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual. This interface had been deprecated.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers/{failoverId} (the `ModifyIpsecFailover` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyIpsecFailoverWithBody ¶
func (c *Client) ModifyIpsecFailoverWithBody(ctx context.Context, omadacId string, siteId string, failoverId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyIpsecFailoverWithBody Modify IPsec failover
Modify IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual. This interface had been deprecated.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers/{failoverId} (the `ModifyIpsecFailover` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyLockedSslVpnTunnuel ¶
func (c *Client) ModifyLockedSslVpnTunnuel(ctx context.Context, omadacId string, siteId string, lockTunnelId string, body ModifyLockedSslVpnTunnuelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyLockedSslVpnTunnuel Modify locked SSL VPN tunnel
Modify locked SSL VPN tunnel.
Takes a body of the `application/json` content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels/{lockTunnelId} (the `ModifyLockedSslVpnTunnuel` operationId).
func (*Client) ModifyLockedSslVpnTunnuelWithBody ¶
func (c *Client) ModifyLockedSslVpnTunnuelWithBody(ctx context.Context, omadacId string, siteId string, lockTunnelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyLockedSslVpnTunnuelWithBody Modify locked SSL VPN tunnel
Modify locked SSL VPN tunnel.
Takes any type of body and a specified content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels/{lockTunnelId} (the `ModifyLockedSslVpnTunnuel` operationId).
func (*Client) ModifyLockedSslVpnUser ¶
func (c *Client) ModifyLockedSslVpnUser(ctx context.Context, omadacId string, siteId string, id string, body ModifyLockedSslVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyLockedSslVpnUser Modify SSL VPN locked user
Modify SSL VPN locked user.
Takes a body of the `application/json` content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users/{id} (the `ModifyLockedSslVpnUser` operationId).
func (*Client) ModifyLockedSslVpnUserWithBody ¶
func (c *Client) ModifyLockedSslVpnUserWithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyLockedSslVpnUserWithBody Modify SSL VPN locked user
Modify SSL VPN locked user.
Takes any type of body and a specified content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users/{id} (the `ModifyLockedSslVpnUser` operationId).
func (*Client) ModifyPeer ¶
func (c *Client) ModifyPeer(ctx context.Context, omadacId string, siteId string, id string, body ModifyPeerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyPeer Modify an existing wireguard peer
Modify an existing wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
Takes a body of the `application/json` content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers/{id} (the `ModifyPeer` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyPeerWithBody ¶
func (c *Client) ModifyPeerWithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyPeerWithBody Modify an existing wireguard peer
Modify an existing wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
Takes any type of body and a specified content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers/{id} (the `ModifyPeer` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyS2SAutoVpn ¶
func (c *Client) ModifyS2SAutoVpn(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyS2SAutoVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyS2SAutoVpn Modify site-to-site VPN by auto
Modify site-to-site VPN by auto.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/auto/{vpnId} (the `ModifyS2SAutoVpn` operationId).
func (*Client) ModifyS2SAutoVpnWithBody ¶
func (c *Client) ModifyS2SAutoVpnWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyS2SAutoVpnWithBody Modify site-to-site VPN by auto
Modify site-to-site VPN by auto.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/auto/{vpnId} (the `ModifyS2SAutoVpn` operationId).
func (*Client) ModifyS2SManualVpn ¶
func (c *Client) ModifyS2SManualVpn(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyS2SManualVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyS2SManualVpn Modify site-to-site VPN by manual
Modify site-to-site VPN by manual.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `ModifyS2SManualVpn` operationId).
func (*Client) ModifyS2SManualVpnWithBody ¶
func (c *Client) ModifyS2SManualVpnWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyS2SManualVpnWithBody Modify site-to-site VPN by manual
Modify site-to-site VPN by manual.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `ModifyS2SManualVpn` operationId).
func (*Client) ModifySiteToSiteVpn ¶
func (c *Client) ModifySiteToSiteVpn(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifySiteToSiteVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySiteToSiteVpn Modify site-to-site VPN
Modify site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by auto or Modify site-to-site VPN by manual.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `ModifySiteToSiteVpn` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifySiteToSiteVpnWithBody ¶
func (c *Client) ModifySiteToSiteVpnWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySiteToSiteVpnWithBody Modify site-to-site VPN
Modify site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by auto or Modify site-to-site VPN by manual.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `ModifySiteToSiteVpn` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifySslVpnResource ¶
func (c *Client) ModifySslVpnResource(ctx context.Context, omadacId string, siteId string, id string, body ModifySslVpnResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySslVpnResource Modify SSL VPN resource
Modify SSL VPN tunnel resource.
Takes a body of the `application/json` content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources/{id} (the `ModifySslVpnResource` operationId).
func (*Client) ModifySslVpnResourceGroup ¶
func (c *Client) ModifySslVpnResourceGroup(ctx context.Context, omadacId string, siteId string, id string, body ModifySslVpnResourceGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySslVpnResourceGroup Modify SSL VPN resource group
Modify SSL VPN tunnel resource group.
Takes a body of the `application/json` content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups/{id} (the `ModifySslVpnResourceGroup` operationId).
func (*Client) ModifySslVpnResourceGroupWithBody ¶
func (c *Client) ModifySslVpnResourceGroupWithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySslVpnResourceGroupWithBody Modify SSL VPN resource group
Modify SSL VPN tunnel resource group.
Takes any type of body and a specified content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups/{id} (the `ModifySslVpnResourceGroup` operationId).
func (*Client) ModifySslVpnResourceWithBody ¶
func (c *Client) ModifySslVpnResourceWithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySslVpnResourceWithBody Modify SSL VPN resource
Modify SSL VPN tunnel resource.
Takes any type of body and a specified content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources/{id} (the `ModifySslVpnResource` operationId).
func (*Client) ModifySslVpnServerSetting ¶
func (c *Client) ModifySslVpnServerSetting(ctx context.Context, omadacId string, siteId string, body ModifySslVpnServerSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySslVpnServerSetting Modify SSL VPN server setting
Get SSL VPN server setting. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN server V2 or Modify client-to-site VPN server V2.
Takes a body of the `application/json` content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/setting (the `ModifySslVpnServerSetting` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifySslVpnServerSettingWithBody ¶
func (c *Client) ModifySslVpnServerSettingWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySslVpnServerSettingWithBody Modify SSL VPN server setting
Get SSL VPN server setting. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN server V2 or Modify client-to-site VPN server V2.
Takes any type of body and a specified content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/setting (the `ModifySslVpnServerSetting` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifySslVpnUser ¶
func (c *Client) ModifySslVpnUser(ctx context.Context, omadacId string, siteId string, id string, body ModifySslVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySslVpnUser Modify SSL VPN user
Modify SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Modify VPN user V3.
Takes a body of the `application/json` content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users/{id} (the `ModifySslVpnUser` operationId).
func (*Client) ModifySslVpnUserGroup ¶
func (c *Client) ModifySslVpnUserGroup(ctx context.Context, omadacId string, siteId string, id string, body ModifySslVpnUserGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySslVpnUserGroup Modify SSL VPN user group
Modify SSL VPN user group.
Takes a body of the `application/json` content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups/{id} (the `ModifySslVpnUserGroup` operationId).
func (*Client) ModifySslVpnUserGroupWithBody ¶
func (c *Client) ModifySslVpnUserGroupWithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySslVpnUserGroupWithBody Modify SSL VPN user group
Modify SSL VPN user group.
Takes any type of body and a specified content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups/{id} (the `ModifySslVpnUserGroup` operationId).
func (*Client) ModifySslVpnUserWithBody ¶
func (c *Client) ModifySslVpnUserWithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifySslVpnUserWithBody Modify SSL VPN user
Modify SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Modify VPN user V3.
Takes any type of body and a specified content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users/{id} (the `ModifySslVpnUser` operationId).
func (*Client) ModifyVpnClient ¶
func (c *Client) ModifyVpnClient(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyVpnClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyVpnClient Modify client-to-site VPN client V2
Modify client-to-site VPN client.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `ModifyVpnClient` operationId).
func (*Client) ModifyVpnClientWithBody ¶
func (c *Client) ModifyVpnClientWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyVpnClientWithBody Modify client-to-site VPN client V2
Modify client-to-site VPN client.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `ModifyVpnClient` operationId).
func (*Client) ModifyVpnServer ¶
func (c *Client) ModifyVpnServer(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyVpnServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyVpnServer Modify client-to-site VPN server V2
Modify client-to-site VPN server V2.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `ModifyVpnServer` operationId).
func (*Client) ModifyVpnServerWithBody ¶
func (c *Client) ModifyVpnServerWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyVpnServerWithBody Modify client-to-site VPN server V2
Modify client-to-site VPN server V2.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `ModifyVpnServer` operationId).
func (*Client) ModifyVpnUser ¶
func (c *Client) ModifyVpnUser(ctx context.Context, omadacId string, siteId string, userId string, body ModifyVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyVpnUser Modify VPN user
Modify VPN user. This interface has been deprecated. Please use the following interface instead: Modify VPN user V3. This interface had been deprecated.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUser` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyVpnUserV2 ¶
func (c *Client) ModifyVpnUserV2(ctx context.Context, omadacId string, siteId string, userId string, body ModifyVpnUserV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyVpnUserV2 Modify VPN user V2
Modify VPN user. This interface has been deprecated. Please use the following interfaces instead: Modify VPN user V3. This interface had been deprecated.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUserV2` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyVpnUserV2WithBody ¶
func (c *Client) ModifyVpnUserV2WithBody(ctx context.Context, omadacId string, siteId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyVpnUserV2WithBody Modify VPN user V2
Modify VPN user. This interface has been deprecated. Please use the following interfaces instead: Modify VPN user V3. This interface had been deprecated.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUserV2` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyVpnUserV3 ¶
func (c *Client) ModifyVpnUserV3(ctx context.Context, omadacId string, siteId string, userId string, body ModifyVpnUserV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyVpnUserV3 Modify VPN user V3
Modify VPN user.
Takes a body of the `application/json` content type.
Corresponds with PATCH /openapi/v3/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUserV3` operationId).
func (*Client) ModifyVpnUserV3WithBody ¶
func (c *Client) ModifyVpnUserV3WithBody(ctx context.Context, omadacId string, siteId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyVpnUserV3WithBody Modify VPN user V3
Modify VPN user.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v3/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUserV3` operationId).
func (*Client) ModifyVpnUserWithBody ¶
func (c *Client) ModifyVpnUserWithBody(ctx context.Context, omadacId string, siteId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyVpnUserWithBody Modify VPN user
Modify VPN user. This interface has been deprecated. Please use the following interface instead: Modify VPN user V3. This interface had been deprecated.
Takes any type of body and a specified content type.
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUser` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyWireguard ¶
func (c *Client) ModifyWireguard(ctx context.Context, omadacId string, siteId string, id string, body ModifyWireguardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyWireguard Modify an existing wireguard
Modify an existing wireguard. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
Takes a body of the `application/json` content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards/{id} (the `ModifyWireguard` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ModifyWireguardWithBody ¶
func (c *Client) ModifyWireguardWithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModifyWireguardWithBody Modify an existing wireguard
Modify an existing wireguard. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
Takes any type of body and a specified content type.
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards/{id} (the `ModifyWireguard` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) UploadVpnCertificateFileV2WithBody ¶
func (c *Client) UploadVpnCertificateFileV2WithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UploadVpnCertificateFileV2WithBody Upload VPN certificate file V2
Upload VPN certificate file.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v2/{omadacId}/files/sites/{siteId}/vpn/certificate (the `UploadVpnCertificateFileV2` operationId).
func (*Client) UploadVpnCertificateFileWithBody ¶
func (c *Client) UploadVpnCertificateFileWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UploadVpnCertificateFileWithBody Upload VPN certificate file
Upload VPN certificate file. This interface has been deprecated. Please use the following interfaces instead: Upload VPN certificate file V2. This interface had been deprecated.
Takes any type of body and a specified content type.
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/certificate (the `UploadVpnCertificateFile` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type ClientAggHealthDTO ¶
type ClientAggHealthDTO struct {
// Fair The Quantity of Fair Clients
Fair *int32 `json:"fair,omitempty"`
// Good The Quantity of Good Clients
Good *int32 `json:"good,omitempty"`
// NoData The Quantity of noData Clients
NoData *int32 `json:"noData,omitempty"`
// Poor The Quantity of Poor Clients
Poor *int32 `json:"poor,omitempty"`
}
ClientAggHealthDTO Client Health
type ClientInterface ¶
type ClientInterface interface {
// DownloadVpnCertificate Download Open VPN or SSL VPN certificate
//
// Download Open VPN or SSL VPN certificate. Filename is a UTF-8 string encoded by URL Encoder.
//
// Corresponds with GET /openapi/v1/{omadacId}/files/sites/{siteId}/vpn/{vpnId}/certificate (the `DownloadVpnCertificate` operationId).
DownloadVpnCertificate(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRemoteSite List Remote Site
//
// List Remote Site.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteSites (the `ListRemoteSite` operationId).
ListRemoteSite(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchDeleteVpnWithBody Batch delete VPN
//
// Batch delete VPN.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn (the `BatchDeleteVpn` operationId).
BatchDeleteVpnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchDeleteVpn Batch delete VPN
//
// Batch delete VPN.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn (the `BatchDeleteVpn` operationId).
BatchDeleteVpn(ctx context.Context, omadacId string, siteId string, body BatchDeleteVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllVpnList Get All VPN list
//
// Get All VPN list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Server summary list and Get client-to-site VPN server detail info;Get VPN Client summary list and Get client-to-site VPN client detail info;Get VPN Site to Site summary list and Get site-to-site VPN detail info. This interface had been deprecated.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn (the `GetAllVpnList` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetAllVpnList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSslVpnUserGroupBriefList Get SSL VPN user Group list V2
//
// Get SSL VPN user Group brief information list.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/briefusergroups (the `GetSslVpnUserGroupBriefList` operationId).
GetSslVpnUserGroupBriefList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadVpnCertificateFileWithBody Upload VPN certificate file
//
// Upload VPN certificate file. This interface has been deprecated. Please use the following interfaces instead: Upload VPN certificate file V2. This interface had been deprecated.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/certificate (the `UploadVpnCertificateFile` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
UploadVpnCertificateFileWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckUsedInVpnsWithBody Check used function for multiple VPN items
//
// Check used function for multiple VPN items.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/checkUsed (the `CheckUsedInVpns` operationId).
CheckUsedInVpnsWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckUsedInVpns Check used function for multiple VPN items
//
// Check used function for multiple VPN items.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/checkUsed (the `CheckUsedInVpns` operationId).
CheckUsedInVpns(ctx context.Context, omadacId string, siteId string, body CheckUsedInVpnsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckValueAvailableWithBody Check whether vpn value is available
//
// Check whether vpn value is available.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/checkValue (the `CheckValueAvailable` operationId).
CheckValueAvailableWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckValueAvailable Check whether vpn value is available
//
// Check whether vpn value is available.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/checkValue (the `CheckValueAvailable` operationId).
CheckValueAvailable(ctx context.Context, omadacId string, siteId string, body CheckValueAvailableJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetClientToSiteVpnClientList Get client-to-site VPN client list
//
// Get client-to-site VPN client list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Client summary list and Get client-to-site VPN client detail info. This interface had been deprecated.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `GetClientToSiteVpnClientList` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetClientToSiteVpnClientList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateClientToSiteVpnClientWithBody Create client-to-site VPN client
//
// Create client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN client V2. This interface had been deprecated.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `CreateClientToSiteVpnClient` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateClientToSiteVpnClientWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateClientToSiteVpnClient Create client-to-site VPN client
//
// Create client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN client V2. This interface had been deprecated.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `CreateClientToSiteVpnClient` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateClientToSiteVpnClient(ctx context.Context, omadacId string, siteId string, body CreateClientToSiteVpnClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteClientToSiteVpnClient Delete client-to-site VPN client
//
// Delete client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2. This interface had been deprecated.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `DeleteClientToSiteVpnClient` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DeleteClientToSiteVpnClient(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVpnClientToSiteClientInfo Get client-to-site VPN client info
//
// Get client-to-site VPN client info. This interface has been deprecated. Please use the following interfaces instead: Get VPN Client summary list and Get client-to-site VPN client detail info. This interface had been deprecated.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `GetVpnClientToSiteClientInfo` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetVpnClientToSiteClientInfo(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyClientToSiteVpnClientWithBody Modify client-to-site VPN client
//
// Modify client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Modify client-to-site VPN client V2. This interface had been deprecated.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `ModifyClientToSiteVpnClient` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyClientToSiteVpnClientWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyClientToSiteVpnClient Modify client-to-site VPN client
//
// Modify client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Modify client-to-site VPN client V2. This interface had been deprecated.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `ModifyClientToSiteVpnClient` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyClientToSiteVpnClient(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyClientToSiteVpnClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetClientToSiteVpnServerList Get client-to-site VPN server list
//
// Get client-to-site VPN server list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Server summary list and Get client-to-site VPN server detail info. This interface had been deprecated.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `GetClientToSiteVpnServerList` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetClientToSiteVpnServerList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateClientToSiteVpnServerWithBody Create client-to-site VPN server
//
// Create client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN server V2. This interface had been deprecated.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `CreateClientToSiteVpnServer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateClientToSiteVpnServerWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateClientToSiteVpnServer Create client-to-site VPN server
//
// Create client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN server V2. This interface had been deprecated.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `CreateClientToSiteVpnServer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateClientToSiteVpnServer(ctx context.Context, omadacId string, siteId string, body CreateClientToSiteVpnServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteClientToSiteVpnServer Delete client-to-site VPN server
//
// Delete client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2. This interface had been deprecated.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `DeleteClientToSiteVpnServer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DeleteClientToSiteVpnServer(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetClientToSiteVpnServerInfo Get client-to-site VPN server info
//
// Get client-to-site VPN server info. This interface has been deprecated. Please use the following interfaces instead: Get VPN Server summary list and Get client-to-site VPN server detail info. This interface had been deprecated.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `GetClientToSiteVpnServerInfo` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetClientToSiteVpnServerInfo(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyClientToSiteVpnServerWithBody Modify client-to-site VPN server
//
// Modify client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Modify client-to-site VPN server V2. This interface had been deprecated.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `ModifyClientToSiteVpnServer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyClientToSiteVpnServerWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyClientToSiteVpnServer Modify client-to-site VPN server
//
// Modify client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Modify client-to-site VPN server V2. This interface had been deprecated.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `ModifyClientToSiteVpnServer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyClientToSiteVpnServer(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyClientToSiteVpnServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetClientToSiteVpnServerUserList Get user list for client-to-site VPN server
//
// Get user list for client-to-site VPN server.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId}/users (the `GetClientToSiteVpnServerUserList` operationId).
GetClientToSiteVpnServerUserList(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVpnDefaultValueWithBody Get default value for VPN
//
// Get default value for VPN.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/defaultValue (the `GetVpnDefaultValue` operationId).
GetVpnDefaultValueWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVpnDefaultValue Get default value for VPN
//
// Get default value for VPN.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/defaultValue (the `GetVpnDefaultValue` operationId).
GetVpnDefaultValue(ctx context.Context, omadacId string, siteId string, body GetVpnDefaultValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVpnAvailableIpPool Get available IP pools for VPN
//
// Get available IP pools for VPN.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ippool (the `GetVpnAvailableIpPool` operationId).
GetVpnAvailableIpPool(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridIpsecFailover Get IPsec failover list
//
// Get IPsec failover list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Site to Site summary list and Get site-to-site VPN detail info. This interface had been deprecated.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers (the `GetGridIpsecFailover` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetGridIpsecFailover(ctx context.Context, omadacId string, siteId string, params *GetGridIpsecFailoverParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIpsecFailoverWithBody Create IPsec failover
//
// Create IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual or Modify site-to-site VPN by manual. This interface had been deprecated.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers (the `CreateIpsecFailover` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateIpsecFailoverWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIpsecFailover Create IPsec failover
//
// Create IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual or Modify site-to-site VPN by manual. This interface had been deprecated.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers (the `CreateIpsecFailover` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateIpsecFailover(ctx context.Context, omadacId string, siteId string, body CreateIpsecFailoverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIpsecFailover Delete IPsec failover
//
// Delete IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual. This interface had been deprecated.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers/{failoverId} (the `DeleteIpsecFailover` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DeleteIpsecFailover(ctx context.Context, omadacId string, siteId string, failoverId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyIpsecFailoverWithBody Modify IPsec failover
//
// Modify IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual. This interface had been deprecated.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers/{failoverId} (the `ModifyIpsecFailover` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyIpsecFailoverWithBody(ctx context.Context, omadacId string, siteId string, failoverId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyIpsecFailover Modify IPsec failover
//
// Modify IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual. This interface had been deprecated.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers/{failoverId} (the `ModifyIpsecFailover` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyIpsecFailover(ctx context.Context, omadacId string, siteId string, failoverId string, body ModifyIpsecFailoverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Generate a random pre-shared key for IPSec.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/psk (the `GetVpnPreSharedKey` operationId).
GetVpnPreSharedKey(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSiteToSiteVpnList Get site-to-site VPN list
//
// Get site-to-site VPN list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Site to Site summary list and Get site-to-site VPN detail info. This interface had been deprecated.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `GetSiteToSiteVpnList` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetSiteToSiteVpnList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSiteToSiteVpnWithBody Create site-to-site VPN
//
// Create site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by auto or Create site-to-site VPN by manual. This interface had been deprecated.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `CreateSiteToSiteVpn` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateSiteToSiteVpnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSiteToSiteVpn Create site-to-site VPN
//
// Create site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by auto or Create site-to-site VPN by manual. This interface had been deprecated.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `CreateSiteToSiteVpn` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateSiteToSiteVpn(ctx context.Context, omadacId string, siteId string, body CreateSiteToSiteVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSiteToSiteVpn Delete site-to-site VPN
//
// Delete site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2. This interface had been deprecated.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `DeleteSiteToSiteVpn` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DeleteSiteToSiteVpn(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSiteToSiteVpnInfo Get site-to-site VPN info
//
// Get site-to-site VPN info. This interface has been deprecated. Please use the following interfaces instead: Get VPN Site to Site summary list and Get site-to-site VPN detail info. This interface had been deprecated.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `GetSiteToSiteVpnInfo` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetSiteToSiteVpnInfo(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySiteToSiteVpnWithBody Modify site-to-site VPN
//
// Modify site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by auto or Modify site-to-site VPN by manual.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `ModifySiteToSiteVpn` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifySiteToSiteVpnWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySiteToSiteVpn Modify site-to-site VPN
//
// Modify site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by auto or Modify site-to-site VPN by manual.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `ModifySiteToSiteVpn` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifySiteToSiteVpn(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifySiteToSiteVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSslVpnResourceGroupList Get SSL VPN resource group list.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/briefresourcegroups (the `GetSslVpnResourceGroupList` operationId).
GetSslVpnResourceGroupList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSslVpnResourceList Get SSL VPN resource list
//
// Get SSL VPN resource list.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/briefresources (the `GetSslVpnResourceList` operationId).
GetSslVpnResourceList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSslVpnUserGroupList Get SSL VPN user Group list.
//
// Get SSL VPN user Group list. This interface has been deprecated. Please use the following interfaces instead: Get SSL VPN user Group list V2.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/briefusergroups (the `GetSslVpnUserGroupList` operationId).
GetSslVpnUserGroupList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadSslVpnCertificate Download SSL VPN certificate.
//
// Download SSL VPN certificate. Filename is a UTF-8 string encoded by URL Encoder. This interface has been deprecated. Please use the following interfaces instead: Download Open VPN or SSL VPN certificate.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/certificate (the `DownloadSslVpnCertificate` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DownloadSslVpnCertificate(ctx context.Context, omadacId string, siteId string, params *DownloadSslVpnCertificateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchDeleteLockedSslVpnTunnelWithBody Batch delete SSL VPN locked tunnel
//
// Batch delete SSL VPN locked tunnel.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `BatchDeleteLockedSslVpnTunnel` operationId).
BatchDeleteLockedSslVpnTunnelWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchDeleteLockedSslVpnTunnel Batch delete SSL VPN locked tunnel
//
// Batch delete SSL VPN locked tunnel.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `BatchDeleteLockedSslVpnTunnel` operationId).
BatchDeleteLockedSslVpnTunnel(ctx context.Context, omadacId string, siteId string, body BatchDeleteLockedSslVpnTunnelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLockedSslVpnTunnuels Get locked SSL VPN tunnel.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `GetLockedSslVpnTunnuels` operationId).
GetLockedSslVpnTunnuels(ctx context.Context, omadacId string, siteId string, params *GetLockedSslVpnTunnuelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateLockedSslVpnTunnuelWithBody Create locked SSL VPN tunnel
//
// Create locked SSL VPN tunnel.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `CreateLockedSslVpnTunnuel` operationId).
CreateLockedSslVpnTunnuelWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateLockedSslVpnTunnuel Create locked SSL VPN tunnel
//
// Create locked SSL VPN tunnel.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `CreateLockedSslVpnTunnuel` operationId).
CreateLockedSslVpnTunnuel(ctx context.Context, omadacId string, siteId string, body CreateLockedSslVpnTunnuelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteLockedSslVpnTunnel Delete SSL VPN locked tunnel
//
// Delete SSL VPN locked tunnel.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels/{lockTunnelId} (the `DeleteLockedSslVpnTunnel` operationId).
DeleteLockedSslVpnTunnel(ctx context.Context, omadacId string, siteId string, lockTunnelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyLockedSslVpnTunnuelWithBody Modify locked SSL VPN tunnel
//
// Modify locked SSL VPN tunnel.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels/{lockTunnelId} (the `ModifyLockedSslVpnTunnuel` operationId).
ModifyLockedSslVpnTunnuelWithBody(ctx context.Context, omadacId string, siteId string, lockTunnelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyLockedSslVpnTunnuel Modify locked SSL VPN tunnel
//
// Modify locked SSL VPN tunnel.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels/{lockTunnelId} (the `ModifyLockedSslVpnTunnuel` operationId).
ModifyLockedSslVpnTunnuel(ctx context.Context, omadacId string, siteId string, lockTunnelId string, body ModifyLockedSslVpnTunnuelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridLockedSslVpnServerUser Get locked user list for SSL VPN server
//
// Get locked user list for SSL VPN server.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users (the `GetGridLockedSslVpnServerUser` operationId).
GetGridLockedSslVpnServerUser(ctx context.Context, omadacId string, siteId string, params *GetGridLockedSslVpnServerUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateLockedSslVpnUserWithBody Create SSL VPN locked user
//
// Create SSL VPN locked user.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users (the `CreateLockedSslVpnUser` operationId).
CreateLockedSslVpnUserWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateLockedSslVpnUser Create SSL VPN locked user
//
// Create SSL VPN locked user.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users (the `CreateLockedSslVpnUser` operationId).
CreateLockedSslVpnUser(ctx context.Context, omadacId string, siteId string, body CreateLockedSslVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteLockedSslVpnUser Delete SSL VPN locked user
//
// Delete SSL VPN locked user.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users/{id} (the `DeleteLockedSslVpnUser` operationId).
DeleteLockedSslVpnUser(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyLockedSslVpnUserWithBody Modify SSL VPN locked user
//
// Modify SSL VPN locked user.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users/{id} (the `ModifyLockedSslVpnUser` operationId).
ModifyLockedSslVpnUserWithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyLockedSslVpnUser Modify SSL VPN locked user
//
// Modify SSL VPN locked user.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users/{id} (the `ModifyLockedSslVpnUser` operationId).
ModifyLockedSslVpnUser(ctx context.Context, omadacId string, siteId string, id string, body ModifyLockedSslVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRadiusServerInfo Get radius server for SSL VPN server
//
// Get radius server for SSL VPN server.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/radius (the `GetRadiusServerInfo` operationId).
GetRadiusServerInfo(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridSslVpnServerResourceGroup Get resource group list for SSL VPN server
//
// Get resource group list for SSL VPN server.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups (the `GetGridSslVpnServerResourceGroup` operationId).
GetGridSslVpnServerResourceGroup(ctx context.Context, omadacId string, siteId string, params *GetGridSslVpnServerResourceGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSslVpnResourceGroupWithBody Create SSL VPN resource group
//
// Create SSL VPN tunnel resource group.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups (the `CreateSslVpnResourceGroup` operationId).
CreateSslVpnResourceGroupWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSslVpnResourceGroup Create SSL VPN resource group
//
// Create SSL VPN tunnel resource group.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups (the `CreateSslVpnResourceGroup` operationId).
CreateSslVpnResourceGroup(ctx context.Context, omadacId string, siteId string, body CreateSslVpnResourceGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSslVpnResourceGroup Delete SSL VPN resource group
//
// Delete SSL VPN tunnel resource group.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups/{id} (the `DeleteSslVpnResourceGroup` operationId).
DeleteSslVpnResourceGroup(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySslVpnResourceGroupWithBody Modify SSL VPN resource group
//
// Modify SSL VPN tunnel resource group.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups/{id} (the `ModifySslVpnResourceGroup` operationId).
ModifySslVpnResourceGroupWithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySslVpnResourceGroup Modify SSL VPN resource group
//
// Modify SSL VPN tunnel resource group.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups/{id} (the `ModifySslVpnResourceGroup` operationId).
ModifySslVpnResourceGroup(ctx context.Context, omadacId string, siteId string, id string, body ModifySslVpnResourceGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridSslVpnServerResource Get resource list for SSL VPN server
//
// Get resource list for SSL VPN server.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources (the `GetGridSslVpnServerResource` operationId).
GetGridSslVpnServerResource(ctx context.Context, omadacId string, siteId string, params *GetGridSslVpnServerResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSslVpnResourceWithBody Create SSL VPN resource
//
// Create SSL VPN tunnel resource.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources (the `CreateSslVpnResource` operationId).
CreateSslVpnResourceWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSslVpnResource Create SSL VPN resource
//
// Create SSL VPN tunnel resource.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources (the `CreateSslVpnResource` operationId).
CreateSslVpnResource(ctx context.Context, omadacId string, siteId string, body CreateSslVpnResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSslVpnResource Delete SSL VPN resource
//
// Delete SSL VPN tunnel resource.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources/{id} (the `DeleteSslVpnResource` operationId).
DeleteSslVpnResource(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySslVpnResourceWithBody Modify SSL VPN resource
//
// Modify SSL VPN tunnel resource.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources/{id} (the `ModifySslVpnResource` operationId).
ModifySslVpnResourceWithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySslVpnResource Modify SSL VPN resource
//
// Modify SSL VPN tunnel resource.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources/{id} (the `ModifySslVpnResource` operationId).
ModifySslVpnResource(ctx context.Context, omadacId string, siteId string, id string, body ModifySslVpnResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSslVpnServerSetting Get SSL VPN server setting
//
// Get SSL VPN server setting.This interface has been deprecated. Please use the following interfaces instead: Get VPN Server summary list and Get client-to-site VPN server detail info.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/setting (the `GetSslVpnServerSetting` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetSslVpnServerSetting(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySslVpnServerSettingWithBody Modify SSL VPN server setting
//
// Get SSL VPN server setting. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN server V2 or Modify client-to-site VPN server V2.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/setting (the `ModifySslVpnServerSetting` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifySslVpnServerSettingWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySslVpnServerSetting Modify SSL VPN server setting
//
// Get SSL VPN server setting. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN server V2 or Modify client-to-site VPN server V2.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/setting (the `ModifySslVpnServerSetting` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifySslVpnServerSetting(ctx context.Context, omadacId string, siteId string, body ModifySslVpnServerSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchDeleteSslVpnUserGroupWithBody Batch delete SSL VPN user group
//
// Batch delete SSL VPN user group.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `BatchDeleteSslVpnUserGroup` operationId).
BatchDeleteSslVpnUserGroupWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchDeleteSslVpnUserGroup Batch delete SSL VPN user group
//
// Batch delete SSL VPN user group.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `BatchDeleteSslVpnUserGroup` operationId).
BatchDeleteSslVpnUserGroup(ctx context.Context, omadacId string, siteId string, body BatchDeleteSslVpnUserGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridSslVpnServerUserGroup Get user group list for SSL VPN server
//
// Get user group list for SSL VPN server.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `GetGridSslVpnServerUserGroup` operationId).
GetGridSslVpnServerUserGroup(ctx context.Context, omadacId string, siteId string, params *GetGridSslVpnServerUserGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSslVpnUserGroupWithBody Create SSL VPN user group
//
// Create SSL VPN user group.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `CreateSslVpnUserGroup` operationId).
CreateSslVpnUserGroupWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSslVpnUserGroup Create SSL VPN user group
//
// Create SSL VPN user group.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `CreateSslVpnUserGroup` operationId).
CreateSslVpnUserGroup(ctx context.Context, omadacId string, siteId string, body CreateSslVpnUserGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSslVpnUserGroup Delete SSL VPN user group
//
// Delete SSL VPN user group.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups/{id} (the `DeleteSslVpnUserGroup` operationId).
DeleteSslVpnUserGroup(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySslVpnUserGroupWithBody Modify SSL VPN user group
//
// Modify SSL VPN user group.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups/{id} (the `ModifySslVpnUserGroup` operationId).
ModifySslVpnUserGroupWithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySslVpnUserGroup Modify SSL VPN user group
//
// Modify SSL VPN user group.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups/{id} (the `ModifySslVpnUserGroup` operationId).
ModifySslVpnUserGroup(ctx context.Context, omadacId string, siteId string, id string, body ModifySslVpnUserGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridSslVpnUserInGroup Get SSL VPN user list in group.
//
// Get SSL VPN user list in group. This interface has been deprecated. Please use the following interfaces instead: Get SSL VPN user list in group V2.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/usergroups/{userGroupId}/users (the `GetGridSslVpnUserInGroup` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetGridSslVpnUserInGroup(ctx context.Context, omadacId string, siteId string, userGroupId string, params *GetGridSslVpnUserInGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridSslVpnServerUser Get user list for SSL VPN server
//
// Get user list for SSL VPN server. This interface has been deprecated. Please use the following interfaces instead: Get VPN user list V2 or Get user list by VPN server ID.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users (the `GetGridSslVpnServerUser` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetGridSslVpnServerUser(ctx context.Context, omadacId string, siteId string, params *GetGridSslVpnServerUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSslVpnUserWithBody Create SSL VPN user
//
// Create SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Create VPN user V3.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users (the `CreateSslVpnUser` operationId).
CreateSslVpnUserWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSslVpnUser Create SSL VPN user
//
// Create SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Create VPN user V3.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users (the `CreateSslVpnUser` operationId).
CreateSslVpnUser(ctx context.Context, omadacId string, siteId string, body CreateSslVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSslVpnUser Delete SSL VPN user
//
// Delete SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Delete VPN user.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users/{id} (the `DeleteSslVpnUser` operationId).
DeleteSslVpnUser(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySslVpnUserWithBody Modify SSL VPN user
//
// Modify SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Modify VPN user V3.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users/{id} (the `ModifySslVpnUser` operationId).
ModifySslVpnUserWithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifySslVpnUser Modify SSL VPN user
//
// Modify SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Modify VPN user V3.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users/{id} (the `ModifySslVpnUser` operationId).
ModifySslVpnUser(ctx context.Context, omadacId string, siteId string, id string, body ModifySslVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DisconnectSslVpnTunnel Disconnect SSL VPN tunnel
//
// Disconnect SSL VPN tunnel by VPN ID.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/stats/sslvpn/tunnel/{tunnelId}/disconnect (the `DisconnectSslVpnTunnel` operationId).
DisconnectSslVpnTunnel(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LockSslVpnTunnel Lock SSL VPN tunnel
//
// Lock SSL VPN tunnel by VPN ID.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/stats/sslvpn/tunnel/{tunnelId}/lock (the `LockSslVpnTunnel` operationId).
LockSslVpnTunnel(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVpnUserServerList Get VPN server list for user
//
// Get VPN server list for user.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/userServers (the `GetVpnUserServerList` operationId).
GetVpnUserServerList(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBriefVpnUserByServerIdList Get brief VPN user list by VPN server ID without page
//
// Get brief VPN user list by VPN server ID without page.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/userlist/server/{serverId} (the `GetBriefVpnUserByServerIdList` operationId).
GetBriefVpnUserByServerIdList(ctx context.Context, omadacId string, siteId string, serverId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVpnUserList Get VPN user list without page
//
// Get VPN user list without page.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/userlist/{protocol} (the `GetVpnUserList` operationId).
GetVpnUserList(ctx context.Context, omadacId string, siteId string, protocol string, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchDeleteVpnUserWithBody Batch delete VPN user
//
// Batch delete VPN user.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `BatchDeleteVpnUser` operationId).
BatchDeleteVpnUserWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchDeleteVpnUser Batch delete VPN user
//
// Batch delete VPN user.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `BatchDeleteVpnUser` operationId).
BatchDeleteVpnUser(ctx context.Context, omadacId string, siteId string, body BatchDeleteVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridVpnUser Get VPN user list
//
// Get VPN user list. This interface has been deprecated. Please use the following interfaces instead: Get VPN user list V2. This interface had been deprecated.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `GetGridVpnUser` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetGridVpnUser(ctx context.Context, omadacId string, siteId string, params *GetGridVpnUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVpnUserWithBody Create VPN user
//
// Create VPN user. This interface has been deprecated. Please use the following interface instead: Create VPN user V2. This interface had been deprecated.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUser` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateVpnUserWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVpnUser Create VPN user
//
// Create VPN user. This interface has been deprecated. Please use the following interface instead: Create VPN user V2. This interface had been deprecated.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUser` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateVpnUser(ctx context.Context, omadacId string, siteId string, body CreateVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVpnUser Delete VPN user
//
// Delete VPN user.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `DeleteVpnUser` operationId).
DeleteVpnUser(ctx context.Context, omadacId string, siteId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyVpnUserWithBody Modify VPN user
//
// Modify VPN user. This interface has been deprecated. Please use the following interface instead: Modify VPN user V3. This interface had been deprecated.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUser` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyVpnUserWithBody(ctx context.Context, omadacId string, siteId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyVpnUser Modify VPN user
//
// Modify VPN user. This interface has been deprecated. Please use the following interface instead: Modify VPN user V3. This interface had been deprecated.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUser` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyVpnUser(ctx context.Context, omadacId string, siteId string, userId string, body ModifyVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWireguardKey Get new private key and public key
//
// Get new private key and public key.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-key (the `GetWireguardKey` operationId).
GetWireguardKey(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPeer Get wireguard peer list
//
// Get wireguard peer list. This interface has been deprecated. Please use the following interfaces instead: Get site-to-site VPN detail info.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers (the `ListPeer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ListPeer(ctx context.Context, omadacId string, siteId string, params *ListPeerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePeerWithBody Create new wireguard peer
//
// Create new wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual or Modify site-to-site VPN by manual.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers (the `CreatePeer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreatePeerWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePeer Create new wireguard peer
//
// Create new wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual or Modify site-to-site VPN by manual.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers (the `CreatePeer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreatePeer(ctx context.Context, omadacId string, siteId string, body CreatePeerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePeer Delete an existing wireguard peer
//
// Delete an existing wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers/{id} (the `DeletePeer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DeletePeer(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyPeerWithBody Modify an existing wireguard peer
//
// Modify an existing wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers/{id} (the `ModifyPeer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyPeerWithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyPeer Modify an existing wireguard peer
//
// Modify an existing wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers/{id} (the `ModifyPeer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyPeer(ctx context.Context, omadacId string, siteId string, id string, body ModifyPeerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWireguardSummary Get all wireguard's id and name info
//
// Get all wireguard's id and name info.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-summarys (the `GetWireguardSummary` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetWireguardSummary(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWireguard Get wireguard list
//
// Get wireguard list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Site to Site summary list and Get site-to-site VPN detail info.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards (the `ListWireguard` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ListWireguard(ctx context.Context, omadacId string, siteId string, params *ListWireguardParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWireguardWithBody Create new wireguard
//
// Create new wireguard. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards (the `CreateWireguard` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateWireguardWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWireguard Create new wireguard
//
// Create new wireguard. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards (the `CreateWireguard` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateWireguard(ctx context.Context, omadacId string, siteId string, body CreateWireguardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWireguard Delete an existing wireguard
//
// Delete an existing wireguard. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards/{id} (the `DeleteWireguard` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DeleteWireguard(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyWireguardWithBody Modify an existing wireguard
//
// Modify an existing wireguard. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards/{id} (the `ModifyWireguard` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyWireguardWithBody(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyWireguard Modify an existing wireguard
//
// Modify an existing wireguard. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards/{id} (the `ModifyWireguard` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyWireguard(ctx context.Context, omadacId string, siteId string, id string, body ModifyWireguardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVpn Delete VPN
//
// Delete VPN. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2. This interface had been deprecated.
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/{vpnId} (the `DeleteVpn` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DeleteVpn(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckUsedVpn Check used function for single VPN item
//
// Check used function for single VPN item.
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/{vpnId}/checkUsed (the `CheckUsedVpn` operationId).
CheckUsedVpn(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyClientStatusWithBody Modify VPN status
//
// Modify VPN status.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/{vpnId}/status (the `ModifyClientStatus` operationId).
ModifyClientStatusWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyClientStatus Modify VPN status
//
// Modify VPN status.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/{vpnId}/status (the `ModifyClientStatus` operationId).
ModifyClientStatus(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyClientStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadVpnCertificateFileV2WithBody Upload VPN certificate file V2
//
// Upload VPN certificate file.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v2/{omadacId}/files/sites/{siteId}/vpn/certificate (the `UploadVpnCertificateFileV2` operationId).
UploadVpnCertificateFileV2WithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridVpnClientV2 Get VPN Client summary list
//
// Get VPN Client summary list.
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `GetGridVpnClientV2` operationId).
GetGridVpnClientV2(ctx context.Context, omadacId string, siteId string, params *GetGridVpnClientV2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVpnClientWithBody Create client-to-site VPN client V2
//
// Create client-to-site VPN client.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `CreateVpnClient` operationId).
CreateVpnClientWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVpnClient Create client-to-site VPN client V2
//
// Create client-to-site VPN client.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `CreateVpnClient` operationId).
CreateVpnClient(ctx context.Context, omadacId string, siteId string, body CreateVpnClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVpnClientDetailInfo Get client-to-site VPN client detail info
//
// Get client-to-site VPN client detail information by VPN ID.
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `GetVpnClientDetailInfo` operationId).
GetVpnClientDetailInfo(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyVpnClientWithBody Modify client-to-site VPN client V2
//
// Modify client-to-site VPN client.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `ModifyVpnClient` operationId).
ModifyVpnClientWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyVpnClient Modify client-to-site VPN client V2
//
// Modify client-to-site VPN client.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `ModifyVpnClient` operationId).
ModifyVpnClient(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyVpnClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridVpnServerV2 Get VPN Server summary list
//
// Get VPN Server summary list.
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `GetGridVpnServerV2` operationId).
GetGridVpnServerV2(ctx context.Context, omadacId string, siteId string, params *GetGridVpnServerV2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVpnServerWithBody Create client-to-site VPN server V2
//
// Create client-to-site VPN server V2.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `CreateVpnServer` operationId).
CreateVpnServerWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVpnServer Create client-to-site VPN server V2
//
// Create client-to-site VPN server V2.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `CreateVpnServer` operationId).
CreateVpnServer(ctx context.Context, omadacId string, siteId string, body CreateVpnServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVpnServerDetailInfo Get client-to-site VPN server detail info
//
// Get client-to-site VPN server detail information by VPN ID.
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `GetVpnServerDetailInfo` operationId).
GetVpnServerDetailInfo(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyVpnServerWithBody Modify client-to-site VPN server V2
//
// Modify client-to-site VPN server V2.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `ModifyVpnServer` operationId).
ModifyVpnServerWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyVpnServer Modify client-to-site VPN server V2
//
// Modify client-to-site VPN server V2.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `ModifyVpnServer` operationId).
ModifyVpnServer(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyVpnServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridVpnS2SV2 Get VPN Site to Site summary list
//
// Get VPN Site to Site summary list.
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `GetGridVpnS2SV2` operationId).
GetGridVpnS2SV2(ctx context.Context, omadacId string, siteId string, params *GetGridVpnS2SV2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateS2SManualVpnWithBody Create site-to-site VPN by manual
//
// Create site-to-site VPN by manual.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `CreateS2SManualVpn` operationId).
CreateS2SManualVpnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateS2SManualVpn Create site-to-site VPN by manual
//
// Create site-to-site VPN by manual.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `CreateS2SManualVpn` operationId).
CreateS2SManualVpn(ctx context.Context, omadacId string, siteId string, body CreateS2SManualVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateS2SAutoVpnWithBody Create site-to-site VPN by auto
//
// Create site-to-site VPN by auto.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/auto (the `CreateS2SAutoVpn` operationId).
CreateS2SAutoVpnWithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateS2SAutoVpn Create site-to-site VPN by auto
//
// Create site-to-site VPN by auto.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/auto (the `CreateS2SAutoVpn` operationId).
CreateS2SAutoVpn(ctx context.Context, omadacId string, siteId string, body CreateS2SAutoVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyS2SAutoVpnWithBody Modify site-to-site VPN by auto
//
// Modify site-to-site VPN by auto.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/auto/{vpnId} (the `ModifyS2SAutoVpn` operationId).
ModifyS2SAutoVpnWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyS2SAutoVpn Modify site-to-site VPN by auto
//
// Modify site-to-site VPN by auto.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/auto/{vpnId} (the `ModifyS2SAutoVpn` operationId).
ModifyS2SAutoVpn(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyS2SAutoVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVpnS2SDetailInfo Get site-to-site VPN detail info
//
// Get site-to-site VPN detail information by VPN ID.
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `GetVpnS2SDetailInfo` operationId).
GetVpnS2SDetailInfo(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyS2SManualVpnWithBody Modify site-to-site VPN by manual
//
// Modify site-to-site VPN by manual.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `ModifyS2SManualVpn` operationId).
ModifyS2SManualVpnWithBody(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyS2SManualVpn Modify site-to-site VPN by manual
//
// Modify site-to-site VPN by manual.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `ModifyS2SManualVpn` operationId).
ModifyS2SManualVpn(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyS2SManualVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridSslVpnUserInGroupV2 Get SSL VPN user list in group V2.
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/usergroups/{userGroupId}/users (the `GetGridSslVpnUserInGroupV2` operationId).
GetGridSslVpnUserInGroupV2(ctx context.Context, omadacId string, siteId string, userGroupId string, params *GetGridSslVpnUserInGroupV2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGridVpnUserV2 Get VPN user list V2
//
// Get VPN user list V2.
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/users (the `GetGridVpnUserV2` operationId).
GetGridVpnUserV2(ctx context.Context, omadacId string, siteId string, params *GetGridVpnUserV2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVpnUserV2WithBody Create VPN user V2
//
// Create VPN user. This interface has been deprecated. Please use the following interfaces instead: Create VPN user V3. This interface had been deprecated.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUserV2` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateVpnUserV2WithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVpnUserV2 Create VPN user V2
//
// Create VPN user. This interface has been deprecated. Please use the following interfaces instead: Create VPN user V3. This interface had been deprecated.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUserV2` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateVpnUserV2(ctx context.Context, omadacId string, siteId string, body CreateVpnUserV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyVpnUserV2WithBody Modify VPN user V2
//
// Modify VPN user. This interface has been deprecated. Please use the following interfaces instead: Modify VPN user V3. This interface had been deprecated.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUserV2` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyVpnUserV2WithBody(ctx context.Context, omadacId string, siteId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyVpnUserV2 Modify VPN user V2
//
// Modify VPN user. This interface has been deprecated. Please use the following interfaces instead: Modify VPN user V3. This interface had been deprecated.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUserV2` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyVpnUserV2(ctx context.Context, omadacId string, siteId string, userId string, body ModifyVpnUserV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVpnV2 Delete VPN V2
//
// Delete VPN V2.
//
// Corresponds with DELETE /openapi/v2/{omadacId}/sites/{siteId}/vpn/{vpnId} (the `DeleteVpnV2` operationId).
DeleteVpnV2(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVpnUserV3WithBody Create VPN user V3
//
// Create VPN user.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /openapi/v3/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUserV3` operationId).
CreateVpnUserV3WithBody(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVpnUserV3 Create VPN user V3
//
// Create VPN user.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /openapi/v3/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUserV3` operationId).
CreateVpnUserV3(ctx context.Context, omadacId string, siteId string, body CreateVpnUserV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyVpnUserV3WithBody Modify VPN user V3
//
// Modify VPN user.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /openapi/v3/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUserV3` operationId).
ModifyVpnUserV3WithBody(ctx context.Context, omadacId string, siteId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModifyVpnUserV3 Modify VPN user V3
//
// Modify VPN user.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /openapi/v3/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUserV3` operationId).
ModifyVpnUserV3(ctx context.Context, omadacId string, siteId string, userId string, body ModifyVpnUserV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVpnServerUserListV3 Get user list by VPN server ID
//
// Get user list by VPN server ID.
//
// Corresponds with GET /openapi/v3/{omadacId}/sites/{siteId}/vpn/{vpnId}/users (the `GetVpnServerUserListV3` operationId).
GetVpnServerUserListV3(ctx context.Context, omadacId string, siteId string, vpnId string, params *GetVpnServerUserListV3Params, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientToSiteVpnClient ¶
type ClientToSiteVpnClient struct {
// ClientPassword Client password should contain 1 to 64 characters.
ClientPassword *string `json:"clientPassword,omitempty"`
// ClientUserName Client username should contain 1 to 64 characters.
ClientUserName *string `json:"clientUserName,omitempty"`
// ClientVpnType Client Vpn type should be a value as follows: 0: L2TP; 1: PPTP; 2: IPSec; 3: OpenVPN.
ClientVpnType int32 `json:"clientVpnType"`
// CustomNetwork Custom networks of the VPN.
CustomNetwork *[]IPSubnetsVO `json:"customNetwork,omitempty"`
// Encryption Encryption should be a value as follows: 0: Encrypted; 1: Unencrypted.
Encryption *int32 `json:"encryption,omitempty"`
// Id ID of the VPN.
Id *string `json:"id,omitempty"`
// Mode Mode(only for server OpenVPN) should be a value as follows: 0: certification; 1: certification+account.
Mode *int32 `json:"mode,omitempty"`
// Name Name should contain 1 to 63 characters.
Name string `json:"name"`
// NetworkList Network list of the VPN. Network can be created using 'Create LAN network' interface, and network ID can be obtained from 'Get LAN network list' interface.
NetworkList *[]string `json:"networkList,omitempty"`
// NetworkType Network type should be a value as follows: 0: network list; 1: custom networks.
NetworkType *int32 `json:"networkType,omitempty"`
// OpenVpnMode OpenVPN mode should be a value as follows: 0: certification; 1: certification+account.
OpenVpnMode *int32 `json:"openVpnMode,omitempty"`
// OpenVpnTunnelMode OpenVPN tunnel mode should be a value as follows: 0: split; 1: full.
OpenVpnTunnelMode *int32 `json:"openVpnTunnelMode,omitempty"`
PreSharedKey *string `json:"preSharedKey,omitempty"`
// RemoteIp Remote IP of the VPN. Get whether supports domain from interface 'Get client-to-site VPN client list'.
RemoteIp *string `json:"remoteIp,omitempty"`
// RemoteSite Remote site of the VPN.
RemoteSite *string `json:"remoteSite,omitempty"`
// RemoteSubnet Remote subnet of the VPN.
RemoteSubnet *[]IPSubnetsVO `json:"remoteSubnet,omitempty"`
// ServicePort Service port should be within the range of 1–65535.
ServicePort *int32 `json:"servicePort,omitempty"`
// ServiceType Service type should be a value as follows: 0: UDP; 1: TCP.
ServiceType *int32 `json:"serviceType,omitempty"`
// Status Status of the VPN.
Status *bool `json:"status,omitempty"`
// VpnConfiguration VPN configuration of the VPN.
VpnConfiguration *VpnCertificateOpenApiVO `json:"vpnConfiguration,omitempty"`
// Wan WAN list of the VPN. WAN port ID can be obtained from 'Get internet basic info' interface.
Wan []string `json:"wan"`
// WorkingMode Working mode should be a value as follows: 0: NAT; 1: Routing.
WorkingMode *int32 `json:"workingMode,omitempty"`
}
ClientToSiteVpnClient defines model for ClientToSiteVpnClient.
type ClientToSiteVpnServer ¶
type ClientToSiteVpnServer struct {
// AccountPassword Account password of the VPN, only for server OpenVPN.
AccountPassword *bool `json:"accountPassword,omitempty"`
// AdvancedSetting Advanced setting list of the VPN, only for IPSec type.
AdvancedSetting *VpnAdvancedSettingOpenApiVO `json:"advancedSetting,omitempty"`
// AuthMode Authentication mode should be a value as follows: 0: Local; 1: LDAP.
AuthMode *int32 `json:"authMode,omitempty"`
// ClientVpnType Client Vpn type should be a value as follows: 0: L2TP; 1: PPTP; 2: IPSec; 3: OpenVPN.
ClientVpnType int32 `json:"clientVpnType"`
// CustomNetwork Custom networks of the VPN.
CustomNetwork *[]IPSubnetsVO `json:"customNetwork,omitempty"`
// Encryption Encryption should be a value as follows: 0: Encrypted; 1: Unencrypted.
Encryption *int32 `json:"encryption,omitempty"`
// Id ID of the VPN.
Id *string `json:"id,omitempty"`
// IpPool User remote subnets of the VPN user.
IpPool IPSubnetsVO `json:"ipPool"`
// IpPoolEnd The end IP of the IP pool.
IpPoolEnd *string `json:"ipPoolEnd,omitempty"`
// IpPoolStart The start IP of the IP pool.
IpPoolStart *string `json:"ipPoolStart,omitempty"`
// IpPoolType IP pool type should be a value as follows: 0: Ip Address/Mask; 1: Ip Address Range.
IpPoolType *int32 `json:"ipPoolType,omitempty"`
// Name Name should contain 1 to 63 characters.
Name string `json:"name"`
// NetworkList Network list of the VPN. Network can be created using 'Create LAN network' interface, and network ID can be obtained from 'Get LAN network list' interface.
NetworkList *[]string `json:"networkList,omitempty"`
// NetworkType Network type should be a value as follows: 0: network list; 1: custom networks.
NetworkType *int32 `json:"networkType,omitempty"`
// OpenVpnMode OpenVPN mode should be a value as follows: 0: certification; 1: certification+account.
OpenVpnMode *int32 `json:"openVpnMode,omitempty"`
PreSharedKey *string `json:"preSharedKey,omitempty"`
// PrimaryDns Primary DNS of the VPN.
PrimaryDns *string `json:"primaryDns,omitempty"`
// RemoteIp Remote IP of the VPN
RemoteIp *string `json:"remoteIp,omitempty"`
// SecondaryDns Secondary DNS of the VPN.
SecondaryDns *string `json:"secondaryDns,omitempty"`
// ServicePort Service port should be within the range of 1–65535.
ServicePort *int32 `json:"servicePort,omitempty"`
// ServiceType Service type of the VPN.
ServiceType *int32 `json:"serviceType,omitempty"`
// Status Status of the VPN.
Status *bool `json:"status,omitempty"`
// TunnelMode Tunnel mode(only for server OpenVPN)should be a value as follows: 0: split; 1: full.
TunnelMode *int32 `json:"tunnelMode,omitempty"`
// Wan WAN list of the VPN. WAN port ID can be obtained from 'Get internet basic info' interface.
Wan []string `json:"wan"`
}
ClientToSiteVpnServer defines model for ClientToSiteVpnServer.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) BatchDeleteLockedSslVpnTunnelWithBodyWithResponse ¶
func (c *ClientWithResponses) BatchDeleteLockedSslVpnTunnelWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchDeleteLockedSslVpnTunnelResponse, error)
BatchDeleteLockedSslVpnTunnelWithBodyWithResponse Batch delete SSL VPN locked tunnel
Batch delete SSL VPN locked tunnel.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `BatchDeleteLockedSslVpnTunnel` operationId).
func (*ClientWithResponses) BatchDeleteLockedSslVpnTunnelWithResponse ¶
func (c *ClientWithResponses) BatchDeleteLockedSslVpnTunnelWithResponse(ctx context.Context, omadacId string, siteId string, body BatchDeleteLockedSslVpnTunnelJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchDeleteLockedSslVpnTunnelResponse, error)
BatchDeleteLockedSslVpnTunnelWithResponse Batch delete SSL VPN locked tunnel
Batch delete SSL VPN locked tunnel.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `BatchDeleteLockedSslVpnTunnel` operationId).
func (*ClientWithResponses) BatchDeleteSslVpnUserGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) BatchDeleteSslVpnUserGroupWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchDeleteSslVpnUserGroupResponse, error)
BatchDeleteSslVpnUserGroupWithBodyWithResponse Batch delete SSL VPN user group
Batch delete SSL VPN user group.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `BatchDeleteSslVpnUserGroup` operationId).
func (*ClientWithResponses) BatchDeleteSslVpnUserGroupWithResponse ¶
func (c *ClientWithResponses) BatchDeleteSslVpnUserGroupWithResponse(ctx context.Context, omadacId string, siteId string, body BatchDeleteSslVpnUserGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchDeleteSslVpnUserGroupResponse, error)
BatchDeleteSslVpnUserGroupWithResponse Batch delete SSL VPN user group
Batch delete SSL VPN user group.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `BatchDeleteSslVpnUserGroup` operationId).
func (*ClientWithResponses) BatchDeleteVpnUserWithBodyWithResponse ¶
func (c *ClientWithResponses) BatchDeleteVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchDeleteVpnUserResponse, error)
BatchDeleteVpnUserWithBodyWithResponse Batch delete VPN user
Batch delete VPN user.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `BatchDeleteVpnUser` operationId).
func (*ClientWithResponses) BatchDeleteVpnUserWithResponse ¶
func (c *ClientWithResponses) BatchDeleteVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, body BatchDeleteVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchDeleteVpnUserResponse, error)
BatchDeleteVpnUserWithResponse Batch delete VPN user
Batch delete VPN user.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `BatchDeleteVpnUser` operationId).
func (*ClientWithResponses) BatchDeleteVpnWithBodyWithResponse ¶
func (c *ClientWithResponses) BatchDeleteVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchDeleteVpnResponse, error)
BatchDeleteVpnWithBodyWithResponse Batch delete VPN
Batch delete VPN.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn (the `BatchDeleteVpn` operationId).
func (*ClientWithResponses) BatchDeleteVpnWithResponse ¶
func (c *ClientWithResponses) BatchDeleteVpnWithResponse(ctx context.Context, omadacId string, siteId string, body BatchDeleteVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchDeleteVpnResponse, error)
BatchDeleteVpnWithResponse Batch delete VPN
Batch delete VPN.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn (the `BatchDeleteVpn` operationId).
func (*ClientWithResponses) CheckUsedInVpnsWithBodyWithResponse ¶
func (c *ClientWithResponses) CheckUsedInVpnsWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckUsedInVpnsResponse, error)
CheckUsedInVpnsWithBodyWithResponse Check used function for multiple VPN items
Check used function for multiple VPN items.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/checkUsed (the `CheckUsedInVpns` operationId).
func (*ClientWithResponses) CheckUsedInVpnsWithResponse ¶
func (c *ClientWithResponses) CheckUsedInVpnsWithResponse(ctx context.Context, omadacId string, siteId string, body CheckUsedInVpnsJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckUsedInVpnsResponse, error)
CheckUsedInVpnsWithResponse Check used function for multiple VPN items
Check used function for multiple VPN items.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/checkUsed (the `CheckUsedInVpns` operationId).
func (*ClientWithResponses) CheckUsedVpnWithResponse ¶
func (c *ClientWithResponses) CheckUsedVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*CheckUsedVpnResponse, error)
CheckUsedVpnWithResponse Check used function for single VPN item
Check used function for single VPN item.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/{vpnId}/checkUsed (the `CheckUsedVpn` operationId).
func (*ClientWithResponses) CheckValueAvailableWithBodyWithResponse ¶
func (c *ClientWithResponses) CheckValueAvailableWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckValueAvailableResponse, error)
CheckValueAvailableWithBodyWithResponse Check whether vpn value is available
Check whether vpn value is available.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/checkValue (the `CheckValueAvailable` operationId).
func (*ClientWithResponses) CheckValueAvailableWithResponse ¶
func (c *ClientWithResponses) CheckValueAvailableWithResponse(ctx context.Context, omadacId string, siteId string, body CheckValueAvailableJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckValueAvailableResponse, error)
CheckValueAvailableWithResponse Check whether vpn value is available
Check whether vpn value is available.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/checkValue (the `CheckValueAvailable` operationId).
func (*ClientWithResponses) CreateClientToSiteVpnClientWithBodyWithResponse
deprecated
func (c *ClientWithResponses) CreateClientToSiteVpnClientWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClientToSiteVpnClientResponse, error)
CreateClientToSiteVpnClientWithBodyWithResponse Create client-to-site VPN client
Create client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN client V2. This interface had been deprecated.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `CreateClientToSiteVpnClient` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreateClientToSiteVpnClientWithResponse ¶
func (c *ClientWithResponses) CreateClientToSiteVpnClientWithResponse(ctx context.Context, omadacId string, siteId string, body CreateClientToSiteVpnClientJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClientToSiteVpnClientResponse, error)
CreateClientToSiteVpnClientWithResponse Create client-to-site VPN client
Create client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN client V2. This interface had been deprecated.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `CreateClientToSiteVpnClient` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreateClientToSiteVpnServerWithBodyWithResponse
deprecated
func (c *ClientWithResponses) CreateClientToSiteVpnServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClientToSiteVpnServerResponse, error)
CreateClientToSiteVpnServerWithBodyWithResponse Create client-to-site VPN server
Create client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN server V2. This interface had been deprecated.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `CreateClientToSiteVpnServer` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreateClientToSiteVpnServerWithResponse ¶
func (c *ClientWithResponses) CreateClientToSiteVpnServerWithResponse(ctx context.Context, omadacId string, siteId string, body CreateClientToSiteVpnServerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClientToSiteVpnServerResponse, error)
CreateClientToSiteVpnServerWithResponse Create client-to-site VPN server
Create client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN server V2. This interface had been deprecated.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `CreateClientToSiteVpnServer` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreateIpsecFailoverWithBodyWithResponse
deprecated
func (c *ClientWithResponses) CreateIpsecFailoverWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIpsecFailoverResponse, error)
CreateIpsecFailoverWithBodyWithResponse Create IPsec failover
Create IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual or Modify site-to-site VPN by manual. This interface had been deprecated.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers (the `CreateIpsecFailover` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreateIpsecFailoverWithResponse ¶
func (c *ClientWithResponses) CreateIpsecFailoverWithResponse(ctx context.Context, omadacId string, siteId string, body CreateIpsecFailoverJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIpsecFailoverResponse, error)
CreateIpsecFailoverWithResponse Create IPsec failover
Create IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual or Modify site-to-site VPN by manual. This interface had been deprecated.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers (the `CreateIpsecFailover` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreateLockedSslVpnTunnuelWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateLockedSslVpnTunnuelWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLockedSslVpnTunnuelResponse, error)
CreateLockedSslVpnTunnuelWithBodyWithResponse Create locked SSL VPN tunnel
Create locked SSL VPN tunnel.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `CreateLockedSslVpnTunnuel` operationId).
func (*ClientWithResponses) CreateLockedSslVpnTunnuelWithResponse ¶
func (c *ClientWithResponses) CreateLockedSslVpnTunnuelWithResponse(ctx context.Context, omadacId string, siteId string, body CreateLockedSslVpnTunnuelJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLockedSslVpnTunnuelResponse, error)
CreateLockedSslVpnTunnuelWithResponse Create locked SSL VPN tunnel
Create locked SSL VPN tunnel.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `CreateLockedSslVpnTunnuel` operationId).
func (*ClientWithResponses) CreateLockedSslVpnUserWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateLockedSslVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLockedSslVpnUserResponse, error)
CreateLockedSslVpnUserWithBodyWithResponse Create SSL VPN locked user
Create SSL VPN locked user.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users (the `CreateLockedSslVpnUser` operationId).
func (*ClientWithResponses) CreateLockedSslVpnUserWithResponse ¶
func (c *ClientWithResponses) CreateLockedSslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, body CreateLockedSslVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLockedSslVpnUserResponse, error)
CreateLockedSslVpnUserWithResponse Create SSL VPN locked user
Create SSL VPN locked user.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users (the `CreateLockedSslVpnUser` operationId).
func (*ClientWithResponses) CreatePeerWithBodyWithResponse
deprecated
func (c *ClientWithResponses) CreatePeerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePeerResponse, error)
CreatePeerWithBodyWithResponse Create new wireguard peer
Create new wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual or Modify site-to-site VPN by manual.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers (the `CreatePeer` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreatePeerWithResponse ¶
func (c *ClientWithResponses) CreatePeerWithResponse(ctx context.Context, omadacId string, siteId string, body CreatePeerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePeerResponse, error)
CreatePeerWithResponse Create new wireguard peer
Create new wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual or Modify site-to-site VPN by manual.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers (the `CreatePeer` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreateS2SAutoVpnWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateS2SAutoVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateS2SAutoVpnResponse, error)
CreateS2SAutoVpnWithBodyWithResponse Create site-to-site VPN by auto
Create site-to-site VPN by auto.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/auto (the `CreateS2SAutoVpn` operationId).
func (*ClientWithResponses) CreateS2SAutoVpnWithResponse ¶
func (c *ClientWithResponses) CreateS2SAutoVpnWithResponse(ctx context.Context, omadacId string, siteId string, body CreateS2SAutoVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateS2SAutoVpnResponse, error)
CreateS2SAutoVpnWithResponse Create site-to-site VPN by auto
Create site-to-site VPN by auto.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/auto (the `CreateS2SAutoVpn` operationId).
func (*ClientWithResponses) CreateS2SManualVpnWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateS2SManualVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateS2SManualVpnResponse, error)
CreateS2SManualVpnWithBodyWithResponse Create site-to-site VPN by manual
Create site-to-site VPN by manual.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `CreateS2SManualVpn` operationId).
func (*ClientWithResponses) CreateS2SManualVpnWithResponse ¶
func (c *ClientWithResponses) CreateS2SManualVpnWithResponse(ctx context.Context, omadacId string, siteId string, body CreateS2SManualVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateS2SManualVpnResponse, error)
CreateS2SManualVpnWithResponse Create site-to-site VPN by manual
Create site-to-site VPN by manual.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `CreateS2SManualVpn` operationId).
func (*ClientWithResponses) CreateSiteToSiteVpnWithBodyWithResponse
deprecated
func (c *ClientWithResponses) CreateSiteToSiteVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSiteToSiteVpnResponse, error)
CreateSiteToSiteVpnWithBodyWithResponse Create site-to-site VPN
Create site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by auto or Create site-to-site VPN by manual. This interface had been deprecated.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `CreateSiteToSiteVpn` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreateSiteToSiteVpnWithResponse ¶
func (c *ClientWithResponses) CreateSiteToSiteVpnWithResponse(ctx context.Context, omadacId string, siteId string, body CreateSiteToSiteVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSiteToSiteVpnResponse, error)
CreateSiteToSiteVpnWithResponse Create site-to-site VPN
Create site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by auto or Create site-to-site VPN by manual. This interface had been deprecated.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `CreateSiteToSiteVpn` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreateSslVpnResourceGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSslVpnResourceGroupWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSslVpnResourceGroupResponse, error)
CreateSslVpnResourceGroupWithBodyWithResponse Create SSL VPN resource group
Create SSL VPN tunnel resource group.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups (the `CreateSslVpnResourceGroup` operationId).
func (*ClientWithResponses) CreateSslVpnResourceGroupWithResponse ¶
func (c *ClientWithResponses) CreateSslVpnResourceGroupWithResponse(ctx context.Context, omadacId string, siteId string, body CreateSslVpnResourceGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSslVpnResourceGroupResponse, error)
CreateSslVpnResourceGroupWithResponse Create SSL VPN resource group
Create SSL VPN tunnel resource group.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups (the `CreateSslVpnResourceGroup` operationId).
func (*ClientWithResponses) CreateSslVpnResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSslVpnResourceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSslVpnResourceResponse, error)
CreateSslVpnResourceWithBodyWithResponse Create SSL VPN resource
Create SSL VPN tunnel resource.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources (the `CreateSslVpnResource` operationId).
func (*ClientWithResponses) CreateSslVpnResourceWithResponse ¶
func (c *ClientWithResponses) CreateSslVpnResourceWithResponse(ctx context.Context, omadacId string, siteId string, body CreateSslVpnResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSslVpnResourceResponse, error)
CreateSslVpnResourceWithResponse Create SSL VPN resource
Create SSL VPN tunnel resource.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources (the `CreateSslVpnResource` operationId).
func (*ClientWithResponses) CreateSslVpnUserGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSslVpnUserGroupWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSslVpnUserGroupResponse, error)
CreateSslVpnUserGroupWithBodyWithResponse Create SSL VPN user group
Create SSL VPN user group.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `CreateSslVpnUserGroup` operationId).
func (*ClientWithResponses) CreateSslVpnUserGroupWithResponse ¶
func (c *ClientWithResponses) CreateSslVpnUserGroupWithResponse(ctx context.Context, omadacId string, siteId string, body CreateSslVpnUserGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSslVpnUserGroupResponse, error)
CreateSslVpnUserGroupWithResponse Create SSL VPN user group
Create SSL VPN user group.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `CreateSslVpnUserGroup` operationId).
func (*ClientWithResponses) CreateSslVpnUserWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSslVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSslVpnUserResponse, error)
CreateSslVpnUserWithBodyWithResponse Create SSL VPN user
Create SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Create VPN user V3.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users (the `CreateSslVpnUser` operationId).
func (*ClientWithResponses) CreateSslVpnUserWithResponse ¶
func (c *ClientWithResponses) CreateSslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, body CreateSslVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSslVpnUserResponse, error)
CreateSslVpnUserWithResponse Create SSL VPN user
Create SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Create VPN user V3.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users (the `CreateSslVpnUser` operationId).
func (*ClientWithResponses) CreateVpnClientWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVpnClientWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVpnClientResponse, error)
CreateVpnClientWithBodyWithResponse Create client-to-site VPN client V2
Create client-to-site VPN client.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `CreateVpnClient` operationId).
func (*ClientWithResponses) CreateVpnClientWithResponse ¶
func (c *ClientWithResponses) CreateVpnClientWithResponse(ctx context.Context, omadacId string, siteId string, body CreateVpnClientJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVpnClientResponse, error)
CreateVpnClientWithResponse Create client-to-site VPN client V2
Create client-to-site VPN client.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `CreateVpnClient` operationId).
func (*ClientWithResponses) CreateVpnServerWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVpnServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVpnServerResponse, error)
CreateVpnServerWithBodyWithResponse Create client-to-site VPN server V2
Create client-to-site VPN server V2.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `CreateVpnServer` operationId).
func (*ClientWithResponses) CreateVpnServerWithResponse ¶
func (c *ClientWithResponses) CreateVpnServerWithResponse(ctx context.Context, omadacId string, siteId string, body CreateVpnServerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVpnServerResponse, error)
CreateVpnServerWithResponse Create client-to-site VPN server V2
Create client-to-site VPN server V2.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `CreateVpnServer` operationId).
func (*ClientWithResponses) CreateVpnUserV2WithBodyWithResponse
deprecated
func (c *ClientWithResponses) CreateVpnUserV2WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVpnUserV2Response, error)
CreateVpnUserV2WithBodyWithResponse Create VPN user V2
Create VPN user. This interface has been deprecated. Please use the following interfaces instead: Create VPN user V3. This interface had been deprecated.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUserV2` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreateVpnUserV2WithResponse ¶
func (c *ClientWithResponses) CreateVpnUserV2WithResponse(ctx context.Context, omadacId string, siteId string, body CreateVpnUserV2JSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVpnUserV2Response, error)
CreateVpnUserV2WithResponse Create VPN user V2
Create VPN user. This interface has been deprecated. Please use the following interfaces instead: Create VPN user V3. This interface had been deprecated.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUserV2` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreateVpnUserV3WithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVpnUserV3WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVpnUserV3Response, error)
CreateVpnUserV3WithBodyWithResponse Create VPN user V3
Create VPN user.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v3/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUserV3` operationId).
func (*ClientWithResponses) CreateVpnUserV3WithResponse ¶
func (c *ClientWithResponses) CreateVpnUserV3WithResponse(ctx context.Context, omadacId string, siteId string, body CreateVpnUserV3JSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVpnUserV3Response, error)
CreateVpnUserV3WithResponse Create VPN user V3
Create VPN user.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v3/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUserV3` operationId).
func (*ClientWithResponses) CreateVpnUserWithBodyWithResponse
deprecated
func (c *ClientWithResponses) CreateVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVpnUserResponse, error)
CreateVpnUserWithBodyWithResponse Create VPN user
Create VPN user. This interface has been deprecated. Please use the following interface instead: Create VPN user V2. This interface had been deprecated.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUser` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreateVpnUserWithResponse ¶
func (c *ClientWithResponses) CreateVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, body CreateVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVpnUserResponse, error)
CreateVpnUserWithResponse Create VPN user
Create VPN user. This interface has been deprecated. Please use the following interface instead: Create VPN user V2. This interface had been deprecated.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUser` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreateWireguardWithBodyWithResponse
deprecated
func (c *ClientWithResponses) CreateWireguardWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWireguardResponse, error)
CreateWireguardWithBodyWithResponse Create new wireguard
Create new wireguard. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards (the `CreateWireguard` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreateWireguardWithResponse ¶
func (c *ClientWithResponses) CreateWireguardWithResponse(ctx context.Context, omadacId string, siteId string, body CreateWireguardJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWireguardResponse, error)
CreateWireguardWithResponse Create new wireguard
Create new wireguard. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards (the `CreateWireguard` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) DeleteClientToSiteVpnClientWithResponse
deprecated
func (c *ClientWithResponses) DeleteClientToSiteVpnClientWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*DeleteClientToSiteVpnClientResponse, error)
DeleteClientToSiteVpnClientWithResponse Delete client-to-site VPN client
Delete client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2. This interface had been deprecated.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `DeleteClientToSiteVpnClient` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) DeleteClientToSiteVpnServerWithResponse
deprecated
func (c *ClientWithResponses) DeleteClientToSiteVpnServerWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*DeleteClientToSiteVpnServerResponse, error)
DeleteClientToSiteVpnServerWithResponse Delete client-to-site VPN server
Delete client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2. This interface had been deprecated.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `DeleteClientToSiteVpnServer` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) DeleteIpsecFailoverWithResponse
deprecated
func (c *ClientWithResponses) DeleteIpsecFailoverWithResponse(ctx context.Context, omadacId string, siteId string, failoverId string, reqEditors ...RequestEditorFn) (*DeleteIpsecFailoverResponse, error)
DeleteIpsecFailoverWithResponse Delete IPsec failover
Delete IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual. This interface had been deprecated.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers/{failoverId} (the `DeleteIpsecFailover` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) DeleteLockedSslVpnTunnelWithResponse ¶
func (c *ClientWithResponses) DeleteLockedSslVpnTunnelWithResponse(ctx context.Context, omadacId string, siteId string, lockTunnelId string, reqEditors ...RequestEditorFn) (*DeleteLockedSslVpnTunnelResponse, error)
DeleteLockedSslVpnTunnelWithResponse Delete SSL VPN locked tunnel
Delete SSL VPN locked tunnel.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels/{lockTunnelId} (the `DeleteLockedSslVpnTunnel` operationId).
func (*ClientWithResponses) DeleteLockedSslVpnUserWithResponse ¶
func (c *ClientWithResponses) DeleteLockedSslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeleteLockedSslVpnUserResponse, error)
DeleteLockedSslVpnUserWithResponse Delete SSL VPN locked user
Delete SSL VPN locked user.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users/{id} (the `DeleteLockedSslVpnUser` operationId).
func (*ClientWithResponses) DeletePeerWithResponse
deprecated
func (c *ClientWithResponses) DeletePeerWithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeletePeerResponse, error)
DeletePeerWithResponse Delete an existing wireguard peer
Delete an existing wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers/{id} (the `DeletePeer` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) DeleteSiteToSiteVpnWithResponse
deprecated
func (c *ClientWithResponses) DeleteSiteToSiteVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*DeleteSiteToSiteVpnResponse, error)
DeleteSiteToSiteVpnWithResponse Delete site-to-site VPN
Delete site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2. This interface had been deprecated.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `DeleteSiteToSiteVpn` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) DeleteSslVpnResourceGroupWithResponse ¶
func (c *ClientWithResponses) DeleteSslVpnResourceGroupWithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeleteSslVpnResourceGroupResponse, error)
DeleteSslVpnResourceGroupWithResponse Delete SSL VPN resource group
Delete SSL VPN tunnel resource group.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups/{id} (the `DeleteSslVpnResourceGroup` operationId).
func (*ClientWithResponses) DeleteSslVpnResourceWithResponse ¶
func (c *ClientWithResponses) DeleteSslVpnResourceWithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeleteSslVpnResourceResponse, error)
DeleteSslVpnResourceWithResponse Delete SSL VPN resource
Delete SSL VPN tunnel resource.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources/{id} (the `DeleteSslVpnResource` operationId).
func (*ClientWithResponses) DeleteSslVpnUserGroupWithResponse ¶
func (c *ClientWithResponses) DeleteSslVpnUserGroupWithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeleteSslVpnUserGroupResponse, error)
DeleteSslVpnUserGroupWithResponse Delete SSL VPN user group
Delete SSL VPN user group.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups/{id} (the `DeleteSslVpnUserGroup` operationId).
func (*ClientWithResponses) DeleteSslVpnUserWithResponse ¶
func (c *ClientWithResponses) DeleteSslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeleteSslVpnUserResponse, error)
DeleteSslVpnUserWithResponse Delete SSL VPN user
Delete SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Delete VPN user.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users/{id} (the `DeleteSslVpnUser` operationId).
func (*ClientWithResponses) DeleteVpnUserWithResponse ¶
func (c *ClientWithResponses) DeleteVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, userId string, reqEditors ...RequestEditorFn) (*DeleteVpnUserResponse, error)
DeleteVpnUserWithResponse Delete VPN user
Delete VPN user.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `DeleteVpnUser` operationId).
func (*ClientWithResponses) DeleteVpnV2WithResponse ¶
func (c *ClientWithResponses) DeleteVpnV2WithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*DeleteVpnV2Response, error)
DeleteVpnV2WithResponse Delete VPN V2
Delete VPN V2.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v2/{omadacId}/sites/{siteId}/vpn/{vpnId} (the `DeleteVpnV2` operationId).
func (*ClientWithResponses) DeleteVpnWithResponse
deprecated
func (c *ClientWithResponses) DeleteVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*DeleteVpnResponse, error)
DeleteVpnWithResponse Delete VPN
Delete VPN. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2. This interface had been deprecated.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/{vpnId} (the `DeleteVpn` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) DeleteWireguardWithResponse
deprecated
func (c *ClientWithResponses) DeleteWireguardWithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeleteWireguardResponse, error)
DeleteWireguardWithResponse Delete an existing wireguard
Delete an existing wireguard. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards/{id} (the `DeleteWireguard` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) DisconnectSslVpnTunnelWithResponse ¶
func (c *ClientWithResponses) DisconnectSslVpnTunnelWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*DisconnectSslVpnTunnelResponse, error)
DisconnectSslVpnTunnelWithResponse Disconnect SSL VPN tunnel
Disconnect SSL VPN tunnel by VPN ID.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/stats/sslvpn/tunnel/{tunnelId}/disconnect (the `DisconnectSslVpnTunnel` operationId).
func (*ClientWithResponses) DownloadSslVpnCertificateWithResponse
deprecated
func (c *ClientWithResponses) DownloadSslVpnCertificateWithResponse(ctx context.Context, omadacId string, siteId string, params *DownloadSslVpnCertificateParams, reqEditors ...RequestEditorFn) (*DownloadSslVpnCertificateResponse, error)
DownloadSslVpnCertificateWithResponse Download SSL VPN certificate.
Download SSL VPN certificate. Filename is a UTF-8 string encoded by URL Encoder. This interface has been deprecated. Please use the following interfaces instead: Download Open VPN or SSL VPN certificate.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/certificate (the `DownloadSslVpnCertificate` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) DownloadVpnCertificateWithResponse ¶
func (c *ClientWithResponses) DownloadVpnCertificateWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*DownloadVpnCertificateResponse, error)
DownloadVpnCertificateWithResponse Download Open VPN or SSL VPN certificate
Download Open VPN or SSL VPN certificate. Filename is a UTF-8 string encoded by URL Encoder.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/files/sites/{siteId}/vpn/{vpnId}/certificate (the `DownloadVpnCertificate` operationId).
func (*ClientWithResponses) GetAllVpnListWithResponse
deprecated
func (c *ClientWithResponses) GetAllVpnListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetAllVpnListResponse, error)
GetAllVpnListWithResponse Get All VPN list
Get All VPN list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Server summary list and Get client-to-site VPN server detail info;Get VPN Client summary list and Get client-to-site VPN client detail info;Get VPN Site to Site summary list and Get site-to-site VPN detail info. This interface had been deprecated.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn (the `GetAllVpnList` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetBriefVpnUserByServerIdListWithResponse ¶
func (c *ClientWithResponses) GetBriefVpnUserByServerIdListWithResponse(ctx context.Context, omadacId string, siteId string, serverId string, reqEditors ...RequestEditorFn) (*GetBriefVpnUserByServerIdListResponse, error)
GetBriefVpnUserByServerIdListWithResponse Get brief VPN user list by VPN server ID without page
Get brief VPN user list by VPN server ID without page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/userlist/server/{serverId} (the `GetBriefVpnUserByServerIdList` operationId).
func (*ClientWithResponses) GetClientToSiteVpnClientListWithResponse
deprecated
func (c *ClientWithResponses) GetClientToSiteVpnClientListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetClientToSiteVpnClientListResponse, error)
GetClientToSiteVpnClientListWithResponse Get client-to-site VPN client list
Get client-to-site VPN client list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Client summary list and Get client-to-site VPN client detail info. This interface had been deprecated.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `GetClientToSiteVpnClientList` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetClientToSiteVpnServerInfoWithResponse
deprecated
func (c *ClientWithResponses) GetClientToSiteVpnServerInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*GetClientToSiteVpnServerInfoResponse, error)
GetClientToSiteVpnServerInfoWithResponse Get client-to-site VPN server info
Get client-to-site VPN server info. This interface has been deprecated. Please use the following interfaces instead: Get VPN Server summary list and Get client-to-site VPN server detail info. This interface had been deprecated.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `GetClientToSiteVpnServerInfo` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetClientToSiteVpnServerListWithResponse
deprecated
func (c *ClientWithResponses) GetClientToSiteVpnServerListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetClientToSiteVpnServerListResponse, error)
GetClientToSiteVpnServerListWithResponse Get client-to-site VPN server list
Get client-to-site VPN server list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Server summary list and Get client-to-site VPN server detail info. This interface had been deprecated.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `GetClientToSiteVpnServerList` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetClientToSiteVpnServerUserListWithResponse ¶
func (c *ClientWithResponses) GetClientToSiteVpnServerUserListWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*GetClientToSiteVpnServerUserListResponse, error)
GetClientToSiteVpnServerUserListWithResponse Get user list for client-to-site VPN server
Get user list for client-to-site VPN server.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId}/users (the `GetClientToSiteVpnServerUserList` operationId).
func (*ClientWithResponses) GetGridIpsecFailoverWithResponse
deprecated
func (c *ClientWithResponses) GetGridIpsecFailoverWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridIpsecFailoverParams, reqEditors ...RequestEditorFn) (*GetGridIpsecFailoverResponse, error)
GetGridIpsecFailoverWithResponse Get IPsec failover list
Get IPsec failover list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Site to Site summary list and Get site-to-site VPN detail info. This interface had been deprecated.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers (the `GetGridIpsecFailover` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetGridLockedSslVpnServerUserWithResponse ¶
func (c *ClientWithResponses) GetGridLockedSslVpnServerUserWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridLockedSslVpnServerUserParams, reqEditors ...RequestEditorFn) (*GetGridLockedSslVpnServerUserResponse, error)
GetGridLockedSslVpnServerUserWithResponse Get locked user list for SSL VPN server
Get locked user list for SSL VPN server.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users (the `GetGridLockedSslVpnServerUser` operationId).
func (*ClientWithResponses) GetGridSslVpnServerResourceGroupWithResponse ¶
func (c *ClientWithResponses) GetGridSslVpnServerResourceGroupWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridSslVpnServerResourceGroupParams, reqEditors ...RequestEditorFn) (*GetGridSslVpnServerResourceGroupResponse, error)
GetGridSslVpnServerResourceGroupWithResponse Get resource group list for SSL VPN server
Get resource group list for SSL VPN server.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups (the `GetGridSslVpnServerResourceGroup` operationId).
func (*ClientWithResponses) GetGridSslVpnServerResourceWithResponse ¶
func (c *ClientWithResponses) GetGridSslVpnServerResourceWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridSslVpnServerResourceParams, reqEditors ...RequestEditorFn) (*GetGridSslVpnServerResourceResponse, error)
GetGridSslVpnServerResourceWithResponse Get resource list for SSL VPN server
Get resource list for SSL VPN server.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources (the `GetGridSslVpnServerResource` operationId).
func (*ClientWithResponses) GetGridSslVpnServerUserGroupWithResponse ¶
func (c *ClientWithResponses) GetGridSslVpnServerUserGroupWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridSslVpnServerUserGroupParams, reqEditors ...RequestEditorFn) (*GetGridSslVpnServerUserGroupResponse, error)
GetGridSslVpnServerUserGroupWithResponse Get user group list for SSL VPN server
Get user group list for SSL VPN server.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `GetGridSslVpnServerUserGroup` operationId).
func (*ClientWithResponses) GetGridSslVpnServerUserWithResponse
deprecated
func (c *ClientWithResponses) GetGridSslVpnServerUserWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridSslVpnServerUserParams, reqEditors ...RequestEditorFn) (*GetGridSslVpnServerUserResponse, error)
GetGridSslVpnServerUserWithResponse Get user list for SSL VPN server
Get user list for SSL VPN server. This interface has been deprecated. Please use the following interfaces instead: Get VPN user list V2 or Get user list by VPN server ID.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users (the `GetGridSslVpnServerUser` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetGridSslVpnUserInGroupV2WithResponse ¶
func (c *ClientWithResponses) GetGridSslVpnUserInGroupV2WithResponse(ctx context.Context, omadacId string, siteId string, userGroupId string, params *GetGridSslVpnUserInGroupV2Params, reqEditors ...RequestEditorFn) (*GetGridSslVpnUserInGroupV2Response, error)
GetGridSslVpnUserInGroupV2WithResponse Get SSL VPN user list in group V2.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/usergroups/{userGroupId}/users (the `GetGridSslVpnUserInGroupV2` operationId).
func (*ClientWithResponses) GetGridSslVpnUserInGroupWithResponse
deprecated
func (c *ClientWithResponses) GetGridSslVpnUserInGroupWithResponse(ctx context.Context, omadacId string, siteId string, userGroupId string, params *GetGridSslVpnUserInGroupParams, reqEditors ...RequestEditorFn) (*GetGridSslVpnUserInGroupResponse, error)
GetGridSslVpnUserInGroupWithResponse Get SSL VPN user list in group.
Get SSL VPN user list in group. This interface has been deprecated. Please use the following interfaces instead: Get SSL VPN user list in group V2.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/usergroups/{userGroupId}/users (the `GetGridSslVpnUserInGroup` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetGridVpnClientV2WithResponse ¶
func (c *ClientWithResponses) GetGridVpnClientV2WithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridVpnClientV2Params, reqEditors ...RequestEditorFn) (*GetGridVpnClientV2Response, error)
GetGridVpnClientV2WithResponse Get VPN Client summary list
Get VPN Client summary list.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `GetGridVpnClientV2` operationId).
func (*ClientWithResponses) GetGridVpnS2SV2WithResponse ¶
func (c *ClientWithResponses) GetGridVpnS2SV2WithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridVpnS2SV2Params, reqEditors ...RequestEditorFn) (*GetGridVpnS2SV2Response, error)
GetGridVpnS2SV2WithResponse Get VPN Site to Site summary list
Get VPN Site to Site summary list.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `GetGridVpnS2SV2` operationId).
func (*ClientWithResponses) GetGridVpnServerV2WithResponse ¶
func (c *ClientWithResponses) GetGridVpnServerV2WithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridVpnServerV2Params, reqEditors ...RequestEditorFn) (*GetGridVpnServerV2Response, error)
GetGridVpnServerV2WithResponse Get VPN Server summary list
Get VPN Server summary list.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `GetGridVpnServerV2` operationId).
func (*ClientWithResponses) GetGridVpnUserV2WithResponse ¶
func (c *ClientWithResponses) GetGridVpnUserV2WithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridVpnUserV2Params, reqEditors ...RequestEditorFn) (*GetGridVpnUserV2Response, error)
GetGridVpnUserV2WithResponse Get VPN user list V2
Get VPN user list V2.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/users (the `GetGridVpnUserV2` operationId).
func (*ClientWithResponses) GetGridVpnUserWithResponse
deprecated
func (c *ClientWithResponses) GetGridVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridVpnUserParams, reqEditors ...RequestEditorFn) (*GetGridVpnUserResponse, error)
GetGridVpnUserWithResponse Get VPN user list
Get VPN user list. This interface has been deprecated. Please use the following interfaces instead: Get VPN user list V2. This interface had been deprecated.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `GetGridVpnUser` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetLockedSslVpnTunnuelsWithResponse ¶
func (c *ClientWithResponses) GetLockedSslVpnTunnuelsWithResponse(ctx context.Context, omadacId string, siteId string, params *GetLockedSslVpnTunnuelsParams, reqEditors ...RequestEditorFn) (*GetLockedSslVpnTunnuelsResponse, error)
GetLockedSslVpnTunnuelsWithResponse Get locked SSL VPN tunnel.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `GetLockedSslVpnTunnuels` operationId).
func (*ClientWithResponses) GetRadiusServerInfoWithResponse ¶
func (c *ClientWithResponses) GetRadiusServerInfoWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetRadiusServerInfoResponse, error)
GetRadiusServerInfoWithResponse Get radius server for SSL VPN server
Get radius server for SSL VPN server.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/radius (the `GetRadiusServerInfo` operationId).
func (*ClientWithResponses) GetSiteToSiteVpnInfoWithResponse
deprecated
func (c *ClientWithResponses) GetSiteToSiteVpnInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*GetSiteToSiteVpnInfoResponse, error)
GetSiteToSiteVpnInfoWithResponse Get site-to-site VPN info
Get site-to-site VPN info. This interface has been deprecated. Please use the following interfaces instead: Get VPN Site to Site summary list and Get site-to-site VPN detail info. This interface had been deprecated.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `GetSiteToSiteVpnInfo` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetSiteToSiteVpnListWithResponse
deprecated
func (c *ClientWithResponses) GetSiteToSiteVpnListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSiteToSiteVpnListResponse, error)
GetSiteToSiteVpnListWithResponse Get site-to-site VPN list
Get site-to-site VPN list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Site to Site summary list and Get site-to-site VPN detail info. This interface had been deprecated.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `GetSiteToSiteVpnList` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetSslVpnResourceGroupListWithResponse ¶
func (c *ClientWithResponses) GetSslVpnResourceGroupListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSslVpnResourceGroupListResponse, error)
GetSslVpnResourceGroupListWithResponse Get SSL VPN resource group list.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/briefresourcegroups (the `GetSslVpnResourceGroupList` operationId).
func (*ClientWithResponses) GetSslVpnResourceListWithResponse ¶
func (c *ClientWithResponses) GetSslVpnResourceListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSslVpnResourceListResponse, error)
GetSslVpnResourceListWithResponse Get SSL VPN resource list
Get SSL VPN resource list.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/briefresources (the `GetSslVpnResourceList` operationId).
func (*ClientWithResponses) GetSslVpnServerSettingWithResponse
deprecated
func (c *ClientWithResponses) GetSslVpnServerSettingWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSslVpnServerSettingResponse, error)
GetSslVpnServerSettingWithResponse Get SSL VPN server setting
Get SSL VPN server setting.This interface has been deprecated. Please use the following interfaces instead: Get VPN Server summary list and Get client-to-site VPN server detail info.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/setting (the `GetSslVpnServerSetting` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetSslVpnUserGroupBriefListWithResponse ¶
func (c *ClientWithResponses) GetSslVpnUserGroupBriefListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSslVpnUserGroupBriefListResponse, error)
GetSslVpnUserGroupBriefListWithResponse Get SSL VPN user Group list V2
Get SSL VPN user Group brief information list.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/briefusergroups (the `GetSslVpnUserGroupBriefList` operationId).
func (*ClientWithResponses) GetSslVpnUserGroupListWithResponse ¶
func (c *ClientWithResponses) GetSslVpnUserGroupListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSslVpnUserGroupListResponse, error)
GetSslVpnUserGroupListWithResponse Get SSL VPN user Group list.
Get SSL VPN user Group list. This interface has been deprecated. Please use the following interfaces instead: Get SSL VPN user Group list V2.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/briefusergroups (the `GetSslVpnUserGroupList` operationId).
func (*ClientWithResponses) GetVpnAvailableIpPoolWithResponse ¶
func (c *ClientWithResponses) GetVpnAvailableIpPoolWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetVpnAvailableIpPoolResponse, error)
GetVpnAvailableIpPoolWithResponse Get available IP pools for VPN
Get available IP pools for VPN.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ippool (the `GetVpnAvailableIpPool` operationId).
func (*ClientWithResponses) GetVpnClientDetailInfoWithResponse ¶
func (c *ClientWithResponses) GetVpnClientDetailInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*GetVpnClientDetailInfoResponse, error)
GetVpnClientDetailInfoWithResponse Get client-to-site VPN client detail info
Get client-to-site VPN client detail information by VPN ID.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `GetVpnClientDetailInfo` operationId).
func (*ClientWithResponses) GetVpnClientToSiteClientInfoWithResponse
deprecated
func (c *ClientWithResponses) GetVpnClientToSiteClientInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*GetVpnClientToSiteClientInfoResponse, error)
GetVpnClientToSiteClientInfoWithResponse Get client-to-site VPN client info
Get client-to-site VPN client info. This interface has been deprecated. Please use the following interfaces instead: Get VPN Client summary list and Get client-to-site VPN client detail info. This interface had been deprecated.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `GetVpnClientToSiteClientInfo` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetVpnDefaultValueWithBodyWithResponse ¶
func (c *ClientWithResponses) GetVpnDefaultValueWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetVpnDefaultValueResponse, error)
GetVpnDefaultValueWithBodyWithResponse Get default value for VPN
Get default value for VPN.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/defaultValue (the `GetVpnDefaultValue` operationId).
func (*ClientWithResponses) GetVpnDefaultValueWithResponse ¶
func (c *ClientWithResponses) GetVpnDefaultValueWithResponse(ctx context.Context, omadacId string, siteId string, body GetVpnDefaultValueJSONRequestBody, reqEditors ...RequestEditorFn) (*GetVpnDefaultValueResponse, error)
GetVpnDefaultValueWithResponse Get default value for VPN
Get default value for VPN.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/defaultValue (the `GetVpnDefaultValue` operationId).
func (*ClientWithResponses) GetVpnPreSharedKeyWithResponse ¶
func (c *ClientWithResponses) GetVpnPreSharedKeyWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetVpnPreSharedKeyResponse, error)
GetVpnPreSharedKeyWithResponse Generate a random pre-shared key for IPSec
Generate a random pre-shared key for IPSec.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/psk (the `GetVpnPreSharedKey` operationId).
func (*ClientWithResponses) GetVpnS2SDetailInfoWithResponse ¶
func (c *ClientWithResponses) GetVpnS2SDetailInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*GetVpnS2SDetailInfoResponse, error)
GetVpnS2SDetailInfoWithResponse Get site-to-site VPN detail info
Get site-to-site VPN detail information by VPN ID.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `GetVpnS2SDetailInfo` operationId).
func (*ClientWithResponses) GetVpnServerDetailInfoWithResponse ¶
func (c *ClientWithResponses) GetVpnServerDetailInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*GetVpnServerDetailInfoResponse, error)
GetVpnServerDetailInfoWithResponse Get client-to-site VPN server detail info
Get client-to-site VPN server detail information by VPN ID.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `GetVpnServerDetailInfo` operationId).
func (*ClientWithResponses) GetVpnServerUserListV3WithResponse ¶
func (c *ClientWithResponses) GetVpnServerUserListV3WithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, params *GetVpnServerUserListV3Params, reqEditors ...RequestEditorFn) (*GetVpnServerUserListV3Response, error)
GetVpnServerUserListV3WithResponse Get user list by VPN server ID
Get user list by VPN server ID.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v3/{omadacId}/sites/{siteId}/vpn/{vpnId}/users (the `GetVpnServerUserListV3` operationId).
func (*ClientWithResponses) GetVpnUserListWithResponse ¶
func (c *ClientWithResponses) GetVpnUserListWithResponse(ctx context.Context, omadacId string, siteId string, protocol string, reqEditors ...RequestEditorFn) (*GetVpnUserListResponse, error)
GetVpnUserListWithResponse Get VPN user list without page
Get VPN user list without page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/userlist/{protocol} (the `GetVpnUserList` operationId).
func (*ClientWithResponses) GetVpnUserServerListWithResponse ¶
func (c *ClientWithResponses) GetVpnUserServerListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetVpnUserServerListResponse, error)
GetVpnUserServerListWithResponse Get VPN server list for user
Get VPN server list for user.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/userServers (the `GetVpnUserServerList` operationId).
func (*ClientWithResponses) GetWireguardKeyWithResponse ¶
func (c *ClientWithResponses) GetWireguardKeyWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetWireguardKeyResponse, error)
GetWireguardKeyWithResponse Get new private key and public key
Get new private key and public key.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-key (the `GetWireguardKey` operationId).
func (*ClientWithResponses) GetWireguardSummaryWithResponse
deprecated
func (c *ClientWithResponses) GetWireguardSummaryWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetWireguardSummaryResponse, error)
GetWireguardSummaryWithResponse Get all wireguard's id and name info
Get all wireguard's id and name info.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-summarys (the `GetWireguardSummary` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ListPeerWithResponse
deprecated
func (c *ClientWithResponses) ListPeerWithResponse(ctx context.Context, omadacId string, siteId string, params *ListPeerParams, reqEditors ...RequestEditorFn) (*ListPeerResponse, error)
ListPeerWithResponse Get wireguard peer list
Get wireguard peer list. This interface has been deprecated. Please use the following interfaces instead: Get site-to-site VPN detail info.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers (the `ListPeer` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ListRemoteSiteWithResponse ¶
func (c *ClientWithResponses) ListRemoteSiteWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*ListRemoteSiteResponse, error)
ListRemoteSiteWithResponse List Remote Site
List Remote Site.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteSites (the `ListRemoteSite` operationId).
func (*ClientWithResponses) ListWireguardWithResponse
deprecated
func (c *ClientWithResponses) ListWireguardWithResponse(ctx context.Context, omadacId string, siteId string, params *ListWireguardParams, reqEditors ...RequestEditorFn) (*ListWireguardResponse, error)
ListWireguardWithResponse Get wireguard list
Get wireguard list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Site to Site summary list and Get site-to-site VPN detail info.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards (the `ListWireguard` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) LockSslVpnTunnelWithResponse ¶
func (c *ClientWithResponses) LockSslVpnTunnelWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*LockSslVpnTunnelResponse, error)
LockSslVpnTunnelWithResponse Lock SSL VPN tunnel
Lock SSL VPN tunnel by VPN ID.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/stats/sslvpn/tunnel/{tunnelId}/lock (the `LockSslVpnTunnel` operationId).
func (*ClientWithResponses) ModifyClientStatusWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyClientStatusWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyClientStatusResponse, error)
ModifyClientStatusWithBodyWithResponse Modify VPN status
Modify VPN status.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/{vpnId}/status (the `ModifyClientStatus` operationId).
func (*ClientWithResponses) ModifyClientStatusWithResponse ¶
func (c *ClientWithResponses) ModifyClientStatusWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyClientStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyClientStatusResponse, error)
ModifyClientStatusWithResponse Modify VPN status
Modify VPN status.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/{vpnId}/status (the `ModifyClientStatus` operationId).
func (*ClientWithResponses) ModifyClientToSiteVpnClientWithBodyWithResponse
deprecated
func (c *ClientWithResponses) ModifyClientToSiteVpnClientWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyClientToSiteVpnClientResponse, error)
ModifyClientToSiteVpnClientWithBodyWithResponse Modify client-to-site VPN client
Modify client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Modify client-to-site VPN client V2. This interface had been deprecated.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `ModifyClientToSiteVpnClient` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyClientToSiteVpnClientWithResponse ¶
func (c *ClientWithResponses) ModifyClientToSiteVpnClientWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyClientToSiteVpnClientJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyClientToSiteVpnClientResponse, error)
ModifyClientToSiteVpnClientWithResponse Modify client-to-site VPN client
Modify client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Modify client-to-site VPN client V2. This interface had been deprecated.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `ModifyClientToSiteVpnClient` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyClientToSiteVpnServerWithBodyWithResponse
deprecated
func (c *ClientWithResponses) ModifyClientToSiteVpnServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyClientToSiteVpnServerResponse, error)
ModifyClientToSiteVpnServerWithBodyWithResponse Modify client-to-site VPN server
Modify client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Modify client-to-site VPN server V2. This interface had been deprecated.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `ModifyClientToSiteVpnServer` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyClientToSiteVpnServerWithResponse ¶
func (c *ClientWithResponses) ModifyClientToSiteVpnServerWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyClientToSiteVpnServerJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyClientToSiteVpnServerResponse, error)
ModifyClientToSiteVpnServerWithResponse Modify client-to-site VPN server
Modify client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Modify client-to-site VPN server V2. This interface had been deprecated.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `ModifyClientToSiteVpnServer` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyIpsecFailoverWithBodyWithResponse
deprecated
func (c *ClientWithResponses) ModifyIpsecFailoverWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, failoverId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyIpsecFailoverResponse, error)
ModifyIpsecFailoverWithBodyWithResponse Modify IPsec failover
Modify IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual. This interface had been deprecated.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers/{failoverId} (the `ModifyIpsecFailover` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyIpsecFailoverWithResponse ¶
func (c *ClientWithResponses) ModifyIpsecFailoverWithResponse(ctx context.Context, omadacId string, siteId string, failoverId string, body ModifyIpsecFailoverJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyIpsecFailoverResponse, error)
ModifyIpsecFailoverWithResponse Modify IPsec failover
Modify IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual. This interface had been deprecated.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers/{failoverId} (the `ModifyIpsecFailover` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyLockedSslVpnTunnuelWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyLockedSslVpnTunnuelWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, lockTunnelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyLockedSslVpnTunnuelResponse, error)
ModifyLockedSslVpnTunnuelWithBodyWithResponse Modify locked SSL VPN tunnel
Modify locked SSL VPN tunnel.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels/{lockTunnelId} (the `ModifyLockedSslVpnTunnuel` operationId).
func (*ClientWithResponses) ModifyLockedSslVpnTunnuelWithResponse ¶
func (c *ClientWithResponses) ModifyLockedSslVpnTunnuelWithResponse(ctx context.Context, omadacId string, siteId string, lockTunnelId string, body ModifyLockedSslVpnTunnuelJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyLockedSslVpnTunnuelResponse, error)
ModifyLockedSslVpnTunnuelWithResponse Modify locked SSL VPN tunnel
Modify locked SSL VPN tunnel.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels/{lockTunnelId} (the `ModifyLockedSslVpnTunnuel` operationId).
func (*ClientWithResponses) ModifyLockedSslVpnUserWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyLockedSslVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyLockedSslVpnUserResponse, error)
ModifyLockedSslVpnUserWithBodyWithResponse Modify SSL VPN locked user
Modify SSL VPN locked user.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users/{id} (the `ModifyLockedSslVpnUser` operationId).
func (*ClientWithResponses) ModifyLockedSslVpnUserWithResponse ¶
func (c *ClientWithResponses) ModifyLockedSslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifyLockedSslVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyLockedSslVpnUserResponse, error)
ModifyLockedSslVpnUserWithResponse Modify SSL VPN locked user
Modify SSL VPN locked user.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users/{id} (the `ModifyLockedSslVpnUser` operationId).
func (*ClientWithResponses) ModifyPeerWithBodyWithResponse
deprecated
func (c *ClientWithResponses) ModifyPeerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyPeerResponse, error)
ModifyPeerWithBodyWithResponse Modify an existing wireguard peer
Modify an existing wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers/{id} (the `ModifyPeer` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyPeerWithResponse ¶
func (c *ClientWithResponses) ModifyPeerWithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifyPeerJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyPeerResponse, error)
ModifyPeerWithResponse Modify an existing wireguard peer
Modify an existing wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers/{id} (the `ModifyPeer` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyS2SAutoVpnWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyS2SAutoVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyS2SAutoVpnResponse, error)
ModifyS2SAutoVpnWithBodyWithResponse Modify site-to-site VPN by auto
Modify site-to-site VPN by auto.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/auto/{vpnId} (the `ModifyS2SAutoVpn` operationId).
func (*ClientWithResponses) ModifyS2SAutoVpnWithResponse ¶
func (c *ClientWithResponses) ModifyS2SAutoVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyS2SAutoVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyS2SAutoVpnResponse, error)
ModifyS2SAutoVpnWithResponse Modify site-to-site VPN by auto
Modify site-to-site VPN by auto.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/auto/{vpnId} (the `ModifyS2SAutoVpn` operationId).
func (*ClientWithResponses) ModifyS2SManualVpnWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyS2SManualVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyS2SManualVpnResponse, error)
ModifyS2SManualVpnWithBodyWithResponse Modify site-to-site VPN by manual
Modify site-to-site VPN by manual.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `ModifyS2SManualVpn` operationId).
func (*ClientWithResponses) ModifyS2SManualVpnWithResponse ¶
func (c *ClientWithResponses) ModifyS2SManualVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyS2SManualVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyS2SManualVpnResponse, error)
ModifyS2SManualVpnWithResponse Modify site-to-site VPN by manual
Modify site-to-site VPN by manual.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `ModifyS2SManualVpn` operationId).
func (*ClientWithResponses) ModifySiteToSiteVpnWithBodyWithResponse
deprecated
func (c *ClientWithResponses) ModifySiteToSiteVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySiteToSiteVpnResponse, error)
ModifySiteToSiteVpnWithBodyWithResponse Modify site-to-site VPN
Modify site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by auto or Modify site-to-site VPN by manual.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `ModifySiteToSiteVpn` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifySiteToSiteVpnWithResponse ¶
func (c *ClientWithResponses) ModifySiteToSiteVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifySiteToSiteVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySiteToSiteVpnResponse, error)
ModifySiteToSiteVpnWithResponse Modify site-to-site VPN
Modify site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by auto or Modify site-to-site VPN by manual.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `ModifySiteToSiteVpn` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifySslVpnResourceGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifySslVpnResourceGroupWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySslVpnResourceGroupResponse, error)
ModifySslVpnResourceGroupWithBodyWithResponse Modify SSL VPN resource group
Modify SSL VPN tunnel resource group.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups/{id} (the `ModifySslVpnResourceGroup` operationId).
func (*ClientWithResponses) ModifySslVpnResourceGroupWithResponse ¶
func (c *ClientWithResponses) ModifySslVpnResourceGroupWithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifySslVpnResourceGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySslVpnResourceGroupResponse, error)
ModifySslVpnResourceGroupWithResponse Modify SSL VPN resource group
Modify SSL VPN tunnel resource group.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups/{id} (the `ModifySslVpnResourceGroup` operationId).
func (*ClientWithResponses) ModifySslVpnResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifySslVpnResourceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySslVpnResourceResponse, error)
ModifySslVpnResourceWithBodyWithResponse Modify SSL VPN resource
Modify SSL VPN tunnel resource.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources/{id} (the `ModifySslVpnResource` operationId).
func (*ClientWithResponses) ModifySslVpnResourceWithResponse ¶
func (c *ClientWithResponses) ModifySslVpnResourceWithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifySslVpnResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySslVpnResourceResponse, error)
ModifySslVpnResourceWithResponse Modify SSL VPN resource
Modify SSL VPN tunnel resource.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources/{id} (the `ModifySslVpnResource` operationId).
func (*ClientWithResponses) ModifySslVpnServerSettingWithBodyWithResponse
deprecated
func (c *ClientWithResponses) ModifySslVpnServerSettingWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySslVpnServerSettingResponse, error)
ModifySslVpnServerSettingWithBodyWithResponse Modify SSL VPN server setting
Get SSL VPN server setting. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN server V2 or Modify client-to-site VPN server V2.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/setting (the `ModifySslVpnServerSetting` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifySslVpnServerSettingWithResponse ¶
func (c *ClientWithResponses) ModifySslVpnServerSettingWithResponse(ctx context.Context, omadacId string, siteId string, body ModifySslVpnServerSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySslVpnServerSettingResponse, error)
ModifySslVpnServerSettingWithResponse Modify SSL VPN server setting
Get SSL VPN server setting. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN server V2 or Modify client-to-site VPN server V2.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/setting (the `ModifySslVpnServerSetting` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifySslVpnUserGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifySslVpnUserGroupWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySslVpnUserGroupResponse, error)
ModifySslVpnUserGroupWithBodyWithResponse Modify SSL VPN user group
Modify SSL VPN user group.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups/{id} (the `ModifySslVpnUserGroup` operationId).
func (*ClientWithResponses) ModifySslVpnUserGroupWithResponse ¶
func (c *ClientWithResponses) ModifySslVpnUserGroupWithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifySslVpnUserGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySslVpnUserGroupResponse, error)
ModifySslVpnUserGroupWithResponse Modify SSL VPN user group
Modify SSL VPN user group.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups/{id} (the `ModifySslVpnUserGroup` operationId).
func (*ClientWithResponses) ModifySslVpnUserWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifySslVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySslVpnUserResponse, error)
ModifySslVpnUserWithBodyWithResponse Modify SSL VPN user
Modify SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Modify VPN user V3.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users/{id} (the `ModifySslVpnUser` operationId).
func (*ClientWithResponses) ModifySslVpnUserWithResponse ¶
func (c *ClientWithResponses) ModifySslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifySslVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySslVpnUserResponse, error)
ModifySslVpnUserWithResponse Modify SSL VPN user
Modify SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Modify VPN user V3.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users/{id} (the `ModifySslVpnUser` operationId).
func (*ClientWithResponses) ModifyVpnClientWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyVpnClientWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyVpnClientResponse, error)
ModifyVpnClientWithBodyWithResponse Modify client-to-site VPN client V2
Modify client-to-site VPN client.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `ModifyVpnClient` operationId).
func (*ClientWithResponses) ModifyVpnClientWithResponse ¶
func (c *ClientWithResponses) ModifyVpnClientWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyVpnClientJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyVpnClientResponse, error)
ModifyVpnClientWithResponse Modify client-to-site VPN client V2
Modify client-to-site VPN client.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `ModifyVpnClient` operationId).
func (*ClientWithResponses) ModifyVpnServerWithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyVpnServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyVpnServerResponse, error)
ModifyVpnServerWithBodyWithResponse Modify client-to-site VPN server V2
Modify client-to-site VPN server V2.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `ModifyVpnServer` operationId).
func (*ClientWithResponses) ModifyVpnServerWithResponse ¶
func (c *ClientWithResponses) ModifyVpnServerWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyVpnServerJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyVpnServerResponse, error)
ModifyVpnServerWithResponse Modify client-to-site VPN server V2
Modify client-to-site VPN server V2.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `ModifyVpnServer` operationId).
func (*ClientWithResponses) ModifyVpnUserV2WithBodyWithResponse
deprecated
func (c *ClientWithResponses) ModifyVpnUserV2WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyVpnUserV2Response, error)
ModifyVpnUserV2WithBodyWithResponse Modify VPN user V2
Modify VPN user. This interface has been deprecated. Please use the following interfaces instead: Modify VPN user V3. This interface had been deprecated.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUserV2` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyVpnUserV2WithResponse ¶
func (c *ClientWithResponses) ModifyVpnUserV2WithResponse(ctx context.Context, omadacId string, siteId string, userId string, body ModifyVpnUserV2JSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyVpnUserV2Response, error)
ModifyVpnUserV2WithResponse Modify VPN user V2
Modify VPN user. This interface has been deprecated. Please use the following interfaces instead: Modify VPN user V3. This interface had been deprecated.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUserV2` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyVpnUserV3WithBodyWithResponse ¶
func (c *ClientWithResponses) ModifyVpnUserV3WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyVpnUserV3Response, error)
ModifyVpnUserV3WithBodyWithResponse Modify VPN user V3
Modify VPN user.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v3/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUserV3` operationId).
func (*ClientWithResponses) ModifyVpnUserV3WithResponse ¶
func (c *ClientWithResponses) ModifyVpnUserV3WithResponse(ctx context.Context, omadacId string, siteId string, userId string, body ModifyVpnUserV3JSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyVpnUserV3Response, error)
ModifyVpnUserV3WithResponse Modify VPN user V3
Modify VPN user.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v3/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUserV3` operationId).
func (*ClientWithResponses) ModifyVpnUserWithBodyWithResponse
deprecated
func (c *ClientWithResponses) ModifyVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyVpnUserResponse, error)
ModifyVpnUserWithBodyWithResponse Modify VPN user
Modify VPN user. This interface has been deprecated. Please use the following interface instead: Modify VPN user V3. This interface had been deprecated.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUser` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyVpnUserWithResponse ¶
func (c *ClientWithResponses) ModifyVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, userId string, body ModifyVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyVpnUserResponse, error)
ModifyVpnUserWithResponse Modify VPN user
Modify VPN user. This interface has been deprecated. Please use the following interface instead: Modify VPN user V3. This interface had been deprecated.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUser` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyWireguardWithBodyWithResponse
deprecated
func (c *ClientWithResponses) ModifyWireguardWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyWireguardResponse, error)
ModifyWireguardWithBodyWithResponse Modify an existing wireguard
Modify an existing wireguard. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards/{id} (the `ModifyWireguard` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ModifyWireguardWithResponse ¶
func (c *ClientWithResponses) ModifyWireguardWithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifyWireguardJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyWireguardResponse, error)
ModifyWireguardWithResponse Modify an existing wireguard
Modify an existing wireguard. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards/{id} (the `ModifyWireguard` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) UploadVpnCertificateFileV2WithBodyWithResponse ¶
func (c *ClientWithResponses) UploadVpnCertificateFileV2WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadVpnCertificateFileV2Response, error)
UploadVpnCertificateFileV2WithBodyWithResponse Upload VPN certificate file V2
Upload VPN certificate file.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v2/{omadacId}/files/sites/{siteId}/vpn/certificate (the `UploadVpnCertificateFileV2` operationId).
func (*ClientWithResponses) UploadVpnCertificateFileWithBodyWithResponse
deprecated
func (c *ClientWithResponses) UploadVpnCertificateFileWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadVpnCertificateFileResponse, error)
UploadVpnCertificateFileWithBodyWithResponse Upload VPN certificate file
Upload VPN certificate file. This interface has been deprecated. Please use the following interfaces instead: Upload VPN certificate file V2. This interface had been deprecated.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/certificate (the `UploadVpnCertificateFile` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// DownloadVpnCertificateWithResponse Download Open VPN or SSL VPN certificate
//
// Download Open VPN or SSL VPN certificate. Filename is a UTF-8 string encoded by URL Encoder.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/files/sites/{siteId}/vpn/{vpnId}/certificate (the `DownloadVpnCertificate` operationId).
DownloadVpnCertificateWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*DownloadVpnCertificateResponse, error)
// ListRemoteSiteWithResponse List Remote Site
//
// List Remote Site.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/remoteSites (the `ListRemoteSite` operationId).
ListRemoteSiteWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*ListRemoteSiteResponse, error)
// BatchDeleteVpnWithBodyWithResponse Batch delete VPN
//
// Batch delete VPN.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn (the `BatchDeleteVpn` operationId).
BatchDeleteVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchDeleteVpnResponse, error)
// BatchDeleteVpnWithResponse Batch delete VPN
//
// Batch delete VPN.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn (the `BatchDeleteVpn` operationId).
BatchDeleteVpnWithResponse(ctx context.Context, omadacId string, siteId string, body BatchDeleteVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchDeleteVpnResponse, error)
// GetAllVpnListWithResponse Get All VPN list
//
// Get All VPN list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Server summary list and Get client-to-site VPN server detail info;Get VPN Client summary list and Get client-to-site VPN client detail info;Get VPN Site to Site summary list and Get site-to-site VPN detail info. This interface had been deprecated.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn (the `GetAllVpnList` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetAllVpnListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetAllVpnListResponse, error)
// GetSslVpnUserGroupBriefListWithResponse Get SSL VPN user Group list V2
//
// Get SSL VPN user Group brief information list.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/briefusergroups (the `GetSslVpnUserGroupBriefList` operationId).
GetSslVpnUserGroupBriefListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSslVpnUserGroupBriefListResponse, error)
// UploadVpnCertificateFileWithBodyWithResponse Upload VPN certificate file
//
// Upload VPN certificate file. This interface has been deprecated. Please use the following interfaces instead: Upload VPN certificate file V2. This interface had been deprecated.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/certificate (the `UploadVpnCertificateFile` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
UploadVpnCertificateFileWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadVpnCertificateFileResponse, error)
// CheckUsedInVpnsWithBodyWithResponse Check used function for multiple VPN items
//
// Check used function for multiple VPN items.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/checkUsed (the `CheckUsedInVpns` operationId).
CheckUsedInVpnsWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckUsedInVpnsResponse, error)
// CheckUsedInVpnsWithResponse Check used function for multiple VPN items
//
// Check used function for multiple VPN items.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/checkUsed (the `CheckUsedInVpns` operationId).
CheckUsedInVpnsWithResponse(ctx context.Context, omadacId string, siteId string, body CheckUsedInVpnsJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckUsedInVpnsResponse, error)
// CheckValueAvailableWithBodyWithResponse Check whether vpn value is available
//
// Check whether vpn value is available.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/checkValue (the `CheckValueAvailable` operationId).
CheckValueAvailableWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckValueAvailableResponse, error)
// CheckValueAvailableWithResponse Check whether vpn value is available
//
// Check whether vpn value is available.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/checkValue (the `CheckValueAvailable` operationId).
CheckValueAvailableWithResponse(ctx context.Context, omadacId string, siteId string, body CheckValueAvailableJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckValueAvailableResponse, error)
// GetClientToSiteVpnClientListWithResponse Get client-to-site VPN client list
//
// Get client-to-site VPN client list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Client summary list and Get client-to-site VPN client detail info. This interface had been deprecated.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `GetClientToSiteVpnClientList` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetClientToSiteVpnClientListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetClientToSiteVpnClientListResponse, error)
// CreateClientToSiteVpnClientWithBodyWithResponse Create client-to-site VPN client
//
// Create client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN client V2. This interface had been deprecated.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `CreateClientToSiteVpnClient` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateClientToSiteVpnClientWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClientToSiteVpnClientResponse, error)
// CreateClientToSiteVpnClientWithResponse Create client-to-site VPN client
//
// Create client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN client V2. This interface had been deprecated.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `CreateClientToSiteVpnClient` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateClientToSiteVpnClientWithResponse(ctx context.Context, omadacId string, siteId string, body CreateClientToSiteVpnClientJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClientToSiteVpnClientResponse, error)
// DeleteClientToSiteVpnClientWithResponse Delete client-to-site VPN client
//
// Delete client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2. This interface had been deprecated.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `DeleteClientToSiteVpnClient` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DeleteClientToSiteVpnClientWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*DeleteClientToSiteVpnClientResponse, error)
// GetVpnClientToSiteClientInfoWithResponse Get client-to-site VPN client info
//
// Get client-to-site VPN client info. This interface has been deprecated. Please use the following interfaces instead: Get VPN Client summary list and Get client-to-site VPN client detail info. This interface had been deprecated.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `GetVpnClientToSiteClientInfo` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetVpnClientToSiteClientInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*GetVpnClientToSiteClientInfoResponse, error)
// ModifyClientToSiteVpnClientWithBodyWithResponse Modify client-to-site VPN client
//
// Modify client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Modify client-to-site VPN client V2. This interface had been deprecated.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `ModifyClientToSiteVpnClient` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyClientToSiteVpnClientWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyClientToSiteVpnClientResponse, error)
// ModifyClientToSiteVpnClientWithResponse Modify client-to-site VPN client
//
// Modify client-to-site VPN client. This interface has been deprecated. Please use the following interfaces instead: Modify client-to-site VPN client V2. This interface had been deprecated.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `ModifyClientToSiteVpnClient` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyClientToSiteVpnClientWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyClientToSiteVpnClientJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyClientToSiteVpnClientResponse, error)
// GetClientToSiteVpnServerListWithResponse Get client-to-site VPN server list
//
// Get client-to-site VPN server list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Server summary list and Get client-to-site VPN server detail info. This interface had been deprecated.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `GetClientToSiteVpnServerList` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetClientToSiteVpnServerListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetClientToSiteVpnServerListResponse, error)
// CreateClientToSiteVpnServerWithBodyWithResponse Create client-to-site VPN server
//
// Create client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN server V2. This interface had been deprecated.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `CreateClientToSiteVpnServer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateClientToSiteVpnServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClientToSiteVpnServerResponse, error)
// CreateClientToSiteVpnServerWithResponse Create client-to-site VPN server
//
// Create client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN server V2. This interface had been deprecated.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `CreateClientToSiteVpnServer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateClientToSiteVpnServerWithResponse(ctx context.Context, omadacId string, siteId string, body CreateClientToSiteVpnServerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClientToSiteVpnServerResponse, error)
// DeleteClientToSiteVpnServerWithResponse Delete client-to-site VPN server
//
// Delete client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2. This interface had been deprecated.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `DeleteClientToSiteVpnServer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DeleteClientToSiteVpnServerWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*DeleteClientToSiteVpnServerResponse, error)
// GetClientToSiteVpnServerInfoWithResponse Get client-to-site VPN server info
//
// Get client-to-site VPN server info. This interface has been deprecated. Please use the following interfaces instead: Get VPN Server summary list and Get client-to-site VPN server detail info. This interface had been deprecated.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `GetClientToSiteVpnServerInfo` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetClientToSiteVpnServerInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*GetClientToSiteVpnServerInfoResponse, error)
// ModifyClientToSiteVpnServerWithBodyWithResponse Modify client-to-site VPN server
//
// Modify client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Modify client-to-site VPN server V2. This interface had been deprecated.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `ModifyClientToSiteVpnServer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyClientToSiteVpnServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyClientToSiteVpnServerResponse, error)
// ModifyClientToSiteVpnServerWithResponse Modify client-to-site VPN server
//
// Modify client-to-site VPN server. This interface has been deprecated. Please use the following interfaces instead: Modify client-to-site VPN server V2. This interface had been deprecated.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `ModifyClientToSiteVpnServer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyClientToSiteVpnServerWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyClientToSiteVpnServerJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyClientToSiteVpnServerResponse, error)
// GetClientToSiteVpnServerUserListWithResponse Get user list for client-to-site VPN server
//
// Get user list for client-to-site VPN server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId}/users (the `GetClientToSiteVpnServerUserList` operationId).
GetClientToSiteVpnServerUserListWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*GetClientToSiteVpnServerUserListResponse, error)
// GetVpnDefaultValueWithBodyWithResponse Get default value for VPN
//
// Get default value for VPN.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/defaultValue (the `GetVpnDefaultValue` operationId).
GetVpnDefaultValueWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetVpnDefaultValueResponse, error)
// GetVpnDefaultValueWithResponse Get default value for VPN
//
// Get default value for VPN.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/defaultValue (the `GetVpnDefaultValue` operationId).
GetVpnDefaultValueWithResponse(ctx context.Context, omadacId string, siteId string, body GetVpnDefaultValueJSONRequestBody, reqEditors ...RequestEditorFn) (*GetVpnDefaultValueResponse, error)
// GetVpnAvailableIpPoolWithResponse Get available IP pools for VPN
//
// Get available IP pools for VPN.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ippool (the `GetVpnAvailableIpPool` operationId).
GetVpnAvailableIpPoolWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetVpnAvailableIpPoolResponse, error)
// GetGridIpsecFailoverWithResponse Get IPsec failover list
//
// Get IPsec failover list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Site to Site summary list and Get site-to-site VPN detail info. This interface had been deprecated.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers (the `GetGridIpsecFailover` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetGridIpsecFailoverWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridIpsecFailoverParams, reqEditors ...RequestEditorFn) (*GetGridIpsecFailoverResponse, error)
// CreateIpsecFailoverWithBodyWithResponse Create IPsec failover
//
// Create IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual or Modify site-to-site VPN by manual. This interface had been deprecated.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers (the `CreateIpsecFailover` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateIpsecFailoverWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIpsecFailoverResponse, error)
// CreateIpsecFailoverWithResponse Create IPsec failover
//
// Create IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual or Modify site-to-site VPN by manual. This interface had been deprecated.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers (the `CreateIpsecFailover` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateIpsecFailoverWithResponse(ctx context.Context, omadacId string, siteId string, body CreateIpsecFailoverJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIpsecFailoverResponse, error)
// DeleteIpsecFailoverWithResponse Delete IPsec failover
//
// Delete IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual. This interface had been deprecated.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers/{failoverId} (the `DeleteIpsecFailover` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DeleteIpsecFailoverWithResponse(ctx context.Context, omadacId string, siteId string, failoverId string, reqEditors ...RequestEditorFn) (*DeleteIpsecFailoverResponse, error)
// ModifyIpsecFailoverWithBodyWithResponse Modify IPsec failover
//
// Modify IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual. This interface had been deprecated.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers/{failoverId} (the `ModifyIpsecFailover` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyIpsecFailoverWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, failoverId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyIpsecFailoverResponse, error)
// ModifyIpsecFailoverWithResponse Modify IPsec failover
//
// Modify IPsec failover. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual. This interface had been deprecated.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/ipsec_failovers/{failoverId} (the `ModifyIpsecFailover` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyIpsecFailoverWithResponse(ctx context.Context, omadacId string, siteId string, failoverId string, body ModifyIpsecFailoverJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyIpsecFailoverResponse, error)
//
// Generate a random pre-shared key for IPSec.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/psk (the `GetVpnPreSharedKey` operationId).
GetVpnPreSharedKeyWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetVpnPreSharedKeyResponse, error)
// GetSiteToSiteVpnListWithResponse Get site-to-site VPN list
//
// Get site-to-site VPN list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Site to Site summary list and Get site-to-site VPN detail info. This interface had been deprecated.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `GetSiteToSiteVpnList` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetSiteToSiteVpnListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSiteToSiteVpnListResponse, error)
// CreateSiteToSiteVpnWithBodyWithResponse Create site-to-site VPN
//
// Create site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by auto or Create site-to-site VPN by manual. This interface had been deprecated.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `CreateSiteToSiteVpn` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateSiteToSiteVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSiteToSiteVpnResponse, error)
// CreateSiteToSiteVpnWithResponse Create site-to-site VPN
//
// Create site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by auto or Create site-to-site VPN by manual. This interface had been deprecated.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `CreateSiteToSiteVpn` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateSiteToSiteVpnWithResponse(ctx context.Context, omadacId string, siteId string, body CreateSiteToSiteVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSiteToSiteVpnResponse, error)
// DeleteSiteToSiteVpnWithResponse Delete site-to-site VPN
//
// Delete site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2. This interface had been deprecated.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `DeleteSiteToSiteVpn` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DeleteSiteToSiteVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*DeleteSiteToSiteVpnResponse, error)
// GetSiteToSiteVpnInfoWithResponse Get site-to-site VPN info
//
// Get site-to-site VPN info. This interface has been deprecated. Please use the following interfaces instead: Get VPN Site to Site summary list and Get site-to-site VPN detail info. This interface had been deprecated.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `GetSiteToSiteVpnInfo` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetSiteToSiteVpnInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*GetSiteToSiteVpnInfoResponse, error)
// ModifySiteToSiteVpnWithBodyWithResponse Modify site-to-site VPN
//
// Modify site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by auto or Modify site-to-site VPN by manual.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `ModifySiteToSiteVpn` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifySiteToSiteVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySiteToSiteVpnResponse, error)
// ModifySiteToSiteVpnWithResponse Modify site-to-site VPN
//
// Modify site-to-site VPN. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by auto or Modify site-to-site VPN by manual.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `ModifySiteToSiteVpn` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifySiteToSiteVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifySiteToSiteVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySiteToSiteVpnResponse, error)
// GetSslVpnResourceGroupListWithResponse Get SSL VPN resource group list.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/briefresourcegroups (the `GetSslVpnResourceGroupList` operationId).
GetSslVpnResourceGroupListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSslVpnResourceGroupListResponse, error)
// GetSslVpnResourceListWithResponse Get SSL VPN resource list
//
// Get SSL VPN resource list.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/briefresources (the `GetSslVpnResourceList` operationId).
GetSslVpnResourceListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSslVpnResourceListResponse, error)
// GetSslVpnUserGroupListWithResponse Get SSL VPN user Group list.
//
// Get SSL VPN user Group list. This interface has been deprecated. Please use the following interfaces instead: Get SSL VPN user Group list V2.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/briefusergroups (the `GetSslVpnUserGroupList` operationId).
GetSslVpnUserGroupListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSslVpnUserGroupListResponse, error)
// DownloadSslVpnCertificateWithResponse Download SSL VPN certificate.
//
// Download SSL VPN certificate. Filename is a UTF-8 string encoded by URL Encoder. This interface has been deprecated. Please use the following interfaces instead: Download Open VPN or SSL VPN certificate.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/certificate (the `DownloadSslVpnCertificate` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DownloadSslVpnCertificateWithResponse(ctx context.Context, omadacId string, siteId string, params *DownloadSslVpnCertificateParams, reqEditors ...RequestEditorFn) (*DownloadSslVpnCertificateResponse, error)
// BatchDeleteLockedSslVpnTunnelWithBodyWithResponse Batch delete SSL VPN locked tunnel
//
// Batch delete SSL VPN locked tunnel.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `BatchDeleteLockedSslVpnTunnel` operationId).
BatchDeleteLockedSslVpnTunnelWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchDeleteLockedSslVpnTunnelResponse, error)
// BatchDeleteLockedSslVpnTunnelWithResponse Batch delete SSL VPN locked tunnel
//
// Batch delete SSL VPN locked tunnel.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `BatchDeleteLockedSslVpnTunnel` operationId).
BatchDeleteLockedSslVpnTunnelWithResponse(ctx context.Context, omadacId string, siteId string, body BatchDeleteLockedSslVpnTunnelJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchDeleteLockedSslVpnTunnelResponse, error)
// GetLockedSslVpnTunnuelsWithResponse Get locked SSL VPN tunnel.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `GetLockedSslVpnTunnuels` operationId).
GetLockedSslVpnTunnuelsWithResponse(ctx context.Context, omadacId string, siteId string, params *GetLockedSslVpnTunnuelsParams, reqEditors ...RequestEditorFn) (*GetLockedSslVpnTunnuelsResponse, error)
// CreateLockedSslVpnTunnuelWithBodyWithResponse Create locked SSL VPN tunnel
//
// Create locked SSL VPN tunnel.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `CreateLockedSslVpnTunnuel` operationId).
CreateLockedSslVpnTunnuelWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLockedSslVpnTunnuelResponse, error)
// CreateLockedSslVpnTunnuelWithResponse Create locked SSL VPN tunnel
//
// Create locked SSL VPN tunnel.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels (the `CreateLockedSslVpnTunnuel` operationId).
CreateLockedSslVpnTunnuelWithResponse(ctx context.Context, omadacId string, siteId string, body CreateLockedSslVpnTunnuelJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLockedSslVpnTunnuelResponse, error)
// DeleteLockedSslVpnTunnelWithResponse Delete SSL VPN locked tunnel
//
// Delete SSL VPN locked tunnel.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels/{lockTunnelId} (the `DeleteLockedSslVpnTunnel` operationId).
DeleteLockedSslVpnTunnelWithResponse(ctx context.Context, omadacId string, siteId string, lockTunnelId string, reqEditors ...RequestEditorFn) (*DeleteLockedSslVpnTunnelResponse, error)
// ModifyLockedSslVpnTunnuelWithBodyWithResponse Modify locked SSL VPN tunnel
//
// Modify locked SSL VPN tunnel.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels/{lockTunnelId} (the `ModifyLockedSslVpnTunnuel` operationId).
ModifyLockedSslVpnTunnuelWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, lockTunnelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyLockedSslVpnTunnuelResponse, error)
// ModifyLockedSslVpnTunnuelWithResponse Modify locked SSL VPN tunnel
//
// Modify locked SSL VPN tunnel.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-tunnels/{lockTunnelId} (the `ModifyLockedSslVpnTunnuel` operationId).
ModifyLockedSslVpnTunnuelWithResponse(ctx context.Context, omadacId string, siteId string, lockTunnelId string, body ModifyLockedSslVpnTunnuelJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyLockedSslVpnTunnuelResponse, error)
// GetGridLockedSslVpnServerUserWithResponse Get locked user list for SSL VPN server
//
// Get locked user list for SSL VPN server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users (the `GetGridLockedSslVpnServerUser` operationId).
GetGridLockedSslVpnServerUserWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridLockedSslVpnServerUserParams, reqEditors ...RequestEditorFn) (*GetGridLockedSslVpnServerUserResponse, error)
// CreateLockedSslVpnUserWithBodyWithResponse Create SSL VPN locked user
//
// Create SSL VPN locked user.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users (the `CreateLockedSslVpnUser` operationId).
CreateLockedSslVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLockedSslVpnUserResponse, error)
// CreateLockedSslVpnUserWithResponse Create SSL VPN locked user
//
// Create SSL VPN locked user.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users (the `CreateLockedSslVpnUser` operationId).
CreateLockedSslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, body CreateLockedSslVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLockedSslVpnUserResponse, error)
// DeleteLockedSslVpnUserWithResponse Delete SSL VPN locked user
//
// Delete SSL VPN locked user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users/{id} (the `DeleteLockedSslVpnUser` operationId).
DeleteLockedSslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeleteLockedSslVpnUserResponse, error)
// ModifyLockedSslVpnUserWithBodyWithResponse Modify SSL VPN locked user
//
// Modify SSL VPN locked user.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users/{id} (the `ModifyLockedSslVpnUser` operationId).
ModifyLockedSslVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyLockedSslVpnUserResponse, error)
// ModifyLockedSslVpnUserWithResponse Modify SSL VPN locked user
//
// Modify SSL VPN locked user.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/locked-users/{id} (the `ModifyLockedSslVpnUser` operationId).
ModifyLockedSslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifyLockedSslVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyLockedSslVpnUserResponse, error)
// GetRadiusServerInfoWithResponse Get radius server for SSL VPN server
//
// Get radius server for SSL VPN server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/radius (the `GetRadiusServerInfo` operationId).
GetRadiusServerInfoWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetRadiusServerInfoResponse, error)
// GetGridSslVpnServerResourceGroupWithResponse Get resource group list for SSL VPN server
//
// Get resource group list for SSL VPN server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups (the `GetGridSslVpnServerResourceGroup` operationId).
GetGridSslVpnServerResourceGroupWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridSslVpnServerResourceGroupParams, reqEditors ...RequestEditorFn) (*GetGridSslVpnServerResourceGroupResponse, error)
// CreateSslVpnResourceGroupWithBodyWithResponse Create SSL VPN resource group
//
// Create SSL VPN tunnel resource group.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups (the `CreateSslVpnResourceGroup` operationId).
CreateSslVpnResourceGroupWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSslVpnResourceGroupResponse, error)
// CreateSslVpnResourceGroupWithResponse Create SSL VPN resource group
//
// Create SSL VPN tunnel resource group.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups (the `CreateSslVpnResourceGroup` operationId).
CreateSslVpnResourceGroupWithResponse(ctx context.Context, omadacId string, siteId string, body CreateSslVpnResourceGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSslVpnResourceGroupResponse, error)
// DeleteSslVpnResourceGroupWithResponse Delete SSL VPN resource group
//
// Delete SSL VPN tunnel resource group.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups/{id} (the `DeleteSslVpnResourceGroup` operationId).
DeleteSslVpnResourceGroupWithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeleteSslVpnResourceGroupResponse, error)
// ModifySslVpnResourceGroupWithBodyWithResponse Modify SSL VPN resource group
//
// Modify SSL VPN tunnel resource group.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups/{id} (the `ModifySslVpnResourceGroup` operationId).
ModifySslVpnResourceGroupWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySslVpnResourceGroupResponse, error)
// ModifySslVpnResourceGroupWithResponse Modify SSL VPN resource group
//
// Modify SSL VPN tunnel resource group.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resource-groups/{id} (the `ModifySslVpnResourceGroup` operationId).
ModifySslVpnResourceGroupWithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifySslVpnResourceGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySslVpnResourceGroupResponse, error)
// GetGridSslVpnServerResourceWithResponse Get resource list for SSL VPN server
//
// Get resource list for SSL VPN server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources (the `GetGridSslVpnServerResource` operationId).
GetGridSslVpnServerResourceWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridSslVpnServerResourceParams, reqEditors ...RequestEditorFn) (*GetGridSslVpnServerResourceResponse, error)
// CreateSslVpnResourceWithBodyWithResponse Create SSL VPN resource
//
// Create SSL VPN tunnel resource.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources (the `CreateSslVpnResource` operationId).
CreateSslVpnResourceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSslVpnResourceResponse, error)
// CreateSslVpnResourceWithResponse Create SSL VPN resource
//
// Create SSL VPN tunnel resource.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources (the `CreateSslVpnResource` operationId).
CreateSslVpnResourceWithResponse(ctx context.Context, omadacId string, siteId string, body CreateSslVpnResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSslVpnResourceResponse, error)
// DeleteSslVpnResourceWithResponse Delete SSL VPN resource
//
// Delete SSL VPN tunnel resource.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources/{id} (the `DeleteSslVpnResource` operationId).
DeleteSslVpnResourceWithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeleteSslVpnResourceResponse, error)
// ModifySslVpnResourceWithBodyWithResponse Modify SSL VPN resource
//
// Modify SSL VPN tunnel resource.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources/{id} (the `ModifySslVpnResource` operationId).
ModifySslVpnResourceWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySslVpnResourceResponse, error)
// ModifySslVpnResourceWithResponse Modify SSL VPN resource
//
// Modify SSL VPN tunnel resource.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/resources/{id} (the `ModifySslVpnResource` operationId).
ModifySslVpnResourceWithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifySslVpnResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySslVpnResourceResponse, error)
// GetSslVpnServerSettingWithResponse Get SSL VPN server setting
//
// Get SSL VPN server setting.This interface has been deprecated. Please use the following interfaces instead: Get VPN Server summary list and Get client-to-site VPN server detail info.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/setting (the `GetSslVpnServerSetting` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetSslVpnServerSettingWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetSslVpnServerSettingResponse, error)
// ModifySslVpnServerSettingWithBodyWithResponse Modify SSL VPN server setting
//
// Get SSL VPN server setting. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN server V2 or Modify client-to-site VPN server V2.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/setting (the `ModifySslVpnServerSetting` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifySslVpnServerSettingWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySslVpnServerSettingResponse, error)
// ModifySslVpnServerSettingWithResponse Modify SSL VPN server setting
//
// Get SSL VPN server setting. This interface has been deprecated. Please use the following interfaces instead: Create client-to-site VPN server V2 or Modify client-to-site VPN server V2.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/setting (the `ModifySslVpnServerSetting` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifySslVpnServerSettingWithResponse(ctx context.Context, omadacId string, siteId string, body ModifySslVpnServerSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySslVpnServerSettingResponse, error)
// BatchDeleteSslVpnUserGroupWithBodyWithResponse Batch delete SSL VPN user group
//
// Batch delete SSL VPN user group.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `BatchDeleteSslVpnUserGroup` operationId).
BatchDeleteSslVpnUserGroupWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchDeleteSslVpnUserGroupResponse, error)
// BatchDeleteSslVpnUserGroupWithResponse Batch delete SSL VPN user group
//
// Batch delete SSL VPN user group.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `BatchDeleteSslVpnUserGroup` operationId).
BatchDeleteSslVpnUserGroupWithResponse(ctx context.Context, omadacId string, siteId string, body BatchDeleteSslVpnUserGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchDeleteSslVpnUserGroupResponse, error)
// GetGridSslVpnServerUserGroupWithResponse Get user group list for SSL VPN server
//
// Get user group list for SSL VPN server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `GetGridSslVpnServerUserGroup` operationId).
GetGridSslVpnServerUserGroupWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridSslVpnServerUserGroupParams, reqEditors ...RequestEditorFn) (*GetGridSslVpnServerUserGroupResponse, error)
// CreateSslVpnUserGroupWithBodyWithResponse Create SSL VPN user group
//
// Create SSL VPN user group.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `CreateSslVpnUserGroup` operationId).
CreateSslVpnUserGroupWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSslVpnUserGroupResponse, error)
// CreateSslVpnUserGroupWithResponse Create SSL VPN user group
//
// Create SSL VPN user group.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups (the `CreateSslVpnUserGroup` operationId).
CreateSslVpnUserGroupWithResponse(ctx context.Context, omadacId string, siteId string, body CreateSslVpnUserGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSslVpnUserGroupResponse, error)
// DeleteSslVpnUserGroupWithResponse Delete SSL VPN user group
//
// Delete SSL VPN user group.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups/{id} (the `DeleteSslVpnUserGroup` operationId).
DeleteSslVpnUserGroupWithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeleteSslVpnUserGroupResponse, error)
// ModifySslVpnUserGroupWithBodyWithResponse Modify SSL VPN user group
//
// Modify SSL VPN user group.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups/{id} (the `ModifySslVpnUserGroup` operationId).
ModifySslVpnUserGroupWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySslVpnUserGroupResponse, error)
// ModifySslVpnUserGroupWithResponse Modify SSL VPN user group
//
// Modify SSL VPN user group.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/user-groups/{id} (the `ModifySslVpnUserGroup` operationId).
ModifySslVpnUserGroupWithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifySslVpnUserGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySslVpnUserGroupResponse, error)
// GetGridSslVpnUserInGroupWithResponse Get SSL VPN user list in group.
//
// Get SSL VPN user list in group. This interface has been deprecated. Please use the following interfaces instead: Get SSL VPN user list in group V2.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/usergroups/{userGroupId}/users (the `GetGridSslVpnUserInGroup` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetGridSslVpnUserInGroupWithResponse(ctx context.Context, omadacId string, siteId string, userGroupId string, params *GetGridSslVpnUserInGroupParams, reqEditors ...RequestEditorFn) (*GetGridSslVpnUserInGroupResponse, error)
// GetGridSslVpnServerUserWithResponse Get user list for SSL VPN server
//
// Get user list for SSL VPN server. This interface has been deprecated. Please use the following interfaces instead: Get VPN user list V2 or Get user list by VPN server ID.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users (the `GetGridSslVpnServerUser` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetGridSslVpnServerUserWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridSslVpnServerUserParams, reqEditors ...RequestEditorFn) (*GetGridSslVpnServerUserResponse, error)
// CreateSslVpnUserWithBodyWithResponse Create SSL VPN user
//
// Create SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Create VPN user V3.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users (the `CreateSslVpnUser` operationId).
CreateSslVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSslVpnUserResponse, error)
// CreateSslVpnUserWithResponse Create SSL VPN user
//
// Create SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Create VPN user V3.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users (the `CreateSslVpnUser` operationId).
CreateSslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, body CreateSslVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSslVpnUserResponse, error)
// DeleteSslVpnUserWithResponse Delete SSL VPN user
//
// Delete SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Delete VPN user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users/{id} (the `DeleteSslVpnUser` operationId).
DeleteSslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeleteSslVpnUserResponse, error)
// ModifySslVpnUserWithBodyWithResponse Modify SSL VPN user
//
// Modify SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Modify VPN user V3.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users/{id} (the `ModifySslVpnUser` operationId).
ModifySslVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifySslVpnUserResponse, error)
// ModifySslVpnUserWithResponse Modify SSL VPN user
//
// Modify SSL VPN user. This interface has been deprecated. Please use the following interfaces instead: Modify VPN user V3.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/ssl-vpn-server/users/{id} (the `ModifySslVpnUser` operationId).
ModifySslVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifySslVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySslVpnUserResponse, error)
// DisconnectSslVpnTunnelWithResponse Disconnect SSL VPN tunnel
//
// Disconnect SSL VPN tunnel by VPN ID.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/stats/sslvpn/tunnel/{tunnelId}/disconnect (the `DisconnectSslVpnTunnel` operationId).
DisconnectSslVpnTunnelWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*DisconnectSslVpnTunnelResponse, error)
// LockSslVpnTunnelWithResponse Lock SSL VPN tunnel
//
// Lock SSL VPN tunnel by VPN ID.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/stats/sslvpn/tunnel/{tunnelId}/lock (the `LockSslVpnTunnel` operationId).
LockSslVpnTunnelWithResponse(ctx context.Context, omadacId string, siteId string, tunnelId string, reqEditors ...RequestEditorFn) (*LockSslVpnTunnelResponse, error)
// GetVpnUserServerListWithResponse Get VPN server list for user
//
// Get VPN server list for user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/userServers (the `GetVpnUserServerList` operationId).
GetVpnUserServerListWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetVpnUserServerListResponse, error)
// GetBriefVpnUserByServerIdListWithResponse Get brief VPN user list by VPN server ID without page
//
// Get brief VPN user list by VPN server ID without page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/userlist/server/{serverId} (the `GetBriefVpnUserByServerIdList` operationId).
GetBriefVpnUserByServerIdListWithResponse(ctx context.Context, omadacId string, siteId string, serverId string, reqEditors ...RequestEditorFn) (*GetBriefVpnUserByServerIdListResponse, error)
// GetVpnUserListWithResponse Get VPN user list without page
//
// Get VPN user list without page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/userlist/{protocol} (the `GetVpnUserList` operationId).
GetVpnUserListWithResponse(ctx context.Context, omadacId string, siteId string, protocol string, reqEditors ...RequestEditorFn) (*GetVpnUserListResponse, error)
// BatchDeleteVpnUserWithBodyWithResponse Batch delete VPN user
//
// Batch delete VPN user.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `BatchDeleteVpnUser` operationId).
BatchDeleteVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchDeleteVpnUserResponse, error)
// BatchDeleteVpnUserWithResponse Batch delete VPN user
//
// Batch delete VPN user.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `BatchDeleteVpnUser` operationId).
BatchDeleteVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, body BatchDeleteVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchDeleteVpnUserResponse, error)
// GetGridVpnUserWithResponse Get VPN user list
//
// Get VPN user list. This interface has been deprecated. Please use the following interfaces instead: Get VPN user list V2. This interface had been deprecated.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `GetGridVpnUser` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetGridVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridVpnUserParams, reqEditors ...RequestEditorFn) (*GetGridVpnUserResponse, error)
// CreateVpnUserWithBodyWithResponse Create VPN user
//
// Create VPN user. This interface has been deprecated. Please use the following interface instead: Create VPN user V2. This interface had been deprecated.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUser` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVpnUserResponse, error)
// CreateVpnUserWithResponse Create VPN user
//
// Create VPN user. This interface has been deprecated. Please use the following interface instead: Create VPN user V2. This interface had been deprecated.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUser` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, body CreateVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVpnUserResponse, error)
// DeleteVpnUserWithResponse Delete VPN user
//
// Delete VPN user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `DeleteVpnUser` operationId).
DeleteVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, userId string, reqEditors ...RequestEditorFn) (*DeleteVpnUserResponse, error)
// ModifyVpnUserWithBodyWithResponse Modify VPN user
//
// Modify VPN user. This interface has been deprecated. Please use the following interface instead: Modify VPN user V3. This interface had been deprecated.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUser` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyVpnUserWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyVpnUserResponse, error)
// ModifyVpnUserWithResponse Modify VPN user
//
// Modify VPN user. This interface has been deprecated. Please use the following interface instead: Modify VPN user V3. This interface had been deprecated.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUser` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyVpnUserWithResponse(ctx context.Context, omadacId string, siteId string, userId string, body ModifyVpnUserJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyVpnUserResponse, error)
// GetWireguardKeyWithResponse Get new private key and public key
//
// Get new private key and public key.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-key (the `GetWireguardKey` operationId).
GetWireguardKeyWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetWireguardKeyResponse, error)
// ListPeerWithResponse Get wireguard peer list
//
// Get wireguard peer list. This interface has been deprecated. Please use the following interfaces instead: Get site-to-site VPN detail info.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers (the `ListPeer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ListPeerWithResponse(ctx context.Context, omadacId string, siteId string, params *ListPeerParams, reqEditors ...RequestEditorFn) (*ListPeerResponse, error)
// CreatePeerWithBodyWithResponse Create new wireguard peer
//
// Create new wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual or Modify site-to-site VPN by manual.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers (the `CreatePeer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreatePeerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePeerResponse, error)
// CreatePeerWithResponse Create new wireguard peer
//
// Create new wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual or Modify site-to-site VPN by manual.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers (the `CreatePeer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreatePeerWithResponse(ctx context.Context, omadacId string, siteId string, body CreatePeerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePeerResponse, error)
// DeletePeerWithResponse Delete an existing wireguard peer
//
// Delete an existing wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers/{id} (the `DeletePeer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DeletePeerWithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeletePeerResponse, error)
// ModifyPeerWithBodyWithResponse Modify an existing wireguard peer
//
// Modify an existing wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers/{id} (the `ModifyPeer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyPeerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyPeerResponse, error)
// ModifyPeerWithResponse Modify an existing wireguard peer
//
// Modify an existing wireguard peer. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-peers/{id} (the `ModifyPeer` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyPeerWithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifyPeerJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyPeerResponse, error)
// GetWireguardSummaryWithResponse Get all wireguard's id and name info
//
// Get all wireguard's id and name info.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguard-summarys (the `GetWireguardSummary` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetWireguardSummaryWithResponse(ctx context.Context, omadacId string, siteId string, reqEditors ...RequestEditorFn) (*GetWireguardSummaryResponse, error)
// ListWireguardWithResponse Get wireguard list
//
// Get wireguard list. This interface has been deprecated. Please use the following interfaces instead: Get VPN Site to Site summary list and Get site-to-site VPN detail info.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards (the `ListWireguard` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ListWireguardWithResponse(ctx context.Context, omadacId string, siteId string, params *ListWireguardParams, reqEditors ...RequestEditorFn) (*ListWireguardResponse, error)
// CreateWireguardWithBodyWithResponse Create new wireguard
//
// Create new wireguard. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards (the `CreateWireguard` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateWireguardWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWireguardResponse, error)
// CreateWireguardWithResponse Create new wireguard
//
// Create new wireguard. This interface has been deprecated. Please use the following interfaces instead: Create site-to-site VPN by manual.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards (the `CreateWireguard` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateWireguardWithResponse(ctx context.Context, omadacId string, siteId string, body CreateWireguardJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWireguardResponse, error)
// DeleteWireguardWithResponse Delete an existing wireguard
//
// Delete an existing wireguard. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards/{id} (the `DeleteWireguard` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DeleteWireguardWithResponse(ctx context.Context, omadacId string, siteId string, id string, reqEditors ...RequestEditorFn) (*DeleteWireguardResponse, error)
// ModifyWireguardWithBodyWithResponse Modify an existing wireguard
//
// Modify an existing wireguard. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards/{id} (the `ModifyWireguard` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyWireguardWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyWireguardResponse, error)
// ModifyWireguardWithResponse Modify an existing wireguard
//
// Modify an existing wireguard. This interface has been deprecated. Please use the following interfaces instead: Modify site-to-site VPN by manual.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /openapi/v1/{omadacId}/sites/{siteId}/vpn/wireguards/{id} (the `ModifyWireguard` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyWireguardWithResponse(ctx context.Context, omadacId string, siteId string, id string, body ModifyWireguardJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyWireguardResponse, error)
// DeleteVpnWithResponse Delete VPN
//
// Delete VPN. This interface has been deprecated. Please use the following interfaces instead: Delete VPN V2. This interface had been deprecated.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v1/{omadacId}/sites/{siteId}/vpn/{vpnId} (the `DeleteVpn` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DeleteVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*DeleteVpnResponse, error)
// CheckUsedVpnWithResponse Check used function for single VPN item
//
// Check used function for single VPN item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v1/{omadacId}/sites/{siteId}/vpn/{vpnId}/checkUsed (the `CheckUsedVpn` operationId).
CheckUsedVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*CheckUsedVpnResponse, error)
// ModifyClientStatusWithBodyWithResponse Modify VPN status
//
// Modify VPN status.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/{vpnId}/status (the `ModifyClientStatus` operationId).
ModifyClientStatusWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyClientStatusResponse, error)
// ModifyClientStatusWithResponse Modify VPN status
//
// Modify VPN status.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v1/{omadacId}/sites/{siteId}/vpn/{vpnId}/status (the `ModifyClientStatus` operationId).
ModifyClientStatusWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyClientStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyClientStatusResponse, error)
// UploadVpnCertificateFileV2WithBodyWithResponse Upload VPN certificate file V2
//
// Upload VPN certificate file.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v2/{omadacId}/files/sites/{siteId}/vpn/certificate (the `UploadVpnCertificateFileV2` operationId).
UploadVpnCertificateFileV2WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadVpnCertificateFileV2Response, error)
// GetGridVpnClientV2WithResponse Get VPN Client summary list
//
// Get VPN Client summary list.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `GetGridVpnClientV2` operationId).
GetGridVpnClientV2WithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridVpnClientV2Params, reqEditors ...RequestEditorFn) (*GetGridVpnClientV2Response, error)
// CreateVpnClientWithBodyWithResponse Create client-to-site VPN client V2
//
// Create client-to-site VPN client.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `CreateVpnClient` operationId).
CreateVpnClientWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVpnClientResponse, error)
// CreateVpnClientWithResponse Create client-to-site VPN client V2
//
// Create client-to-site VPN client.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients (the `CreateVpnClient` operationId).
CreateVpnClientWithResponse(ctx context.Context, omadacId string, siteId string, body CreateVpnClientJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVpnClientResponse, error)
// GetVpnClientDetailInfoWithResponse Get client-to-site VPN client detail info
//
// Get client-to-site VPN client detail information by VPN ID.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `GetVpnClientDetailInfo` operationId).
GetVpnClientDetailInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*GetVpnClientDetailInfoResponse, error)
// ModifyVpnClientWithBodyWithResponse Modify client-to-site VPN client V2
//
// Modify client-to-site VPN client.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `ModifyVpnClient` operationId).
ModifyVpnClientWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyVpnClientResponse, error)
// ModifyVpnClientWithResponse Modify client-to-site VPN client V2
//
// Modify client-to-site VPN client.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-clients/{vpnId} (the `ModifyVpnClient` operationId).
ModifyVpnClientWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyVpnClientJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyVpnClientResponse, error)
// GetGridVpnServerV2WithResponse Get VPN Server summary list
//
// Get VPN Server summary list.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `GetGridVpnServerV2` operationId).
GetGridVpnServerV2WithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridVpnServerV2Params, reqEditors ...RequestEditorFn) (*GetGridVpnServerV2Response, error)
// CreateVpnServerWithBodyWithResponse Create client-to-site VPN server V2
//
// Create client-to-site VPN server V2.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `CreateVpnServer` operationId).
CreateVpnServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVpnServerResponse, error)
// CreateVpnServerWithResponse Create client-to-site VPN server V2
//
// Create client-to-site VPN server V2.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers (the `CreateVpnServer` operationId).
CreateVpnServerWithResponse(ctx context.Context, omadacId string, siteId string, body CreateVpnServerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVpnServerResponse, error)
// GetVpnServerDetailInfoWithResponse Get client-to-site VPN server detail info
//
// Get client-to-site VPN server detail information by VPN ID.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `GetVpnServerDetailInfo` operationId).
GetVpnServerDetailInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*GetVpnServerDetailInfoResponse, error)
// ModifyVpnServerWithBodyWithResponse Modify client-to-site VPN server V2
//
// Modify client-to-site VPN server V2.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `ModifyVpnServer` operationId).
ModifyVpnServerWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyVpnServerResponse, error)
// ModifyVpnServerWithResponse Modify client-to-site VPN server V2
//
// Modify client-to-site VPN server V2.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/client-to-site-vpn-servers/{vpnId} (the `ModifyVpnServer` operationId).
ModifyVpnServerWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyVpnServerJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyVpnServerResponse, error)
// GetGridVpnS2SV2WithResponse Get VPN Site to Site summary list
//
// Get VPN Site to Site summary list.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `GetGridVpnS2SV2` operationId).
GetGridVpnS2SV2WithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridVpnS2SV2Params, reqEditors ...RequestEditorFn) (*GetGridVpnS2SV2Response, error)
// CreateS2SManualVpnWithBodyWithResponse Create site-to-site VPN by manual
//
// Create site-to-site VPN by manual.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `CreateS2SManualVpn` operationId).
CreateS2SManualVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateS2SManualVpnResponse, error)
// CreateS2SManualVpnWithResponse Create site-to-site VPN by manual
//
// Create site-to-site VPN by manual.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns (the `CreateS2SManualVpn` operationId).
CreateS2SManualVpnWithResponse(ctx context.Context, omadacId string, siteId string, body CreateS2SManualVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateS2SManualVpnResponse, error)
// CreateS2SAutoVpnWithBodyWithResponse Create site-to-site VPN by auto
//
// Create site-to-site VPN by auto.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/auto (the `CreateS2SAutoVpn` operationId).
CreateS2SAutoVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateS2SAutoVpnResponse, error)
// CreateS2SAutoVpnWithResponse Create site-to-site VPN by auto
//
// Create site-to-site VPN by auto.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/auto (the `CreateS2SAutoVpn` operationId).
CreateS2SAutoVpnWithResponse(ctx context.Context, omadacId string, siteId string, body CreateS2SAutoVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateS2SAutoVpnResponse, error)
// ModifyS2SAutoVpnWithBodyWithResponse Modify site-to-site VPN by auto
//
// Modify site-to-site VPN by auto.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/auto/{vpnId} (the `ModifyS2SAutoVpn` operationId).
ModifyS2SAutoVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyS2SAutoVpnResponse, error)
// ModifyS2SAutoVpnWithResponse Modify site-to-site VPN by auto
//
// Modify site-to-site VPN by auto.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/auto/{vpnId} (the `ModifyS2SAutoVpn` operationId).
ModifyS2SAutoVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyS2SAutoVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyS2SAutoVpnResponse, error)
// GetVpnS2SDetailInfoWithResponse Get site-to-site VPN detail info
//
// Get site-to-site VPN detail information by VPN ID.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `GetVpnS2SDetailInfo` operationId).
GetVpnS2SDetailInfoWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*GetVpnS2SDetailInfoResponse, error)
// ModifyS2SManualVpnWithBodyWithResponse Modify site-to-site VPN by manual
//
// Modify site-to-site VPN by manual.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `ModifyS2SManualVpn` operationId).
ModifyS2SManualVpnWithBodyWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyS2SManualVpnResponse, error)
// ModifyS2SManualVpnWithResponse Modify site-to-site VPN by manual
//
// Modify site-to-site VPN by manual.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/site-to-site-vpns/{vpnId} (the `ModifyS2SManualVpn` operationId).
ModifyS2SManualVpnWithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, body ModifyS2SManualVpnJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyS2SManualVpnResponse, error)
// GetGridSslVpnUserInGroupV2WithResponse Get SSL VPN user list in group V2.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/usergroups/{userGroupId}/users (the `GetGridSslVpnUserInGroupV2` operationId).
GetGridSslVpnUserInGroupV2WithResponse(ctx context.Context, omadacId string, siteId string, userGroupId string, params *GetGridSslVpnUserInGroupV2Params, reqEditors ...RequestEditorFn) (*GetGridSslVpnUserInGroupV2Response, error)
// GetGridVpnUserV2WithResponse Get VPN user list V2
//
// Get VPN user list V2.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v2/{omadacId}/sites/{siteId}/vpn/users (the `GetGridVpnUserV2` operationId).
GetGridVpnUserV2WithResponse(ctx context.Context, omadacId string, siteId string, params *GetGridVpnUserV2Params, reqEditors ...RequestEditorFn) (*GetGridVpnUserV2Response, error)
// CreateVpnUserV2WithBodyWithResponse Create VPN user V2
//
// Create VPN user. This interface has been deprecated. Please use the following interfaces instead: Create VPN user V3. This interface had been deprecated.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUserV2` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateVpnUserV2WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVpnUserV2Response, error)
// CreateVpnUserV2WithResponse Create VPN user V2
//
// Create VPN user. This interface has been deprecated. Please use the following interfaces instead: Create VPN user V3. This interface had been deprecated.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v2/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUserV2` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateVpnUserV2WithResponse(ctx context.Context, omadacId string, siteId string, body CreateVpnUserV2JSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVpnUserV2Response, error)
// ModifyVpnUserV2WithBodyWithResponse Modify VPN user V2
//
// Modify VPN user. This interface has been deprecated. Please use the following interfaces instead: Modify VPN user V3. This interface had been deprecated.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUserV2` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyVpnUserV2WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyVpnUserV2Response, error)
// ModifyVpnUserV2WithResponse Modify VPN user V2
//
// Modify VPN user. This interface has been deprecated. Please use the following interfaces instead: Modify VPN user V3. This interface had been deprecated.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v2/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUserV2` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ModifyVpnUserV2WithResponse(ctx context.Context, omadacId string, siteId string, userId string, body ModifyVpnUserV2JSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyVpnUserV2Response, error)
// DeleteVpnV2WithResponse Delete VPN V2
//
// Delete VPN V2.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /openapi/v2/{omadacId}/sites/{siteId}/vpn/{vpnId} (the `DeleteVpnV2` operationId).
DeleteVpnV2WithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, reqEditors ...RequestEditorFn) (*DeleteVpnV2Response, error)
// CreateVpnUserV3WithBodyWithResponse Create VPN user V3
//
// Create VPN user.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v3/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUserV3` operationId).
CreateVpnUserV3WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVpnUserV3Response, error)
// CreateVpnUserV3WithResponse Create VPN user V3
//
// Create VPN user.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /openapi/v3/{omadacId}/sites/{siteId}/vpn/users (the `CreateVpnUserV3` operationId).
CreateVpnUserV3WithResponse(ctx context.Context, omadacId string, siteId string, body CreateVpnUserV3JSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVpnUserV3Response, error)
// ModifyVpnUserV3WithBodyWithResponse Modify VPN user V3
//
// Modify VPN user.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v3/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUserV3` operationId).
ModifyVpnUserV3WithBodyWithResponse(ctx context.Context, omadacId string, siteId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyVpnUserV3Response, error)
// ModifyVpnUserV3WithResponse Modify VPN user V3
//
// Modify VPN user.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /openapi/v3/{omadacId}/sites/{siteId}/vpn/users/{userId} (the `ModifyVpnUserV3` operationId).
ModifyVpnUserV3WithResponse(ctx context.Context, omadacId string, siteId string, userId string, body ModifyVpnUserV3JSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyVpnUserV3Response, error)
// GetVpnServerUserListV3WithResponse Get user list by VPN server ID
//
// Get user list by VPN server ID.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /openapi/v3/{omadacId}/sites/{siteId}/vpn/{vpnId}/users (the `GetVpnServerUserListV3` operationId).
GetVpnServerUserListV3WithResponse(ctx context.Context, omadacId string, siteId string, vpnId string, params *GetVpnServerUserListV3Params, reqEditors ...RequestEditorFn) (*GetVpnServerUserListV3Response, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ClientsQueryMacAndFilterType ¶
type ClientsQueryMacAndFilterType struct {
// FilterType Filter type
FilterType *string `json:"filterType,omitempty"`
// Mac Device mac
Mac *string `json:"mac,omitempty"`
}
ClientsQueryMacAndFilterType Topology clients query mac and filter type.
type CreateClientToSiteVpnClientJSONRequestBody
deprecated
type CreateClientToSiteVpnClientJSONRequestBody = ClientToSiteVpnClient
CreateClientToSiteVpnClientJSONRequestBody defines body for CreateClientToSiteVpnClient for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type CreateClientToSiteVpnClientResponse ¶
func ParseCreateClientToSiteVpnClientResponse ¶
func ParseCreateClientToSiteVpnClientResponse(rsp *http.Response) (*CreateClientToSiteVpnClientResponse, error)
ParseCreateClientToSiteVpnClientResponse parses an HTTP response from a CreateClientToSiteVpnClientWithResponse call
func (CreateClientToSiteVpnClientResponse) ContentType ¶
func (r CreateClientToSiteVpnClientResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateClientToSiteVpnClientResponse) GetBody ¶
func (r CreateClientToSiteVpnClientResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateClientToSiteVpnClientResponse) Status ¶
func (r CreateClientToSiteVpnClientResponse) Status() string
Status returns HTTPResponse.Status
func (CreateClientToSiteVpnClientResponse) StatusCode ¶
func (r CreateClientToSiteVpnClientResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateClientToSiteVpnServerJSONRequestBody
deprecated
type CreateClientToSiteVpnServerJSONRequestBody = ClientToSiteVpnServer
CreateClientToSiteVpnServerJSONRequestBody defines body for CreateClientToSiteVpnServer for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type CreateClientToSiteVpnServerResponse ¶
func ParseCreateClientToSiteVpnServerResponse ¶
func ParseCreateClientToSiteVpnServerResponse(rsp *http.Response) (*CreateClientToSiteVpnServerResponse, error)
ParseCreateClientToSiteVpnServerResponse parses an HTTP response from a CreateClientToSiteVpnServerWithResponse call
func (CreateClientToSiteVpnServerResponse) ContentType ¶
func (r CreateClientToSiteVpnServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateClientToSiteVpnServerResponse) GetBody ¶
func (r CreateClientToSiteVpnServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateClientToSiteVpnServerResponse) Status ¶
func (r CreateClientToSiteVpnServerResponse) Status() string
Status returns HTTPResponse.Status
func (CreateClientToSiteVpnServerResponse) StatusCode ¶
func (r CreateClientToSiteVpnServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIpsecFailoverJSONRequestBody
deprecated
type CreateIpsecFailoverJSONRequestBody = IPsecFailoverConfiguration
CreateIpsecFailoverJSONRequestBody defines body for CreateIpsecFailover for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type CreateIpsecFailoverResponse ¶
func ParseCreateIpsecFailoverResponse ¶
func ParseCreateIpsecFailoverResponse(rsp *http.Response) (*CreateIpsecFailoverResponse, error)
ParseCreateIpsecFailoverResponse parses an HTTP response from a CreateIpsecFailoverWithResponse call
func (CreateIpsecFailoverResponse) ContentType ¶
func (r CreateIpsecFailoverResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateIpsecFailoverResponse) GetBody ¶
func (r CreateIpsecFailoverResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateIpsecFailoverResponse) Status ¶
func (r CreateIpsecFailoverResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIpsecFailoverResponse) StatusCode ¶
func (r CreateIpsecFailoverResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateLockedSslVpnTunnuelJSONRequestBody ¶
type CreateLockedSslVpnTunnuelJSONRequestBody = SslVpnLockCreateAndModifyOpenApiVO
CreateLockedSslVpnTunnuelJSONRequestBody defines body for CreateLockedSslVpnTunnuel for application/json ContentType.
type CreateLockedSslVpnTunnuelResponse ¶
func ParseCreateLockedSslVpnTunnuelResponse ¶
func ParseCreateLockedSslVpnTunnuelResponse(rsp *http.Response) (*CreateLockedSslVpnTunnuelResponse, error)
ParseCreateLockedSslVpnTunnuelResponse parses an HTTP response from a CreateLockedSslVpnTunnuelWithResponse call
func (CreateLockedSslVpnTunnuelResponse) ContentType ¶
func (r CreateLockedSslVpnTunnuelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateLockedSslVpnTunnuelResponse) GetBody ¶
func (r CreateLockedSslVpnTunnuelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateLockedSslVpnTunnuelResponse) Status ¶
func (r CreateLockedSslVpnTunnuelResponse) Status() string
Status returns HTTPResponse.Status
func (CreateLockedSslVpnTunnuelResponse) StatusCode ¶
func (r CreateLockedSslVpnTunnuelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateLockedSslVpnUserJSONRequestBody ¶
type CreateLockedSslVpnUserJSONRequestBody = SslVpnLockConfigOpenApiVO
CreateLockedSslVpnUserJSONRequestBody defines body for CreateLockedSslVpnUser for application/json ContentType.
type CreateLockedSslVpnUserResponse ¶
func ParseCreateLockedSslVpnUserResponse ¶
func ParseCreateLockedSslVpnUserResponse(rsp *http.Response) (*CreateLockedSslVpnUserResponse, error)
ParseCreateLockedSslVpnUserResponse parses an HTTP response from a CreateLockedSslVpnUserWithResponse call
func (CreateLockedSslVpnUserResponse) ContentType ¶
func (r CreateLockedSslVpnUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateLockedSslVpnUserResponse) GetBody ¶
func (r CreateLockedSslVpnUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateLockedSslVpnUserResponse) Status ¶
func (r CreateLockedSslVpnUserResponse) Status() string
Status returns HTTPResponse.Status
func (CreateLockedSslVpnUserResponse) StatusCode ¶
func (r CreateLockedSslVpnUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePeerJSONRequestBody
deprecated
type CreatePeerJSONRequestBody = WireguardPeerOpenApiVO
CreatePeerJSONRequestBody defines body for CreatePeer for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type CreatePeerResponse ¶
func ParseCreatePeerResponse ¶
func ParseCreatePeerResponse(rsp *http.Response) (*CreatePeerResponse, error)
ParseCreatePeerResponse parses an HTTP response from a CreatePeerWithResponse call
func (CreatePeerResponse) ContentType ¶
func (r CreatePeerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreatePeerResponse) GetBody ¶
func (r CreatePeerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreatePeerResponse) Status ¶
func (r CreatePeerResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePeerResponse) StatusCode ¶
func (r CreatePeerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateS2SAutoVpnJSONRequestBody ¶
type CreateS2SAutoVpnJSONRequestBody = VpnSiteToSiteAutoConfigOpenApiVO
CreateS2SAutoVpnJSONRequestBody defines body for CreateS2SAutoVpn for application/json ContentType.
type CreateS2SAutoVpnResponse ¶
func ParseCreateS2SAutoVpnResponse ¶
func ParseCreateS2SAutoVpnResponse(rsp *http.Response) (*CreateS2SAutoVpnResponse, error)
ParseCreateS2SAutoVpnResponse parses an HTTP response from a CreateS2SAutoVpnWithResponse call
func (CreateS2SAutoVpnResponse) ContentType ¶
func (r CreateS2SAutoVpnResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateS2SAutoVpnResponse) GetBody ¶
func (r CreateS2SAutoVpnResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateS2SAutoVpnResponse) Status ¶
func (r CreateS2SAutoVpnResponse) Status() string
Status returns HTTPResponse.Status
func (CreateS2SAutoVpnResponse) StatusCode ¶
func (r CreateS2SAutoVpnResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateS2SManualVpnJSONRequestBody ¶
type CreateS2SManualVpnJSONRequestBody = VpnSiteToSiteManualConfigOpenApiVO
CreateS2SManualVpnJSONRequestBody defines body for CreateS2SManualVpn for application/json ContentType.
type CreateS2SManualVpnResponse ¶
func ParseCreateS2SManualVpnResponse ¶
func ParseCreateS2SManualVpnResponse(rsp *http.Response) (*CreateS2SManualVpnResponse, error)
ParseCreateS2SManualVpnResponse parses an HTTP response from a CreateS2SManualVpnWithResponse call
func (CreateS2SManualVpnResponse) ContentType ¶
func (r CreateS2SManualVpnResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateS2SManualVpnResponse) GetBody ¶
func (r CreateS2SManualVpnResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateS2SManualVpnResponse) Status ¶
func (r CreateS2SManualVpnResponse) Status() string
Status returns HTTPResponse.Status
func (CreateS2SManualVpnResponse) StatusCode ¶
func (r CreateS2SManualVpnResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSiteToSiteVpnJSONRequestBody
deprecated
type CreateSiteToSiteVpnJSONRequestBody = SiteToSiteVpn
CreateSiteToSiteVpnJSONRequestBody defines body for CreateSiteToSiteVpn for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type CreateSiteToSiteVpnResponse ¶
func ParseCreateSiteToSiteVpnResponse ¶
func ParseCreateSiteToSiteVpnResponse(rsp *http.Response) (*CreateSiteToSiteVpnResponse, error)
ParseCreateSiteToSiteVpnResponse parses an HTTP response from a CreateSiteToSiteVpnWithResponse call
func (CreateSiteToSiteVpnResponse) ContentType ¶
func (r CreateSiteToSiteVpnResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSiteToSiteVpnResponse) GetBody ¶
func (r CreateSiteToSiteVpnResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSiteToSiteVpnResponse) Status ¶
func (r CreateSiteToSiteVpnResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSiteToSiteVpnResponse) StatusCode ¶
func (r CreateSiteToSiteVpnResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSslVpnResourceGroupJSONRequestBody ¶
type CreateSslVpnResourceGroupJSONRequestBody = SslVpnResourceGroupConfigOpenApiVO
CreateSslVpnResourceGroupJSONRequestBody defines body for CreateSslVpnResourceGroup for application/json ContentType.
type CreateSslVpnResourceGroupResponse ¶
func ParseCreateSslVpnResourceGroupResponse ¶
func ParseCreateSslVpnResourceGroupResponse(rsp *http.Response) (*CreateSslVpnResourceGroupResponse, error)
ParseCreateSslVpnResourceGroupResponse parses an HTTP response from a CreateSslVpnResourceGroupWithResponse call
func (CreateSslVpnResourceGroupResponse) ContentType ¶
func (r CreateSslVpnResourceGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSslVpnResourceGroupResponse) GetBody ¶
func (r CreateSslVpnResourceGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSslVpnResourceGroupResponse) Status ¶
func (r CreateSslVpnResourceGroupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSslVpnResourceGroupResponse) StatusCode ¶
func (r CreateSslVpnResourceGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSslVpnResourceJSONRequestBody ¶
type CreateSslVpnResourceJSONRequestBody = SslVpnResourceConfigOpenApiVO
CreateSslVpnResourceJSONRequestBody defines body for CreateSslVpnResource for application/json ContentType.
type CreateSslVpnResourceResponse ¶
func ParseCreateSslVpnResourceResponse ¶
func ParseCreateSslVpnResourceResponse(rsp *http.Response) (*CreateSslVpnResourceResponse, error)
ParseCreateSslVpnResourceResponse parses an HTTP response from a CreateSslVpnResourceWithResponse call
func (CreateSslVpnResourceResponse) ContentType ¶
func (r CreateSslVpnResourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSslVpnResourceResponse) GetBody ¶
func (r CreateSslVpnResourceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSslVpnResourceResponse) Status ¶
func (r CreateSslVpnResourceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSslVpnResourceResponse) StatusCode ¶
func (r CreateSslVpnResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSslVpnUserGroupJSONRequestBody ¶
type CreateSslVpnUserGroupJSONRequestBody = SslVpnUserGroupConfigOpenApiVO
CreateSslVpnUserGroupJSONRequestBody defines body for CreateSslVpnUserGroup for application/json ContentType.
type CreateSslVpnUserGroupResponse ¶
func ParseCreateSslVpnUserGroupResponse ¶
func ParseCreateSslVpnUserGroupResponse(rsp *http.Response) (*CreateSslVpnUserGroupResponse, error)
ParseCreateSslVpnUserGroupResponse parses an HTTP response from a CreateSslVpnUserGroupWithResponse call
func (CreateSslVpnUserGroupResponse) ContentType ¶
func (r CreateSslVpnUserGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSslVpnUserGroupResponse) GetBody ¶
func (r CreateSslVpnUserGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSslVpnUserGroupResponse) Status ¶
func (r CreateSslVpnUserGroupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSslVpnUserGroupResponse) StatusCode ¶
func (r CreateSslVpnUserGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSslVpnUserJSONRequestBody ¶
type CreateSslVpnUserJSONRequestBody = SslVpnUserConfigOpenApiVO
CreateSslVpnUserJSONRequestBody defines body for CreateSslVpnUser for application/json ContentType.
type CreateSslVpnUserResponse ¶
func ParseCreateSslVpnUserResponse ¶
func ParseCreateSslVpnUserResponse(rsp *http.Response) (*CreateSslVpnUserResponse, error)
ParseCreateSslVpnUserResponse parses an HTTP response from a CreateSslVpnUserWithResponse call
func (CreateSslVpnUserResponse) ContentType ¶
func (r CreateSslVpnUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSslVpnUserResponse) GetBody ¶
func (r CreateSslVpnUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSslVpnUserResponse) Status ¶
func (r CreateSslVpnUserResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSslVpnUserResponse) StatusCode ¶
func (r CreateSslVpnUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVpnClientJSONRequestBody ¶
type CreateVpnClientJSONRequestBody = VpnClientConfigOpenApiVO
CreateVpnClientJSONRequestBody defines body for CreateVpnClient for application/json ContentType.
type CreateVpnClientResponse ¶
func ParseCreateVpnClientResponse ¶
func ParseCreateVpnClientResponse(rsp *http.Response) (*CreateVpnClientResponse, error)
ParseCreateVpnClientResponse parses an HTTP response from a CreateVpnClientWithResponse call
func (CreateVpnClientResponse) ContentType ¶
func (r CreateVpnClientResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVpnClientResponse) GetBody ¶
func (r CreateVpnClientResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVpnClientResponse) Status ¶
func (r CreateVpnClientResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVpnClientResponse) StatusCode ¶
func (r CreateVpnClientResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVpnServerJSONRequestBody ¶
type CreateVpnServerJSONRequestBody = VpnServerConfigOpenApiVO
CreateVpnServerJSONRequestBody defines body for CreateVpnServer for application/json ContentType.
type CreateVpnServerResponse ¶
func ParseCreateVpnServerResponse ¶
func ParseCreateVpnServerResponse(rsp *http.Response) (*CreateVpnServerResponse, error)
ParseCreateVpnServerResponse parses an HTTP response from a CreateVpnServerWithResponse call
func (CreateVpnServerResponse) ContentType ¶
func (r CreateVpnServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVpnServerResponse) GetBody ¶
func (r CreateVpnServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVpnServerResponse) Status ¶
func (r CreateVpnServerResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVpnServerResponse) StatusCode ¶
func (r CreateVpnServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVpnUserJSONRequestBody
deprecated
type CreateVpnUserJSONRequestBody = VpnUser
CreateVpnUserJSONRequestBody defines body for CreateVpnUser for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type CreateVpnUserResponse ¶
func ParseCreateVpnUserResponse ¶
func ParseCreateVpnUserResponse(rsp *http.Response) (*CreateVpnUserResponse, error)
ParseCreateVpnUserResponse parses an HTTP response from a CreateVpnUserWithResponse call
func (CreateVpnUserResponse) ContentType ¶
func (r CreateVpnUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVpnUserResponse) GetBody ¶
func (r CreateVpnUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVpnUserResponse) Status ¶
func (r CreateVpnUserResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVpnUserResponse) StatusCode ¶
func (r CreateVpnUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVpnUserV2JSONRequestBody
deprecated
type CreateVpnUserV2JSONRequestBody = VpnUserRequest
CreateVpnUserV2JSONRequestBody defines body for CreateVpnUserV2 for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type CreateVpnUserV2Response ¶
func ParseCreateVpnUserV2Response ¶
func ParseCreateVpnUserV2Response(rsp *http.Response) (*CreateVpnUserV2Response, error)
ParseCreateVpnUserV2Response parses an HTTP response from a CreateVpnUserV2WithResponse call
func (CreateVpnUserV2Response) ContentType ¶
func (r CreateVpnUserV2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVpnUserV2Response) GetBody ¶
func (r CreateVpnUserV2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVpnUserV2Response) Status ¶
func (r CreateVpnUserV2Response) Status() string
Status returns HTTPResponse.Status
func (CreateVpnUserV2Response) StatusCode ¶
func (r CreateVpnUserV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVpnUserV3JSONRequestBody ¶
type CreateVpnUserV3JSONRequestBody = VpnUserConfigVO
CreateVpnUserV3JSONRequestBody defines body for CreateVpnUserV3 for application/json ContentType.
type CreateVpnUserV3Response ¶
func ParseCreateVpnUserV3Response ¶
func ParseCreateVpnUserV3Response(rsp *http.Response) (*CreateVpnUserV3Response, error)
ParseCreateVpnUserV3Response parses an HTTP response from a CreateVpnUserV3WithResponse call
func (CreateVpnUserV3Response) ContentType ¶
func (r CreateVpnUserV3Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVpnUserV3Response) GetBody ¶
func (r CreateVpnUserV3Response) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVpnUserV3Response) Status ¶
func (r CreateVpnUserV3Response) Status() string
Status returns HTTPResponse.Status
func (CreateVpnUserV3Response) StatusCode ¶
func (r CreateVpnUserV3Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWireguardJSONRequestBody
deprecated
type CreateWireguardJSONRequestBody = WireguardOpenApiVO
CreateWireguardJSONRequestBody defines body for CreateWireguard for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type CreateWireguardResponse ¶
func ParseCreateWireguardResponse ¶
func ParseCreateWireguardResponse(rsp *http.Response) (*CreateWireguardResponse, error)
ParseCreateWireguardResponse parses an HTTP response from a CreateWireguardWithResponse call
func (CreateWireguardResponse) ContentType ¶
func (r CreateWireguardResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateWireguardResponse) GetBody ¶
func (r CreateWireguardResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateWireguardResponse) Status ¶
func (r CreateWireguardResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWireguardResponse) StatusCode ¶
func (r CreateWireguardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteClientToSiteVpnClientResponse ¶
func ParseDeleteClientToSiteVpnClientResponse ¶
func ParseDeleteClientToSiteVpnClientResponse(rsp *http.Response) (*DeleteClientToSiteVpnClientResponse, error)
ParseDeleteClientToSiteVpnClientResponse parses an HTTP response from a DeleteClientToSiteVpnClientWithResponse call
func (DeleteClientToSiteVpnClientResponse) ContentType ¶
func (r DeleteClientToSiteVpnClientResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteClientToSiteVpnClientResponse) GetBody ¶
func (r DeleteClientToSiteVpnClientResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteClientToSiteVpnClientResponse) Status ¶
func (r DeleteClientToSiteVpnClientResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteClientToSiteVpnClientResponse) StatusCode ¶
func (r DeleteClientToSiteVpnClientResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteClientToSiteVpnServerResponse ¶
func ParseDeleteClientToSiteVpnServerResponse ¶
func ParseDeleteClientToSiteVpnServerResponse(rsp *http.Response) (*DeleteClientToSiteVpnServerResponse, error)
ParseDeleteClientToSiteVpnServerResponse parses an HTTP response from a DeleteClientToSiteVpnServerWithResponse call
func (DeleteClientToSiteVpnServerResponse) ContentType ¶
func (r DeleteClientToSiteVpnServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteClientToSiteVpnServerResponse) GetBody ¶
func (r DeleteClientToSiteVpnServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteClientToSiteVpnServerResponse) Status ¶
func (r DeleteClientToSiteVpnServerResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteClientToSiteVpnServerResponse) StatusCode ¶
func (r DeleteClientToSiteVpnServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIpsecFailoverResponse ¶
func ParseDeleteIpsecFailoverResponse ¶
func ParseDeleteIpsecFailoverResponse(rsp *http.Response) (*DeleteIpsecFailoverResponse, error)
ParseDeleteIpsecFailoverResponse parses an HTTP response from a DeleteIpsecFailoverWithResponse call
func (DeleteIpsecFailoverResponse) ContentType ¶
func (r DeleteIpsecFailoverResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteIpsecFailoverResponse) GetBody ¶
func (r DeleteIpsecFailoverResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteIpsecFailoverResponse) Status ¶
func (r DeleteIpsecFailoverResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIpsecFailoverResponse) StatusCode ¶
func (r DeleteIpsecFailoverResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteLockedSslVpnTunnelResponse ¶
func ParseDeleteLockedSslVpnTunnelResponse ¶
func ParseDeleteLockedSslVpnTunnelResponse(rsp *http.Response) (*DeleteLockedSslVpnTunnelResponse, error)
ParseDeleteLockedSslVpnTunnelResponse parses an HTTP response from a DeleteLockedSslVpnTunnelWithResponse call
func (DeleteLockedSslVpnTunnelResponse) ContentType ¶
func (r DeleteLockedSslVpnTunnelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteLockedSslVpnTunnelResponse) GetBody ¶
func (r DeleteLockedSslVpnTunnelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteLockedSslVpnTunnelResponse) Status ¶
func (r DeleteLockedSslVpnTunnelResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteLockedSslVpnTunnelResponse) StatusCode ¶
func (r DeleteLockedSslVpnTunnelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteLockedSslVpnUserResponse ¶
func ParseDeleteLockedSslVpnUserResponse ¶
func ParseDeleteLockedSslVpnUserResponse(rsp *http.Response) (*DeleteLockedSslVpnUserResponse, error)
ParseDeleteLockedSslVpnUserResponse parses an HTTP response from a DeleteLockedSslVpnUserWithResponse call
func (DeleteLockedSslVpnUserResponse) ContentType ¶
func (r DeleteLockedSslVpnUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteLockedSslVpnUserResponse) GetBody ¶
func (r DeleteLockedSslVpnUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteLockedSslVpnUserResponse) Status ¶
func (r DeleteLockedSslVpnUserResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteLockedSslVpnUserResponse) StatusCode ¶
func (r DeleteLockedSslVpnUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePeerResponse ¶
func ParseDeletePeerResponse ¶
func ParseDeletePeerResponse(rsp *http.Response) (*DeletePeerResponse, error)
ParseDeletePeerResponse parses an HTTP response from a DeletePeerWithResponse call
func (DeletePeerResponse) ContentType ¶
func (r DeletePeerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePeerResponse) GetBody ¶
func (r DeletePeerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeletePeerResponse) Status ¶
func (r DeletePeerResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePeerResponse) StatusCode ¶
func (r DeletePeerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSiteToSiteVpnResponse ¶
func ParseDeleteSiteToSiteVpnResponse ¶
func ParseDeleteSiteToSiteVpnResponse(rsp *http.Response) (*DeleteSiteToSiteVpnResponse, error)
ParseDeleteSiteToSiteVpnResponse parses an HTTP response from a DeleteSiteToSiteVpnWithResponse call
func (DeleteSiteToSiteVpnResponse) ContentType ¶
func (r DeleteSiteToSiteVpnResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSiteToSiteVpnResponse) GetBody ¶
func (r DeleteSiteToSiteVpnResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSiteToSiteVpnResponse) Status ¶
func (r DeleteSiteToSiteVpnResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSiteToSiteVpnResponse) StatusCode ¶
func (r DeleteSiteToSiteVpnResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSslVpnResourceGroupResponse ¶
func ParseDeleteSslVpnResourceGroupResponse ¶
func ParseDeleteSslVpnResourceGroupResponse(rsp *http.Response) (*DeleteSslVpnResourceGroupResponse, error)
ParseDeleteSslVpnResourceGroupResponse parses an HTTP response from a DeleteSslVpnResourceGroupWithResponse call
func (DeleteSslVpnResourceGroupResponse) ContentType ¶
func (r DeleteSslVpnResourceGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSslVpnResourceGroupResponse) GetBody ¶
func (r DeleteSslVpnResourceGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSslVpnResourceGroupResponse) Status ¶
func (r DeleteSslVpnResourceGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSslVpnResourceGroupResponse) StatusCode ¶
func (r DeleteSslVpnResourceGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSslVpnResourceResponse ¶
func ParseDeleteSslVpnResourceResponse ¶
func ParseDeleteSslVpnResourceResponse(rsp *http.Response) (*DeleteSslVpnResourceResponse, error)
ParseDeleteSslVpnResourceResponse parses an HTTP response from a DeleteSslVpnResourceWithResponse call
func (DeleteSslVpnResourceResponse) ContentType ¶
func (r DeleteSslVpnResourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSslVpnResourceResponse) GetBody ¶
func (r DeleteSslVpnResourceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSslVpnResourceResponse) Status ¶
func (r DeleteSslVpnResourceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSslVpnResourceResponse) StatusCode ¶
func (r DeleteSslVpnResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSslVpnUserGroupResponse ¶
func ParseDeleteSslVpnUserGroupResponse ¶
func ParseDeleteSslVpnUserGroupResponse(rsp *http.Response) (*DeleteSslVpnUserGroupResponse, error)
ParseDeleteSslVpnUserGroupResponse parses an HTTP response from a DeleteSslVpnUserGroupWithResponse call
func (DeleteSslVpnUserGroupResponse) ContentType ¶
func (r DeleteSslVpnUserGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSslVpnUserGroupResponse) GetBody ¶
func (r DeleteSslVpnUserGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSslVpnUserGroupResponse) Status ¶
func (r DeleteSslVpnUserGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSslVpnUserGroupResponse) StatusCode ¶
func (r DeleteSslVpnUserGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSslVpnUserResponse ¶
func ParseDeleteSslVpnUserResponse ¶
func ParseDeleteSslVpnUserResponse(rsp *http.Response) (*DeleteSslVpnUserResponse, error)
ParseDeleteSslVpnUserResponse parses an HTTP response from a DeleteSslVpnUserWithResponse call
func (DeleteSslVpnUserResponse) ContentType ¶
func (r DeleteSslVpnUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSslVpnUserResponse) GetBody ¶
func (r DeleteSslVpnUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSslVpnUserResponse) Status ¶
func (r DeleteSslVpnUserResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSslVpnUserResponse) StatusCode ¶
func (r DeleteSslVpnUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVpnResponse ¶
func ParseDeleteVpnResponse ¶
func ParseDeleteVpnResponse(rsp *http.Response) (*DeleteVpnResponse, error)
ParseDeleteVpnResponse parses an HTTP response from a DeleteVpnWithResponse call
func (DeleteVpnResponse) ContentType ¶
func (r DeleteVpnResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVpnResponse) GetBody ¶
func (r DeleteVpnResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVpnResponse) Status ¶
func (r DeleteVpnResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVpnResponse) StatusCode ¶
func (r DeleteVpnResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVpnUserResponse ¶
func ParseDeleteVpnUserResponse ¶
func ParseDeleteVpnUserResponse(rsp *http.Response) (*DeleteVpnUserResponse, error)
ParseDeleteVpnUserResponse parses an HTTP response from a DeleteVpnUserWithResponse call
func (DeleteVpnUserResponse) ContentType ¶
func (r DeleteVpnUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVpnUserResponse) GetBody ¶
func (r DeleteVpnUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVpnUserResponse) Status ¶
func (r DeleteVpnUserResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVpnUserResponse) StatusCode ¶
func (r DeleteVpnUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVpnV2Response ¶
func ParseDeleteVpnV2Response ¶
func ParseDeleteVpnV2Response(rsp *http.Response) (*DeleteVpnV2Response, error)
ParseDeleteVpnV2Response parses an HTTP response from a DeleteVpnV2WithResponse call
func (DeleteVpnV2Response) ContentType ¶
func (r DeleteVpnV2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVpnV2Response) GetBody ¶
func (r DeleteVpnV2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVpnV2Response) Status ¶
func (r DeleteVpnV2Response) Status() string
Status returns HTTPResponse.Status
func (DeleteVpnV2Response) StatusCode ¶
func (r DeleteVpnV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWireguardResponse ¶
func ParseDeleteWireguardResponse ¶
func ParseDeleteWireguardResponse(rsp *http.Response) (*DeleteWireguardResponse, error)
ParseDeleteWireguardResponse parses an HTTP response from a DeleteWireguardWithResponse call
func (DeleteWireguardResponse) ContentType ¶
func (r DeleteWireguardResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteWireguardResponse) GetBody ¶
func (r DeleteWireguardResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteWireguardResponse) Status ¶
func (r DeleteWireguardResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWireguardResponse) StatusCode ¶
func (r DeleteWireguardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DisconnectSslVpnTunnelResponse ¶
func ParseDisconnectSslVpnTunnelResponse ¶
func ParseDisconnectSslVpnTunnelResponse(rsp *http.Response) (*DisconnectSslVpnTunnelResponse, error)
ParseDisconnectSslVpnTunnelResponse parses an HTTP response from a DisconnectSslVpnTunnelWithResponse call
func (DisconnectSslVpnTunnelResponse) ContentType ¶
func (r DisconnectSslVpnTunnelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DisconnectSslVpnTunnelResponse) GetBody ¶
func (r DisconnectSslVpnTunnelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DisconnectSslVpnTunnelResponse) Status ¶
func (r DisconnectSslVpnTunnelResponse) Status() string
Status returns HTTPResponse.Status
func (DisconnectSslVpnTunnelResponse) StatusCode ¶
func (r DisconnectSslVpnTunnelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadSslVpnCertificateParams ¶
type DownloadSslVpnCertificateParams struct {
// WanIp WLAN IP
WanIp string `form:"wanIp" json:"wanIp"`
}
DownloadSslVpnCertificateParams defines parameters for DownloadSslVpnCertificate.
type DownloadSslVpnCertificateResponse ¶
func ParseDownloadSslVpnCertificateResponse ¶
func ParseDownloadSslVpnCertificateResponse(rsp *http.Response) (*DownloadSslVpnCertificateResponse, error)
ParseDownloadSslVpnCertificateResponse parses an HTTP response from a DownloadSslVpnCertificateWithResponse call
func (DownloadSslVpnCertificateResponse) ContentType ¶
func (r DownloadSslVpnCertificateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadSslVpnCertificateResponse) GetBody ¶
func (r DownloadSslVpnCertificateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadSslVpnCertificateResponse) Status ¶
func (r DownloadSslVpnCertificateResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadSslVpnCertificateResponse) StatusCode ¶
func (r DownloadSslVpnCertificateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadVpnCertificateResponse ¶
func ParseDownloadVpnCertificateResponse ¶
func ParseDownloadVpnCertificateResponse(rsp *http.Response) (*DownloadVpnCertificateResponse, error)
ParseDownloadVpnCertificateResponse parses an HTTP response from a DownloadVpnCertificateWithResponse call
func (DownloadVpnCertificateResponse) ContentType ¶
func (r DownloadVpnCertificateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadVpnCertificateResponse) GetBody ¶
func (r DownloadVpnCertificateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadVpnCertificateResponse) Status ¶
func (r DownloadVpnCertificateResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadVpnCertificateResponse) StatusCode ¶
func (r DownloadVpnCertificateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FeatureInfoVO ¶
type FeatureInfoVO struct {
// Changeable If the current gateway does not support this feature, then the [changeable] is false.
Changeable *bool `json:"changeable,omitempty"`
// Feature Gateway feature name.
Feature *string `json:"feature,omitempty"`
// FeatureState Gateway feature status: 0: The current gateway supports this feature. 1: The current gateway does not support this feature, but it is pre-configured. 2: The current gateway does not support this feature.
FeatureState *int32 `json:"featureState,omitempty"`
}
FeatureInfoVO Gateway Feature Description.
type FunctionOpenApiVO ¶
type FunctionOpenApiVO struct {
// Functions Check used function.
Functions *[]string `json:"functions,omitempty"`
}
FunctionOpenApiVO defines model for FunctionOpenApiVO.
type GetAllVpnListResponse ¶
func ParseGetAllVpnListResponse ¶
func ParseGetAllVpnListResponse(rsp *http.Response) (*GetAllVpnListResponse, error)
ParseGetAllVpnListResponse parses an HTTP response from a GetAllVpnListWithResponse call
func (GetAllVpnListResponse) ContentType ¶
func (r GetAllVpnListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAllVpnListResponse) GetBody ¶
func (r GetAllVpnListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAllVpnListResponse) Status ¶
func (r GetAllVpnListResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllVpnListResponse) StatusCode ¶
func (r GetAllVpnListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBriefVpnUserByServerIdListResponse ¶
func ParseGetBriefVpnUserByServerIdListResponse ¶
func ParseGetBriefVpnUserByServerIdListResponse(rsp *http.Response) (*GetBriefVpnUserByServerIdListResponse, error)
ParseGetBriefVpnUserByServerIdListResponse parses an HTTP response from a GetBriefVpnUserByServerIdListWithResponse call
func (GetBriefVpnUserByServerIdListResponse) ContentType ¶
func (r GetBriefVpnUserByServerIdListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBriefVpnUserByServerIdListResponse) GetBody ¶
func (r GetBriefVpnUserByServerIdListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBriefVpnUserByServerIdListResponse) Status ¶
func (r GetBriefVpnUserByServerIdListResponse) Status() string
Status returns HTTPResponse.Status
func (GetBriefVpnUserByServerIdListResponse) StatusCode ¶
func (r GetBriefVpnUserByServerIdListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClientToSiteVpnClientListResponse ¶
func ParseGetClientToSiteVpnClientListResponse ¶
func ParseGetClientToSiteVpnClientListResponse(rsp *http.Response) (*GetClientToSiteVpnClientListResponse, error)
ParseGetClientToSiteVpnClientListResponse parses an HTTP response from a GetClientToSiteVpnClientListWithResponse call
func (GetClientToSiteVpnClientListResponse) ContentType ¶
func (r GetClientToSiteVpnClientListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetClientToSiteVpnClientListResponse) GetBody ¶
func (r GetClientToSiteVpnClientListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetClientToSiteVpnClientListResponse) Status ¶
func (r GetClientToSiteVpnClientListResponse) Status() string
Status returns HTTPResponse.Status
func (GetClientToSiteVpnClientListResponse) StatusCode ¶
func (r GetClientToSiteVpnClientListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClientToSiteVpnServerInfoResponse ¶
func ParseGetClientToSiteVpnServerInfoResponse ¶
func ParseGetClientToSiteVpnServerInfoResponse(rsp *http.Response) (*GetClientToSiteVpnServerInfoResponse, error)
ParseGetClientToSiteVpnServerInfoResponse parses an HTTP response from a GetClientToSiteVpnServerInfoWithResponse call
func (GetClientToSiteVpnServerInfoResponse) ContentType ¶
func (r GetClientToSiteVpnServerInfoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetClientToSiteVpnServerInfoResponse) GetBody ¶
func (r GetClientToSiteVpnServerInfoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetClientToSiteVpnServerInfoResponse) Status ¶
func (r GetClientToSiteVpnServerInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetClientToSiteVpnServerInfoResponse) StatusCode ¶
func (r GetClientToSiteVpnServerInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClientToSiteVpnServerListResponse ¶
func ParseGetClientToSiteVpnServerListResponse ¶
func ParseGetClientToSiteVpnServerListResponse(rsp *http.Response) (*GetClientToSiteVpnServerListResponse, error)
ParseGetClientToSiteVpnServerListResponse parses an HTTP response from a GetClientToSiteVpnServerListWithResponse call
func (GetClientToSiteVpnServerListResponse) ContentType ¶
func (r GetClientToSiteVpnServerListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetClientToSiteVpnServerListResponse) GetBody ¶
func (r GetClientToSiteVpnServerListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetClientToSiteVpnServerListResponse) Status ¶
func (r GetClientToSiteVpnServerListResponse) Status() string
Status returns HTTPResponse.Status
func (GetClientToSiteVpnServerListResponse) StatusCode ¶
func (r GetClientToSiteVpnServerListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClientToSiteVpnServerUserListResponse ¶
func ParseGetClientToSiteVpnServerUserListResponse ¶
func ParseGetClientToSiteVpnServerUserListResponse(rsp *http.Response) (*GetClientToSiteVpnServerUserListResponse, error)
ParseGetClientToSiteVpnServerUserListResponse parses an HTTP response from a GetClientToSiteVpnServerUserListWithResponse call
func (GetClientToSiteVpnServerUserListResponse) ContentType ¶
func (r GetClientToSiteVpnServerUserListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetClientToSiteVpnServerUserListResponse) GetBody ¶
func (r GetClientToSiteVpnServerUserListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetClientToSiteVpnServerUserListResponse) Status ¶
func (r GetClientToSiteVpnServerUserListResponse) Status() string
Status returns HTTPResponse.Status
func (GetClientToSiteVpnServerUserListResponse) StatusCode ¶
func (r GetClientToSiteVpnServerUserListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridIpsecFailoverParams ¶
type GetGridIpsecFailoverParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
}
GetGridIpsecFailoverParams defines parameters for GetGridIpsecFailover.
type GetGridIpsecFailoverResponse ¶
func ParseGetGridIpsecFailoverResponse ¶
func ParseGetGridIpsecFailoverResponse(rsp *http.Response) (*GetGridIpsecFailoverResponse, error)
ParseGetGridIpsecFailoverResponse parses an HTTP response from a GetGridIpsecFailoverWithResponse call
func (GetGridIpsecFailoverResponse) ContentType ¶
func (r GetGridIpsecFailoverResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridIpsecFailoverResponse) GetBody ¶
func (r GetGridIpsecFailoverResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridIpsecFailoverResponse) Status ¶
func (r GetGridIpsecFailoverResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridIpsecFailoverResponse) StatusCode ¶
func (r GetGridIpsecFailoverResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridLockedSslVpnServerUserParams ¶
type GetGridLockedSslVpnServerUserParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
// SearchKey Fuzzy query parameters, support field name.
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
// SortsUserName Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect
SortsUserName *string `form:"sorts.userName,omitempty" json:"sorts.userName,omitempty"`
// SortsIp Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect
SortsIp *string `form:"sorts.ip,omitempty" json:"sorts.ip,omitempty"`
// SortsLeftLockTime Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect
SortsLeftLockTime *string `form:"sorts.leftLockTime,omitempty" json:"sorts.leftLockTime,omitempty"`
}
GetGridLockedSslVpnServerUserParams defines parameters for GetGridLockedSslVpnServerUser.
type GetGridLockedSslVpnServerUserResponse ¶
func ParseGetGridLockedSslVpnServerUserResponse ¶
func ParseGetGridLockedSslVpnServerUserResponse(rsp *http.Response) (*GetGridLockedSslVpnServerUserResponse, error)
ParseGetGridLockedSslVpnServerUserResponse parses an HTTP response from a GetGridLockedSslVpnServerUserWithResponse call
func (GetGridLockedSslVpnServerUserResponse) ContentType ¶
func (r GetGridLockedSslVpnServerUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridLockedSslVpnServerUserResponse) GetBody ¶
func (r GetGridLockedSslVpnServerUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridLockedSslVpnServerUserResponse) Status ¶
func (r GetGridLockedSslVpnServerUserResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridLockedSslVpnServerUserResponse) StatusCode ¶
func (r GetGridLockedSslVpnServerUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridSslVpnServerResourceGroupParams ¶
type GetGridSslVpnServerResourceGroupParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
}
GetGridSslVpnServerResourceGroupParams defines parameters for GetGridSslVpnServerResourceGroup.
type GetGridSslVpnServerResourceGroupResponse ¶
func ParseGetGridSslVpnServerResourceGroupResponse ¶
func ParseGetGridSslVpnServerResourceGroupResponse(rsp *http.Response) (*GetGridSslVpnServerResourceGroupResponse, error)
ParseGetGridSslVpnServerResourceGroupResponse parses an HTTP response from a GetGridSslVpnServerResourceGroupWithResponse call
func (GetGridSslVpnServerResourceGroupResponse) ContentType ¶
func (r GetGridSslVpnServerResourceGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridSslVpnServerResourceGroupResponse) GetBody ¶
func (r GetGridSslVpnServerResourceGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridSslVpnServerResourceGroupResponse) Status ¶
func (r GetGridSslVpnServerResourceGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridSslVpnServerResourceGroupResponse) StatusCode ¶
func (r GetGridSslVpnServerResourceGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridSslVpnServerResourceParams ¶
type GetGridSslVpnServerResourceParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
// SearchKey Fuzzy query parameters, support field name.
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
}
GetGridSslVpnServerResourceParams defines parameters for GetGridSslVpnServerResource.
type GetGridSslVpnServerResourceResponse ¶
func ParseGetGridSslVpnServerResourceResponse ¶
func ParseGetGridSslVpnServerResourceResponse(rsp *http.Response) (*GetGridSslVpnServerResourceResponse, error)
ParseGetGridSslVpnServerResourceResponse parses an HTTP response from a GetGridSslVpnServerResourceWithResponse call
func (GetGridSslVpnServerResourceResponse) ContentType ¶
func (r GetGridSslVpnServerResourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridSslVpnServerResourceResponse) GetBody ¶
func (r GetGridSslVpnServerResourceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridSslVpnServerResourceResponse) Status ¶
func (r GetGridSslVpnServerResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridSslVpnServerResourceResponse) StatusCode ¶
func (r GetGridSslVpnServerResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridSslVpnServerUserGroupParams ¶
type GetGridSslVpnServerUserGroupParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
// SearchKey Fuzzy query parameters, support field name.
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
}
GetGridSslVpnServerUserGroupParams defines parameters for GetGridSslVpnServerUserGroup.
type GetGridSslVpnServerUserGroupResponse ¶
func ParseGetGridSslVpnServerUserGroupResponse ¶
func ParseGetGridSslVpnServerUserGroupResponse(rsp *http.Response) (*GetGridSslVpnServerUserGroupResponse, error)
ParseGetGridSslVpnServerUserGroupResponse parses an HTTP response from a GetGridSslVpnServerUserGroupWithResponse call
func (GetGridSslVpnServerUserGroupResponse) ContentType ¶
func (r GetGridSslVpnServerUserGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridSslVpnServerUserGroupResponse) GetBody ¶
func (r GetGridSslVpnServerUserGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridSslVpnServerUserGroupResponse) Status ¶
func (r GetGridSslVpnServerUserGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridSslVpnServerUserGroupResponse) StatusCode ¶
func (r GetGridSslVpnServerUserGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridSslVpnServerUserParams ¶
type GetGridSslVpnServerUserParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
}
GetGridSslVpnServerUserParams defines parameters for GetGridSslVpnServerUser.
type GetGridSslVpnServerUserResponse ¶
func ParseGetGridSslVpnServerUserResponse ¶
func ParseGetGridSslVpnServerUserResponse(rsp *http.Response) (*GetGridSslVpnServerUserResponse, error)
ParseGetGridSslVpnServerUserResponse parses an HTTP response from a GetGridSslVpnServerUserWithResponse call
func (GetGridSslVpnServerUserResponse) ContentType ¶
func (r GetGridSslVpnServerUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridSslVpnServerUserResponse) GetBody ¶
func (r GetGridSslVpnServerUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridSslVpnServerUserResponse) Status ¶
func (r GetGridSslVpnServerUserResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridSslVpnServerUserResponse) StatusCode ¶
func (r GetGridSslVpnServerUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridSslVpnUserInGroupParams ¶
type GetGridSslVpnUserInGroupParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
}
GetGridSslVpnUserInGroupParams defines parameters for GetGridSslVpnUserInGroup.
type GetGridSslVpnUserInGroupResponse ¶
func ParseGetGridSslVpnUserInGroupResponse ¶
func ParseGetGridSslVpnUserInGroupResponse(rsp *http.Response) (*GetGridSslVpnUserInGroupResponse, error)
ParseGetGridSslVpnUserInGroupResponse parses an HTTP response from a GetGridSslVpnUserInGroupWithResponse call
func (GetGridSslVpnUserInGroupResponse) ContentType ¶
func (r GetGridSslVpnUserInGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridSslVpnUserInGroupResponse) GetBody ¶
func (r GetGridSslVpnUserInGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridSslVpnUserInGroupResponse) Status ¶
func (r GetGridSslVpnUserInGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridSslVpnUserInGroupResponse) StatusCode ¶
func (r GetGridSslVpnUserInGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridSslVpnUserInGroupV2Params ¶
type GetGridSslVpnUserInGroupV2Params struct {
// SearchKey Fuzzy query parameters, support field user name.
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
// SortsUsername Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effectuser name.
SortsUsername *string `form:"sorts.username,omitempty" json:"sorts.username,omitempty"`
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
}
GetGridSslVpnUserInGroupV2Params defines parameters for GetGridSslVpnUserInGroupV2.
type GetGridSslVpnUserInGroupV2Response ¶
func ParseGetGridSslVpnUserInGroupV2Response ¶
func ParseGetGridSslVpnUserInGroupV2Response(rsp *http.Response) (*GetGridSslVpnUserInGroupV2Response, error)
ParseGetGridSslVpnUserInGroupV2Response parses an HTTP response from a GetGridSslVpnUserInGroupV2WithResponse call
func (GetGridSslVpnUserInGroupV2Response) ContentType ¶
func (r GetGridSslVpnUserInGroupV2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridSslVpnUserInGroupV2Response) GetBody ¶
func (r GetGridSslVpnUserInGroupV2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridSslVpnUserInGroupV2Response) Status ¶
func (r GetGridSslVpnUserInGroupV2Response) Status() string
Status returns HTTPResponse.Status
func (GetGridSslVpnUserInGroupV2Response) StatusCode ¶
func (r GetGridSslVpnUserInGroupV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridVpnClientV2Params ¶
type GetGridVpnClientV2Params struct {
// SearchKey Fuzzy query parameters, support field name.
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
// FiltersVpnType Filter query parameters, support field vpnType. 0: L2TP; 1: PPTP; 3: OpenVPN; 4: WireGuard;.
FiltersVpnType *string `form:"filters.vpnType,omitempty" json:"filters.vpnType,omitempty"`
// SortsWans Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect
SortsWans *string `form:"sorts.wans,omitempty" json:"sorts.wans,omitempty"`
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
}
GetGridVpnClientV2Params defines parameters for GetGridVpnClientV2.
type GetGridVpnClientV2Response ¶
func ParseGetGridVpnClientV2Response ¶
func ParseGetGridVpnClientV2Response(rsp *http.Response) (*GetGridVpnClientV2Response, error)
ParseGetGridVpnClientV2Response parses an HTTP response from a GetGridVpnClientV2WithResponse call
func (GetGridVpnClientV2Response) ContentType ¶
func (r GetGridVpnClientV2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridVpnClientV2Response) GetBody ¶
func (r GetGridVpnClientV2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridVpnClientV2Response) Status ¶
func (r GetGridVpnClientV2Response) Status() string
Status returns HTTPResponse.Status
func (GetGridVpnClientV2Response) StatusCode ¶
func (r GetGridVpnClientV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridVpnS2SV2Params ¶
type GetGridVpnS2SV2Params struct {
// SearchKey Fuzzy query parameters, support field name.
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
// FiltersVpnType Filter query parameters, support field vpnType. 2: IPSec; 4: WireGuard; 5: SSL VPN.
FiltersVpnType *string `form:"filters.vpnType,omitempty" json:"filters.vpnType,omitempty"`
// SortsWans Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect
SortsWans *string `form:"sorts.wans,omitempty" json:"sorts.wans,omitempty"`
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
}
GetGridVpnS2SV2Params defines parameters for GetGridVpnS2SV2.
type GetGridVpnS2SV2Response ¶
func ParseGetGridVpnS2SV2Response ¶
func ParseGetGridVpnS2SV2Response(rsp *http.Response) (*GetGridVpnS2SV2Response, error)
ParseGetGridVpnS2SV2Response parses an HTTP response from a GetGridVpnS2SV2WithResponse call
func (GetGridVpnS2SV2Response) ContentType ¶
func (r GetGridVpnS2SV2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridVpnS2SV2Response) GetBody ¶
func (r GetGridVpnS2SV2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridVpnS2SV2Response) Status ¶
func (r GetGridVpnS2SV2Response) Status() string
Status returns HTTPResponse.Status
func (GetGridVpnS2SV2Response) StatusCode ¶
func (r GetGridVpnS2SV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridVpnServerV2Params ¶
type GetGridVpnServerV2Params struct {
// SearchKey Fuzzy query parameters, support field name.
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
// FiltersVpnType Filter query parameters, support field vpnType. 0: L2TP; 1: PPTP; 2: IPSec; 3: OpenVPN; 4: WireGuard; 5: SSL VPN.
FiltersVpnType *string `form:"filters.vpnType,omitempty" json:"filters.vpnType,omitempty"`
// SortsWans Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect
SortsWans *string `form:"sorts.wans,omitempty" json:"sorts.wans,omitempty"`
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
}
GetGridVpnServerV2Params defines parameters for GetGridVpnServerV2.
type GetGridVpnServerV2Response ¶
func ParseGetGridVpnServerV2Response ¶
func ParseGetGridVpnServerV2Response(rsp *http.Response) (*GetGridVpnServerV2Response, error)
ParseGetGridVpnServerV2Response parses an HTTP response from a GetGridVpnServerV2WithResponse call
func (GetGridVpnServerV2Response) ContentType ¶
func (r GetGridVpnServerV2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridVpnServerV2Response) GetBody ¶
func (r GetGridVpnServerV2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridVpnServerV2Response) Status ¶
func (r GetGridVpnServerV2Response) Status() string
Status returns HTTPResponse.Status
func (GetGridVpnServerV2Response) StatusCode ¶
func (r GetGridVpnServerV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridVpnUserParams ¶
type GetGridVpnUserParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
// SearchKey searchKey
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
}
GetGridVpnUserParams defines parameters for GetGridVpnUser.
type GetGridVpnUserResponse ¶
func ParseGetGridVpnUserResponse ¶
func ParseGetGridVpnUserResponse(rsp *http.Response) (*GetGridVpnUserResponse, error)
ParseGetGridVpnUserResponse parses an HTTP response from a GetGridVpnUserWithResponse call
func (GetGridVpnUserResponse) ContentType ¶
func (r GetGridVpnUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridVpnUserResponse) GetBody ¶
func (r GetGridVpnUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridVpnUserResponse) Status ¶
func (r GetGridVpnUserResponse) Status() string
Status returns HTTPResponse.Status
func (GetGridVpnUserResponse) StatusCode ¶
func (r GetGridVpnUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGridVpnUserV2Params ¶
type GetGridVpnUserV2Params struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
// SearchKey searchKey
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
// FiltersProtocol Filter query parameters, support field protocol. 0: L2TP or PPTP; 1: OpenVPN; 2: SSL VPN.
FiltersProtocol *string `form:"filters.protocol,omitempty" json:"filters.protocol,omitempty"`
// FiltersClientMode Filter query parameters, support field clientMode. 0: Network Extension Mode; 1: Client.
FiltersClientMode *string `form:"filters.clientMode,omitempty" json:"filters.clientMode,omitempty"`
// SortsMaxConnections Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect
SortsMaxConnections *string `form:"sorts.maxConnections,omitempty" json:"sorts.maxConnections,omitempty"`
// SortsValidity Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect
SortsValidity *string `form:"sorts.validity,omitempty" json:"sorts.validity,omitempty"`
}
GetGridVpnUserV2Params defines parameters for GetGridVpnUserV2.
type GetGridVpnUserV2Response ¶
func ParseGetGridVpnUserV2Response ¶
func ParseGetGridVpnUserV2Response(rsp *http.Response) (*GetGridVpnUserV2Response, error)
ParseGetGridVpnUserV2Response parses an HTTP response from a GetGridVpnUserV2WithResponse call
func (GetGridVpnUserV2Response) ContentType ¶
func (r GetGridVpnUserV2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGridVpnUserV2Response) GetBody ¶
func (r GetGridVpnUserV2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGridVpnUserV2Response) Status ¶
func (r GetGridVpnUserV2Response) Status() string
Status returns HTTPResponse.Status
func (GetGridVpnUserV2Response) StatusCode ¶
func (r GetGridVpnUserV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLockedSslVpnTunnuelsParams ¶
type GetLockedSslVpnTunnuelsParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
}
GetLockedSslVpnTunnuelsParams defines parameters for GetLockedSslVpnTunnuels.
type GetLockedSslVpnTunnuelsResponse ¶
func ParseGetLockedSslVpnTunnuelsResponse ¶
func ParseGetLockedSslVpnTunnuelsResponse(rsp *http.Response) (*GetLockedSslVpnTunnuelsResponse, error)
ParseGetLockedSslVpnTunnuelsResponse parses an HTTP response from a GetLockedSslVpnTunnuelsWithResponse call
func (GetLockedSslVpnTunnuelsResponse) ContentType ¶
func (r GetLockedSslVpnTunnuelsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetLockedSslVpnTunnuelsResponse) GetBody ¶
func (r GetLockedSslVpnTunnuelsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetLockedSslVpnTunnuelsResponse) Status ¶
func (r GetLockedSslVpnTunnuelsResponse) Status() string
Status returns HTTPResponse.Status
func (GetLockedSslVpnTunnuelsResponse) StatusCode ¶
func (r GetLockedSslVpnTunnuelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRadiusServerInfoResponse ¶
func ParseGetRadiusServerInfoResponse ¶
func ParseGetRadiusServerInfoResponse(rsp *http.Response) (*GetRadiusServerInfoResponse, error)
ParseGetRadiusServerInfoResponse parses an HTTP response from a GetRadiusServerInfoWithResponse call
func (GetRadiusServerInfoResponse) ContentType ¶
func (r GetRadiusServerInfoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRadiusServerInfoResponse) GetBody ¶
func (r GetRadiusServerInfoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRadiusServerInfoResponse) Status ¶
func (r GetRadiusServerInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetRadiusServerInfoResponse) StatusCode ¶
func (r GetRadiusServerInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSiteToSiteVpnInfoResponse ¶
func ParseGetSiteToSiteVpnInfoResponse ¶
func ParseGetSiteToSiteVpnInfoResponse(rsp *http.Response) (*GetSiteToSiteVpnInfoResponse, error)
ParseGetSiteToSiteVpnInfoResponse parses an HTTP response from a GetSiteToSiteVpnInfoWithResponse call
func (GetSiteToSiteVpnInfoResponse) ContentType ¶
func (r GetSiteToSiteVpnInfoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSiteToSiteVpnInfoResponse) GetBody ¶
func (r GetSiteToSiteVpnInfoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSiteToSiteVpnInfoResponse) Status ¶
func (r GetSiteToSiteVpnInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetSiteToSiteVpnInfoResponse) StatusCode ¶
func (r GetSiteToSiteVpnInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSiteToSiteVpnListResponse ¶
func ParseGetSiteToSiteVpnListResponse ¶
func ParseGetSiteToSiteVpnListResponse(rsp *http.Response) (*GetSiteToSiteVpnListResponse, error)
ParseGetSiteToSiteVpnListResponse parses an HTTP response from a GetSiteToSiteVpnListWithResponse call
func (GetSiteToSiteVpnListResponse) ContentType ¶
func (r GetSiteToSiteVpnListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSiteToSiteVpnListResponse) GetBody ¶
func (r GetSiteToSiteVpnListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSiteToSiteVpnListResponse) Status ¶
func (r GetSiteToSiteVpnListResponse) Status() string
Status returns HTTPResponse.Status
func (GetSiteToSiteVpnListResponse) StatusCode ¶
func (r GetSiteToSiteVpnListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSslVpnResourceGroupListResponse ¶
func ParseGetSslVpnResourceGroupListResponse ¶
func ParseGetSslVpnResourceGroupListResponse(rsp *http.Response) (*GetSslVpnResourceGroupListResponse, error)
ParseGetSslVpnResourceGroupListResponse parses an HTTP response from a GetSslVpnResourceGroupListWithResponse call
func (GetSslVpnResourceGroupListResponse) ContentType ¶
func (r GetSslVpnResourceGroupListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSslVpnResourceGroupListResponse) GetBody ¶
func (r GetSslVpnResourceGroupListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSslVpnResourceGroupListResponse) Status ¶
func (r GetSslVpnResourceGroupListResponse) Status() string
Status returns HTTPResponse.Status
func (GetSslVpnResourceGroupListResponse) StatusCode ¶
func (r GetSslVpnResourceGroupListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSslVpnResourceListResponse ¶
func ParseGetSslVpnResourceListResponse ¶
func ParseGetSslVpnResourceListResponse(rsp *http.Response) (*GetSslVpnResourceListResponse, error)
ParseGetSslVpnResourceListResponse parses an HTTP response from a GetSslVpnResourceListWithResponse call
func (GetSslVpnResourceListResponse) ContentType ¶
func (r GetSslVpnResourceListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSslVpnResourceListResponse) GetBody ¶
func (r GetSslVpnResourceListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSslVpnResourceListResponse) Status ¶
func (r GetSslVpnResourceListResponse) Status() string
Status returns HTTPResponse.Status
func (GetSslVpnResourceListResponse) StatusCode ¶
func (r GetSslVpnResourceListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSslVpnServerSettingResponse ¶
func ParseGetSslVpnServerSettingResponse ¶
func ParseGetSslVpnServerSettingResponse(rsp *http.Response) (*GetSslVpnServerSettingResponse, error)
ParseGetSslVpnServerSettingResponse parses an HTTP response from a GetSslVpnServerSettingWithResponse call
func (GetSslVpnServerSettingResponse) ContentType ¶
func (r GetSslVpnServerSettingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSslVpnServerSettingResponse) GetBody ¶
func (r GetSslVpnServerSettingResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSslVpnServerSettingResponse) Status ¶
func (r GetSslVpnServerSettingResponse) Status() string
Status returns HTTPResponse.Status
func (GetSslVpnServerSettingResponse) StatusCode ¶
func (r GetSslVpnServerSettingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSslVpnUserGroupBriefListResponse ¶
func ParseGetSslVpnUserGroupBriefListResponse ¶
func ParseGetSslVpnUserGroupBriefListResponse(rsp *http.Response) (*GetSslVpnUserGroupBriefListResponse, error)
ParseGetSslVpnUserGroupBriefListResponse parses an HTTP response from a GetSslVpnUserGroupBriefListWithResponse call
func (GetSslVpnUserGroupBriefListResponse) ContentType ¶
func (r GetSslVpnUserGroupBriefListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSslVpnUserGroupBriefListResponse) GetBody ¶
func (r GetSslVpnUserGroupBriefListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSslVpnUserGroupBriefListResponse) Status ¶
func (r GetSslVpnUserGroupBriefListResponse) Status() string
Status returns HTTPResponse.Status
func (GetSslVpnUserGroupBriefListResponse) StatusCode ¶
func (r GetSslVpnUserGroupBriefListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSslVpnUserGroupListResponse ¶
func ParseGetSslVpnUserGroupListResponse ¶
func ParseGetSslVpnUserGroupListResponse(rsp *http.Response) (*GetSslVpnUserGroupListResponse, error)
ParseGetSslVpnUserGroupListResponse parses an HTTP response from a GetSslVpnUserGroupListWithResponse call
func (GetSslVpnUserGroupListResponse) ContentType ¶
func (r GetSslVpnUserGroupListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSslVpnUserGroupListResponse) GetBody ¶
func (r GetSslVpnUserGroupListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSslVpnUserGroupListResponse) Status ¶
func (r GetSslVpnUserGroupListResponse) Status() string
Status returns HTTPResponse.Status
func (GetSslVpnUserGroupListResponse) StatusCode ¶
func (r GetSslVpnUserGroupListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVpnAvailableIpPoolResponse ¶
func ParseGetVpnAvailableIpPoolResponse ¶
func ParseGetVpnAvailableIpPoolResponse(rsp *http.Response) (*GetVpnAvailableIpPoolResponse, error)
ParseGetVpnAvailableIpPoolResponse parses an HTTP response from a GetVpnAvailableIpPoolWithResponse call
func (GetVpnAvailableIpPoolResponse) ContentType ¶
func (r GetVpnAvailableIpPoolResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVpnAvailableIpPoolResponse) GetBody ¶
func (r GetVpnAvailableIpPoolResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVpnAvailableIpPoolResponse) Status ¶
func (r GetVpnAvailableIpPoolResponse) Status() string
Status returns HTTPResponse.Status
func (GetVpnAvailableIpPoolResponse) StatusCode ¶
func (r GetVpnAvailableIpPoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVpnClientDetailInfoResponse ¶
func ParseGetVpnClientDetailInfoResponse ¶
func ParseGetVpnClientDetailInfoResponse(rsp *http.Response) (*GetVpnClientDetailInfoResponse, error)
ParseGetVpnClientDetailInfoResponse parses an HTTP response from a GetVpnClientDetailInfoWithResponse call
func (GetVpnClientDetailInfoResponse) ContentType ¶
func (r GetVpnClientDetailInfoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVpnClientDetailInfoResponse) GetBody ¶
func (r GetVpnClientDetailInfoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVpnClientDetailInfoResponse) Status ¶
func (r GetVpnClientDetailInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetVpnClientDetailInfoResponse) StatusCode ¶
func (r GetVpnClientDetailInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVpnClientToSiteClientInfoResponse ¶
func ParseGetVpnClientToSiteClientInfoResponse ¶
func ParseGetVpnClientToSiteClientInfoResponse(rsp *http.Response) (*GetVpnClientToSiteClientInfoResponse, error)
ParseGetVpnClientToSiteClientInfoResponse parses an HTTP response from a GetVpnClientToSiteClientInfoWithResponse call
func (GetVpnClientToSiteClientInfoResponse) ContentType ¶
func (r GetVpnClientToSiteClientInfoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVpnClientToSiteClientInfoResponse) GetBody ¶
func (r GetVpnClientToSiteClientInfoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVpnClientToSiteClientInfoResponse) Status ¶
func (r GetVpnClientToSiteClientInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetVpnClientToSiteClientInfoResponse) StatusCode ¶
func (r GetVpnClientToSiteClientInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVpnDefaultValueJSONRequestBody ¶
type GetVpnDefaultValueJSONRequestBody = VpnDefaultValueReqVO
GetVpnDefaultValueJSONRequestBody defines body for GetVpnDefaultValue for application/json ContentType.
type GetVpnDefaultValueResponse ¶
func ParseGetVpnDefaultValueResponse ¶
func ParseGetVpnDefaultValueResponse(rsp *http.Response) (*GetVpnDefaultValueResponse, error)
ParseGetVpnDefaultValueResponse parses an HTTP response from a GetVpnDefaultValueWithResponse call
func (GetVpnDefaultValueResponse) ContentType ¶
func (r GetVpnDefaultValueResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVpnDefaultValueResponse) GetBody ¶
func (r GetVpnDefaultValueResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVpnDefaultValueResponse) Status ¶
func (r GetVpnDefaultValueResponse) Status() string
Status returns HTTPResponse.Status
func (GetVpnDefaultValueResponse) StatusCode ¶
func (r GetVpnDefaultValueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVpnPreSharedKeyResponse ¶
type GetVpnPreSharedKeyResponse struct {
}
func ParseGetVpnPreSharedKeyResponse ¶
func ParseGetVpnPreSharedKeyResponse(rsp *http.Response) (*GetVpnPreSharedKeyResponse, error)
ParseGetVpnPreSharedKeyResponse parses an HTTP response from a GetVpnPreSharedKeyWithResponse call
func (GetVpnPreSharedKeyResponse) ContentType ¶
func (r GetVpnPreSharedKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVpnPreSharedKeyResponse) GetBody ¶
func (r GetVpnPreSharedKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVpnPreSharedKeyResponse) Status ¶
func (r GetVpnPreSharedKeyResponse) Status() string
Status returns HTTPResponse.Status
func (GetVpnPreSharedKeyResponse) StatusCode ¶
func (r GetVpnPreSharedKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVpnS2SDetailInfoResponse ¶
func ParseGetVpnS2SDetailInfoResponse ¶
func ParseGetVpnS2SDetailInfoResponse(rsp *http.Response) (*GetVpnS2SDetailInfoResponse, error)
ParseGetVpnS2SDetailInfoResponse parses an HTTP response from a GetVpnS2SDetailInfoWithResponse call
func (GetVpnS2SDetailInfoResponse) ContentType ¶
func (r GetVpnS2SDetailInfoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVpnS2SDetailInfoResponse) GetBody ¶
func (r GetVpnS2SDetailInfoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVpnS2SDetailInfoResponse) Status ¶
func (r GetVpnS2SDetailInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetVpnS2SDetailInfoResponse) StatusCode ¶
func (r GetVpnS2SDetailInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVpnServerDetailInfoResponse ¶
func ParseGetVpnServerDetailInfoResponse ¶
func ParseGetVpnServerDetailInfoResponse(rsp *http.Response) (*GetVpnServerDetailInfoResponse, error)
ParseGetVpnServerDetailInfoResponse parses an HTTP response from a GetVpnServerDetailInfoWithResponse call
func (GetVpnServerDetailInfoResponse) ContentType ¶
func (r GetVpnServerDetailInfoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVpnServerDetailInfoResponse) GetBody ¶
func (r GetVpnServerDetailInfoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVpnServerDetailInfoResponse) Status ¶
func (r GetVpnServerDetailInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetVpnServerDetailInfoResponse) StatusCode ¶
func (r GetVpnServerDetailInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVpnServerUserListV3Params ¶
type GetVpnServerUserListV3Params struct {
// FiltersClientMode Filter query parameters, support field clientMode. 0: Network Extension Mode; 1: Client.
FiltersClientMode *string `form:"filters.clientMode,omitempty" json:"filters.clientMode,omitempty"`
// SortsMaxConnections Sort parameter may be one of asc or desc. Optional parameter. If it is not carried, it means it is not sorted by this field. When there are more than one, the first one takes effect
SortsMaxConnections *string `form:"sorts.maxConnections,omitempty" json:"sorts.maxConnections,omitempty"`
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
}
GetVpnServerUserListV3Params defines parameters for GetVpnServerUserListV3.
type GetVpnServerUserListV3Response ¶
func ParseGetVpnServerUserListV3Response ¶
func ParseGetVpnServerUserListV3Response(rsp *http.Response) (*GetVpnServerUserListV3Response, error)
ParseGetVpnServerUserListV3Response parses an HTTP response from a GetVpnServerUserListV3WithResponse call
func (GetVpnServerUserListV3Response) ContentType ¶
func (r GetVpnServerUserListV3Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVpnServerUserListV3Response) GetBody ¶
func (r GetVpnServerUserListV3Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVpnServerUserListV3Response) Status ¶
func (r GetVpnServerUserListV3Response) Status() string
Status returns HTTPResponse.Status
func (GetVpnServerUserListV3Response) StatusCode ¶
func (r GetVpnServerUserListV3Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVpnUserListResponse ¶
func ParseGetVpnUserListResponse ¶
func ParseGetVpnUserListResponse(rsp *http.Response) (*GetVpnUserListResponse, error)
ParseGetVpnUserListResponse parses an HTTP response from a GetVpnUserListWithResponse call
func (GetVpnUserListResponse) ContentType ¶
func (r GetVpnUserListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVpnUserListResponse) GetBody ¶
func (r GetVpnUserListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVpnUserListResponse) Status ¶
func (r GetVpnUserListResponse) Status() string
Status returns HTTPResponse.Status
func (GetVpnUserListResponse) StatusCode ¶
func (r GetVpnUserListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVpnUserServerListResponse ¶
func ParseGetVpnUserServerListResponse ¶
func ParseGetVpnUserServerListResponse(rsp *http.Response) (*GetVpnUserServerListResponse, error)
ParseGetVpnUserServerListResponse parses an HTTP response from a GetVpnUserServerListWithResponse call
func (GetVpnUserServerListResponse) ContentType ¶
func (r GetVpnUserServerListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVpnUserServerListResponse) GetBody ¶
func (r GetVpnUserServerListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVpnUserServerListResponse) Status ¶
func (r GetVpnUserServerListResponse) Status() string
Status returns HTTPResponse.Status
func (GetVpnUserServerListResponse) StatusCode ¶
func (r GetVpnUserServerListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWireguardKeyResponse ¶
func ParseGetWireguardKeyResponse ¶
func ParseGetWireguardKeyResponse(rsp *http.Response) (*GetWireguardKeyResponse, error)
ParseGetWireguardKeyResponse parses an HTTP response from a GetWireguardKeyWithResponse call
func (GetWireguardKeyResponse) ContentType ¶
func (r GetWireguardKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWireguardKeyResponse) GetBody ¶
func (r GetWireguardKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWireguardKeyResponse) Status ¶
func (r GetWireguardKeyResponse) Status() string
Status returns HTTPResponse.Status
func (GetWireguardKeyResponse) StatusCode ¶
func (r GetWireguardKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWireguardSummaryResponse ¶
func ParseGetWireguardSummaryResponse ¶
func ParseGetWireguardSummaryResponse(rsp *http.Response) (*GetWireguardSummaryResponse, error)
ParseGetWireguardSummaryResponse parses an HTTP response from a GetWireguardSummaryWithResponse call
func (GetWireguardSummaryResponse) ContentType ¶
func (r GetWireguardSummaryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWireguardSummaryResponse) GetBody ¶
func (r GetWireguardSummaryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWireguardSummaryResponse) Status ¶
func (r GetWireguardSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (GetWireguardSummaryResponse) StatusCode ¶
func (r GetWireguardSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GridVOIPsecFailoverInformation ¶
type GridVOIPsecFailoverInformation struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]IPsecFailoverInformation `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOIPsecFailoverInformation defines model for GridVOIPsecFailover Information.
type GridVOSSLVPNLockEntity ¶
type GridVOSSLVPNLockEntity struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]SSLVPNLockEntity `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOSSLVPNLockEntity defines model for GridVOSSL VPN Lock Entity.
type GridVOSslVpnResourceEntity ¶
type GridVOSslVpnResourceEntity struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]SslVpnResourceEntity `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOSslVpnResourceEntity defines model for GridVOSslVpnResourceEntity.
type GridVOSslVpnResourceGroup ¶
type GridVOSslVpnResourceGroup struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]SslVpnResourceGroup `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOSslVpnResourceGroup defines model for GridVOSslVpnResourceGroup.
type GridVOWireguardDetailOpenApiVO ¶
type GridVOWireguardDetailOpenApiVO struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]WireguardDetailOpenApiVO `json:"data,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
GridVOWireguardDetailOpenApiVO defines model for GridVOWireguardDetailOpenApiVO.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type IPSubnetsOpenApiVO ¶
type IPSubnetsOpenApiVO struct {
// Description IP description, description should contain 1 to 512 characters.
Description *string `json:"description,omitempty"`
// Ip IP address, should be a valid IP format
Ip string `json:"ip"`
// Mask IP mask, mask should be within the range of 1-32
Mask int32 `json:"mask"`
}
IPSubnetsOpenApiVO IP subnet info list. [type] value of 0 or 1 is required
type IPSubnetsVO ¶
type IPSubnetsVO struct {
// Description Description should contain 1 to 512 characters.
Description *string `json:"description,omitempty"`
// Ip IP address, should be a valid IP format
Ip string `json:"ip"`
// Mask IP mask, mask should be within the range of 1-32
Mask int32 `json:"mask"`
}
IPSubnetsVO User remote subnets of the VPN user.
type IPsecFailoverConfiguration ¶
type IPsecFailoverConfiguration struct {
// Candidates Candidates of the IPSec failover. IPsec VPN can be created using 'Create site-to-site VPN' interface, and ID can be obtained from 'Get site-to-site VPN list' interface.
Candidates []string `json:"candidates"`
// Failback Failback of the IPSec failover.
Failback *bool `json:"failback,omitempty"`
// FailbackTime Failback time should be within the range of 10–3600s.
FailbackTime *int32 `json:"failbackTime,omitempty"`
// Id ID of the IPSec failover.
Id *string `json:"id,omitempty"`
// Name Name should contain 1 to 64 characters.
Name string `json:"name"`
// Primary Primary of the IPSec failover. IPsec VPN can be created using 'Create site-to-site VPN' interface, and ID can be obtained from 'Get site-to-site VPN list' interface.
Primary string `json:"primary"`
}
IPsecFailoverConfiguration defines model for IPsecFailover configuration.
type IPsecFailoverInformation ¶
type IPsecFailoverInformation struct {
// Candidates Candidates of the ipsec fail over.
Candidates *[]IPsecInfoOpenApiVO `json:"candidates,omitempty"`
// FailBack FailBack of the ipsec fail over.
FailBack *bool `json:"failBack,omitempty"`
// FailBackTime FailBackTime of the ipsec fail over.
FailBackTime *int32 `json:"failBackTime,omitempty"`
// Id ID of the ipsec fail over.
Id *string `json:"id,omitempty"`
// Name Name of the ipsec fail over.
Name *string `json:"name,omitempty"`
// Primary Candidates of the ipsec fail over.
Primary *IPsecInfoOpenApiVO `json:"primary,omitempty"`
}
IPsecFailoverInformation defines model for IPsecFailover information.
type IPsecFailoverSettingOpenApiVO ¶
type IPsecFailoverSettingOpenApiVO struct {
// BackupWan Backup WAN of the IPSec failover.
BackupWan *string `json:"backupWan,omitempty"`
// Failback Failback of the IPSec failover.
Failback *bool `json:"failback,omitempty"`
// FailbackTime Failback time should be within the range of 10–3600s.
FailbackTime *int32 `json:"failbackTime,omitempty"`
// Failover Indicates whether to use the IPSec failover.
Failover *bool `json:"failover,omitempty"`
}
IPsecFailoverSettingOpenApiVO Setting of the IPSec failover.
type IPsecFailoverStatusOpenApiVO ¶
type IPsecFailoverStatusOpenApiVO struct {
// BackupWan Backup WAN of the IPSec failover.
BackupWan *string `json:"backupWan,omitempty"`
// Status Backup VPN status.
Status *bool `json:"status,omitempty"`
}
IPsecFailoverStatusOpenApiVO Setting of the IPSec failover.
type IPsecInfoOpenApiVO ¶
type IPsecInfoOpenApiVO struct {
// Id ID of the IPSec info.
Id *string `json:"id,omitempty"`
// Name Name of the IPSec info.
Name *string `json:"name,omitempty"`
// Status Status of the IPSec info. 0: Active; 1: Standby; 2: Disconnected.
Status *int32 `json:"status,omitempty"`
}
IPsecInfoOpenApiVO Candidates of the ipsec fail over.
type InstancesVO ¶
type InstancesVO struct {
// Cost cost
Cost *int32 `json:"cost,omitempty"`
// CostMode costMode, 0: auto / 1: custom
CostMode *int32 `json:"costMode,omitempty"`
// Id mstp instanceId
Id *int32 `json:"id,omitempty"`
// Priority priority
Priority *int32 `json:"priority,omitempty"`
// Stp stp, 0: MSTP / 1: RPVST
Stp *int32 `json:"stp,omitempty"`
// Vlan rpvst vlanId
Vlan *string `json:"vlan,omitempty"`
}
InstancesVO Instances
type LagCapVO ¶
type LagCapVO struct {
// LacpModSupport Lacp Mod Support
LacpModSupport *bool `json:"lacpModSupport,omitempty"`
// LagHashAlgSupport Lag Hash Algorithm Support
LagHashAlgSupport *bool `json:"lagHashAlgSupport,omitempty"`
// LagHashAlgs Support Lag Hash Algorithms, 0: SRC_MAC; 1: DST_MAC; 2: SRC_MAC_DST_MAC; 3: SRC_IP; 4: DST_IP; 5: SRC_IP_DST_IP
LagHashAlgs *[]int32 `json:"lagHashAlgs,omitempty"`
}
LagCapVO Capability of lag
type LanPort ¶
type LanPort struct {
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// InternetState Port Internet State
InternetState *int32 `json:"internetState,omitempty"`
// LinkSpeed Link Speed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// Name Port Name
Name *string `json:"name,omitempty"`
// OnlineDetection Port Online Detection
OnlineDetection *int32 `json:"onlineDetection,omitempty"`
// Port Port Id
Port *string `json:"port,omitempty"`
// Status Port Status
Status *int32 `json:"status,omitempty"`
}
LanPort Lan Port List
type LdapSettingOpenApiVO ¶
type LdapSettingOpenApiVO struct {
// LDAPProfile LDAP profile ID. LDAP profile can be created using 'Create a new LDAP profile' interface, and LDAP profile ID can be obtained from 'Get LDAP profile list' interface.
LDAPProfile string `json:"LDAPProfile"`
// DefaultGroup Default user group ID for the user on the LDAP server. User group can be created using 'Create SSL VPN user group' interface, and user group ID can be obtained from 'Get user group list for SSL VPN server' interface.
DefaultGroup string `json:"defaultGroup"`
}
LdapSettingOpenApiVO It is required when parameter [authType] is 2.
type ListPeerParams ¶
type ListPeerParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
// SearchKey searchKey
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
}
ListPeerParams defines parameters for ListPeer.
type ListPeerResponse ¶
func ParseListPeerResponse ¶
func ParseListPeerResponse(rsp *http.Response) (*ListPeerResponse, error)
ParseListPeerResponse parses an HTTP response from a ListPeerWithResponse call
func (ListPeerResponse) ContentType ¶
func (r ListPeerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPeerResponse) GetBody ¶
func (r ListPeerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListPeerResponse) Status ¶
func (r ListPeerResponse) Status() string
Status returns HTTPResponse.Status
func (ListPeerResponse) StatusCode ¶
func (r ListPeerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRemoteSiteResponse ¶
func ParseListRemoteSiteResponse ¶
func ParseListRemoteSiteResponse(rsp *http.Response) (*ListRemoteSiteResponse, error)
ParseListRemoteSiteResponse parses an HTTP response from a ListRemoteSiteWithResponse call
func (ListRemoteSiteResponse) ContentType ¶
func (r ListRemoteSiteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListRemoteSiteResponse) GetBody ¶
func (r ListRemoteSiteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListRemoteSiteResponse) Status ¶
func (r ListRemoteSiteResponse) Status() string
Status returns HTTPResponse.Status
func (ListRemoteSiteResponse) StatusCode ¶
func (r ListRemoteSiteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWireguardParams ¶
type ListWireguardParams struct {
// Page Start page number. Start from 1.
Page int32 `form:"page" json:"page"`
// PageSize Number of entries per page. It should be within the range of 1–1000.
PageSize int32 `form:"pageSize" json:"pageSize"`
// SearchKey searchKey
SearchKey *string `form:"searchKey,omitempty" json:"searchKey,omitempty"`
}
ListWireguardParams defines parameters for ListWireguard.
type ListWireguardResponse ¶
func ParseListWireguardResponse ¶
func ParseListWireguardResponse(rsp *http.Response) (*ListWireguardResponse, error)
ParseListWireguardResponse parses an HTTP response from a ListWireguardWithResponse call
func (ListWireguardResponse) ContentType ¶
func (r ListWireguardResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListWireguardResponse) GetBody ¶
func (r ListWireguardResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListWireguardResponse) Status ¶
func (r ListWireguardResponse) Status() string
Status returns HTTPResponse.Status
func (ListWireguardResponse) StatusCode ¶
func (r ListWireguardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LockSettingOpenApiVO ¶
type LockSettingOpenApiVO struct {
// Duration Lock duration should be within the range of 1–1080(min).
Duration *int32 `json:"duration,omitempty"`
// Status Status of the SSL VPN server name lock or IP lock.
Status bool `json:"status"`
// Times The number of login failures that trigger the lock. It is required when parameter [status] is true, and it should be within the range of 1–10
Times *int32 `json:"times,omitempty"`
}
LockSettingOpenApiVO IP lock config. It is required when parameter [status] is true.
type LockSslVpnTunnelResponse ¶
func ParseLockSslVpnTunnelResponse ¶
func ParseLockSslVpnTunnelResponse(rsp *http.Response) (*LockSslVpnTunnelResponse, error)
ParseLockSslVpnTunnelResponse parses an HTTP response from a LockSslVpnTunnelWithResponse call
func (LockSslVpnTunnelResponse) ContentType ¶
func (r LockSslVpnTunnelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LockSslVpnTunnelResponse) GetBody ¶
func (r LockSslVpnTunnelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LockSslVpnTunnelResponse) Status ¶
func (r LockSslVpnTunnelResponse) Status() string
Status returns HTTPResponse.Status
func (LockSslVpnTunnelResponse) StatusCode ¶
func (r LockSslVpnTunnelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MirroredLag ¶
type MirroredLag struct {
// LagId Lag ID
LagId *int32 `json:"lagId,omitempty"`
// LagName Lag Name
LagName *string `json:"lagName,omitempty"`
}
MirroredLag Monitored LAG
type MirroredPort ¶
type MirroredPort struct {
// Port Port
Port *int32 `json:"port,omitempty"`
// PortName Port Name
PortName *string `json:"portName,omitempty"`
// StandardPort Standard Port
StandardPort *string `json:"standardPort,omitempty"`
}
MirroredPort Monitored Port
type ModifyClientStatusJSONRequestBody ¶
type ModifyClientStatusJSONRequestBody = VpnStatusVO
ModifyClientStatusJSONRequestBody defines body for ModifyClientStatus for application/json ContentType.
type ModifyClientStatusResponse ¶
func ParseModifyClientStatusResponse ¶
func ParseModifyClientStatusResponse(rsp *http.Response) (*ModifyClientStatusResponse, error)
ParseModifyClientStatusResponse parses an HTTP response from a ModifyClientStatusWithResponse call
func (ModifyClientStatusResponse) ContentType ¶
func (r ModifyClientStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyClientStatusResponse) GetBody ¶
func (r ModifyClientStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyClientStatusResponse) Status ¶
func (r ModifyClientStatusResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyClientStatusResponse) StatusCode ¶
func (r ModifyClientStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyClientToSiteVpnClientJSONRequestBody
deprecated
type ModifyClientToSiteVpnClientJSONRequestBody = ClientToSiteVpnClient
ModifyClientToSiteVpnClientJSONRequestBody defines body for ModifyClientToSiteVpnClient for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type ModifyClientToSiteVpnClientResponse ¶
func ParseModifyClientToSiteVpnClientResponse ¶
func ParseModifyClientToSiteVpnClientResponse(rsp *http.Response) (*ModifyClientToSiteVpnClientResponse, error)
ParseModifyClientToSiteVpnClientResponse parses an HTTP response from a ModifyClientToSiteVpnClientWithResponse call
func (ModifyClientToSiteVpnClientResponse) ContentType ¶
func (r ModifyClientToSiteVpnClientResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyClientToSiteVpnClientResponse) GetBody ¶
func (r ModifyClientToSiteVpnClientResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyClientToSiteVpnClientResponse) Status ¶
func (r ModifyClientToSiteVpnClientResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyClientToSiteVpnClientResponse) StatusCode ¶
func (r ModifyClientToSiteVpnClientResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyClientToSiteVpnServerJSONRequestBody
deprecated
type ModifyClientToSiteVpnServerJSONRequestBody = ClientToSiteVpnServer
ModifyClientToSiteVpnServerJSONRequestBody defines body for ModifyClientToSiteVpnServer for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type ModifyClientToSiteVpnServerResponse ¶
func ParseModifyClientToSiteVpnServerResponse ¶
func ParseModifyClientToSiteVpnServerResponse(rsp *http.Response) (*ModifyClientToSiteVpnServerResponse, error)
ParseModifyClientToSiteVpnServerResponse parses an HTTP response from a ModifyClientToSiteVpnServerWithResponse call
func (ModifyClientToSiteVpnServerResponse) ContentType ¶
func (r ModifyClientToSiteVpnServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyClientToSiteVpnServerResponse) GetBody ¶
func (r ModifyClientToSiteVpnServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyClientToSiteVpnServerResponse) Status ¶
func (r ModifyClientToSiteVpnServerResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyClientToSiteVpnServerResponse) StatusCode ¶
func (r ModifyClientToSiteVpnServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyIpsecFailoverJSONRequestBody
deprecated
type ModifyIpsecFailoverJSONRequestBody = IPsecFailoverConfiguration
ModifyIpsecFailoverJSONRequestBody defines body for ModifyIpsecFailover for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type ModifyIpsecFailoverResponse ¶
func ParseModifyIpsecFailoverResponse ¶
func ParseModifyIpsecFailoverResponse(rsp *http.Response) (*ModifyIpsecFailoverResponse, error)
ParseModifyIpsecFailoverResponse parses an HTTP response from a ModifyIpsecFailoverWithResponse call
func (ModifyIpsecFailoverResponse) ContentType ¶
func (r ModifyIpsecFailoverResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyIpsecFailoverResponse) GetBody ¶
func (r ModifyIpsecFailoverResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyIpsecFailoverResponse) Status ¶
func (r ModifyIpsecFailoverResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyIpsecFailoverResponse) StatusCode ¶
func (r ModifyIpsecFailoverResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyLockedSslVpnTunnuelJSONRequestBody ¶
type ModifyLockedSslVpnTunnuelJSONRequestBody = SslVpnLockCreateAndModifyOpenApiVO
ModifyLockedSslVpnTunnuelJSONRequestBody defines body for ModifyLockedSslVpnTunnuel for application/json ContentType.
type ModifyLockedSslVpnTunnuelResponse ¶
func ParseModifyLockedSslVpnTunnuelResponse ¶
func ParseModifyLockedSslVpnTunnuelResponse(rsp *http.Response) (*ModifyLockedSslVpnTunnuelResponse, error)
ParseModifyLockedSslVpnTunnuelResponse parses an HTTP response from a ModifyLockedSslVpnTunnuelWithResponse call
func (ModifyLockedSslVpnTunnuelResponse) ContentType ¶
func (r ModifyLockedSslVpnTunnuelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyLockedSslVpnTunnuelResponse) GetBody ¶
func (r ModifyLockedSslVpnTunnuelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyLockedSslVpnTunnuelResponse) Status ¶
func (r ModifyLockedSslVpnTunnuelResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyLockedSslVpnTunnuelResponse) StatusCode ¶
func (r ModifyLockedSslVpnTunnuelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyLockedSslVpnUserJSONRequestBody ¶
type ModifyLockedSslVpnUserJSONRequestBody = SslVpnLockModifyOpenApiVO
ModifyLockedSslVpnUserJSONRequestBody defines body for ModifyLockedSslVpnUser for application/json ContentType.
type ModifyLockedSslVpnUserResponse ¶
func ParseModifyLockedSslVpnUserResponse ¶
func ParseModifyLockedSslVpnUserResponse(rsp *http.Response) (*ModifyLockedSslVpnUserResponse, error)
ParseModifyLockedSslVpnUserResponse parses an HTTP response from a ModifyLockedSslVpnUserWithResponse call
func (ModifyLockedSslVpnUserResponse) ContentType ¶
func (r ModifyLockedSslVpnUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyLockedSslVpnUserResponse) GetBody ¶
func (r ModifyLockedSslVpnUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyLockedSslVpnUserResponse) Status ¶
func (r ModifyLockedSslVpnUserResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyLockedSslVpnUserResponse) StatusCode ¶
func (r ModifyLockedSslVpnUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyPeerJSONRequestBody
deprecated
type ModifyPeerJSONRequestBody = WireguardPeerOpenApiVO
ModifyPeerJSONRequestBody defines body for ModifyPeer for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type ModifyPeerResponse ¶
func ParseModifyPeerResponse ¶
func ParseModifyPeerResponse(rsp *http.Response) (*ModifyPeerResponse, error)
ParseModifyPeerResponse parses an HTTP response from a ModifyPeerWithResponse call
func (ModifyPeerResponse) ContentType ¶
func (r ModifyPeerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyPeerResponse) GetBody ¶
func (r ModifyPeerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyPeerResponse) Status ¶
func (r ModifyPeerResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyPeerResponse) StatusCode ¶
func (r ModifyPeerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyS2SAutoVpnJSONRequestBody ¶
type ModifyS2SAutoVpnJSONRequestBody = VpnSiteToSiteAutoConfigOpenApiVO
ModifyS2SAutoVpnJSONRequestBody defines body for ModifyS2SAutoVpn for application/json ContentType.
type ModifyS2SAutoVpnResponse ¶
func ParseModifyS2SAutoVpnResponse ¶
func ParseModifyS2SAutoVpnResponse(rsp *http.Response) (*ModifyS2SAutoVpnResponse, error)
ParseModifyS2SAutoVpnResponse parses an HTTP response from a ModifyS2SAutoVpnWithResponse call
func (ModifyS2SAutoVpnResponse) ContentType ¶
func (r ModifyS2SAutoVpnResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyS2SAutoVpnResponse) GetBody ¶
func (r ModifyS2SAutoVpnResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyS2SAutoVpnResponse) Status ¶
func (r ModifyS2SAutoVpnResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyS2SAutoVpnResponse) StatusCode ¶
func (r ModifyS2SAutoVpnResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyS2SManualVpnJSONRequestBody ¶
type ModifyS2SManualVpnJSONRequestBody = VpnSiteToSiteManualConfigOpenApiVO
ModifyS2SManualVpnJSONRequestBody defines body for ModifyS2SManualVpn for application/json ContentType.
type ModifyS2SManualVpnResponse ¶
func ParseModifyS2SManualVpnResponse ¶
func ParseModifyS2SManualVpnResponse(rsp *http.Response) (*ModifyS2SManualVpnResponse, error)
ParseModifyS2SManualVpnResponse parses an HTTP response from a ModifyS2SManualVpnWithResponse call
func (ModifyS2SManualVpnResponse) ContentType ¶
func (r ModifyS2SManualVpnResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyS2SManualVpnResponse) GetBody ¶
func (r ModifyS2SManualVpnResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyS2SManualVpnResponse) Status ¶
func (r ModifyS2SManualVpnResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyS2SManualVpnResponse) StatusCode ¶
func (r ModifyS2SManualVpnResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifySiteToSiteVpnJSONRequestBody
deprecated
type ModifySiteToSiteVpnJSONRequestBody = SiteToSiteVpn
ModifySiteToSiteVpnJSONRequestBody defines body for ModifySiteToSiteVpn for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type ModifySiteToSiteVpnResponse ¶
func ParseModifySiteToSiteVpnResponse ¶
func ParseModifySiteToSiteVpnResponse(rsp *http.Response) (*ModifySiteToSiteVpnResponse, error)
ParseModifySiteToSiteVpnResponse parses an HTTP response from a ModifySiteToSiteVpnWithResponse call
func (ModifySiteToSiteVpnResponse) ContentType ¶
func (r ModifySiteToSiteVpnResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifySiteToSiteVpnResponse) GetBody ¶
func (r ModifySiteToSiteVpnResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifySiteToSiteVpnResponse) Status ¶
func (r ModifySiteToSiteVpnResponse) Status() string
Status returns HTTPResponse.Status
func (ModifySiteToSiteVpnResponse) StatusCode ¶
func (r ModifySiteToSiteVpnResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifySslVpnResourceGroupJSONRequestBody ¶
type ModifySslVpnResourceGroupJSONRequestBody = SslVpnResourceGroupModifyOpenApiVO
ModifySslVpnResourceGroupJSONRequestBody defines body for ModifySslVpnResourceGroup for application/json ContentType.
type ModifySslVpnResourceGroupResponse ¶
func ParseModifySslVpnResourceGroupResponse ¶
func ParseModifySslVpnResourceGroupResponse(rsp *http.Response) (*ModifySslVpnResourceGroupResponse, error)
ParseModifySslVpnResourceGroupResponse parses an HTTP response from a ModifySslVpnResourceGroupWithResponse call
func (ModifySslVpnResourceGroupResponse) ContentType ¶
func (r ModifySslVpnResourceGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifySslVpnResourceGroupResponse) GetBody ¶
func (r ModifySslVpnResourceGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifySslVpnResourceGroupResponse) Status ¶
func (r ModifySslVpnResourceGroupResponse) Status() string
Status returns HTTPResponse.Status
func (ModifySslVpnResourceGroupResponse) StatusCode ¶
func (r ModifySslVpnResourceGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifySslVpnResourceJSONRequestBody ¶
type ModifySslVpnResourceJSONRequestBody = SslVpnResourceModifyOpenApiVO
ModifySslVpnResourceJSONRequestBody defines body for ModifySslVpnResource for application/json ContentType.
type ModifySslVpnResourceResponse ¶
func ParseModifySslVpnResourceResponse ¶
func ParseModifySslVpnResourceResponse(rsp *http.Response) (*ModifySslVpnResourceResponse, error)
ParseModifySslVpnResourceResponse parses an HTTP response from a ModifySslVpnResourceWithResponse call
func (ModifySslVpnResourceResponse) ContentType ¶
func (r ModifySslVpnResourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifySslVpnResourceResponse) GetBody ¶
func (r ModifySslVpnResourceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifySslVpnResourceResponse) Status ¶
func (r ModifySslVpnResourceResponse) Status() string
Status returns HTTPResponse.Status
func (ModifySslVpnResourceResponse) StatusCode ¶
func (r ModifySslVpnResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifySslVpnServerSettingJSONRequestBody
deprecated
type ModifySslVpnServerSettingJSONRequestBody = SslVpnServerConfigOpenApiVO
ModifySslVpnServerSettingJSONRequestBody defines body for ModifySslVpnServerSetting for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type ModifySslVpnServerSettingResponse ¶
func ParseModifySslVpnServerSettingResponse ¶
func ParseModifySslVpnServerSettingResponse(rsp *http.Response) (*ModifySslVpnServerSettingResponse, error)
ParseModifySslVpnServerSettingResponse parses an HTTP response from a ModifySslVpnServerSettingWithResponse call
func (ModifySslVpnServerSettingResponse) ContentType ¶
func (r ModifySslVpnServerSettingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifySslVpnServerSettingResponse) GetBody ¶
func (r ModifySslVpnServerSettingResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifySslVpnServerSettingResponse) Status ¶
func (r ModifySslVpnServerSettingResponse) Status() string
Status returns HTTPResponse.Status
func (ModifySslVpnServerSettingResponse) StatusCode ¶
func (r ModifySslVpnServerSettingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifySslVpnUserGroupJSONRequestBody ¶
type ModifySslVpnUserGroupJSONRequestBody = SslVpnUserGroupModifyOpenApiVO
ModifySslVpnUserGroupJSONRequestBody defines body for ModifySslVpnUserGroup for application/json ContentType.
type ModifySslVpnUserGroupResponse ¶
func ParseModifySslVpnUserGroupResponse ¶
func ParseModifySslVpnUserGroupResponse(rsp *http.Response) (*ModifySslVpnUserGroupResponse, error)
ParseModifySslVpnUserGroupResponse parses an HTTP response from a ModifySslVpnUserGroupWithResponse call
func (ModifySslVpnUserGroupResponse) ContentType ¶
func (r ModifySslVpnUserGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifySslVpnUserGroupResponse) GetBody ¶
func (r ModifySslVpnUserGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifySslVpnUserGroupResponse) Status ¶
func (r ModifySslVpnUserGroupResponse) Status() string
Status returns HTTPResponse.Status
func (ModifySslVpnUserGroupResponse) StatusCode ¶
func (r ModifySslVpnUserGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifySslVpnUserJSONRequestBody ¶
type ModifySslVpnUserJSONRequestBody = SslVpnUserModifyOpenApiVO
ModifySslVpnUserJSONRequestBody defines body for ModifySslVpnUser for application/json ContentType.
type ModifySslVpnUserResponse ¶
func ParseModifySslVpnUserResponse ¶
func ParseModifySslVpnUserResponse(rsp *http.Response) (*ModifySslVpnUserResponse, error)
ParseModifySslVpnUserResponse parses an HTTP response from a ModifySslVpnUserWithResponse call
func (ModifySslVpnUserResponse) ContentType ¶
func (r ModifySslVpnUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifySslVpnUserResponse) GetBody ¶
func (r ModifySslVpnUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifySslVpnUserResponse) Status ¶
func (r ModifySslVpnUserResponse) Status() string
Status returns HTTPResponse.Status
func (ModifySslVpnUserResponse) StatusCode ¶
func (r ModifySslVpnUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyVpnClientJSONRequestBody ¶
type ModifyVpnClientJSONRequestBody = VpnClientConfigOpenApiVO
ModifyVpnClientJSONRequestBody defines body for ModifyVpnClient for application/json ContentType.
type ModifyVpnClientResponse ¶
func ParseModifyVpnClientResponse ¶
func ParseModifyVpnClientResponse(rsp *http.Response) (*ModifyVpnClientResponse, error)
ParseModifyVpnClientResponse parses an HTTP response from a ModifyVpnClientWithResponse call
func (ModifyVpnClientResponse) ContentType ¶
func (r ModifyVpnClientResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyVpnClientResponse) GetBody ¶
func (r ModifyVpnClientResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyVpnClientResponse) Status ¶
func (r ModifyVpnClientResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyVpnClientResponse) StatusCode ¶
func (r ModifyVpnClientResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyVpnServerJSONRequestBody ¶
type ModifyVpnServerJSONRequestBody = VpnServerConfigOpenApiVO
ModifyVpnServerJSONRequestBody defines body for ModifyVpnServer for application/json ContentType.
type ModifyVpnServerResponse ¶
func ParseModifyVpnServerResponse ¶
func ParseModifyVpnServerResponse(rsp *http.Response) (*ModifyVpnServerResponse, error)
ParseModifyVpnServerResponse parses an HTTP response from a ModifyVpnServerWithResponse call
func (ModifyVpnServerResponse) ContentType ¶
func (r ModifyVpnServerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyVpnServerResponse) GetBody ¶
func (r ModifyVpnServerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyVpnServerResponse) Status ¶
func (r ModifyVpnServerResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyVpnServerResponse) StatusCode ¶
func (r ModifyVpnServerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyVpnUserJSONRequestBody
deprecated
type ModifyVpnUserJSONRequestBody = VpnUser
ModifyVpnUserJSONRequestBody defines body for ModifyVpnUser for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type ModifyVpnUserResponse ¶
func ParseModifyVpnUserResponse ¶
func ParseModifyVpnUserResponse(rsp *http.Response) (*ModifyVpnUserResponse, error)
ParseModifyVpnUserResponse parses an HTTP response from a ModifyVpnUserWithResponse call
func (ModifyVpnUserResponse) ContentType ¶
func (r ModifyVpnUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyVpnUserResponse) GetBody ¶
func (r ModifyVpnUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyVpnUserResponse) Status ¶
func (r ModifyVpnUserResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyVpnUserResponse) StatusCode ¶
func (r ModifyVpnUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyVpnUserV2JSONRequestBody
deprecated
type ModifyVpnUserV2JSONRequestBody = VpnUserRequest
ModifyVpnUserV2JSONRequestBody defines body for ModifyVpnUserV2 for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type ModifyVpnUserV2Response ¶
func ParseModifyVpnUserV2Response ¶
func ParseModifyVpnUserV2Response(rsp *http.Response) (*ModifyVpnUserV2Response, error)
ParseModifyVpnUserV2Response parses an HTTP response from a ModifyVpnUserV2WithResponse call
func (ModifyVpnUserV2Response) ContentType ¶
func (r ModifyVpnUserV2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyVpnUserV2Response) GetBody ¶
func (r ModifyVpnUserV2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyVpnUserV2Response) Status ¶
func (r ModifyVpnUserV2Response) Status() string
Status returns HTTPResponse.Status
func (ModifyVpnUserV2Response) StatusCode ¶
func (r ModifyVpnUserV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyVpnUserV3JSONRequestBody ¶
type ModifyVpnUserV3JSONRequestBody = VpnUserConfigVO
ModifyVpnUserV3JSONRequestBody defines body for ModifyVpnUserV3 for application/json ContentType.
type ModifyVpnUserV3Response ¶
func ParseModifyVpnUserV3Response ¶
func ParseModifyVpnUserV3Response(rsp *http.Response) (*ModifyVpnUserV3Response, error)
ParseModifyVpnUserV3Response parses an HTTP response from a ModifyVpnUserV3WithResponse call
func (ModifyVpnUserV3Response) ContentType ¶
func (r ModifyVpnUserV3Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyVpnUserV3Response) GetBody ¶
func (r ModifyVpnUserV3Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyVpnUserV3Response) Status ¶
func (r ModifyVpnUserV3Response) Status() string
Status returns HTTPResponse.Status
func (ModifyVpnUserV3Response) StatusCode ¶
func (r ModifyVpnUserV3Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ModifyWireguardJSONRequestBody
deprecated
type ModifyWireguardJSONRequestBody = WireguardOpenApiVO
ModifyWireguardJSONRequestBody defines body for ModifyWireguard for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type ModifyWireguardResponse ¶
func ParseModifyWireguardResponse ¶
func ParseModifyWireguardResponse(rsp *http.Response) (*ModifyWireguardResponse, error)
ParseModifyWireguardResponse parses an HTTP response from a ModifyWireguardWithResponse call
func (ModifyWireguardResponse) ContentType ¶
func (r ModifyWireguardResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModifyWireguardResponse) GetBody ¶
func (r ModifyWireguardResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModifyWireguardResponse) Status ¶
func (r ModifyWireguardResponse) Status() string
Status returns HTTPResponse.Status
func (ModifyWireguardResponse) StatusCode ¶
func (r ModifyWireguardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MultiLinkEntryDTO ¶
type MultiLinkEntryDTO struct {
// Channel MLO Channel
Channel *int32 `json:"channel,omitempty"`
// Radio MLO Radio
Radio *int32 `json:"radio,omitempty"`
}
MultiLinkEntryDTO Vigi MultiLink In MLO Mode
type OnuInformationConfigDTO ¶
type OnuInformationConfigDTO struct {
// ActiveStatus Active status should be a value as follows:ACTIVE: ONU is in an active state, capable of data communication and carrying services.
// INACTIVE: ONU is in an inactive state, possibly due to unactivated configuration, being offline, configuration failure, or mismatched configuration.
ActiveStatus *OnuInformationConfigDTOActiveStatus `json:"activeStatus,omitempty"`
// AdminStatus Admin status should be a value as follows:ACTIVATE,DEACTIVATE
AdminStatus *OnuInformationConfigDTOAdminStatus `json:"adminStatus,omitempty"`
// ConfigStatus Config status should be a value as follows:SUCCESS: Configuration successfully delivered and recognized by the ONU.FAILED: Configuration not successfully delivered or not recognized by the ONU.
ConfigStatus *OnuInformationConfigDTOConfigStatus `json:"configStatus,omitempty"`
// EquipmentId Matched ONU device ID, equipmentId should contain 1 to 20 characters in ASCII code from \x21 to \x7e.
EquipmentId *string `json:"equipmentId,omitempty"`
// HardwareVersion Hardware version of the ONU, hardwareVersion should contain 1 to 20 characters, including uppercase and lowercase letters, numbers, and the symbols -@_:/.
HardwareVersion *string `json:"hardwareVersion,omitempty"`
// Key Identifier of ONU
Key *string `json:"key,omitempty"`
// LineProfile Line profile.Display in the format: Line_Profile_Name + Line_Profile_ID.
LineProfile *string `json:"lineProfile,omitempty"`
// MacAddress Mac address of ONU
MacAddress *string `json:"macAddress,omitempty"`
// MatchStatus Match status should be a value as follows:MATCH: ONU hardware capabilities are consistent with the bound service template.MISMATCH: ONU hardware capabilities are inconsistent with the bound service template.
MatchStatus *OnuInformationConfigDTOMatchStatus `json:"matchStatus,omitempty"`
// OnlineStatus Online status should be a value as follows:ONLINE,OFFLINE
OnlineStatus *OnuInformationConfigDTOOnlineStatus `json:"onlineStatus,omitempty"`
// OnuDescription Description of ONU.OnuDescription should be 1-32 characters, including letters, numbers, and symbols (-@_:/.).
OnuDescription *string `json:"onuDescription,omitempty"`
// OnuId Onu Id should be within the range of 0 to 127
OnuId *int32 `json:"onuId,omitempty"`
// PonPortId PON port ID of the registered and online ONT
PonPortId *int32 `json:"ponPortId,omitempty"`
// PonPortStr String form of pon port.e.g.,PON 1/2/1
PonPortStr *string `json:"ponPortStr,omitempty"`
// ReceivedOpticalPower ONU's received power, in dBm.
ReceivedOpticalPower *string `json:"receivedOpticalPower,omitempty"`
// SerialNumber SerialNumber should contain 12, 13, or 16 characters, formatted as `XXXXXXXXXXXX`,'XXXX-XXXXXXXX','XXXXXXXXXXXXXXXX'.
SerialNumber *string `json:"serialNumber,omitempty"`
// ServicePortProfile Service port profile.Display in the format: Service_Port_Profile_Name + Service_Port_Profile_ID.
ServicePortProfile *string `json:"servicePortProfile,omitempty"`
// ServiceProfile Service profile.Display in the format: Service_Profile_Name + Service_Profile_ID.
ServiceProfile *string `json:"serviceProfile,omitempty"`
SoftWareVersion *string `json:"softWareVersion,omitempty"`
// SoftwareVersion Content
SoftwareVersion *OnuInformationConfigDTO `json:"softwareVersion,omitempty"`
// TransmittedOpticalPower ONU's transmission power, in dBm.
TransmittedOpticalPower *string `json:"transmittedOpticalPower,omitempty"`
}
OnuInformationConfigDTO Content
type OnuInformationConfigDTOActiveStatus ¶
type OnuInformationConfigDTOActiveStatus string
OnuInformationConfigDTOActiveStatus Active status should be a value as follows:ACTIVE: ONU is in an active state, capable of data communication and carrying services. INACTIVE: ONU is in an inactive state, possibly due to unactivated configuration, being offline, configuration failure, or mismatched configuration.
const ( ACTIVE OnuInformationConfigDTOActiveStatus = "ACTIVE" INACTIVE OnuInformationConfigDTOActiveStatus = "INACTIVE" )
Defines values for OnuInformationConfigDTOActiveStatus.
func (OnuInformationConfigDTOActiveStatus) Valid ¶
func (e OnuInformationConfigDTOActiveStatus) Valid() bool
Valid indicates whether the value is a known member of the OnuInformationConfigDTOActiveStatus enum.
type OnuInformationConfigDTOAdminStatus ¶
type OnuInformationConfigDTOAdminStatus string
OnuInformationConfigDTOAdminStatus Admin status should be a value as follows:ACTIVATE,DEACTIVATE
const ( ACTIVATE OnuInformationConfigDTOAdminStatus = "ACTIVATE" ACTIVATED OnuInformationConfigDTOAdminStatus = "ACTIVATED" DEACTIVATE OnuInformationConfigDTOAdminStatus = "DEACTIVATE" DEACTIVATED OnuInformationConfigDTOAdminStatus = "DEACTIVATED" )
Defines values for OnuInformationConfigDTOAdminStatus.
func (OnuInformationConfigDTOAdminStatus) Valid ¶
func (e OnuInformationConfigDTOAdminStatus) Valid() bool
Valid indicates whether the value is a known member of the OnuInformationConfigDTOAdminStatus enum.
type OnuInformationConfigDTOConfigStatus ¶
type OnuInformationConfigDTOConfigStatus string
OnuInformationConfigDTOConfigStatus Config status should be a value as follows:SUCCESS: Configuration successfully delivered and recognized by the ONU.FAILED: Configuration not successfully delivered or not recognized by the ONU.
const ( OnuInformationConfigDTOConfigStatusFAILED OnuInformationConfigDTOConfigStatus = "FAILED" OnuInformationConfigDTOConfigStatusSUCCESS OnuInformationConfigDTOConfigStatus = "SUCCESS" )
Defines values for OnuInformationConfigDTOConfigStatus.
func (OnuInformationConfigDTOConfigStatus) Valid ¶
func (e OnuInformationConfigDTOConfigStatus) Valid() bool
Valid indicates whether the value is a known member of the OnuInformationConfigDTOConfigStatus enum.
type OnuInformationConfigDTOMatchStatus ¶
type OnuInformationConfigDTOMatchStatus string
OnuInformationConfigDTOMatchStatus Match status should be a value as follows:MATCH: ONU hardware capabilities are consistent with the bound service template.MISMATCH: ONU hardware capabilities are inconsistent with the bound service template.
const ( MATCH OnuInformationConfigDTOMatchStatus = "MATCH" MISMATCH OnuInformationConfigDTOMatchStatus = "MISMATCH" )
Defines values for OnuInformationConfigDTOMatchStatus.
func (OnuInformationConfigDTOMatchStatus) Valid ¶
func (e OnuInformationConfigDTOMatchStatus) Valid() bool
Valid indicates whether the value is a known member of the OnuInformationConfigDTOMatchStatus enum.
type OnuInformationConfigDTOOnlineStatus ¶
type OnuInformationConfigDTOOnlineStatus string
OnuInformationConfigDTOOnlineStatus Online status should be a value as follows:ONLINE,OFFLINE
const ( OnuInformationConfigDTOOnlineStatusFAILED OnuInformationConfigDTOOnlineStatus = "FAILED" OnuInformationConfigDTOOnlineStatusOFFLINE OnuInformationConfigDTOOnlineStatus = "OFFLINE" OnuInformationConfigDTOOnlineStatusONLINE OnuInformationConfigDTOOnlineStatus = "ONLINE" OnuInformationConfigDTOOnlineStatusSUCCESSFUL OnuInformationConfigDTOOnlineStatus = "SUCCESSFUL" OnuInformationConfigDTOOnlineStatusUPGRADING OnuInformationConfigDTOOnlineStatus = "UPGRADING" OnuInformationConfigDTOOnlineStatusWAITINGUPGRADE OnuInformationConfigDTOOnlineStatus = "WAITING_UPGRADE" )
Defines values for OnuInformationConfigDTOOnlineStatus.
func (OnuInformationConfigDTOOnlineStatus) Valid ¶
func (e OnuInformationConfigDTOOnlineStatus) Valid() bool
Valid indicates whether the value is a known member of the OnuInformationConfigDTOOnlineStatus enum.
type OperationResponse ¶
type OperationResponse struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *map[string]interface{} `json:"result,omitempty"`
}
OperationResponse defines model for OperationResponse.
type OperationResponseClientToSiteVpnClient ¶
type OperationResponseClientToSiteVpnClient struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *ClientToSiteVpnClient `json:"result,omitempty"`
}
OperationResponseClientToSiteVpnClient defines model for OperationResponseClientToSiteVpnClient.
type OperationResponseClientToSiteVpnServer ¶
type OperationResponseClientToSiteVpnServer struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *ClientToSiteVpnServer `json:"result,omitempty"`
}
OperationResponseClientToSiteVpnServer defines model for OperationResponseClientToSiteVpnServer.
type OperationResponseFunctionOpenApiVO ¶
type OperationResponseFunctionOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *FunctionOpenApiVO `json:"result,omitempty"`
}
OperationResponseFunctionOpenApiVO defines model for OperationResponseFunctionOpenApiVO.
type OperationResponseGridVOIPsecFailoverInformation ¶
type OperationResponseGridVOIPsecFailoverInformation struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOIPsecFailoverInformation `json:"result,omitempty"`
}
OperationResponseGridVOIPsecFailoverInformation defines model for OperationResponseGridVOIPsecFailover Information.
type OperationResponseGridVOSSLVPNLockEntity ¶
type OperationResponseGridVOSSLVPNLockEntity struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOSSLVPNLockEntity `json:"result,omitempty"`
}
OperationResponseGridVOSSLVPNLockEntity defines model for OperationResponseGridVOSSL VPN Lock Entity.
type OperationResponseGridVOSslVpnResourceEntity ¶
type OperationResponseGridVOSslVpnResourceEntity struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOSslVpnResourceEntity `json:"result,omitempty"`
}
OperationResponseGridVOSslVpnResourceEntity defines model for OperationResponseGridVOSslVpnResourceEntity.
type OperationResponseGridVOSslVpnResourceGroup ¶
type OperationResponseGridVOSslVpnResourceGroup struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOSslVpnResourceGroup `json:"result,omitempty"`
}
OperationResponseGridVOSslVpnResourceGroup defines model for OperationResponseGridVOSslVpnResourceGroup.
type OperationResponseGridVOWireguardDetailOpenApiVO ¶
type OperationResponseGridVOWireguardDetailOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *GridVOWireguardDetailOpenApiVO `json:"result,omitempty"`
}
OperationResponseGridVOWireguardDetailOpenApiVO defines model for OperationResponseGridVOWireguardDetailOpenApiVO.
type OperationResponseListRadiusServerBriefInfo ¶
type OperationResponseListRadiusServerBriefInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]RadiusServerBriefInfo `json:"result,omitempty"`
}
OperationResponseListRadiusServerBriefInfo defines model for OperationResponseListRadiusServerBriefInfo.
type OperationResponseListSiteToSiteVpn ¶
type OperationResponseListSiteToSiteVpn struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]SiteToSiteVpn `json:"result,omitempty"`
}
OperationResponseListSiteToSiteVpn defines model for OperationResponseListSiteToSiteVpn.
type OperationResponseListSslVpnResourceBriefInfo ¶
type OperationResponseListSslVpnResourceBriefInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]SslVpnResourceBriefInfo `json:"result,omitempty"`
}
OperationResponseListSslVpnResourceBriefInfo defines model for OperationResponseListSslVpnResourceBriefInfo.
type OperationResponseListSslVpnResourceGroupBriefInfo ¶
type OperationResponseListSslVpnResourceGroupBriefInfo struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]SslVpnResourceGroupBriefInfo `json:"result,omitempty"`
}
OperationResponseListSslVpnResourceGroupBriefInfo defines model for OperationResponseListSslVpnResourceGroupBriefInfo.
type OperationResponseListSslVpnUserGroupBriefVO ¶
type OperationResponseListSslVpnUserGroupBriefVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]SslVpnUserGroupBriefVO `json:"result,omitempty"`
}
OperationResponseListSslVpnUserGroupBriefVO defines model for OperationResponseListSslVpnUserGroupBriefVO.
type OperationResponseListVpnUserBriefVO ¶
type OperationResponseListVpnUserBriefVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]VpnUserBriefVO `json:"result,omitempty"`
}
OperationResponseListVpnUserBriefVO defines model for OperationResponseListVpnUserBriefVO.
type OperationResponseListVpnUserResponse ¶
type OperationResponseListVpnUserResponse struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]VpnUserResponse `json:"result,omitempty"`
}
OperationResponseListVpnUserResponse defines model for OperationResponseListVpnUserResponse.
type OperationResponseListVpnUserServerBriefVO ¶
type OperationResponseListVpnUserServerBriefVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *[]VpnUserServerBriefVO `json:"result,omitempty"`
}
OperationResponseListVpnUserServerBriefVO defines model for OperationResponseListVpnUserServerBriefVO.
type OperationResponseMapStringObject ¶
type OperationResponseMapStringObject struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *map[string]map[string]interface{} `json:"result,omitempty"`
}
OperationResponseMapStringObject defines model for OperationResponseMapStringObject.
type OperationResponseResponseDataVOWireguardSummaryOpenApiVO ¶
type OperationResponseResponseDataVOWireguardSummaryOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *ResponseDataVOWireguardSummaryOpenApiVO `json:"result,omitempty"`
}
OperationResponseResponseDataVOWireguardSummaryOpenApiVO defines model for OperationResponseResponseDataVOWireguardSummaryOpenApiVO.
type OperationResponseResponseIdVO ¶
type OperationResponseResponseIdVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *ResponseIdVO `json:"result,omitempty"`
}
OperationResponseResponseIdVO defines model for OperationResponseResponseIdVO.
type OperationResponseSiteToSiteVpn ¶
type OperationResponseSiteToSiteVpn struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *SiteToSiteVpn `json:"result,omitempty"`
}
OperationResponseSiteToSiteVpn defines model for OperationResponseSiteToSiteVpn.
type OperationResponseSslVpnServerSetting ¶
type OperationResponseSslVpnServerSetting struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *SslVpnServerSetting `json:"result,omitempty"`
}
OperationResponseSslVpnServerSetting defines model for OperationResponseSslVpnServerSetting.
type OperationResponseSslVpnUserGridVOVpnUserInfoVO ¶
type OperationResponseSslVpnUserGridVOVpnUserInfoVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *SslVpnUserGridVOVpnUserInfoVO `json:"result,omitempty"`
}
OperationResponseSslVpnUserGridVOVpnUserInfoVO defines model for OperationResponseSslVpnUserGridVOVpnUserInfoVO.
type OperationResponseSslVpnUserGroupGridVOSslVpnUserGroupBriefVO ¶
type OperationResponseSslVpnUserGroupGridVOSslVpnUserGroupBriefVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *SslVpnUserGroupGridVOSslVpnUserGroupBriefVO `json:"result,omitempty"`
}
OperationResponseSslVpnUserGroupGridVOSslVpnUserGroupBriefVO defines model for OperationResponseSslVpnUserGroupGridVOSslVpnUserGroupBriefVO.
type OperationResponseSslVpnUserGroupGridVOSslVpnUserGroupEntity ¶
type OperationResponseSslVpnUserGroupGridVOSslVpnUserGroupEntity struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *SslVpnUserGroupGridVOSslVpnUserGroupEntity `json:"result,omitempty"`
}
OperationResponseSslVpnUserGroupGridVOSslVpnUserGroupEntity defines model for OperationResponseSslVpnUserGroupGridVOSslVpnUserGroupEntity.
type OperationResponseSslVpnUserOpenApiGridVOSslVpnUserEntity ¶
type OperationResponseSslVpnUserOpenApiGridVOSslVpnUserEntity struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *SslVpnUserOpenApiGridVOSslVpnUserEntity `json:"result,omitempty"`
}
OperationResponseSslVpnUserOpenApiGridVOSslVpnUserEntity defines model for OperationResponseSslVpnUserOpenApiGridVOSslVpnUserEntity.
type OperationResponseVpnAvailableIpPoolVO ¶
type OperationResponseVpnAvailableIpPoolVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *VpnAvailableIpPoolVO `json:"result,omitempty"`
}
OperationResponseVpnAvailableIpPoolVO defines model for OperationResponseVpnAvailableIpPoolVO.
type OperationResponseVpnCertificateVO ¶
type OperationResponseVpnCertificateVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *VpnCertificateVO `json:"result,omitempty"`
}
OperationResponseVpnCertificateVO defines model for OperationResponseVpnCertificateVO.
type OperationResponseVpnClientDetailVO ¶
type OperationResponseVpnClientDetailVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *VpnClientDetailVO `json:"result,omitempty"`
}
OperationResponseVpnClientDetailVO defines model for OperationResponseVpnClientDetailVO.
type OperationResponseVpnDefaultValueRespVO ¶
type OperationResponseVpnDefaultValueRespVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *VpnDefaultValueRespVO `json:"result,omitempty"`
}
OperationResponseVpnDefaultValueRespVO defines model for OperationResponseVpnDefaultValueRespVO.
type OperationResponseVpnListUsedFunctionOpenApiVO ¶
type OperationResponseVpnListUsedFunctionOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *VpnListUsedFunctionOpenApiVO `json:"result,omitempty"`
}
OperationResponseVpnListUsedFunctionOpenApiVO defines model for OperationResponseVpnListUsedFunctionOpenApiVO.
type OperationResponseVpnOpenApiGridVOClientToSiteVpnClient ¶
type OperationResponseVpnOpenApiGridVOClientToSiteVpnClient struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *VpnOpenApiGridVOClientToSiteVpnClient `json:"result,omitempty"`
}
OperationResponseVpnOpenApiGridVOClientToSiteVpnClient defines model for OperationResponseVpnOpenApiGridVOClientToSiteVpnClient.
type OperationResponseVpnOpenApiGridVOClientToSiteVpnServer ¶
type OperationResponseVpnOpenApiGridVOClientToSiteVpnServer struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *VpnOpenApiGridVOClientToSiteVpnServer `json:"result,omitempty"`
}
OperationResponseVpnOpenApiGridVOClientToSiteVpnServer defines model for OperationResponseVpnOpenApiGridVOClientToSiteVpnServer.
type OperationResponseVpnOpenApiGridVOVPN ¶
type OperationResponseVpnOpenApiGridVOVPN struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *VpnOpenApiGridVOVPN `json:"result,omitempty"`
}
OperationResponseVpnOpenApiGridVOVPN defines model for OperationResponseVpnOpenApiGridVOVPN.
type OperationResponseVpnPreSharedKeyVO ¶
type OperationResponseVpnPreSharedKeyVO struct {
}
OperationResponseVpnPreSharedKeyVO defines model for OperationResponseVpnPreSharedKeyVO.
type OperationResponseVpnServerDetailVO ¶
type OperationResponseVpnServerDetailVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *VpnServerDetailVO `json:"result,omitempty"`
}
OperationResponseVpnServerDetailVO defines model for OperationResponseVpnServerDetailVO.
type OperationResponseVpnSiteToSiteDetailOpenApiVO ¶
type OperationResponseVpnSiteToSiteDetailOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *VpnSiteToSiteDetailOpenApiVO `json:"result,omitempty"`
}
OperationResponseVpnSiteToSiteDetailOpenApiVO defines model for OperationResponseVpnSiteToSiteDetailOpenApiVO.
type OperationResponseVpnSummaryOpenApiGridVOVpnSummaryVO ¶
type OperationResponseVpnSummaryOpenApiGridVOVpnSummaryVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *VpnSummaryOpenApiGridVOVpnSummaryVO `json:"result,omitempty"`
}
OperationResponseVpnSummaryOpenApiGridVOVpnSummaryVO defines model for OperationResponseVpnSummaryOpenApiGridVOVpnSummaryVO.
type OperationResponseVpnUserBriefVO ¶
type OperationResponseVpnUserBriefVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *VpnUserBriefVO `json:"result,omitempty"`
}
OperationResponseVpnUserBriefVO defines model for OperationResponseVpnUserBriefVO.
type OperationResponseVpnUserOpenApiGridVOVpnUserInfoVO ¶
type OperationResponseVpnUserOpenApiGridVOVpnUserInfoVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *VpnUserOpenApiGridVOVpnUserInfoVO `json:"result,omitempty"`
}
OperationResponseVpnUserOpenApiGridVOVpnUserInfoVO defines model for OperationResponseVpnUserOpenApiGridVOVpnUserInfoVO.
type OperationResponseVpnUserOpenApiGridVOVpnUserResponse ¶
type OperationResponseVpnUserOpenApiGridVOVpnUserResponse struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *VpnUserOpenApiGridVOVpnUserResponse `json:"result,omitempty"`
}
OperationResponseVpnUserOpenApiGridVOVpnUserResponse defines model for OperationResponseVpnUserOpenApiGridVOVpnUserResponse.
type OperationResponseVpnUserServerGridVOVpnUserInfoVO ¶
type OperationResponseVpnUserServerGridVOVpnUserInfoVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *VpnUserServerGridVOVpnUserInfoVO `json:"result,omitempty"`
}
OperationResponseVpnUserServerGridVOVpnUserInfoVO defines model for OperationResponseVpnUserServerGridVOVpnUserInfoVO.
type OperationResponseWireguardKeyOpenApiVO ¶
type OperationResponseWireguardKeyOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *WireguardKeyOpenApiVO `json:"result,omitempty"`
}
OperationResponseWireguardKeyOpenApiVO defines model for OperationResponseWireguardKeyOpenApiVO.
type OperationResponseWireguardPeerOpenApiGridVOWireguardPeerDetailOpenApiVO ¶
type OperationResponseWireguardPeerOpenApiGridVOWireguardPeerDetailOpenApiVO struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
Result *WireguardPeerOpenApiGridVOWireguardPeerDetailOpenApiVO `json:"result,omitempty"`
}
OperationResponseWireguardPeerOpenApiGridVOWireguardPeerDetailOpenApiVO defines model for OperationResponseWireguardPeerOpenApiGridVOWireguardPeerDetailOpenApiVO.
type OperationResponseWithoutResult ¶
type OperationResponseWithoutResult struct {
ErrorCode *int32 `json:"errorCode,omitempty"`
Msg *string `json:"msg,omitempty"`
}
OperationResponseWithoutResult defines model for OperationResponseWithoutResult.
type OswBandCtrlLimitRangeVO ¶
type OswBandCtrlLimitRangeVO struct {
// MaxEgressRate max egress rate
MaxEgressRate *int32 `json:"maxEgressRate,omitempty"`
// MaxIngressRate max ingress rate
MaxIngressRate *int32 `json:"maxIngressRate,omitempty"`
// MinEgressRate min egress rate
MinEgressRate *int32 `json:"minEgressRate,omitempty"`
// MinIngressRate min ingress rate
MinIngressRate *int32 `json:"minIngressRate,omitempty"`
// Unit unit: 1: kbps, 2: mbps
Unit *int32 `json:"unit,omitempty"`
}
OswBandCtrlLimitRangeVO The limit range of the bandwidth control
type OswBandCtrlVO ¶
type OswBandCtrlVO struct {
// EgressEnable Indicates whether egress is enabled
EgressEnable bool `json:"egressEnable"`
// EgressLimit Egress Limit, when the user-configured value is much larger than the actual maximum value, the device will process it at the maximum value
EgressLimit *int32 `json:"egressLimit,omitempty"`
// EgressUnit Egress Unit should be a value as follows: 1: Kbps; 2: Mbps
EgressUnit *int32 `json:"egressUnit,omitempty"`
// IngressEnable Indicates whether egress is enabled
IngressEnable bool `json:"ingressEnable"`
// IngressLimit Ingress Limit, when the user-configured value is much larger than the actual maximum value, the device will process it at the maximum value
IngressLimit *int32 `json:"ingressLimit,omitempty"`
// IngressUnit Ingress Unit should be a value as follows: 1: Kbps; 2: Mbps
IngressUnit *int32 `json:"ingressUnit,omitempty"`
// LimitRange The limit range of the bandwidth control
LimitRange *[]OswBandCtrlLimitRangeVO `json:"limitRange,omitempty"`
// UnitSupport The supported units of the bandwidth control, 1: Kbps; 2: Mbps
UnitSupport *[]int32 `json:"unitSupport,omitempty"`
}
OswBandCtrlVO Speed Limit
type OswDataVO ¶
type OswDataVO struct {
// DhcpSnoopPorts The ports dhcp snooping selected.
DhcpSnoopPorts *[]PortVO `json:"dhcpSnoopPorts,omitempty"`
// Lags Lag List
Lags *[]OswLagVO `json:"lags,omitempty"`
// Mac Device mac
Mac *string `json:"mac,omitempty"`
// Model Model of device,for example:EAP225
Model *string `json:"model,omitempty"`
// ModelVersion Model version of device,for example:3.0
ModelVersion *string `json:"modelVersion,omitempty"`
// Name Device name,default value is the mac address of device
Name *string `json:"name,omitempty"`
// NetworkNotAssociatedLags The lags not associated with network.
NetworkNotAssociatedLags *[]int32 `json:"networkNotAssociatedLags,omitempty"`
// NetworkNotAssociatedStandardPorts The ports not associated with network.
NetworkNotAssociatedStandardPorts *[]OswStandPortVO `json:"networkNotAssociatedStandardPorts,omitempty"`
// PortNum The number of ports of one device.
PortNum *int32 `json:"portNum,omitempty"`
// Ports Port List
Ports *[]OswPortVO `json:"ports,omitempty"`
// ShowModel Model complex shown in the front end.Ap:model+(country)+modelVersion,EAP225(EU) v3.0 Gateway/Switch:model+modelVersion,Osg v3.0
ShowModel *string `json:"showModel,omitempty"`
// StackId Stack Id
StackId *string `json:"stackId,omitempty"`
// StackName Stack name
StackName *string `json:"stackName,omitempty"`
// StackOswData stackOswData
StackOswData *OswStackDataVOOswDataVO `json:"stackOswData,omitempty"`
// Status Status of device,status should be a value as follows: 0:Disconnected;1:Disconnected(Migrating);10:Provisioning;11:Configuring;12:Upgrading;13:Rebooting;14:Connected;15:Connected(Wireless);16:Connected(Migrating);17:Connected(Wireless,Migrating);20:Pending;21:Pending(Wireless);22:Adopting;23:Adopting(Wireless);24:Adopt Failed;25:Adopt Failed(Wireless);26:Managed By Others;27:Managed By Others(Wireless);30:Heartbeat Missed;31:Heartbeat Missed(Wireless);32:Heartbeat Missed(Migrating);33:Heartbeat Missed(Wireless,Migrating);40:Isolated;41:Isolated(Migrating);50:Slice Configuring
Status *int32 `json:"status,omitempty"`
// Type Device type:ap、gateway、switch、olt
Type *string `json:"type,omitempty"`
// UnSelectedablePorts The unSelectedable ports of the device.
UnSelectedablePorts *[]PortVO `json:"unSelectedablePorts,omitempty"`
// Unit Unit
Unit *int32 `json:"unit,omitempty"`
// Uplink Uplink Omada device
Uplink *OswUplinkVO `json:"uplink,omitempty"`
}
OswDataVO defines model for OswDataVO.
type OswDevCapVO ¶
type OswDevCapVO struct {
// ArpTableSupport Arp Table Support
ArpTableSupport *bool `json:"arpTableSupport,omitempty"`
// CableTestSupport Cable Test Support
CableTestSupport *bool `json:"cableTestSupport,omitempty"`
// CliSupport CLI Support
CliSupport *bool `json:"cliSupport,omitempty"`
// CustomDhcpOptionSupport Custom DHCP Option Support
CustomDhcpOptionSupport *bool `json:"customDhcpOptionSupport,omitempty"`
// DdmSupport DDM Support
DdmSupport *bool `json:"ddmSupport,omitempty"`
// DhcpL2RelaySupport Dhcp L2 Relay Support
DhcpL2RelaySupport *bool `json:"dhcpL2RelaySupport,omitempty"`
// DhcpManualBindNum DHCP Manual Bind Num
DhcpManualBindNum *int32 `json:"dhcpManualBindNum,omitempty"`
// DhcpRangeSupport Whether the device supports DHCP server address pool
DhcpRangeSupport *bool `json:"dhcpRangeSupport,omitempty"`
// DhcpRelayIfNum DHCP Relay Interface Num
DhcpRelayIfNum *int32 `json:"dhcpRelayIfNum,omitempty"`
// DhcpReservationSupport Whether the device supports DHCP reservation
DhcpReservationSupport *bool `json:"dhcpReservationSupport,omitempty"`
// DhcpServerPoolNum DHCP Server Pool Num
DhcpServerPoolNum *int32 `json:"dhcpServerPoolNum,omitempty"`
// DnsLoopUpSupport DNS Loop Up Support
DnsLoopUpSupport *bool `json:"dnsLoopUpSupport,omitempty"`
// DomainPingSupport Domain Ping Support
DomainPingSupport *bool `json:"domainPingSupport,omitempty"`
// DomainTraceRouteSupport Domain Trace Route Support
DomainTraceRouteSupport *bool `json:"domainTraceRouteSupport,omitempty"`
// EeeSupport eee Support
EeeSupport *bool `json:"eeeSupport,omitempty"`
// EsQosSupport Agile Series Switch QoS Support
EsQosSupport *bool `json:"esQosSupport,omitempty"`
// EsStpExtendSupport ES STP Extend Support
EsStpExtendSupport *bool `json:"esStpExtendSupport,omitempty"`
// FecSupport FEC Support
FecSupport *bool `json:"fecSupport,omitempty"`
// FlowControlSupport FlowControl Support
FlowControlSupport *bool `json:"flowControlSupport,omitempty"`
// GponSupport Gpon Support
GponSupport *bool `json:"gponSupport,omitempty"`
// IgmpFastLeaveSupport Igmp FastLeve Support
IgmpFastLeaveSupport *bool `json:"igmpFastLeaveSupport,omitempty"`
// IpcDetectSupport IPC Detect Support
IpcDetectSupport *bool `json:"ipcDetectSupport,omitempty"`
// Ipv4StaticRouteNum IPv4 Static Route Num
Ipv4StaticRouteNum *int32 `json:"ipv4StaticRouteNum,omitempty"`
// Ipv6StaticRouteNum IPv6 Static Route Num
Ipv6StaticRouteNum *int32 `json:"ipv6StaticRouteNum,omitempty"`
// JumboOddSupport Jumbo Odd Support
JumboOddSupport *bool `json:"jumboOddSupport,omitempty"`
// JumboSupport Jumbo Support
JumboSupport *bool `json:"jumboSupport,omitempty"`
// LagCap Capability of lag
LagCap *LagCapVO `json:"lagCap,omitempty"`
// LocatePortSupport Locate port Support
LocatePortSupport *bool `json:"locatePortSupport,omitempty"`
// LoopbackInterfaceCreateSupport Loopback Interface Create Support
LoopbackInterfaceCreateSupport *bool `json:"loopbackInterfaceCreateSupport,omitempty"`
// LoopbackInterfaceSupport Loopback Interface Support
LoopbackInterfaceSupport *bool `json:"loopbackInterfaceSupport,omitempty"`
// LoopbackVlanBasedSupport Loopback Detect Vlan Based Support
LoopbackVlanBasedSupport *bool `json:"loopbackVlanBasedSupport,omitempty"`
// MaxLagMember Max Lacp Member
MaxLagMember *int32 `json:"maxLagMember,omitempty"`
// MaxLagNum Max Lag Num
MaxLagNum *int32 `json:"maxLagNum,omitempty"`
// MaxMirrorGroup Max Mirror Group
MaxMirrorGroup *int32 `json:"maxMirrorGroup,omitempty"`
// MaxMirroredPort Max Mirrored Port
MaxMirroredPort *int32 `json:"maxMirroredPort,omitempty"`
// MaxRelayServerNum Max DHCP relay server num
MaxRelayServerNum *int32 `json:"maxRelayServerNum,omitempty"`
// MaxStackGroupNumber Max Stack Group Number
MaxStackGroupNumber *int32 `json:"maxStackGroupNumber,omitempty"`
// MaxStackUnitNumber Max Stack Unit Number
MaxStackUnitNumber *int32 `json:"maxStackUnitNumber,omitempty"`
// MirrorSupport Mirror Support
MirrorSupport *bool `json:"mirrorSupport,omitempty"`
// MlagGroupId MLAG Group ID
MlagGroupId *int32 `json:"mlagGroupId,omitempty"`
// MlagVersion MLAG Version
MlagVersion *string `json:"mlagVersion,omitempty"`
// MstpGetActiveSupport MSTP Get Active Support
MstpGetActiveSupport *bool `json:"mstpGetActiveSupport,omitempty"`
// MstpInsNo Mstp Max InstanceId
MstpInsNo *int32 `json:"mstpInsNo,omitempty"`
// MstpInsNum Mstp Instance Num
MstpInsNum *int32 `json:"mstpInsNum,omitempty"`
// MstpPortSupport MSTP Port Support
MstpPortSupport *bool `json:"mstpPortSupport,omitempty"`
// MtuInVlanSupport MTU In VLAN Support
MtuInVlanSupport *bool `json:"mtuInVlanSupport,omitempty"`
// NeedFullSync Need full sync
NeedFullSync *bool `json:"needFullSync,omitempty"`
// NetworkCheckSupport Network Check Support
NetworkCheckSupport *bool `json:"networkCheckSupport,omitempty"`
// OspfAutoCostRefSupport OSPF Process Auto-Cost Reference Bandwidth Support
OspfAutoCostRefSupport *bool `json:"ospfAutoCostRefSupport,omitempty"`
// OspfDeadIntervalSupport OSPF Dead Interval Support
OspfDeadIntervalSupport *bool `json:"ospfDeadIntervalSupport,omitempty"`
// OspfPassiveSupport OSPF Interface Passive Support
OspfPassiveSupport *bool `json:"ospfPassiveSupport,omitempty"`
// OspfSupport OSPF Support
OspfSupport *bool `json:"ospfSupport,omitempty"`
// OuiBasedVlanESSupport Oui Based Vlan Support
OuiBasedVlanESSupport *bool `json:"ouiBasedVlanESSupport,omitempty"`
// OuiBasedVlanSupport Oui Based Vlan Support
OuiBasedVlanSupport *bool `json:"ouiBasedVlanSupport,omitempty"`
// PacketCaptureSupport Packet Capture Support
PacketCaptureSupport *bool `json:"packetCaptureSupport,omitempty"`
// PingSupport Ping Support
PingSupport *bool `json:"pingSupport,omitempty"`
// PmtudSupport Path MTU Discovery Support
PmtudSupport *bool `json:"pmtudSupport,omitempty"`
// PoePortNum Poe Port Num
PoePortNum *int32 `json:"poePortNum,omitempty"`
// PoeSupport Poe Support
PoeSupport *bool `json:"poeSupport,omitempty"`
// QosForVlanSupport Qos for Vlan Support
QosForVlanSupport *bool `json:"qosForVlanSupport,omitempty"`
// QosSupport QoS Support
QosSupport *bool `json:"qosSupport,omitempty"`
// RpvstExtendSupport RPVST Extend Support
RpvstExtendSupport *bool `json:"rpvstExtendSupport,omitempty"`
// RpvstInsNum Max Rpvst Instance Num
RpvstInsNum *int32 `json:"rpvstInsNum,omitempty"`
// SfpBeginNum SFP Begin Num
SfpBeginNum *int32 `json:"sfpBeginNum,omitempty"`
// SfpNum SFP Num
SfpNum *int32 `json:"sfpNum,omitempty"`
// SnmpSupport SNMP Support
SnmpSupport *bool `json:"snmpSupport,omitempty"`
// StackPortCap Stack Port Capability
StackPortCap *map[string][]string `json:"stackPortCap,omitempty"`
// StaticRouteNum Static Route Num
StaticRouteNum *int32 `json:"staticRouteNum,omitempty"`
// StkVer Stack Version
StkVer *string `json:"stkVer,omitempty"`
// StkableGroupId Stackable Group ID
StkableGroupId *int32 `json:"stkableGroupId,omitempty"`
// StormRateModeSupport StormControl RateMode Support
StormRateModeSupport *bool `json:"stormRateModeSupport,omitempty"`
// StpExtendSupport STP Extend Support
StpExtendSupport *bool `json:"stpExtendSupport,omitempty"`
// StpSupport STP Support
StpSupport *bool `json:"stpSupport,omitempty"`
// SupportArpDetect Whether support arp detect
SupportArpDetect *bool `json:"supportArpDetect,omitempty"`
// SupportBt Support Poe Bt
SupportBt *bool `json:"supportBt,omitempty"`
// SupportClearCounters Whether the device supports clear counters
SupportClearCounters *bool `json:"supportClearCounters,omitempty"`
// SupportConfigSync Whether the device supports config sync
SupportConfigSync *bool `json:"supportConfigSync,omitempty"`
// SupportDhcpSnoop Whether support dhcp snoop
SupportDhcpSnoop *bool `json:"supportDhcpSnoop,omitempty"`
// SupportEsHealth Whether the device supports ES health check
SupportEsHealth *bool `json:"supportEsHealth,omitempty"`
// SupportEsMulticast Whether Agile Series Switch support multicast
SupportEsMulticast *bool `json:"supportEsMulticast,omitempty"`
// SupportFan Support Fan
SupportFan *bool `json:"supportFan,omitempty"`
// SupportGetDhcpClientTable Whether the device supports getting DHCP client table via get message
SupportGetDhcpClientTable *bool `json:"supportGetDhcpClientTable,omitempty"`
// SupportGetDhcpServerInfo Whether the device supports getting DHCP server info via get message
SupportGetDhcpServerInfo *bool `json:"supportGetDhcpServerInfo,omitempty"`
// SupportGetOspfNeighborTable Whether the device supports getting OSPF neighbor table via get message
SupportGetOspfNeighborTable *bool `json:"supportGetOspfNeighborTable,omitempty"`
// SupportGetVlanIfInfo Whether the device supports getting VLAN interface info via get message
SupportGetVlanIfInfo *bool `json:"supportGetVlanIfInfo,omitempty"`
// SupportImpb Whether support impb
SupportImpb *bool `json:"supportImpb,omitempty"`
// SupportLayout Whether the device supports reporting port layout information.
SupportLayout *bool `json:"supportLayout,omitempty"`
// SupportMad Whether the device supports MAD
SupportMad *bool `json:"supportMad,omitempty"`
// SupportMlag Whether the device supports MLAG
SupportMlag *bool `json:"supportMlag,omitempty"`
// SupportMulticast Whether support multicast
SupportMulticast *bool `json:"supportMulticast,omitempty"`
// SupportRelayMultiServer Whether the device supports DHCP relay multi Server
SupportRelayMultiServer *bool `json:"supportRelayMultiServer,omitempty"`
// SupportRunningConfig Whether the device supports showing running config
SupportRunningConfig *bool `json:"supportRunningConfig,omitempty"`
// SupportSdm Whether the device supports SDM
SupportSdm *bool `json:"supportSdm,omitempty"`
// SupportTpclResInfo Whether the device supports returning TPCL resource information
SupportTpclResInfo *bool `json:"supportTpclResInfo,omitempty"`
// SupportVrf Whether the device supports VRF
SupportVrf *bool `json:"supportVrf,omitempty"`
// TerminalSupport Terminal Support
TerminalSupport *bool `json:"terminalSupport,omitempty"`
// TracerouteSupport Traceroute Support
TracerouteSupport *bool `json:"tracerouteSupport,omitempty"`
// UplinkSupport Uplink Support
UplinkSupport *bool `json:"uplinkSupport,omitempty"`
// VlanIfNum Vlan Interface Num
VlanIfNum *int32 `json:"vlanIfNum,omitempty"`
// VoiceDscpSupport Voice DSCP Support
VoiceDscpSupport *bool `json:"voiceDscpSupport,omitempty"`
// VoiceNetworkSupport Voice Network Support
VoiceNetworkSupport *bool `json:"voiceNetworkSupport,omitempty"`
// VrfNum VRF Num
VrfNum *int32 `json:"vrfNum,omitempty"`
// VrrpSupport Vrrp Support
VrrpSupport *bool `json:"vrrpSupport,omitempty"`
}
OswDevCapVO Capability of device
type OswFecCapVO ¶
type OswFecCapVO struct {
// FecMode FEC mode, 0 - reserved, 1 - FEC-OFF, 2 - FEC-RS528, 3 - FEC-RS544, 4 - FEC-AUTO, 5 - FEC-BASER
FecMode *int32 `json:"fecMode,omitempty"`
// LinkSpeed speed of the link
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
}
OswFecCapVO All LinkSpeed&FECMode combinations supported by the port
type OswLagStatusVO ¶
type OswLagStatusVO struct {
// BlockedType Blocked Type
BlockedType *int32 `json:"blockedType,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blockedVlans,omitempty"`
// Duplex Duplex should be a value as follows: 0: Auto; 1: Half; 2: Full
Duplex *int32 `json:"duplex,omitempty"`
// LagId Lag ID
LagId *int32 `json:"lagId,omitempty"`
// LagType LagType should be a value as follows: 1: static; 2: LACP
LagType *int32 `json:"lagType,omitempty"`
// LinkSpeed Link Speed should be a value as follows: 0: auto; 1: 10M; 2: 100M; 3: 1000M; 4: 2.5G; 5: 10G
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// LinkStatus Link Status should be a value as follows: 1: link up; 0: link down
LinkStatus *int32 `json:"linkStatus,omitempty"`
// Name Lag name
Name *string `json:"name,omitempty"`
// Ports Ports member
Ports *[]int32 `json:"ports,omitempty"`
// Rx Rx
Rx *int64 `json:"rx,omitempty"`
// RxRate Rx Rate
RxRate *int64 `json:"rxRate,omitempty"`
// StandardPorts Standard Ports
StandardPorts *[]OswStandPortVO `json:"standardPorts,omitempty"`
// StpDiscarding STP Discarding
StpDiscarding *bool `json:"stpDiscarding,omitempty"`
// TrunkState LACP state
TrunkState *int32 `json:"trunkState,omitempty"`
// Tx Tx
Tx *int64 `json:"tx,omitempty"`
// TxRate Tx Rate
TxRate *int64 `json:"txRate,omitempty"`
}
OswLagStatusVO Lag Status
type OswLagVO ¶
type OswLagVO struct {
// AllAggregatingPorts All aggregating ports of the current Switch
AllAggregatingPorts *[]int32 `json:"allAggregatingPorts,omitempty"`
// AllMirroredPorts All mirrored ports on the Switch
AllMirroredPorts *[]int32 `json:"allMirroredPorts,omitempty"`
// AllMirroringPorts All mirroring ports of the current Switch
AllMirroringPorts *[]int32 `json:"allMirroringPorts,omitempty"`
// AllMlagDadPorts All ports configured with M-LAG DAD on the current Switch
AllMlagDadPorts *[]int32 `json:"allMlagDadPorts,omitempty"`
// AllMlagPeerLinkPorts All ports configured with M-LAG PeerLink on the current Switch
AllMlagPeerLinkPorts *[]int32 `json:"allMlagPeerLinkPorts,omitempty"`
// BandCtrl Speed Limit
BandCtrl *OswBandCtrlVO `json:"bandCtrl,omitempty"`
// BandWidthCtrlType BandWidthCtrlType should be a value as follows: 0: Off; 1: Rate Limit; 2: Storming Control
BandWidthCtrlType *int32 `json:"bandWidthCtrlType,omitempty"`
// DhcpL2RelaySettings Dhcp L2 Relay Setting
DhcpL2RelaySettings *OswPortDhcpL2RelayVO `json:"dhcpL2RelaySettings,omitempty"`
// Disable Indicates whether to disable
Disable *bool `json:"disable,omitempty"`
// Dot1pPriority Dot1p Priority
Dot1pPriority *int32 `json:"dot1pPriority,omitempty"`
// Duplex Duplex should be a value as follows: 0: Auto; 1: Half; 2: Full
Duplex *int32 `json:"duplex,omitempty"`
// EeeEnable Indicates whether EEE is enabled
EeeEnable *bool `json:"eeeEnable,omitempty"`
// EsEnableAllProfileCanAdd Indicates whether es enable of all profile can continue to add VLANs
EsEnableAllProfileCanAdd *bool `json:"esEnableAllProfileCanAdd,omitempty"`
// EsQosSupport Indicates whether the ES device port supports modification of QoS configuration
EsQosSupport *bool `json:"esQosSupport,omitempty"`
// FastLeaveEnable Indicates whether igmpSnooping fastLeave is enabled
FastLeaveEnable *bool `json:"fastLeaveEnable,omitempty"`
// FlowControlEnable Indicates whether flow control is enabled
FlowControlEnable *bool `json:"flowControlEnable,omitempty"`
// Id ID
Id *string `json:"id,omitempty"`
// IgmpFastLeaveEnable Indicates whether igmp fast leave is enabled
IgmpFastLeaveEnable *bool `json:"igmpFastLeaveEnable,omitempty"`
// IgmpSnoopingEnable Indicates whether IGMP Snooping is enabled
IgmpSnoopingEnable *bool `json:"igmpSnoopingEnable,omitempty"`
// LagId Lag ID
LagId *int32 `json:"lagId,omitempty"`
// LagStatus Lag Status
LagStatus *OswLagStatusVO `json:"lagStatus,omitempty"`
// LagType Lag Type should be a value as follows: 1: STATIC; 2: LACP; 3: LACP ACTIVE; 4: LACP PASSIVE
LagType *int32 `json:"lagType,omitempty"`
// LinkSpeed Link Speed should be a value as follows: 0: auto; 1: 10M; 2: 100M; 3: 1000M; 4: 2.5G; 5: 10G
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// LocateEnable Whether locate function is enabled
LocateEnable *bool `json:"locateEnable,omitempty"`
// LoopbackDetectEnable Indicates whether loopbackDetect port based is enabled
LoopbackDetectEnable *bool `json:"loopbackDetectEnable,omitempty"`
// LoopbackDetectVlanBasedEnable Indicates whether loopbackDetect vlan based is enabled
LoopbackDetectVlanBasedEnable *bool `json:"loopbackDetectVlanBasedEnable,omitempty"`
// MlagEnable Indicates whether M-LAG is enabled
MlagEnable *bool `json:"mlagEnable,omitempty"`
// MlagName M-LAG Name
MlagName *string `json:"mlagName,omitempty"`
// MlagPeerAllPortsConfigInfo Configuration information of all M-LAG Peer ports, used to determine whether the port can be selected
MlagPeerAllPortsConfigInfo *OswMlagPeerAllPortsConfigInfoVO `json:"mlagPeerAllPortsConfigInfo,omitempty"`
// MlagPeerSetting M-LAG group peer device setting
MlagPeerSetting *OswMlagPeerSettingVO `json:"mlagPeerSetting,omitempty"`
// MldFastLeaveEnable Indicates whether mld fast leave is enabled
MldFastLeaveEnable *bool `json:"mldFastLeaveEnable,omitempty"`
// Name Lag Name
Name *string `json:"name,omitempty"`
// NativeBridgeVlan Native Network Bridge Vlan.
NativeBridgeVlan *int32 `json:"nativeBridgeVlan,omitempty"`
// NativeNetworkId Native Network ID, Native Network cannot be selected from Tagged Networks or Untagged Networks.
NativeNetworkId *string `json:"nativeNetworkId,omitempty"`
// NetworkConflict Indicates whether the VLAN configuration activated on the port is inconsistent with the VLAN configuration in the Profile.
NetworkConflict *bool `json:"networkConflict,omitempty"`
// NetworkMode Network Mode should be a value as follows: 0: Trunk, 1: Access
NetworkMode *int32 `json:"networkMode,omitempty"`
// NetworkTagsSetting Network Tags Setting should be a value as follows: 0: Allow All; 1: Block All; 2: Custom
NetworkTagsSetting *int32 `json:"networkTagsSetting,omitempty"`
// OuiBasedVlanNetworks Vlans configured in oui based rules.
OuiBasedVlanNetworks *OswPortOuiBasedVlanVO `json:"ouiBasedVlanNetworks,omitempty"`
// PortAlertEnable Indicates whether port alert is enabled
PortAlertEnable *bool `json:"portAlertEnable,omitempty"`
// PortIsolationEnable Indicates whether port isolation is enabled
PortIsolationEnable *bool `json:"portIsolationEnable,omitempty"`
// Ports Lag Ports
Ports *[]int32 `json:"ports,omitempty"`
// ProfileId Profile ID
ProfileId *string `json:"profileId,omitempty"`
// ProfileName Lan Profile Name
ProfileName *string `json:"profileName,omitempty"`
// ProfileOverrideEnable Indicates whether to enable Profile Override before v6.2.10; Indicates the fill mode of port configuration after v6.2.10: true: custom; false: follow profile
ProfileOverrideEnable *bool `json:"profileOverrideEnable,omitempty"`
// ProfileVlanOverrideEnable Indicates the fill mode of vlan configuration: true: custom; false: follow profile
ProfileVlanOverrideEnable *bool `json:"profileVlanOverrideEnable,omitempty"`
// QosQueueEnable Indicates whether the ES device port has enabled the Qos scheduling queue configuration
QosQueueEnable *bool `json:"qosQueueEnable,omitempty"`
// QosSupport Indicates whether qos support is enabled
QosSupport *bool `json:"qosSupport,omitempty"`
// QueueId ES Qos scheduling queue ID
QueueId *int32 `json:"queueId,omitempty"`
// Resource Data Source. Resource should be a value as follows: 0: new created; 1: from template; 2: override
Resource *int32 `json:"resource,omitempty"`
// Site Site
Site *string `json:"site,omitempty"`
// SpanningTreeEnable Indicates whether SpanningTree is enabled
SpanningTreeEnable *bool `json:"spanningTreeEnable,omitempty"`
// SpanningTreeSetting SpanningTree Setting
SpanningTreeSetting *SpanningTreeSettingVO `json:"spanningTreeSetting,omitempty"`
// StPorts Lag StPorts
StPorts *[]string `json:"stPorts,omitempty"`
// StormCtrl Storm Control
StormCtrl *OswStormCtrlVO `json:"stormCtrl,omitempty"`
// SwitchId Switch ID
SwitchId *string `json:"switchId,omitempty"`
// SwitchMac Switch MAC Address
SwitchMac *string `json:"switchMac,omitempty"`
// TagBridgeVlanMap Tag Network Bridge Vlan Map
TagBridgeVlanMap *map[string][]int32 `json:"tagBridgeVlanMap,omitempty"`
// TagIds Lag label ID List
TagIds *[]string `json:"tagIds,omitempty"`
// TagName Lag label Name
TagName *string `json:"tagName,omitempty"`
// TagNetworkIds Tag Network IDs
TagNetworkIds *[]string `json:"tagNetworkIds,omitempty"`
// TrustMode TrustMode should be a value as follows: 0: Untrusted; 1: Trust 802.1p; 2: Trust DSCP
TrustMode *int32 `json:"trustMode,omitempty"`
// UntagBridgeVlanMap Untag Network Bridge Vlan Map
UntagBridgeVlanMap *map[string][]int32 `json:"untagBridgeVlanMap,omitempty"`
// UntagNetworkIds Untag Network IDs
UntagNetworkIds *[]string `json:"untagNetworkIds,omitempty"`
// VoiceBridgeVlan Voice Network Bridge Vlan
VoiceBridgeVlan *int32 `json:"voiceBridgeVlan,omitempty"`
// VoiceDscp Voice DSCP
VoiceDscp *int32 `json:"voiceDscp,omitempty"`
// VoiceDscpEnable Voice DSCP enable status
VoiceDscpEnable *bool `json:"voiceDscpEnable,omitempty"`
// VoiceNetworkEnable Voice network enable status
VoiceNetworkEnable *bool `json:"voiceNetworkEnable,omitempty"`
// VoiceNetworkId Voice Network ID
VoiceNetworkId *string `json:"voiceNetworkId,omitempty"`
}
OswLagVO Including some port configuration information and port real-time status
type OswLinkCapVO ¶
type OswLinkCapVO struct {
// Duplex Duplex should be a value as follows: 0: Auto; 1: Half; 2: Full
Duplex *int32 `json:"duplex,omitempty"`
// LinkSpeed Link Speed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
}
OswLinkCapVO Port Capability
type OswMlagPeerAllPortsConfigInfoVO ¶
type OswMlagPeerAllPortsConfigInfoVO struct {
// AllAggregatingPorts all aggregating ports of M-LAG Peer Switch
AllAggregatingPorts *[]int32 `json:"allAggregatingPorts,omitempty"`
// AllMirroredPorts all mirrored ports of M-LAG Peer Switch
AllMirroredPorts *[]int32 `json:"allMirroredPorts,omitempty"`
// AllMirroringPorts all mirroring ports of M-LAG Peer Switch
AllMirroringPorts *[]int32 `json:"allMirroringPorts,omitempty"`
// AllMlagDadPorts all M-LAG DAD ports of M-LAG Peer Switch
AllMlagDadPorts *[]int32 `json:"allMlagDadPorts,omitempty"`
// AllMlagPeerLinkPorts all M-LAG PeerLink ports of M-LAG Peer Switch
AllMlagPeerLinkPorts *[]int32 `json:"allMlagPeerLinkPorts,omitempty"`
}
OswMlagPeerAllPortsConfigInfoVO Configuration information of all M-LAG Peer ports, used to determine whether the port can be selected
type OswMlagPeerSettingVO ¶
type OswMlagPeerSettingVO struct {
// Mac Device mac
Mac *string `json:"mac,omitempty"`
// MlagPeerPorts M-LAG group peer device LAG ports
MlagPeerPorts *[]int32 `json:"mlagPeerPorts,omitempty"`
// MlagPeerStandardPorts M-LAG group peer device LAG standard ports
MlagPeerStandardPorts *[]OswStandPortVO `json:"mlagPeerStandardPorts,omitempty"`
}
OswMlagPeerSettingVO M-LAG group peer device setting
type OswPeerPortVO ¶
type OswPeerPortVO struct {
// BlockedType Blocked Type
BlockedType *int32 `json:"blockedType,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blockedVlans,omitempty"`
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// LagId LagId. If it is not null, it indicates that the port is a LAG port
LagId *int32 `json:"lagId,omitempty"`
// LinkSpeed Link Speed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// Port Port
Port *int32 `json:"port,omitempty"`
// Rx Port total rx bytes
Rx *int64 `json:"rx,omitempty"`
// RxRate Port rx Rate
RxRate *int64 `json:"rx Rate,omitempty"`
// StPort Standard Port, unit/slot/port
StPort *string `json:"stPort,omitempty"`
// StpDiscarding STP Discarding
StpDiscarding *bool `json:"stpDiscarding,omitempty"`
// Tx Port total tx bytes
Tx *int64 `json:"tx,omitempty"`
// TxRate Port tx Rate
TxRate *int64 `json:"tx Rate,omitempty"`
}
OswPeerPortVO Downlink Port Info
type OswPortDhcpL2RelayVO ¶
type OswPortDhcpL2RelayVO struct {
// CircuitId Circuit ID
CircuitId *string `json:"circuitId,omitempty"`
// Enable Enable
Enable *bool `json:"enable,omitempty"`
// Format Format should be a value as follows: 0: Normal; 1: Private
Format *int32 `json:"format,omitempty"`
// RemoteId Remote ID
RemoteId *string `json:"remoteId,omitempty"`
}
OswPortDhcpL2RelayVO Dhcp L2 Relay Setting
type OswPortOuiBasedVlanVO ¶
type OswPortOuiBasedVlanVO struct {
// Networks The network configured in the osw port.
Networks *[]OuiBasedVlanNetworkVO `json:"networks,omitempty"`
}
OswPortOuiBasedVlanVO Vlans configured in oui based rules.
type OswPortSpeedCapVO ¶
type OswPortSpeedCapVO struct {
// LinkSpeed Duplex
LinkSpeed *PortSpeedCapVO `json:"Link Speed,omitempty"`
// Duplex Duplex
Duplex *PortSpeedCapVO `json:"duplex,omitempty"`
}
OswPortSpeedCapVO Port Speed Capability
type OswPortStatusVO ¶
type OswPortStatusVO struct {
// BlockedType Blocked Type
BlockedType *int32 `json:"blockedType,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blockedVlans,omitempty"`
// ChassisId Chassis ID
ChassisId *string `json:"chassisId,omitempty"`
// ChassisIdSubtype Chassis ID Subtype
ChassisIdSubtype *string `json:"chassisIdSubtype,omitempty"`
// Duplex Duplex should be a value as follows: 1: Half; 2: Full
Duplex *int32 `json:"duplex,omitempty"`
// FecMode The configured FEC Mode
FecMode *int32 `json:"fecMode,omitempty"`
// FecRealMode The actual effective FEC Mode
FecRealMode *int32 `json:"fecRealMode,omitempty"`
// LinkSpeed LinkSpeed should be a value as follows: 1: 10Mbps; 2: 100Mbps; 3: 1000Mbps; 4: 10Gbps
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// LinkStatus LinkStatus should be a value as follows: 0: link down; 1: link up
LinkStatus *int32 `json:"linkStatus,omitempty"`
// Poe Indicates whether PoE power supply is in use
Poe *bool `json:"poe,omitempty"`
// PoePower PoE Power
PoePower *float64 `json:"poePower,omitempty"`
// Port Port Number
Port *int32 `json:"port,omitempty"`
// PortId Port ID
PortId *string `json:"portId,omitempty"`
// PortIdSubtype Port ID Subtype
PortIdSubtype *string `json:"portIdSubtype,omitempty"`
// Rx Rx, in bytes
Rx *int64 `json:"rx,omitempty"`
// RxRate Rx rate, in bit/s
RxRate *int64 `json:"rxRate,omitempty"`
// StkStatus Stk Status
StkStatus *int32 `json:"stkStatus,omitempty"`
// Stp STP Status
Stp *string `json:"stp,omitempty"`
// StpDiscarding STP Discarding
StpDiscarding *bool `json:"stpDiscarding,omitempty"`
// TrunkState LACP port state
TrunkState *int32 `json:"trunkState,omitempty"`
// Tx Tx, in bytes
Tx *int64 `json:"tx,omitempty"`
// TxRate Tx rate, in bit/s
TxRate *int64 `json:"txRate,omitempty"`
}
OswPortStatusVO Port Status
type OswPortVO ¶
type OswPortVO struct {
// AggregatingPorts Aggregated ports (including this port), non-null only in aggregating mode
AggregatingPorts *[]int32 `json:"aggregatingPorts,omitempty"`
// AllAggregatingPorts All ports in the aggregating state on the Switch
AllAggregatingPorts *[]int32 `json:"allAggregatingPorts,omitempty"`
// AllAggregatingStPorts All aggregating ports of the current Stack
AllAggregatingStPorts *[]OswStandPortVO `json:"allAggregatingStPorts,omitempty"`
// AllMirroredPorts All mirrored ports on the Switch
AllMirroredPorts *[]int32 `json:"allMirroredPorts,omitempty"`
// AllMirroredStPorts All mirrored ports of the current Stack
AllMirroredStPorts *[]OswStandPortVO `json:"allMirroredStPorts,omitempty"`
// AllMirroringPorts All ports in the mirroring state on the Switch
AllMirroringPorts *[]int32 `json:"allMirroringPorts,omitempty"`
// AllMirroringStPorts All mirroring ports of the current Stack
AllMirroringStPorts *[]OswStandPortVO `json:"allMirroringStPorts,omitempty"`
// AllMlagDadPorts All ports configured with M-LAG DAD on the Switch
AllMlagDadPorts *[]int32 `json:"allMlagDadPorts,omitempty"`
// AllMlagPeerLinkPorts All ports configured with M-LAG PeerLink on the Switch
AllMlagPeerLinkPorts *[]int32 `json:"allMlagPeerLinkPorts,omitempty"`
// BandCtrl Speed Limit
BandCtrl *OswBandCtrlVO `json:"bandCtrl,omitempty"`
// BandWidthCtrlType BandWidth Control should be a value as follows: 0: Off; 1: Rate Limit; 2: Storming Control
BandWidthCtrlType *int32 `json:"bandWidthCtrlType,omitempty"`
// ConfigMlagDad Indicates whether the port is configured with M-LAG DAD Link
ConfigMlagDad *bool `json:"configMlagDad,omitempty"`
// ConfigMlagPeerLink Indicates whether the port is configured with M-LAG Peer Link
ConfigMlagPeerLink *bool `json:"configMlagPeerLink,omitempty"`
// ConfigStack Indicates whether the current port is configured as a stack port (joined a stack aggregation group)
ConfigStack *bool `json:"configStack,omitempty"`
// DhcpL2RelaySettings Dhcp L2 Relay Setting
DhcpL2RelaySettings *OswPortDhcpL2RelayVO `json:"dhcpL2RelaySettings,omitempty"`
// Disable Indicates whether to disable the port
Disable *bool `json:"disable,omitempty"`
// Dot1pPriority Dot1p Priority
Dot1pPriority *int32 `json:"dot1pPriority,omitempty"`
// Dot1x Dot1x should be a value as follows: 0: Force unauthorized; 1: Force authorized; 2: Auto
Dot1x *int32 `json:"dot1x,omitempty"`
// Duplex Duplex should be a value as follows: 0: Auto; 1: Half; 2: Full
Duplex *int32 `json:"duplex,omitempty"`
// EeeEnable Indicates whether EEE is enabled
EeeEnable *bool `json:"eeeEnable,omitempty"`
// EsEnableAllProfileCanAdd Indicates whether es enable of all profile can continue to add VLANs
EsEnableAllProfileCanAdd *bool `json:"esEnableAllProfileCanAdd,omitempty"`
// EsQosSupport Indicates whether the ES device port supports modification of QoS configuration
EsQosSupport *bool `json:"esQosSupport,omitempty"`
// ExtendModeEnable Indicates whether extendMode is enabled
ExtendModeEnable *bool `json:"extendModeEnable,omitempty"`
// ExtendModeSupport Indicates whether extend mode is supported
ExtendModeSupport *bool `json:"extendModeSupport,omitempty"`
// FastLeaveEnable Indicates whether igmpSnooping fastLeave is enabled
FastLeaveEnable *bool `json:"fastLeaveEnable,omitempty"`
// FecCap All LinkSpeed&FECMode combinations supported by the port
FecCap *[]OswFecCapVO `json:"fecCap,omitempty"`
// FecLinkPeerApplyEnable Indicates whether the same FEC mode is applied to the link peer
FecLinkPeerApplyEnable *bool `json:"fecLinkPeerApplyEnable,omitempty"`
// FecMode FEC Mode, sourced from FecModeEnum. 0 - Reserved; 1 - FEC-OFF (Off); 2 - FEC-RS528; 3 - FEC-RS544; 4 - FEC-AUTO; 5 - FEC-BASER
FecMode *int32 `json:"fecMode,omitempty"`
// FecSupport Indicates whether the port supports FEC configuration
FecSupport *bool `json:"fecSupport,omitempty"`
// FlowControlEnable Indicates whether flow control is enabled
FlowControlEnable *bool `json:"flowControlEnable,omitempty"`
// Id ID
Id *string `json:"id,omitempty"`
// IgmpFastLeaveEnable Indicates whether IGMP fast leave is enabled
IgmpFastLeaveEnable *bool `json:"igmpFastLeaveEnable,omitempty"`
// IgmpSnoopingEnable Indicates whether IGMP Snooping is enabled
IgmpSnoopingEnable *bool `json:"igmpSnoopingEnable,omitempty"`
// IsCopper Whether the port is copper when the port is combo.
IsCopper *bool `json:"isCopper,omitempty"`
// LagSetting Including some port configuration information and port real-time status
LagSetting *OswLagVO `json:"lagSetting,omitempty"`
// LagStatus Lag Status
LagStatus *OswLagStatusVO `json:"lagStatus,omitempty"`
// LinkSpeed Link Speed should be a value as follows: 0: auto; 1: 10M; 2: 100M; 3: 1000M; 4: 10G
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// LldpMedEnable Indicates whether LLDP MED is enabled
LldpMedEnable *bool `json:"lldpMedEnable,omitempty"`
// LocateEnable Whether locate function is enabled
LocateEnable *bool `json:"locateEnable,omitempty"`
// LoopbackDetectEnable Indicates whether loopbackDetect port based is enabled
LoopbackDetectEnable *bool `json:"loopbackDetectEnable,omitempty"`
// LoopbackDetectVlanBasedEnable Indicates whether loopbackDetect vlan based is enabled
LoopbackDetectVlanBasedEnable *bool `json:"loopbackDetectVlanBasedEnable,omitempty"`
// MadUsed Mad Used
MadUsed *bool `json:"madUsed,omitempty"`
// MaxSpeed MaxSpeed should be a value as follows: 1: 10Mbps; 2: 100Mbps; 3: 1000Mbps; 4: 2.5Gbps; 5: 10Gbps
MaxSpeed *int32 `json:"maxSpeed,omitempty"`
// MirroredLags Monitored LAG
MirroredLags *[]MirroredLag `json:"mirroredLags,omitempty"`
// MirroredPorts Monitored Port
MirroredPorts *[]MirroredPort `json:"mirroredPorts,omitempty"`
// MlagPeerAllPortsConfigInfo Configuration information of all M-LAG Peer ports, used to determine whether the port can be selected
MlagPeerAllPortsConfigInfo *OswMlagPeerAllPortsConfigInfoVO `json:"mlagPeerAllPortsConfigInfo,omitempty"`
// MldFastLeaveEnable Indicates whether MLD fast leave is enabled
MldFastLeaveEnable *bool `json:"mldFastLeaveEnable,omitempty"`
// Name Port Name
Name *string `json:"name,omitempty"`
// NativeBridgeVlan Native Network Bridge Vlan.
NativeBridgeVlan *int32 `json:"nativeBridgeVlan,omitempty"`
// NativeNetworkId Native Network ID, Native Network cannot be selected from Tagged Networks or Untagged Networks.
NativeNetworkId *string `json:"nativeNetworkId,omitempty"`
// NetworkConflict Indicates whether the VLAN configuration activated on the port is inconsistent with the VLAN configuration in the Profile.
NetworkConflict *bool `json:"networkConflict,omitempty"`
// NetworkMode Network Mode should be a value as follows: 0: Trunk, 1: Access
NetworkMode *int32 `json:"networkMode,omitempty"`
// NetworkTagsSetting Network Tags Setting should be a value as follows: 0: Allow All; 1: Block All; 2: Custom
NetworkTagsSetting *int32 `json:"networkTagsSetting,omitempty"`
// Operation Operation should be a value as follows: SWITCHING; MIRRORING; AGGREGATING
Operation *string `json:"operation,omitempty"`
// OuiBasedVlanNetworks Vlans configured in oui based rules.
OuiBasedVlanNetworks *OswPortOuiBasedVlanVO `json:"ouiBasedVlanNetworks,omitempty"`
// Poe PoE switch should be a value as follows: 0: Off; 1: 802.3at/af
Poe *int32 `json:"poe,omitempty"`
// PoeDisplayType PoeDisplayType should be a value as follows: -1: Not Support POE; 0: Support POE; 1: POE(4W); 2: POE(7W); 3: POE(15.4W); 4: POE+(30W); 5: POE++(45W); 6: POE++(60W); 7: POE++(75W); 8: POE++(90W); 9: POE++(100W).
PoeDisplayType *int32 `json:"poeDisplayType,omitempty"`
// Port Port
Port *int32 `json:"port,omitempty"`
// PortAlertEnable Indicates whether Port Alert is enabled
PortAlertEnable *bool `json:"portAlertEnable,omitempty"`
// PortCap Port Capability
PortCap *[]OswLinkCapVO `json:"portCap,omitempty"`
// PortIsolationEnable Indicates whether port isolation is enabled
PortIsolationEnable *bool `json:"portIsolationEnable,omitempty"`
// PortSpeedCap Port Speed Capability
PortSpeedCap *[]OswPortSpeedCapVO `json:"portSpeedCap,omitempty"`
// PortStatus Port Status
PortStatus *OswPortStatusVO `json:"portStatus,omitempty"`
// ProfileId Lan Profile ID
ProfileId *string `json:"profileId,omitempty"`
// ProfileName Lan Profile Name
ProfileName *string `json:"profileName,omitempty"`
// ProfileOverrideEnable Indicates whether to enable Profile Override before v6.2.10; Indicates the fill mode of port configuration after v6.2.10: true: custom; false: follow profile
ProfileOverrideEnable *bool `json:"profileOverrideEnable,omitempty"`
// ProfileVlanOverrideEnable Indicates the fill mode of vlan configuration: true: custom; false: follow profile
ProfileVlanOverrideEnable *bool `json:"profileVlanOverrideEnable,omitempty"`
// QosQueueEnable Indicates whether the ES device port has enabled the Qos scheduling queue configuration
QosQueueEnable *bool `json:"qosQueueEnable,omitempty"`
// QosSupport Indicates whether the device port supports modifying qos configuration
QosSupport *bool `json:"qosSupport,omitempty"`
// QueueId ES Qos scheduling queue ID
QueueId *int32 `json:"queueId,omitempty"`
// Resource Data Source. Resource should be a value as follows: 0: new created; 1: from template; 2: override
Resource *int32 `json:"resource,omitempty"`
// Site Site to which the port belongs
Site *string `json:"site,omitempty"`
// SpanningTreeEnable Indicates whether SpanningTree is enabled
SpanningTreeEnable *bool `json:"spanningTreeEnable,omitempty"`
// SpanningTreeSetting SpanningTree Setting
SpanningTreeSetting *SpanningTreeSettingVO `json:"spanningTreeSetting,omitempty"`
// Speed Port Speed should be a value as follows: 1: 10Mbps; 2: 100Mbps; 3: 1000Mbps; 4: 10Gbps
Speed *int32 `json:"speed,omitempty"`
// StackPortsGroupIndex Number of the stacking port aggregation group to join
StackPortsGroupIndex *int32 `json:"stackPortsGroupIndex,omitempty"`
// StandardPort Stack port aggregation group member port
StandardPort *OswStandPortVO `json:"standardPort,omitempty"`
// StormCtrl Storm Control
StormCtrl *OswStormCtrlVO `json:"stormCtrl,omitempty"`
// SupportLocate Whether the port support locate.
SupportLocate *bool `json:"supportLocate,omitempty"`
// SupportPoe Indicates whether PoE is supported
SupportPoe *bool `json:"supportPoe,omitempty"`
// SwitchId Switch ID to which the port belongs
SwitchId *string `json:"switchId,omitempty"`
// SwitchMac Switch Mac to which the port belongs
SwitchMac *string `json:"switchMac,omitempty"`
// TagBridgeVlanMap Tag Network Bridge Vlan Map
TagBridgeVlanMap *map[string][]int32 `json:"tagBridgeVlanMap,omitempty"`
// TagIds Port label ID List
TagIds *[]string `json:"tagIds,omitempty"`
// TagName Port label Name
TagName *string `json:"tagName,omitempty"`
// TagNetworkIds Tag Network IDs
TagNetworkIds *[]string `json:"tagNetworkIds,omitempty"`
// TopoNotifyEnable Indicates whether to enable topology change notification
TopoNotifyEnable *bool `json:"topoNotifyEnable,omitempty"`
// TrustMode TrustMode should be a value as follows: 0: Untrusted; 1: Trust 802.1p; 2: Trust DSCP
TrustMode *int32 `json:"trustMode,omitempty"`
// Type Type should be a value as follows: 1: Copper; 2: Combo; 3: SFP
Type *int32 `json:"type,omitempty"`
// UntagBridgeVlanMap Untag Network Bridge Vlan Map
UntagBridgeVlanMap *map[string][]int32 `json:"untagBridgeVlanMap,omitempty"`
// UntagNetworkIds Untag Network IDs
UntagNetworkIds *[]string `json:"untagNetworkIds,omitempty"`
// UsedFunctions List of functions that use this port
UsedFunctions *[]string `json:"usedFunctions,omitempty"`
// VoiceBridgeVlan Voice Network Bridge Vlan
VoiceBridgeVlan *int32 `json:"voiceBridgeVlan,omitempty"`
// VoiceDscp Voice DSCP
VoiceDscp *int32 `json:"voiceDscp,omitempty"`
// VoiceDscpEnable Voice DSCP enable status
VoiceDscpEnable *bool `json:"voiceDscpEnable,omitempty"`
// VoiceNetworkEnable Voice network enable status
VoiceNetworkEnable *bool `json:"voiceNetworkEnable,omitempty"`
// VoiceNetworkId Voice Network ID
VoiceNetworkId *string `json:"voiceNetworkId,omitempty"`
}
OswPortVO The infos of ports.
type OswStackDataVOOswDataVO ¶
type OswStackDataVOOswDataVO struct {
AbnormalReason *int32 `json:"abnormalReason,omitempty"`
// CustomLagIds The lag ids that has some vlan not included in port vlan.
CustomLagIds *[]int32 `json:"customLagIds,omitempty"`
// CustomStandardPorts The standard ports that has some vlan not included in port vlan.
CustomStandardPorts *[]string `json:"customStandardPorts,omitempty"`
// DevCap Capability of device
DevCap *OswDevCapVO `json:"devCap,omitempty"`
Lags *[]OswLagStatusVO `json:"lags,omitempty"`
MasterMac *string `json:"masterMac,omitempty"`
Member *[]OswDataVO `json:"member,omitempty"`
// Model Model of device,for example:EAP225
Model *string `json:"model,omitempty"`
// ModelVersion Model version of device,for example:3.0
ModelVersion *string `json:"modelVersion,omitempty"`
// ShowModel Model complex shown in the front end.Ap:model+(country)+modelVersion,EAP225(EU) v3.0 Gateway/Switch:model+modelVersion,Osg v3.0
ShowModel *string `json:"showModel,omitempty"`
StackId *string `json:"stackId,omitempty"`
StackName *string `json:"stackName,omitempty"`
StackStatus *int32 `json:"stackStatus,omitempty"`
SupportAutoAddVlan *bool `json:"supportAutoAddVlan,omitempty"`
SupportCustomDhcpOption *bool `json:"supportCustomDhcpOption,omitempty"`
SupportDhcpRange *bool `json:"supportDhcpRange,omitempty"`
// SupportLayout Whether the device supports reporting port layout information.
SupportLayout *bool `json:"supportLayout,omitempty"`
SupportVrf *bool `json:"supportVrf,omitempty"`
// UnSelectedablePorts The unSelectedable ports of the device.
UnSelectedablePorts *[]PortVO `json:"unSelectedablePorts,omitempty"`
}
OswStackDataVOOswDataVO stackOswData
type OswStackDataVOSwitchDataVO ¶
type OswStackDataVOSwitchDataVO struct {
AbnormalReason *int32 `json:"abnormalReason,omitempty"`
// CustomLagIds The lag ids that has some vlan not included in port vlan.
CustomLagIds *[]int32 `json:"customLagIds,omitempty"`
// CustomStandardPorts The standard ports that has some vlan not included in port vlan.
CustomStandardPorts *[]string `json:"customStandardPorts,omitempty"`
// DevCap Capability of device
DevCap *OswDevCapVO `json:"devCap,omitempty"`
Lags *[]OswLagStatusVO `json:"lags,omitempty"`
MasterMac *string `json:"masterMac,omitempty"`
Member *[]SwitchDataVO `json:"member,omitempty"`
// Model Model of device,for example:EAP225
Model *string `json:"model,omitempty"`
// ModelVersion Model version of device,for example:3.0
ModelVersion *string `json:"modelVersion,omitempty"`
// ShowModel Model complex shown in the front end.Ap:model+(country)+modelVersion,EAP225(EU) v3.0 Gateway/Switch:model+modelVersion,Osg v3.0
ShowModel *string `json:"showModel,omitempty"`
StackId *string `json:"stackId,omitempty"`
StackName *string `json:"stackName,omitempty"`
StackStatus *int32 `json:"stackStatus,omitempty"`
SupportAutoAddVlan *bool `json:"supportAutoAddVlan,omitempty"`
SupportCustomDhcpOption *bool `json:"supportCustomDhcpOption,omitempty"`
SupportDhcpRange *bool `json:"supportDhcpRange,omitempty"`
// SupportLayout Whether the device supports reporting port layout information.
SupportLayout *bool `json:"supportLayout,omitempty"`
SupportVrf *bool `json:"supportVrf,omitempty"`
// UnSelectedablePorts The unSelectedable ports of the device.
UnSelectedablePorts *[]PortVO `json:"unSelectedablePorts,omitempty"`
}
OswStackDataVOSwitchDataVO stackOswData
type OswStandPortVO ¶
type OswStandPortVO struct {
// Port Port
Port int32 `json:"port"`
// Slot Slot
Slot int32 `json:"slot"`
// Unit Unit
Unit int32 `json:"unit"`
}
OswStandPortVO Stack port aggregation group member port
type OswStormCtrlLimitRangeVO ¶
type OswStormCtrlLimitRangeVO struct {
// BroadcastLimitKbps The maximum rate limits for Broadcast(kbps).
BroadcastLimitKbps *int32 `json:"broadcastLimitKbps,omitempty"`
// MulticastLimitKbps The maximum rate limits for Multicast(kbps).
MulticastLimitKbps *int32 `json:"multicastLimitKbps,omitempty"`
// UnknownUnicastLimitKbps The maximum rate limits for Unknown Unicast(kbps).
UnknownUnicastLimitKbps *int32 `json:"unknownUnicastLimitKbps,omitempty"`
}
OswStormCtrlLimitRangeVO The maximum rate limits for Broadcast/Multicast/Unknown Unicast.
type OswStormCtrlVO ¶
type OswStormCtrlVO struct {
// Action Action should be a value as follows: 0: drop; 1: shutdown
Action int32 `json:"action"`
// Broadcast Broadcast
Broadcast *int32 `json:"broadcast,omitempty"`
// BroadcastEnable Indicates whether broadcast is enabled
BroadcastEnable bool `json:"broadcastEnable"`
// LimitRange The maximum rate limits for Broadcast/Multicast/Unknown Unicast.
LimitRange *OswStormCtrlLimitRangeVO `json:"limitRange,omitempty"`
// Multicast Multicast
Multicast *int32 `json:"multicast,omitempty"`
// MulticastEnable Indicates whether multicast is enabled
MulticastEnable bool `json:"multicastEnable"`
// RateMode RateMode should be a value as follows: 0: ratio; 1: kbps
RateMode *int32 `json:"rateMode,omitempty"`
// RecoverTime Recover Time
RecoverTime *int32 `json:"recoverTime,omitempty"`
// UnknownUnicast Unknown Unicast
UnknownUnicast *int32 `json:"unknownUnicast,omitempty"`
// UnknownUnicastEnable Indicates whether unknown unicast is enabled
UnknownUnicastEnable bool `json:"unknownUnicastEnable"`
}
OswStormCtrlVO Storm Control
type OswUplinkVO ¶
type OswUplinkVO struct {
// BlockedType Blocked Type
BlockedType *int32 `json:"blockedType,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blockedVlans,omitempty"`
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// HwVersion HwVersion
HwVersion *string `json:"hwVersion,omitempty"`
Ip *string `json:"ip,omitempty"`
// LagId LagId. If it is not null, it indicates that the port is a LAG port
LagId *int32 `json:"lagId,omitempty"`
// LinkPeerPortInfo Downlink Port Info
LinkPeerPortInfo *OswPeerPortVO `json:"linkPeerPortInfo,omitempty"`
// LinkSpeed Link Speed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// Mac The mac of uplink device
Mac *string `json:"mac,omitempty"`
// Model The model of uplink device
Model *string `json:"model,omitempty"`
// ModelVersion Model Version
ModelVersion *string `json:"modelVersion,omitempty"`
// Name The name of uplink device
Name *string `json:"name,omitempty"`
// Port Port
Port *int32 `json:"port,omitempty"`
// Rx Port total rx bytes
Rx *int64 `json:"rx,omitempty"`
// RxRate Rx Rate
RxRate *int64 `json:"rxRate,omitempty"`
// StPort Standard Port, unit/slot/port
StPort *string `json:"stPort,omitempty"`
// StackId The ID of uplink stack device
StackId *string `json:"stackId,omitempty"`
// StackName The name of uplink stack device
StackName *string `json:"stackName,omitempty"`
// StpDiscarding STP Discarding
StpDiscarding *bool `json:"stpDiscarding,omitempty"`
// Tx Port total tx bytes
Tx *int64 `json:"tx,omitempty"`
// TxRate Tx Rate
TxRate *int64 `json:"txRate,omitempty"`
// Type The type of uplink device, it should be a value as follows: ap, gateway, switch(stack)
Type *string `json:"type,omitempty"`
}
OswUplinkVO Uplink Omada device
type OuiBasedVlanNetworkVO ¶
type OuiBasedVlanNetworkVO struct {
// NetworkId The id for the network.
NetworkId *string `json:"networkId,omitempty"`
// NetworkName The name of the network.
NetworkName *string `json:"networkName,omitempty"`
// OuiBasedVlanId The id of the oui based vlan rule.
OuiBasedVlanId *string `json:"ouiBasedVlanId,omitempty"`
// OuiBasedVlanName The name of the oui based vlan rule.
OuiBasedVlanName *string `json:"ouiBasedVlanName,omitempty"`
// RuleMode The mode of the oui based vlan rule. 0 represents all device ports ,1 represents custom.
RuleMode *int32 `json:"ruleMode,omitempty"`
// Vlan The vlan of one network that multicast config used.
Vlan *int32 `json:"vlan,omitempty"`
// VlanType 0:Single, 1:Multiple(Bridge Vlan)
VlanType *int32 `json:"vlanType,omitempty"`
}
OuiBasedVlanNetworkVO The network configured in the osw port.
type PartnerLinkDTO ¶
type PartnerLinkDTO struct {
Channel *int32 `json:"channel,omitempty"`
DownRate *int64 `json:"downRate,omitempty"`
RadioId *int32 `json:"radioId,omitempty"`
Rssi *int32 `json:"rssi,omitempty"`
RssiPercent *float32 `json:"rssiPercent,omitempty"`
Rx *int32 `json:"rx,omitempty"`
RxDropPkts *int64 `json:"rxDropPkts,omitempty"`
RxErrPkts *int64 `json:"rxErrPkts,omitempty"`
RxRate *string `json:"rxRate,omitempty"`
Snr *int32 `json:"snr,omitempty"`
Tx *int32 `json:"tx,omitempty"`
TxDropPkts *int64 `json:"txDropPkts,omitempty"`
TxErrPkts *int64 `json:"txErrPkts,omitempty"`
TxRate *string `json:"txRate,omitempty"`
UpRate *int64 `json:"upRate,omitempty"`
}
PartnerLinkDTO partner link info in mlo mesh link
type PortLabelDTO ¶
type PortLabelDTO struct {
Label *string `json:"label,omitempty"`
Value *string `json:"value,omitempty"`
}
PortLabelDTO Other Device Port Labels
type PortSpeedCapVO ¶
type PortSpeedCapVO struct {
// Name Name
Name *string `json:"name,omitempty"`
// Value Value
Value *int32 `json:"value,omitempty"`
}
PortSpeedCapVO Duplex
type PortVO ¶
type PortVO struct {
// LagId (Wired) LAG ID. Exists only when the client is connected to the LAG
LagId *int32 `json:"lagId,omitempty"`
// Port The port id of the device port.
Port *int32 `json:"port,omitempty"`
// StandardPort The stand port id of the device port.
StandardPort *string `json:"standardPort,omitempty"`
}
PortVO The collection of forbidden router ports related to one device.
type RadiusAuthSettingOpenApiVO ¶
type RadiusAuthSettingOpenApiVO struct {
// AuthType Authtype should be a value as follows: 0:PAP; 1:CHAP.
AuthType int32 `json:"authType"`
// DefaultGroup Only for SSL VPN. Default user group ID for the user on the LDAP/Radius server. User group can be created using 'Create SSL VPN user group' interface, and user group ID can be obtained from 'Get user group list for SSL VPN server' interface.
DefaultGroup string `json:"defaultGroup"`
// NasIp NAS IP
NasIp *string `json:"nasIp,omitempty"`
// OverTime Request Timeout, 1~60(s).
OverTime int32 `json:"overTime"`
// ProfileId Profile ID. LDAP profile can be created using 'Create a new LDAP profile' interface, and LDAP profile ID can be obtained from 'Get LDAP profile list' interface. Radius profile can be created using 'Create a new RADIUS profile' interface, and RADIUS profile ID can be obtained from 'Get RADIUS profile list' interface.
ProfileId string `json:"profileId"`
// RepeatTime Repeat time should be within the range of 1–10.
RepeatTime int32 `json:"repeatTime"`
}
RadiusAuthSettingOpenApiVO It is required for SSL VPN when parameter [authType] is 2.
type RadiusServerBriefInfo ¶
type RadiusServerBriefInfo struct {
// BuiltInServer Is this RADIUS server a built-in server
BuiltInServer *bool `json:"builtInServer,omitempty"`
// Id radius server id.
Id string `json:"id"`
// Name radius server name.
Name string `json:"name"`
// OverNumLimit Is the number of authentication/accounting Servers greater than 2.
OverNumLimit *bool `json:"overNumLimit,omitempty"`
}
RadiusServerBriefInfo defines model for radiusServerBriefInfo.
type RadiusSettingOpenApiVO ¶
type RadiusSettingOpenApiVO struct {
// AuthType Authtype should be a value as follows: 0:PAP; 1:CHAP
AuthType int32 `json:"authType"`
// DefaultGroup Default user group ID for the user on the radius server. User group can be created using 'Create SSL VPN user group' interface, and user group ID can be obtained from 'Get user group list for SSL VPN server' interface.
DefaultGroup string `json:"defaultGroup"`
// NasIp NAS IP
NasIp *string `json:"nasIp,omitempty"`
// OverTime Request Timeout, 1~60(s).
OverTime int32 `json:"overTime"`
// RadiusProfile Radius profile ID. RADIUS profile can be created using 'Create a new RADIUS profile' interface, and RADIUS profile ID can be obtained from 'Get RADIUS profile list' interface.
RadiusProfile string `json:"radiusProfile"`
// RepeatTime Repeat time should be within the range of 1–10
RepeatTime int32 `json:"repeatTime"`
}
RadiusSettingOpenApiVO It is required when parameter [authType] is 1.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResponseDataVOWireguardSummaryOpenApiVO ¶
type ResponseDataVOWireguardSummaryOpenApiVO struct {
Data *[]WireguardSummaryOpenApiVO `json:"data,omitempty"`
}
ResponseDataVOWireguardSummaryOpenApiVO defines model for ResponseDataVOWireguardSummaryOpenApiVO.
type ResponseIdVO ¶
type ResponseIdVO struct {
// Id The unique identifier of the response.
Id *string `json:"id,omitempty"`
}
ResponseIdVO defines model for ResponseIdVO.
type SSLVPNLockEntity ¶
type SSLVPNLockEntity struct {
// Id ID of the SSL VPN lock
Id *string `json:"id,omitempty"`
// Ip IP of the SSL VPN lock
Ip *string `json:"ip,omitempty"`
// LeftLockTime Left lock time(min) of the SSL VPN lock.
LeftLockTime *int32 `json:"leftLockTime,omitempty"`
// TotalLockTime Total lock time of the SSL VPN lock should be within the range of 1–1080(min).
TotalLockTime int32 `json:"totalLockTime"`
// Type Type of the SSL VPN lock should be a value as follows: 0:username; 1:IP
Type int32 `json:"type"`
// Username Username of the SSL VPN lock
Username *string `json:"username,omitempty"`
}
SSLVPNLockEntity defines model for SSL VPN lock entity.
type ServerWireGuardClientsConfigVO ¶
type ServerWireGuardClientsConfigVO struct {
// AllowedAddress IP/MASK address list of server WireGuard peer allowed.
AllowedAddress *[]string `json:"allowedAddress,omitempty"`
// AllowedAddressStatus When parameter [allowedAddressStatus] is false, server WireGuard peer allowed address is client interface IP.
AllowedAddressStatus *bool `json:"allowedAddressStatus,omitempty"`
// InterfaceIp IP address.
InterfaceIp string `json:"interfaceIp"`
// Name Client name.
Name string `json:"name"`
PreSharedKey *string `json:"preSharedKey,omitempty"`
// PrivateKey The private key of WireGuard VPN must have 44 character of base64 and end with '='.
PrivateKey string `json:"privateKey"`
}
ServerWireGuardClientsConfigVO WireGuard clients.
type ServerWireGuardClientsVO ¶
type ServerWireGuardClientsVO struct {
// AllowedAddress IP/MASK address list of server WireGuard peer allowed.
AllowedAddress *[]string `json:"allowedAddress,omitempty"`
// AllowedAddressStatus When parameter [allowedAddressStatus] is false, server WireGuard peer allowed address is client interface IP.
AllowedAddressStatus *bool `json:"allowedAddressStatus,omitempty"`
// Id ID of the client.
Id *string `json:"id,omitempty"`
// InterfaceIp IP address.
InterfaceIp *string `json:"interfaceIp,omitempty"`
// Name Client name.
Name *string `json:"name,omitempty"`
PreSharedKey *string `json:"preSharedKey,omitempty"`
// PrivateKey The privateKey key of WireGuard VPN must have 44 character of base64 and end with '='.
PrivateKey *string `json:"privateKey,omitempty"`
// PublicKey The public key of WireGuard VPN must have 44 character of base64 and end with '='.
PublicKey *string `json:"publicKey,omitempty"`
}
ServerWireGuardClientsVO WireGuard clients.
type SiteToSiteManualWgPeerConfigVO ¶
type SiteToSiteManualWgPeerConfigVO struct {
// Comment The comment of WireGuard peer should contain 0 to 128 characters.
Comment *string `json:"comment,omitempty"`
// KeepAlive The keepalive second of WireGuard peer should be within the range of 0-65535.
KeepAlive int32 `json:"keepAlive"`
// Name The name of WireGuard peer should contain 1 to 64 characters.
Name string `json:"name"`
PreSharedKey *string `json:"preSharedKey,omitempty"`
// RemoteIp Remote IP of the VPN
RemoteIp *string `json:"remoteIp,omitempty"`
// RemoteSubnet IP/MASK address list of client WireGuard peer allowed.
RemoteSubnet []string `json:"remoteSubnet"`
// ServerPublicKey The public key of WireGuard VPN must have 44 character of base64 and end with '='.
ServerPublicKey string `json:"serverPublicKey"`
// ServicePort Service port should be within the range of 1–65535.
ServicePort *int32 `json:"servicePort,omitempty"`
// Status Status of the VPN.
Status bool `json:"status"`
}
SiteToSiteManualWgPeerConfigVO List of Site-To-Site manual WireGuard peer Configuration.
type SiteToSiteVpn ¶
type SiteToSiteVpn struct {
// AdvancedSetting Advanced setting list of the VPN, only for IPSec type.
AdvancedSetting *VpnAdvancedSettingOpenApiVO `json:"advancedSetting,omitempty"`
// CustomNetwork Custom networks of the VPN, only for Manual IPSec type.
CustomNetwork *[]IPSubnetsVO `json:"customNetwork,omitempty"`
// Id ID of the VPN.
Id *string `json:"id,omitempty"`
// Name Name should contain 1 to 63 characters.
Name string `json:"name"`
// NetworkList Network list of the VPN, only for Manual IPSec type. Network can be created using 'Create LAN network' interface, and network ID can be obtained from 'Get LAN network list' interface.
NetworkList *[]string `json:"networkList,omitempty"`
// NetworkType Network type should be a value as follows: 0: network list; 1: custom networks.
NetworkType *int32 `json:"networkType,omitempty"`
PreSharedKey *string `json:"preSharedKey,omitempty"`
// RemoteIp Remote IP of the VPN, only for Manual IPSec type.
RemoteIp *string `json:"remoteIp,omitempty"`
// RemoteSite Remote site of the VPN, only for Auto IPSec type.
RemoteSite *string `json:"remoteSite,omitempty"`
// RemoteSubnet Remote subnet of the VPN, only for Manual IPSec type.
RemoteSubnet *[]IPSubnetsVO `json:"remoteSubnet,omitempty"`
// SiteVpnType Site VPN type should be a value as follows: 0: Auto IPSec; 1: Manual IPSec.
SiteVpnType int32 `json:"siteVpnType"`
// Status Status of the VPN.
Status bool `json:"status"`
// Wan WAN list of the VPN, only for Manual IPSec type. WAN port ID can be obtained from 'Get internet basic info' interface.
Wan *[]string `json:"wan,omitempty"`
}
SiteToSiteVpn defines model for SiteToSiteVpn.
type SpanningTreeSettingVO ¶
type SpanningTreeSettingVO struct {
// BpduFilter Indicates whether bpdu filter is enabled
BpduFilter *bool `json:"bpduFilter,omitempty"`
// BpduForward Indicates whether bpdu forward is enabled
BpduForward *bool `json:"bpduForward,omitempty"`
// BpduProtect Indicates whether bpdu protect is enabled
BpduProtect *bool `json:"bpduProtect,omitempty"`
// EdgePort Indicates whether edge port is enabled
EdgePort bool `json:"edgePort"`
// ExtPathCost ExtPathCost should be within the range of 0–2000000
ExtPathCost int32 `json:"extPathCost"`
// InstanceEnable Indicates whether instance is enabled
InstanceEnable *bool `json:"instanceEnable,omitempty"`
// Instances Instances
Instances *[]InstancesVO `json:"instances,omitempty"`
// IntPathCost IntPathCost should be within the range of 0–2000000
IntPathCost int32 `json:"intPathCost"`
// LoopProtect Indicates whether loop protect is enabled
LoopProtect *bool `json:"loopProtect,omitempty"`
// Mcheck Indicates whether mcheck is enabled
Mcheck *bool `json:"mcheck,omitempty"`
// P2pLink P2pLink should be within the range of 0-2
P2pLink int32 `json:"p2pLink"`
// Priority Priority should be within the range of 0–240
Priority int32 `json:"priority"`
// RootProtect Indicates whether root protect is enabled
RootProtect *bool `json:"rootProtect,omitempty"`
// TcGuard Indicates whether tcGuard is enabled
TcGuard *bool `json:"tcGuard,omitempty"`
}
SpanningTreeSettingVO SpanningTree Setting
type SslVpnLockConfigOpenApiVO ¶
type SslVpnLockConfigOpenApiVO struct {
// Ip IP of the SSL VPN lock. It is required when parameter [type] is 1.
Ip *string `json:"ip,omitempty"`
// TotalLockTime Total lock time of the SSL VPN lock should be within the range of 1–1080(min).
TotalLockTime int32 `json:"totalLockTime"`
// Type Type of the SSL VPN lock should be a value as follows: 0:username; 1:IP
Type int32 `json:"type"`
// Username Username of the SSL VPN lock. It is required when parameter [type] is 0.
Username *string `json:"username,omitempty"`
}
SslVpnLockConfigOpenApiVO defines model for SslVpnLockConfigOpenApiVO.
type SslVpnLockCreateAndModifyOpenApiVO ¶
type SslVpnLockCreateAndModifyOpenApiVO struct {
// Ip IP of the SSL VPN lock. It is required when parameter [type] is 1.
Ip *string `json:"ip,omitempty"`
// TotalLockTime Total lock time of the SSL VPN lock should be within the range of 1–1080(min).
TotalLockTime int32 `json:"totalLockTime"`
// Type Type of the SSL VPN lock should be a value as follows: 0:username; 1:IP
Type int32 `json:"type"`
// Username Username of the SSL VPN lock. It is required when parameter [type] is 0.
Username *string `json:"username,omitempty"`
}
SslVpnLockCreateAndModifyOpenApiVO defines model for SslVpnLockCreateAndModifyOpenApiVO.
type SslVpnLockModifyOpenApiVO ¶
type SslVpnLockModifyOpenApiVO struct {
// Ip IP of the SSL VPN lock. It is required when parameter [type] is 1.
Ip *string `json:"ip,omitempty"`
// TotalLockTime Total lock time of the SSL VPN lock should be within the range of 1–1080(min).
TotalLockTime int32 `json:"totalLockTime"`
// Type Type of the SSL VPN lock should be a value as follows: 0:username, 1:IP. It can not be modified.
Type int32 `json:"type"`
// Username Username of the SSL VPN lock. It is required when parameter [type] is 0.
Username *string `json:"username,omitempty"`
}
SslVpnLockModifyOpenApiVO defines model for SslVpnLockModifyOpenApiVO.
type SslVpnResourceBriefInfo ¶
type SslVpnResourceBriefInfo struct {
// Id ID of the SSL VPN resource brief
Id *string `json:"id,omitempty"`
// Name Name of the SSL VPN resource brief
Name *string `json:"name,omitempty"`
}
SslVpnResourceBriefInfo Resources list of the SSL VPN resource group
type SslVpnResourceConfigOpenApiVO ¶
type SslVpnResourceConfigOpenApiVO struct {
// Domain Domain of the SSL VPN resource, exists when type is 1.
Domain *string `json:"domain,omitempty"`
// DstPortEnd End destination port of the SSL VPN resource, exists when protocol is TCP or UDP. It should be within the range of 0–65535
DstPortEnd *int32 `json:"dstPortEnd,omitempty"`
// DstPortStart Start destination port of the SSL VPN resource, exists when protocol is TCP or UDP. It should be within the range of 0–65535
DstPortStart *int32 `json:"dstPortStart,omitempty"`
// IcmpCode ICMP code of the SSL VPN resource, exists when protocol is ICMP. It should be within the range of 0–255
IcmpCode *int32 `json:"icmpCode,omitempty"`
// IcmpType ICMP type of the SSL VPN resource, exists when protocol is ICMP. It should be within the range of 0–255
IcmpType *int32 `json:"icmpType,omitempty"`
// Ip IP of the SSL VPN resource, exists when type is 0.
Ip *string `json:"ip,omitempty"`
// Mask Mask of the SSL VPN resource, exists when type is 0.
Mask *string `json:"mask,omitempty"`
// Name Name of the SSL VPN resource should contain 1 to 20 characters.
Name string `json:"name"`
// OtherProtocol Other protocol of the SSL VPN resource. It should be within the range of 1–255.
OtherProtocol *int32 `json:"otherProtocol,omitempty"`
// Protocol Protocol of the SSL VPN resource should be a value as follows: 0:All; 1:TCP; 2:UDP; 3:TCP/UDP; 4:ICMP; 5:Other
Protocol *int32 `json:"protocol,omitempty"`
// SrcPortEnd End source port of the SSL VPN resource, exists when protocol is TCP or UDP. It should be within the range of 0–65535
SrcPortEnd *int32 `json:"srcPortEnd,omitempty"`
// SrcPortStart Start source port of the SSL VPN resource, exists when protocol is TCP or UDP. It should be within the range of 0–65535
SrcPortStart *int32 `json:"srcPortStart,omitempty"`
// Type Type of the SSL VPN resource should be a value as follows: 0: IP; 1: domain.
Type int32 `json:"type"`
}
SslVpnResourceConfigOpenApiVO defines model for SslVpnResourceConfigOpenApiVO.
type SslVpnResourceEntity ¶
type SslVpnResourceEntity struct {
// Domain Domain of the SSL VPN resource, exists when type is 1.
Domain *string `json:"domain,omitempty"`
// DstPortEnd End destination port of the SSL VPN resource, exists when protocol is TCP or UDP. It should be within the range of 0–65535
DstPortEnd *int32 `json:"dstPortEnd,omitempty"`
// DstPortStart Start destination port of the SSL VPN resource, exists when protocol is TCP or UDP. It should be within the range of 0–65535
DstPortStart *int32 `json:"dstPortStart,omitempty"`
// IcmpCode ICMP code of the SSL VPN resource, exists when protocol is ICMP. It should be within the range of 0–255
IcmpCode *int32 `json:"icmpCode,omitempty"`
// IcmpType ICMP type of the SSL VPN resource, exists when protocol is ICMP. It should be within the range of 0–255
IcmpType *int32 `json:"icmpType,omitempty"`
// Id ID of the SSL VPN resource.
Id *string `json:"id,omitempty"`
// Ip IP of the SSL VPN resource, exists when type is 0.
Ip *string `json:"ip,omitempty"`
// Mask Mask of the SSL VPN resource, exists when type is 0.
Mask *string `json:"mask,omitempty"`
// Name Name of the SSL VPN resource.
Name string `json:"name"`
// OtherProtocol Other protocol of the SSL VPN resource. It should be within the range of 1–255
OtherProtocol *int32 `json:"otherProtocol,omitempty"`
// Protocol Protocol of the SSL VPN resource should be a value as follows: 0:All; 1:TCP; 2:UDP; 3:TCP/UDP; 4:ICMP; 5:Other
Protocol *int32 `json:"protocol,omitempty"`
// ResourceGroupList Resource group list of the SSL VPN resource.
ResourceGroupList *[]SslVpnResourceGroupBriefInfo `json:"resourceGroupList,omitempty"`
// SrcPortEnd End source port of the SSL VPN resource, exists when protocol is TCP or UDP. It should be within the range of 0–65535
SrcPortEnd *int32 `json:"srcPortEnd,omitempty"`
// SrcPortStart Start source port of the SSL VPN resource, exists when protocol is TCP or UDP. It should be within the range of 0–65535
SrcPortStart *int32 `json:"srcPortStart,omitempty"`
// Type Type of the SSL VPN resource should be a value as follows: 0: IP; 1: domain.
Type int32 `json:"type"`
}
SslVpnResourceEntity defines model for SslVpnResourceEntity.
type SslVpnResourceGroup ¶
type SslVpnResourceGroup struct {
// Id ID of the SSL VPN resource group
Id *string `json:"id,omitempty"`
// Name Name of the SSL VPN resource group
Name string `json:"name"`
// ResourcesList Resources list of the SSL VPN resource group
ResourcesList *[]SslVpnResourceBriefInfo `json:"resourcesList,omitempty"`
}
SslVpnResourceGroup defines model for SslVpnResourceGroup.
type SslVpnResourceGroupBriefInfo ¶
type SslVpnResourceGroupBriefInfo struct {
// Id ID of the SSL VPN resource group brief
Id *string `json:"id,omitempty"`
// Name Name of the SSL VPN resource group brief
Name *string `json:"name,omitempty"`
}
SslVpnResourceGroupBriefInfo Resource group list of the SSL VPN user group
type SslVpnResourceGroupConfigOpenApiVO ¶
type SslVpnResourceGroupConfigOpenApiVO struct {
// Name Name of the SSL VPN resource group should contain 1 to 20 characters.
Name string `json:"name"`
// ResourcesList Resources ID list of the SSL VPN resource group
ResourcesList *[]string `json:"resourcesList,omitempty"`
}
SslVpnResourceGroupConfigOpenApiVO defines model for SslVpnResourceGroupConfigOpenApiVO.
type SslVpnResourceGroupModifyOpenApiVO ¶
type SslVpnResourceGroupModifyOpenApiVO struct {
// ResourcesList Resources ID list of the SSL VPN resource group. Resource can be created using 'Create SSL VPN resource' interface, and resource ID can be obtained from 'Get resource list for SSL VPN server' interface.
ResourcesList *[]string `json:"resourcesList,omitempty"`
}
SslVpnResourceGroupModifyOpenApiVO defines model for SslVpnResourceGroupModifyOpenApiVO.
type SslVpnResourceModifyOpenApiVO ¶
type SslVpnResourceModifyOpenApiVO struct {
// Domain Domain of the SSL VPN resource, exists when type is 1.
Domain *string `json:"domain,omitempty"`
// DstPortEnd End destination port of the SSL VPN resource, exists when protocol is TCP or UDP. It should be within the range of 0–65535
DstPortEnd *int32 `json:"dstPortEnd,omitempty"`
// DstPortStart Start destination port of the SSL VPN resource, exists when protocol is TCP or UDP. It should be within the range of 0–65535
DstPortStart *int32 `json:"dstPortStart,omitempty"`
// IcmpCode ICMP code of the SSL VPN resource, exists when protocol is ICMP. It should be within the range of 0–255
IcmpCode *int32 `json:"icmpCode,omitempty"`
// IcmpType ICMP type of the SSL VPN resource, exists when protocol is ICMP. It should be within the range of 0–255
IcmpType *int32 `json:"icmpType,omitempty"`
// Ip IP of the SSL VPN resource, exists when type is 0.
Ip *string `json:"ip,omitempty"`
// Mask Mask of the SSL VPN resource, exists when type is 0.
Mask *string `json:"mask,omitempty"`
// OtherProtocol Other protocol of the SSL VPN resource. It should be within the range of 1–255
OtherProtocol *int32 `json:"otherProtocol,omitempty"`
// Protocol Protocol of the SSL VPN resource should be a value as follows: 0:All; 1:TCP; 2:UDP; 3:TCP/UDP; 4:ICMP; 5:Other
Protocol *int32 `json:"protocol,omitempty"`
// SrcPortEnd End source port of the SSL VPN resource, exists when protocol is TCP or UDP. It should be within the range of 0–65535
SrcPortEnd *int32 `json:"srcPortEnd,omitempty"`
// SrcPortStart Start source port of the SSL VPN resource, exists when protocol is TCP or UDP. It should be within the range of 0–65535
SrcPortStart *int32 `json:"srcPortStart,omitempty"`
// Type Type of the SSL VPN resource should be a value as follows: 0: IP; 1: domain, and it can not be modified.
Type int32 `json:"type"`
}
SslVpnResourceModifyOpenApiVO defines model for SslVpnResourceModifyOpenApiVO.
type SslVpnServerConfigOpenApiVO ¶
type SslVpnServerConfigOpenApiVO struct {
// LDAPSetting It is required when parameter [authType] is 2.
LDAPSetting *LdapSettingOpenApiVO `json:"LDAPSetting,omitempty"`
// AuthType Authentication type of the SSL VPN server should be a value as follows: 0: local; 1: radius; 2: LDAP. It is required when parameter [status] is true.
AuthType *int32 `json:"authType,omitempty"`
// ExitAtIdle Whether to exit when idle. It is required when parameter [status] is true.
ExitAtIdle *bool `json:"exitAtIdle,omitempty"`
// ExitTime Exit time should be within the range of 5–3600(s). It is required when parameter [exitAtIdle] is true.
ExitTime *int32 `json:"exitTime,omitempty"`
// IpLockSetting IP lock config. It is required when parameter [status] is true.
IpLockSetting *LockSettingOpenApiVO `json:"ipLockSetting,omitempty"`
// IpPoolEnd The end IP of the IP pool. It is required when parameter [status] is true.
IpPoolEnd *string `json:"ipPoolEnd,omitempty"`
// IpPoolStart The start IP of the IP pool. It is required when parameter [status] is true.
IpPoolStart *string `json:"ipPoolStart,omitempty"`
// NameLockSetting IP lock config. It is required when parameter [status] is true.
NameLockSetting *LockSettingOpenApiVO `json:"nameLockSetting,omitempty"`
// PrimaryDns Primary DNS Server of the SSL VPN server. It is required when parameter [status] is true.
PrimaryDns *string `json:"primaryDns,omitempty"`
// RadiusSetting It is required when parameter [authType] is 1.
RadiusSetting *RadiusSettingOpenApiVO `json:"radiusSetting,omitempty"`
// SecondaryDns Secondary DNS Server of the SSL VPN server.
SecondaryDns *string `json:"secondaryDns,omitempty"`
// ServicePort Service port of the SSL VPN server. Default value is 1194. It is required when parameter [status] is true, and it should be within the range of 1–65535
ServicePort *int32 `json:"servicePort,omitempty"`
// Status Status of the SSL VPN server.
Status bool `json:"status"`
// TotalTraffic Whether to proxy all traffic. It is required when parameter [status] is true.
TotalTraffic *bool `json:"totalTraffic,omitempty"`
// WanPort WAN port ID of the SSL VPN server. It is required when parameter [status] is true. WAN port ID can be obtained from 'Get internet basic info' interface
WanPort *string `json:"wanPort,omitempty"`
}
SslVpnServerConfigOpenApiVO defines model for SslVpnServerConfigOpenApiVO.
type SslVpnServerSetting ¶
type SslVpnServerSetting struct {
// LDAPSetting It is required when parameter [authType] is 2.
LDAPSetting *LdapSettingOpenApiVO `json:"LDAPSetting,omitempty"`
// AuthType Authentication type of the SSL VPN server should be a value as follows: 0: local; 1: radius; 2: LDAP.
AuthType *int32 `json:"authType,omitempty"`
// ExistLdap Whether LDAP Authentication has been configured in SSL VPN Server.
ExistLdap *bool `json:"existLdap,omitempty"`
// ExistRadius Whether RADIUS Authentication has been configured in SSL VPN Server.
ExistRadius *bool `json:"existRadius,omitempty"`
// ExitAtIdle Whether to exit when idle
ExitAtIdle *bool `json:"exitAtIdle,omitempty"`
// ExitTime Exit time should be within the range of 5–3600(s). It is required when parameter [exitAtIdle] is true.
ExitTime *int32 `json:"exitTime,omitempty"`
// Id ID of the SSL VPN server.
Id *string `json:"id,omitempty"`
// IpLockSetting IP lock config. It is required when parameter [status] is true.
IpLockSetting *LockSettingOpenApiVO `json:"ipLockSetting,omitempty"`
// IpPoolEnd The end IP of the IP pool.
IpPoolEnd *string `json:"ipPoolEnd,omitempty"`
// IpPoolStart The start IP of the IP pool.
IpPoolStart *string `json:"ipPoolStart,omitempty"`
// NameLockSetting IP lock config. It is required when parameter [status] is true.
NameLockSetting *LockSettingOpenApiVO `json:"nameLockSetting,omitempty"`
// PrimaryDns Primary DNS Server of the SSL VPN server.
PrimaryDns *string `json:"primaryDns,omitempty"`
// RadiusSetting It is required when parameter [authType] is 1.
RadiusSetting *RadiusSettingOpenApiVO `json:"radiusSetting,omitempty"`
// SecondaryDns Secondary DNS Server of the SSL VPN server.
SecondaryDns *string `json:"secondaryDns,omitempty"`
// ServicePort Service port of the SSL VPN server should be within the range of 1–65535
ServicePort *int32 `json:"servicePort,omitempty"`
// Status Status of the SSL VPN server.
Status bool `json:"status"`
// SupportByDsLiteAndMapE Whether this feature is supported for the DS-Lite or Map-E WAN connection types.
SupportByDsLiteAndMapE *bool `json:"supportByDsLiteAndMapE,omitempty"`
// SupportLDAP Whether the adopted gateway supports LDAP.
SupportLDAP *bool `json:"supportLDAP,omitempty"`
// SupportRadius Whether the adopted gateway supports Radius.
SupportRadius *bool `json:"supportRadius,omitempty"`
// TotalTraffic Whether to proxy all traffic.
TotalTraffic *bool `json:"totalTraffic,omitempty"`
// WanIp WAP IP of the SSL VPN server.
WanIp *string `json:"wanIp,omitempty"`
// WanPort WAN port of the SSL VPN server. WAN port ID can be obtained from 'Get internet basic info' interface
WanPort *string `json:"wanPort,omitempty"`
}
SslVpnServerSetting defines model for SslVpnServerSetting.
type SslVpnUserConfigOpenApiVO ¶
type SslVpnUserConfigOpenApiVO struct {
// ConcurrentNumber Concurrent number of the SSL VPN user should be within the range of 1–100
ConcurrentNumber int32 `json:"concurrentNumber"`
// GroupId Group ID of the SSL VPN user. User group can be created using 'Create SSL VPN user group' interface, and User Group ID can be obtained from 'Get user group list for SSL VPN server' interface.
GroupId *string `json:"groupId,omitempty"`
// Name Name of the SSL VPN user should contain 1 to 20 characters.
Name string `json:"name"`
// Password Password of the SSL VPN user should contain 1 to 64 characters.
Password string `json:"password"`
// Status Status of the SSL VPN user
Status bool `json:"status"`
// Validity Validity of the SSL VPN user. The format is Month/Day/Year, for example 08/20/2022
Validity string `json:"validity"`
}
SslVpnUserConfigOpenApiVO defines model for SslVpnUserConfigOpenApiVO.
type SslVpnUserEntity ¶
type SslVpnUserEntity struct {
// Available Available of the SSL VPN user
Available *bool `json:"available,omitempty"`
// ConcurrentNumber Concurrent number of the SSL VPN user
ConcurrentNumber int32 `json:"concurrentNumber"`
// GroupId Group ID of the SSL VPN user. User group can be created using 'Create SSL VPN user group' interface, and User Group ID can be obtained from 'Get user group list for SSL VPN server' interface.
GroupId *string `json:"groupId,omitempty"`
// GroupName Group name of the SSL VPN user
GroupName *string `json:"groupName,omitempty"`
// Id ID of the SSL VPN user
Id *string `json:"id,omitempty"`
// Name Name of the SSL VPN user
Name string `json:"name"`
// Password Password of the SSL VPN user
Password string `json:"password"`
// Status Status of the SSL VPN user
Status bool `json:"status"`
// Validity Validity of the SSL VPN user
Validity string `json:"validity"`
}
SslVpnUserEntity defines model for SslVpnUserEntity.
type SslVpnUserGridVOVpnUserInfoVO ¶
type SslVpnUserGridVOVpnUserInfoVO struct {
Available *int32 `json:"available,omitempty"`
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]VpnUserInfoVO `json:"data,omitempty"`
Expired *int32 `json:"expired,omitempty"`
SslVpnMaxConUserNum *int32 `json:"sslVpnMaxConUserNum,omitempty"`
SubnetsLimitSize *int32 `json:"subnetsLimitSize,omitempty"`
Total *int32 `json:"total,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
SslVpnUserGridVOVpnUserInfoVO defines model for SslVpnUserGridVOVpnUserInfoVO.
type SslVpnUserGroupBriefVO ¶
type SslVpnUserGroupBriefVO struct {
// Id user group id.
Id *string `json:"id,omitempty"`
// Name user group name.
Name *string `json:"name,omitempty"`
}
SslVpnUserGroupBriefVO defines model for SslVpnUserGroupBriefVO.
type SslVpnUserGroupConfigOpenApiVO ¶
type SslVpnUserGroupConfigOpenApiVO struct {
// LdapAttribute Attribute value used for LDAP authentication. It should contain 1 to 20 characters.
LdapAttribute *string `json:"ldapAttribute,omitempty"`
// Name Name of the SSL VPN user group should contain 1 to 20 characters.
Name string `json:"name"`
// RadiusAttribute Attribute value used for radius authentication. It should contain 1 to 20 characters.
RadiusAttribute *string `json:"radiusAttribute,omitempty"`
// ResourceGroupList Resource group ID list of the SSL VPN user group. Resource group can be created using 'Create SSL VPN resource group' interface, and Resource group ID can be obtained from 'Get resource group list for SSL VPN server' interface.
ResourceGroupList *[]string `json:"resourceGroupList,omitempty"`
}
SslVpnUserGroupConfigOpenApiVO defines model for SslVpnUserGroupConfigOpenApiVO.
type SslVpnUserGroupEntity ¶
type SslVpnUserGroupEntity struct {
// Id ID of the SSL VPN user group
Id *string `json:"id,omitempty"`
// LdapAttribute Attribute value used for LDAP authentication
LdapAttribute *string `json:"ldapAttribute,omitempty"`
// Name Name of the SSL VPN user group
Name string `json:"name"`
// RadiusAttribute Attribute value used for radius authentication
RadiusAttribute *string `json:"radiusAttribute,omitempty"`
// ResourceGroupList Resource group list of the SSL VPN user group
ResourceGroupList *[]SslVpnResourceGroupBriefInfo `json:"resourceGroupList,omitempty"`
// UserList User list of the SSL VPN user group
UserList *[]string `json:"userList,omitempty"`
// UserNumber User number of the SSL VPN user group
UserNumber *int32 `json:"userNumber,omitempty"`
}
SslVpnUserGroupEntity defines model for SslVpnUserGroupEntity.
type SslVpnUserGroupGridVOSslVpnUserGroupBriefVO ¶
type SslVpnUserGroupGridVOSslVpnUserGroupBriefVO struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]SslVpnUserGroupBriefVO `json:"data,omitempty"`
SupportLdap *bool `json:"supportLdap,omitempty"`
SupportRadius *bool `json:"supportRadius,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
SslVpnUserGroupGridVOSslVpnUserGroupBriefVO defines model for SslVpnUserGroupGridVOSslVpnUserGroupBriefVO.
type SslVpnUserGroupGridVOSslVpnUserGroupEntity ¶
type SslVpnUserGroupGridVOSslVpnUserGroupEntity struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]SslVpnUserGroupEntity `json:"data,omitempty"`
SupportLdap *bool `json:"supportLdap,omitempty"`
SupportRadius *bool `json:"supportRadius,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
SslVpnUserGroupGridVOSslVpnUserGroupEntity defines model for SslVpnUserGroupGridVOSslVpnUserGroupEntity.
type SslVpnUserGroupModifyOpenApiVO ¶
type SslVpnUserGroupModifyOpenApiVO struct {
// LdapAttribute Attribute value used for LDAP authentication. It should contain 1 to 20 characters.
LdapAttribute *string `json:"ldapAttribute,omitempty"`
// RadiusAttribute Attribute value used for radius authentication. It should contain 1 to 20 characters.
RadiusAttribute *string `json:"radiusAttribute,omitempty"`
// ResourceGroupList Resource group ID list of the SSL VPN user group. Resource group can be created using 'Create SSL VPN resource group' interface, and Resource group ID can be obtained from 'Get resource group list for SSL VPN server' interface.
ResourceGroupList *[]string `json:"resourceGroupList,omitempty"`
}
SslVpnUserGroupModifyOpenApiVO defines model for SslVpnUserGroupModifyOpenApiVO.
type SslVpnUserModifyOpenApiVO ¶
type SslVpnUserModifyOpenApiVO struct {
// ConcurrentNumber Concurrent number of the SSL VPN user. It should be within the range of 1–100.
ConcurrentNumber int32 `json:"concurrentNumber"`
// GroupId Group ID of the SSL VPN user. User group can be created using 'Create SSL VPN user group' interface, and User Group ID can be obtained from 'Get user group list for SSL VPN server' interface.
GroupId *string `json:"groupId,omitempty"`
// Password Password of the SSL VPN user should contain 1 to 64 characters.
Password string `json:"password"`
// Status Status of the SSL VPN user
Status bool `json:"status"`
// Validity Validity of the SSL VPN user. The format is Month/Day/Year, for example 08/20/2022
Validity string `json:"validity"`
}
SslVpnUserModifyOpenApiVO defines model for SslVpnUserModifyOpenApiVO.
type SslVpnUserOpenApiGridVOSslVpnUserEntity ¶
type SslVpnUserOpenApiGridVOSslVpnUserEntity struct {
// Available Available number of the SSL VPN user
Available *int32 `json:"available,omitempty"`
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]SslVpnUserEntity `json:"data,omitempty"`
// Expired Expired number of the SSL VPN user
Expired *int32 `json:"expired,omitempty"`
SslVpnMaxConUserNum *int32 `json:"sslVpnMaxConUserNum,omitempty"`
// Total Total number of the SSL VPN user
Total *int32 `json:"total,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
SslVpnUserOpenApiGridVOSslVpnUserEntity defines model for SslVpnUserOpenApiGridVOSslVpnUserEntity.
type SwitchDataVO ¶
type SwitchDataVO struct {
// FirmwareVersion The firmware version of the device.
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
// Lags Lag List
Lags *[]OswLagVO `json:"lags,omitempty"`
// Mac Device mac
Mac *string `json:"mac,omitempty"`
// Model Model of device,for example:EAP225
Model *string `json:"model,omitempty"`
// ModelVersion Model version of device,for example:3.0
ModelVersion *string `json:"modelVersion,omitempty"`
// Name Device name,default value is the mac address of device
Name *string `json:"name,omitempty"`
// NetworkNotAssociatedLags The lags not associated with network.
NetworkNotAssociatedLags *[]int32 `json:"networkNotAssociatedLags,omitempty"`
// NetworkNotAssociatedStandardPorts The ports not associated with network.
NetworkNotAssociatedStandardPorts *[]OswStandPortVO `json:"networkNotAssociatedStandardPorts,omitempty"`
// PortNum The number of ports of one device.
PortNum *int32 `json:"portNum,omitempty"`
// Ports Port List
Ports *[]OswPortVO `json:"ports,omitempty"`
// ShowModel Model complex shown in the front end.Ap:model+(country)+modelVersion,EAP225(EU) v3.0 Gateway/Switch:model+modelVersion,Osg v3.0
ShowModel *string `json:"showModel,omitempty"`
// StackId Stack Id
StackId *string `json:"stackId,omitempty"`
// StackName Stack name
StackName *string `json:"stackName,omitempty"`
// StackOswData stackOswData
StackOswData *OswStackDataVOSwitchDataVO `json:"stackOswData,omitempty"`
// Status Status of device,status should be a value as follows: 0:Disconnected;1:Disconnected(Migrating);10:Provisioning;11:Configuring;12:Upgrading;13:Rebooting;14:Connected;15:Connected(Wireless);16:Connected(Migrating);17:Connected(Wireless,Migrating);20:Pending;21:Pending(Wireless);22:Adopting;23:Adopting(Wireless);24:Adopt Failed;25:Adopt Failed(Wireless);26:Managed By Others;27:Managed By Others(Wireless);30:Heartbeat Missed;31:Heartbeat Missed(Wireless);32:Heartbeat Missed(Migrating);33:Heartbeat Missed(Wireless,Migrating);40:Isolated;41:Isolated(Migrating);50:Slice Configuring
Status *int32 `json:"status,omitempty"`
// SupportAutoAddVlan Whether the switch support auto add vlan.
SupportAutoAddVlan *bool `json:"supportAutoAddVlan,omitempty"`
// Type Device type:ap、gateway、switch、olt
Type *string `json:"type,omitempty"`
// UnSelectedablePorts The unSelectedable ports of the device.
UnSelectedablePorts *[]PortVO `json:"unSelectedablePorts,omitempty"`
// Unit Unit
Unit *int32 `json:"unit,omitempty"`
// Uplink Uplink Omada device
Uplink *OswUplinkVO `json:"uplink,omitempty"`
}
SwitchDataVO defines model for SwitchDataVO.
type TopologyFilterClientCountDTO ¶
type TopologyFilterClientCountDTO struct {
// Client2g 2g Client Count
Client2g *int32 `json:"client2g,omitempty"`
// Client2g5g 2g And 5g Client Count
Client2g5g *int32 `json:"client2g5g,omitempty"`
// Client2g5g6g 2g, 5g And 6g Client Count
Client2g5g6g *int32 `json:"client2g5g6g,omitempty"`
// Client2g6g 2g And 6g Client Count
Client2g6g *int32 `json:"client2g6g,omitempty"`
// Client5g 5g Client Count
Client5g *int32 `json:"client5g,omitempty"`
// Client5g6g 5g And 6g Client Count
Client5g6g *int32 `json:"client5g6g,omitempty"`
// Client6g 6g Client Count
Client6g *int32 `json:"client6g,omitempty"`
// WiredClient Wired Client Count
WiredClient *int32 `json:"wiredClient,omitempty"`
}
TopologyFilterClientCountDTO Each Connection Type Client Count
type TopologyOpenApiEdgeVO ¶
type TopologyOpenApiEdgeVO struct {
// Blocked Blocked Or Not
Blocked *bool `json:"blocked,omitempty"`
// BlockedType Blocked Type
BlockedType *int32 `json:"blockedType,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blockedVlans,omitempty"`
// DownLinkMac DownLink Mac
DownLinkMac *string `json:"downLinkMac,omitempty"`
// Port Downlink Port
Port *WiredPortV3DTO `json:"port,omitempty"`
// RemainBlockNum Remain Block Num
RemainBlockNum *int32 `json:"remainBlockNum,omitempty"`
// RemainBlockedPortList Remain Blocked PortList
RemainBlockedPortList *[]TopologyOpenApiEdgeVO `json:"remainBlockedPortList,omitempty"`
// UpLinkMac UpLink Mac
UpLinkMac *string `json:"upLinkMac,omitempty"`
// UpLinkPort Downlink Port
UpLinkPort *WiredPortV3DTO `json:"upLinkPort,omitempty"`
}
TopologyOpenApiEdgeVO Topology Edges
type TopologyV3OpenApiNodeVO ¶
type TopologyV3OpenApiNodeVO struct {
// AbnormalReason Stack Abnormal Reason. 0: Not All Connected. 2: Not All Activated.
AbnormalReason *int32 `json:"abnormalReason,omitempty"`
// Active Whether The Device Is License Active Or Not
Active *bool `json:"active,omitempty"`
// Capability Other Device Capability
Capability *string `json:"capability,omitempty"`
// Channel2g channel2g
Channel2g *int32 `json:"channel2g,omitempty"`
// Channel5g channel5g
Channel5g *int32 `json:"channel5g,omitempty"`
// Channel5g2 channel5g2
Channel5g2 *int32 `json:"channel5g2,omitempty"`
// Channel6g channel6g
Channel6g *int32 `json:"channel6g,omitempty"`
// ChannelNum ChannelNum Of IPC/NVR
ChannelNum *int32 `json:"channelNum,omitempty"`
// ClientCount Directly Connected Client Count
ClientCount *int32 `json:"clientCount,omitempty"`
// ClientHealth Client Health
ClientHealth *ClientAggHealthDTO `json:"clientHealth,omitempty"`
// ClientType Type of Third Party Device, if type is other
ClientType *string `json:"clientType,omitempty"`
// ClientVlanId Vlan Id Of Client That Exists In Topology As Other Device
ClientVlanId *int32 `json:"clientVlanId,omitempty"`
// Compatible The Compatibility Type Of Device Firmware And Controller
Compatible *int32 `json:"compatible,omitempty"`
// ConnectedChannel Connected Channel Of IPC/NVR
ConnectedChannel *int32 `json:"connectedChannel,omitempty"`
// DadLink DadLink for mlag node
DadLink *[]WiredPortV3DTO `json:"dadLink,omitempty"`
// Description Other Device Description
Description *string `json:"description,omitempty"`
// DevRxRate Device RxRate
DevRxRate *int64 `json:"devRxRate,omitempty"`
// DevTxRate Device TxRate
DevTxRate *int64 `json:"devTxRate,omitempty"`
// DeviceSeriesType Device Series Type
DeviceSeriesType *int32 `json:"deviceSeriesType,omitempty"`
// Disconnected Whether The Device Is Disconnected Or Not
Disconnected *bool `json:"disconnected,omitempty"`
// EcspFirstVersion Device Protocol First Version
EcspFirstVersion *int32 `json:"ecspFirstVersion,omitempty"`
// ExistStpLoop Exist Stp Loop Or Not
ExistStpLoop *bool `json:"existStpLoop,omitempty"`
// FilterClientCount Each Connection Type Client Count
FilterClientCount *TopologyFilterClientCountDTO `json:"filterClientCount,omitempty"`
// FirmwareVersion FirmwareVersion Of IPC/NVR
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
// HealthScore Health Score
HealthScore *int32 `json:"healthScore,omitempty"`
// Ip Device Ip
Ip *string `json:"ip,omitempty"`
// IpcCount Directly Connected IPC Client Count
IpcCount *int32 `json:"ipcCount,omitempty"`
// Ippt If Gateway Is Ippt Mode
Ippt *bool `json:"ippt,omitempty"`
// IsAllClients Whether The Client Group Is All Clients Or Just Other Clients
IsAllClients *bool `json:"isAllClients,omitempty"`
// LanPorts Gateway Lan Port List
LanPorts *[]LanPort `json:"lanPorts,omitempty"`
// Mac Device Mac
Mac *string `json:"mac,omitempty"`
// MacList Device Macs
MacList *[]string `json:"macList,omitempty"`
// MlagId Mlag group id
MlagId *string `json:"mlagId,omitempty"`
// Model Device Model
Model *string `json:"model,omitempty"`
// ModelVersion Device ModelVersion
ModelVersion *string `json:"modelVersion,omitempty"`
// MultiSwitchDownlinkClient Mlag Or Vrrp Group All Members Client Query Parameter
MultiSwitchDownlinkClient *[]ClientsQueryMacAndFilterType `json:"multiSwitchDownlinkClient,omitempty"`
// MultiSwitchList All members for multiSwitchNode including mlag and vrrp node
MultiSwitchList *[]TopologyV3OpenApiNodeVO `json:"multiSwitchList,omitempty"`
// MultiSwitchNum Serial number for mlag and vrrp node members, which is unique
MultiSwitchNum *int32 `json:"multiSwitchNum,omitempty"`
// MultiSwitchRole Role for mlag and vrrp node members
MultiSwitchRole *int32 `json:"multiSwitchRole,omitempty"`
// Name Device Name
Name *string `json:"name,omitempty"`
// OmadaDeviceType Type of Omada Device, if type is other
OmadaDeviceType *string `json:"omadaDeviceType,omitempty"`
// PeerLink PeerLink for mlag node
PeerLink *[]WiredPortV3DTO `json:"peerLink,omitempty"`
// PortLabels Other Device Port Labels
PortLabels *PortLabelDTO `json:"portLabels,omitempty"`
// RdMode2g rdMode2g
RdMode2g *string `json:"rdMode2g,omitempty"`
// RdMode5g rdMode5g
RdMode5g *string `json:"rdMode5g,omitempty"`
// RdMode5g2 rdMode5g2
RdMode5g2 *string `json:"rdMode5g2,omitempty"`
// RdMode6g rdMode6g
RdMode6g *string `json:"rdMode6g,omitempty"`
// Role Identify Device Role In P2P Scenarios
Role *int32 `json:"role,omitempty"`
// ShowModel Device Show Model
ShowModel *string `json:"showModel,omitempty"`
// SpecialModel Special device model,for example:EAP225-Outdoor-1a20a950b8d950e8
SpecialModel *string `json:"specialModel,omitempty"`
// SpecificOtherType SpecificOtherType for other device
SpecificOtherType *string `json:"specificOtherType,omitempty"`
// SpecificType SpecificType for multiSwitchNode, 0 means mlag node and 1 means vrrp node
SpecificType *int32 `json:"specificType,omitempty"`
// StackGroup Whether The Switch Device Is Stack Group Or Not
StackGroup *bool `json:"stackGroup,omitempty"`
// StackId StackGroup Switch Device Id
StackId *string `json:"stackId,omitempty"`
// StackStatus Status of the Stack Group. 0: normal; 1: abnormal; 2: stack not ready.
StackStatus *int32 `json:"stackStatus,omitempty"`
// Status Device Status
Status *int32 `json:"status,omitempty"`
// StatusCategory Device Status Category
StatusCategory *int32 `json:"statusCategory,omitempty"`
// Successors Device Successors
Successors *[]TopologyV3OpenApiNodeVO `json:"successors,omitempty"`
// Support5g2 Whether The Device Supports 5g2 Or Not
Support5g2 *bool `json:"support5g2,omitempty"`
// Type Device Type
Type *string `json:"type,omitempty"`
// UplinkMacList Mlag Or Vrrp Group All Members Mac List
UplinkMacList *[]string `json:"uplinkMacList,omitempty"`
// VigiManaged If Vigi Is Managed By Vms
VigiManaged *bool `json:"vigiManaged,omitempty"`
// VigiWirelessUpInfo Wireless Vigi UpLink Info
VigiWirelessUpInfo *VigiWirelessUpInfoDTO `json:"vigiWirelessUpInfo,omitempty"`
// VlansAsMaster All vlans that vrrp member act as master
VlansAsMaster *string `json:"vlansAsMaster,omitempty"`
// VrrpGroupList Vrrp node member's vrrp group information
VrrpGroupList *[]VrrpGroupDTO `json:"vrrpGroupList,omitempty"`
// VrrpLink Vrrp members internal link
VrrpLink *[]VrrpLinkDTO `json:"vrrpLink,omitempty"`
// WanPorts Gateway Wan Port List
WanPorts *[]WanPort `json:"wanPorts,omitempty"`
// WarnNvrFirmware Whether IPC/NVR Needs To Upgrade Firmware To Support Lldp Feature
WarnNvrFirmware *bool `json:"warnNvrFirmware,omitempty"`
// WiredUpInfo Multi wiredUpInfo for mlag and vrrp member or downlink device
WiredUpInfo *WiredUpInfoDTO `json:"wiredUpInfo,omitempty"`
// WiredUpInfos Multi wiredUpInfo for mlag and vrrp member or downlink device
WiredUpInfos *[]WiredUpInfoDTO `json:"wiredUpInfos,omitempty"`
// WirelessUpInfo Wireless UpLink Info
WirelessUpInfo *WirelessUpInfoDTO `json:"wirelessUpInfo,omitempty"`
// WirelessUplink Whether The IPC/NVR Is Wireless Connected Or Not
WirelessUplink *bool `json:"wirelessUplink,omitempty"`
}
TopologyV3OpenApiNodeVO Topology Nodes
type UploadVpnCertificateFileMultipartBody ¶
type UploadVpnCertificateFileMultipartBody struct {
// File Client VPN certificate file (exported from the VPN server). OpenVPN Client only supports .ovpn files; WireGuard Client only supports .conf files.
File openapi_types.File `json:"file"`
}
UploadVpnCertificateFileMultipartBody defines parameters for UploadVpnCertificateFile.
type UploadVpnCertificateFileMultipartRequestBody
deprecated
type UploadVpnCertificateFileMultipartRequestBody UploadVpnCertificateFileMultipartBody
UploadVpnCertificateFileMultipartRequestBody defines body for UploadVpnCertificateFile for multipart/form-data ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type UploadVpnCertificateFileResponse ¶
func ParseUploadVpnCertificateFileResponse ¶
func ParseUploadVpnCertificateFileResponse(rsp *http.Response) (*UploadVpnCertificateFileResponse, error)
ParseUploadVpnCertificateFileResponse parses an HTTP response from a UploadVpnCertificateFileWithResponse call
func (UploadVpnCertificateFileResponse) ContentType ¶
func (r UploadVpnCertificateFileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UploadVpnCertificateFileResponse) GetBody ¶
func (r UploadVpnCertificateFileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UploadVpnCertificateFileResponse) Status ¶
func (r UploadVpnCertificateFileResponse) Status() string
Status returns HTTPResponse.Status
func (UploadVpnCertificateFileResponse) StatusCode ¶
func (r UploadVpnCertificateFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadVpnCertificateFileV2MultipartBody ¶
type UploadVpnCertificateFileV2MultipartBody struct {
// File Client VPN certificate file (exported from the VPN server). OpenVPN Client only supports .ovpn files; WireGuard Client only supports .conf files.
File openapi_types.File `json:"file"`
}
UploadVpnCertificateFileV2MultipartBody defines parameters for UploadVpnCertificateFileV2.
type UploadVpnCertificateFileV2MultipartRequestBody ¶
type UploadVpnCertificateFileV2MultipartRequestBody UploadVpnCertificateFileV2MultipartBody
UploadVpnCertificateFileV2MultipartRequestBody defines body for UploadVpnCertificateFileV2 for multipart/form-data ContentType.
type UploadVpnCertificateFileV2Response ¶
func ParseUploadVpnCertificateFileV2Response ¶
func ParseUploadVpnCertificateFileV2Response(rsp *http.Response) (*UploadVpnCertificateFileV2Response, error)
ParseUploadVpnCertificateFileV2Response parses an HTTP response from a UploadVpnCertificateFileV2WithResponse call
func (UploadVpnCertificateFileV2Response) ContentType ¶
func (r UploadVpnCertificateFileV2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UploadVpnCertificateFileV2Response) GetBody ¶
func (r UploadVpnCertificateFileV2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (UploadVpnCertificateFileV2Response) Status ¶
func (r UploadVpnCertificateFileV2Response) Status() string
Status returns HTTPResponse.Status
func (UploadVpnCertificateFileV2Response) StatusCode ¶
func (r UploadVpnCertificateFileV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VPN ¶
type VPN struct {
// AccountAuth Account auth of the VPN, only for server OpenVPN.
AccountAuth *bool `json:"accountAuth,omitempty"`
// AuthMode Authentication mode should be a value as follows: 0: Local; 1: LDAP.
AuthMode *int32 `json:"authMode,omitempty"`
// ClientPassword Client password of the VPN.
ClientPassword *string `json:"clientPassword,omitempty"`
// ClientUserName Client username of the VPN.
ClientUserName *string `json:"clientUserName,omitempty"`
// ClientVpnType1 Client to Site VPN : 0:VPN Server 1:VPN Client.
ClientVpnType1 int32 `json:"clientVpnType1"`
// ClientVpnType2 Client Vpn type should be a value as follows: 0: L2TP; 1: PPTP; 2: IPSec; 3: OpenVPN.
ClientVpnType2 int32 `json:"clientVpnType2"`
// CustomNetwork Custom networks of the VPN, only for Manual IPSec type.
CustomNetwork *[]IPSubnetsVO `json:"customNetwork,omitempty"`
// Encryption Encryption should be a value as follows: 0: Encrypted; 1: Unencrypted.
Encryption *int32 `json:"encryption,omitempty"`
// ExistAccountAuth Whether Account Auth is configured.
ExistAccountAuth *bool `json:"existAccountAuth,omitempty"`
// ExistCustomDns Whether custom DNS Server has been configured in current VPN.
ExistCustomDns *bool `json:"existCustomDns,omitempty"`
// ExistCustomNetwork Whether Local Network Type is Custom.
ExistCustomNetwork *bool `json:"existCustomNetwork,omitempty"`
// ExistIPsec Whether current VPN is IPsec type.
ExistIPsec *bool `json:"existIPsec,omitempty"`
// ExistIpRange Whether IP pool type is Ip Address Range.
ExistIpRange *bool `json:"existIpRange,omitempty"`
// ExistL2TP Whether current VPN is L2TP type.
ExistL2TP *bool `json:"existL2TP,omitempty"`
// ExistLdap Whether Auth Mode is LDAP.
ExistLdap *bool `json:"existLdap,omitempty"`
// ExistOpenVpnDomain Whether Open VPN Client Remote Server is Domain Name.
ExistOpenVpnDomain *bool `json:"existOpenVpnDomain,omitempty"`
// ExistPfs Whether current VPN has configured none-default option: dh14 or dh15.
ExistPfs *bool `json:"existPfs,omitempty"`
// ExistPhase1Proposal1 Whether current VPN has configured none-default Proposal option for IKE negotiation phase-1: SHA384 or SHA512.
ExistPhase1Proposal1 *bool `json:"existPhase1Proposal1,omitempty"`
// ExistPhase2Proposal2 Whether current VPN has configured none-default Proposal option for IKE negotiation phase-2: SHA384 or SHA512.
ExistPhase2Proposal2 *bool `json:"existPhase2Proposal2,omitempty"`
// ExistServerOpenVpnGoogleLdap Whether Auth Mode is Google LDAP.
ExistServerOpenVpnGoogleLdap *bool `json:"existServerOpenVpnGoogleLdap,omitempty"`
// ExistTunnelMode OpenVPN tunnel mode is Full.
ExistTunnelMode *bool `json:"existTunnelMode,omitempty"`
// Id ID of the VPN.
Id *string `json:"id,omitempty"`
// IpPool User remote subnets of the VPN user.
IpPool IPSubnetsVO `json:"ipPool"`
// IpPoolEnd The end IP of the IP pool.
IpPoolEnd *string `json:"ipPoolEnd,omitempty"`
// IpPoolStart The start IP of the IP pool.
IpPoolStart *string `json:"ipPoolStart,omitempty"`
// IpPoolType IP pool type should be a value as follows: 0: Ip Address/Mask; 1: Ip Address Range.
IpPoolType *int32 `json:"ipPoolType,omitempty"`
// LdapProfile Ldap Profile.
LdapProfile *string `json:"ldapProfile,omitempty"`
// Name Name should contain 1 to 63 characters.
Name string `json:"name"`
// NetworkList Network list of the VPN, only for Manual IPSec type. Network can be created using 'Create LAN network' interface, and network ID can be obtained from 'Get LAN network list' interface.
NetworkList *[]string `json:"networkList,omitempty"`
// NetworkType Network type should be a value as follows: 0: network list; 1: custom networks.
NetworkType *int32 `json:"networkType,omitempty"`
// OpenVpnMode OpenVPN mode should be a value as follows: 0: certification; 1: certification+account.
OpenVpnMode *int32 `json:"openVpnMode,omitempty"`
// OpenVpnTunnelMode OpenVPN tunnel mode should be a value as follows: 0: split; 1: full.
OpenVpnTunnelMode *int32 `json:"openVpnTunnelMode,omitempty"`
PreSharedKey *string `json:"preSharedKey,omitempty"`
// PrimaryDns Primary DNS of the VPN.
PrimaryDns *string `json:"primaryDns,omitempty"`
// Purpose Purpose of the VPN.
Purpose int32 `json:"purpose"`
// RemoteIp Remote IP of the VPN.
RemoteIp *string `json:"remoteIp,omitempty"`
// RemoteSite Remote site of the VPN.
RemoteSite *string `json:"remoteSite,omitempty"`
// RemoteSubnet Remote subnet of the VPN, only for Manual IPSec type.
RemoteSubnet *[]IPSubnetsVO `json:"remoteSubnet,omitempty"`
// SecondaryDns Secondary DNS of the VPN.
SecondaryDns *string `json:"secondaryDns,omitempty"`
// ServicePort Service port should be within the range of 1–65535.
ServicePort *int32 `json:"servicePort,omitempty"`
// ServiceType Service type of the VPN.
ServiceType *int32 `json:"serviceType,omitempty"`
// SiteVpnType Site VPN type of the VPN.
SiteVpnType *int32 `json:"siteVpnType,omitempty"`
// Status Status of the VPN.
Status *bool `json:"status,omitempty"`
// VpnConfiguration VPN configuration of the VPN.
VpnConfiguration *VpnCertificateOpenApiVO `json:"vpnConfiguration,omitempty"`
// Wans WAN list of the VPN. WAN port ID can be obtained from 'Get internet basic info' interface.
Wans *[]string `json:"wans,omitempty"`
// WorkingMode Working Mode should be a value as follow: 0:NAT 1:Routing.
WorkingMode *int32 `json:"workingMode,omitempty"`
}
VPN defines model for VPN.
type VigiWirelessUpInfoDTO ¶
type VigiWirelessUpInfoDTO struct {
// Channel Wireless Vigi Channel
Channel *int32 `json:"channel,omitempty"`
// MultiLink Vigi MultiLink In MLO Mode
MultiLink *[]MultiLinkEntryDTO `json:"multiLink,omitempty"`
// Radio Wireless Vigi Radio
Radio *int32 `json:"radio,omitempty"`
// Ssid Wireless Vigi Ssid
Ssid *string `json:"ssid,omitempty"`
// Support5g2 Whether The Vigi Supports 5g2 Or Not
Support5g2 *bool `json:"support5g2,omitempty"`
}
VigiWirelessUpInfoDTO Wireless Vigi UpLink Info
type VpnAdvancedSettingOpenApiVO ¶
type VpnAdvancedSettingOpenApiVO struct {
// Dpd DPD of the VPN advanced setting.
Dpd *bool `json:"dpd,omitempty"`
// DpdInterval DPD interval of the VPN advanced setting should be within the range of 1-300 seconds.
DpdInterval *int32 `json:"dpdInterval,omitempty"`
// EncapsulationMode Encapsulation mode should be a value as follows: 0: Tunnel Mode; 1: Transport Mode.
EncapsulationMode *int32 `json:"encapsulationMode,omitempty"`
// ExchangeMode Exchange mode should be a value as follows: 0: Main Mode; 1: Aggressive Mode.
ExchangeMode *int32 `json:"exchangeMode,omitempty"`
// KeyExchangeVersion Key exchange version should be a value as follows: 0: IKEv1; 1: IKEv2.
KeyExchangeVersion *int32 `json:"keyExchangeVersion,omitempty"`
// LocalIdType Local ID type should be a value as follows: 0: IP Address; 1: Name.
LocalIdType *int32 `json:"localIdType,omitempty"`
// LocalName Local name of the VPN advanced setting.
LocalName *string `json:"localName,omitempty"`
// NegotiationMode Negotiation mode should be a value as follows: 0: Initiator; 1: Aggressive Mode.
NegotiationMode *int32 `json:"negotiationMode,omitempty"`
// Pfs PFS should be a value as follows: 0: None; 1: dh1; 2: dh2; 3: dh5; 14: dh14; 15: dh15.
Pfs *int32 `json:"pfs,omitempty"`
// Phase1Proposal1 Phase1 proposal1 should be a value as follows: 0: MD5; 1: SHA1; 2: SHA256; 3: SHA384; 4: SHA512.
Phase1Proposal1 *int32 `json:"phase1Proposal1,omitempty"`
// Phase1Proposal2 Phase1 proposal2 should be a value as follows: 0: DES; 1: 3DES; 2: AES128; 3: AES192; 4: AES256.
Phase1Proposal2 *int32 `json:"phase1Proposal2,omitempty"`
// Phase1Proposal3 Phase1 proposal3 should be a value as follows: 0: DH1; 1: DH2; 2: DH5; 3: DH14; 4: DH15; 5: DH16; 6: DH19; 7: DH20; 8: DH21; 9: DH25; 10: DH26.
Phase1Proposal3 *int32 `json:"phase1Proposal3,omitempty"`
// Phase2Proposal1 Phase2 proposal1 should be a value as follows: 0: AH; 1: ESP.
Phase2Proposal1 *int32 `json:"phase2Proposal1,omitempty"`
// Phase2Proposal2 Phase2 proposal2 should be a value as follows: 0: MD5; 1: SHA1; 2: SHA256; 3: SHA384; 4:SHA512.
Phase2Proposal2 *int32 `json:"phase2Proposal2,omitempty"`
// Phase2Proposal3 Phase2 proposal3 should be a value as follows: 0: DES; 1: 3DES; 2: AES128; 3: AES192; 4: AES256.
Phase2Proposal3 *int32 `json:"phase2Proposal3,omitempty"`
// RemoteIdType Remote ID type should be a value as follows: 0: IP Address; 1: Name.
RemoteIdType *int32 `json:"remoteIdType,omitempty"`
// RemoteName Remote name of the VPN advanced setting.
RemoteName *string `json:"remoteName,omitempty"`
// SaLifetime SA lifetime of the VPN advanced setting should be within the range of 60-604800 seconds.
SaLifetime *int32 `json:"saLifetime,omitempty"`
// SaLifetime2 SA lifetime2 of the VPN advanced setting should be within the range of 120-604800 seconds.
SaLifetime2 *int32 `json:"saLifetime2,omitempty"`
}
VpnAdvancedSettingOpenApiVO Advanced setting list of the VPN, only for IPSec type.
type VpnAvailableIpPoolVO ¶
type VpnAvailableIpPoolVO struct {
// IpPool Available IP pools.
IpPool *[]IPSubnetsOpenApiVO `json:"ipPool,omitempty"`
}
VpnAvailableIpPoolVO defines model for VpnAvailableIpPoolVO.
type VpnBaseAuthSettingOpenApiVO ¶
type VpnBaseAuthSettingOpenApiVO struct {
// DefaultGroup Only for SSL VPN. Default user group ID for the user on the LDAP/Radius server. User group can be created using 'Create SSL VPN user group' interface, and user group ID can be obtained from 'Get user group list for SSL VPN server' interface.
DefaultGroup string `json:"defaultGroup"`
// ProfileId Profile ID. LDAP profile can be created using 'Create a new LDAP profile' interface, and LDAP profile ID can be obtained from 'Get LDAP profile list' interface. Radius profile can be created using 'Create a new RADIUS profile' interface, and RADIUS profile ID can be obtained from 'Get RADIUS profile list' interface.
ProfileId string `json:"profileId"`
}
VpnBaseAuthSettingOpenApiVO It is required for SSL VPN when parameter [authType] is 1.
type VpnCertificateOpenApiVO ¶
type VpnCertificateOpenApiVO struct {
// FileName File name of the VPN certificate.
FileName *string `json:"fileName,omitempty"`
// Id ID of the VPN certificate.
Id *string `json:"id,omitempty"`
}
VpnCertificateOpenApiVO VPN configuration of the VPN.
type VpnCertificateVO ¶
type VpnCertificateVO struct {
AllowedServerAddress *[]string `json:"allowedServerAddress,omitempty"`
Dns1 *string `json:"dns1,omitempty"`
Dns2 *string `json:"dns2,omitempty"`
FileName *string `json:"fileName,omitempty"`
Id *string `json:"id,omitempty"`
KeepAlive *int32 `json:"keepAlive,omitempty"`
LocalIp *string `json:"localIp,omitempty"`
OpenVpnMode *int32 `json:"openVpnMode,omitempty"`
PrivateKey *string `json:"privateKey,omitempty"`
PublicKey *string `json:"publicKey,omitempty"`
RemoteIp *string `json:"remoteIp,omitempty"`
ServerPublicKey *string `json:"serverPublicKey,omitempty"`
ServicePort *int32 `json:"servicePort,omitempty"`
}
VpnCertificateVO defines model for VpnCertificateVO.
type VpnClientConfigOpenApiVO ¶
type VpnClientConfigOpenApiVO struct {
// AllowedServerAddress Wire Guard allowed server address.
AllowedServerAddress *[]string `json:"allowedServerAddress,omitempty"`
// ClientPassword Client password of the VPN.
ClientPassword *string `json:"clientPassword,omitempty"`
// ClientPort Client port should be within the range of 1–65535.
ClientPort *int32 `json:"clientPort,omitempty"`
// ClientUsername Client username of the VPN.
ClientUsername *string `json:"clientUsername,omitempty"`
// CustomNetwork Custom networks of the VPN.
CustomNetwork *[]VpnIPSubnetsOpenApiVO `json:"customNetwork,omitempty"`
// Dns1 Primary DNS of the VPN.
Dns1 *string `json:"dns1,omitempty"`
// Dns2 Secondary DNS of the VPN.
Dns2 *string `json:"dns2,omitempty"`
// Encryption Encryption should be a value as follows: 0: Encrypted; 1: Unencrypted; 2: Auto.
Encryption *int32 `json:"encryption,omitempty"`
// KeepAlive The keepalive second of WireGuard peer should be within the range of 0-65535.
KeepAlive *int32 `json:"keepAlive,omitempty"`
// Mtu The MTU of WireGuard VPN should be within the range of 576-1440.
Mtu *int32 `json:"mtu,omitempty"`
// Name Name should contain 1 to 63 characters.
Name string `json:"name"`
// NetworkList Network list of the VPN. Network can be created using 'Create LAN network' interface, and network ID can be obtained from 'Get LAN network list' interface.
NetworkList *[]string `json:"networkList,omitempty"`
// NetworkType Network type should be a value as follows: 0: network list; 1: custom networks.
NetworkType *int32 `json:"networkType,omitempty"`
// OpenVpnMode OpenVPN mode should be a value as follows: 0: certification; 1: certification+account.
OpenVpnMode *int32 `json:"openVpnMode,omitempty"`
PreSharedKey *string `json:"preSharedKey,omitempty"`
// PrivateKey The private key of WireGuard VPN must have 44 character of base64 and end with '='.
PrivateKey *string `json:"privateKey,omitempty"`
// RemoteIp Remote IP of the VPN
RemoteIp string `json:"remoteIp"`
// RemoteSubnet Remote subnet of the VPN.
RemoteSubnet *[]string `json:"remoteSubnet,omitempty"`
// ServerPublicKey The public key of WireGuard VPN must have 44 character of base64 and end with '='.
ServerPublicKey string `json:"serverPublicKey"`
// ServicePort Service port should be within the range of 1–65535.
ServicePort int32 `json:"servicePort"`
// Setup Wire Guard setup should be a value as follows: 0: file; 1: manual.
Setup int32 `json:"setup"`
// Status Status of the VPN.
Status bool `json:"status"`
// TunnelIp The local IP address of WireGuard VPN.
TunnelIp *string `json:"tunnelIp,omitempty"`
// VpnConfiguration VPN configuration of the VPN.
VpnConfiguration VpnCertificateOpenApiVO `json:"vpnConfiguration"`
// VpnType Vpn type should be a value as follows: 0: L2TP; 1: PPTP; 3: OpenVPN; 4: WireGuard.
VpnType int32 `json:"vpnType"`
// Wans WAN list of the VPN. WAN port ID can be obtained from 'Get internet basic info' interface.
Wans []string `json:"wans"`
// WorkingMode Working Mode should be a value as follow: 0:NAT 1:Routing.
WorkingMode *int32 `json:"workingMode,omitempty"`
}
VpnClientConfigOpenApiVO defines model for VpnClientConfigOpenApiVO.
type VpnClientDetailVO ¶
type VpnClientDetailVO struct {
// AllowedServerAddress Wire Guard allowed server address.
AllowedServerAddress *[]string `json:"allowedServerAddress,omitempty"`
// ClientPassword Client password should contain 1 to 64 characters.
ClientPassword *string `json:"clientPassword,omitempty"`
// ClientPort Client port for VPN client.
ClientPort *int32 `json:"clientPort,omitempty"`
// ClientUsername Client username should contain 1 to 64 characters.
ClientUsername *string `json:"clientUsername,omitempty"`
// CustomNetwork Custom networks of the VPN.
CustomNetwork *[]VpnIPSubnetsOpenApiVO `json:"customNetwork,omitempty"`
// Dns1 Primary DNS of the VPN.
Dns1 *string `json:"dns1,omitempty"`
// Dns2 Secondary DNS of the VPN.
Dns2 *string `json:"dns2,omitempty"`
// Encryption Encryption should be a value as follows: 0: Encrypted; 1: Unencrypted.
Encryption *int32 `json:"encryption,omitempty"`
// FeatureDescription Gateway Feature Description
FeatureDescription *[]FeatureInfoVO `json:"featureDescription,omitempty"`
// Id ID of the VPN.
Id *string `json:"id,omitempty"`
// KeepAlive The keepalive second of WireGuard peer should be within the range of 0-65535.
KeepAlive *int32 `json:"keepAlive,omitempty"`
// Mtu The MTU of WireGuard VPN should be within the range of 576-1440.
Mtu *int32 `json:"mtu,omitempty"`
// Name VPN name.
Name *string `json:"name,omitempty"`
// NetworkList Network list of the VPN.
NetworkList *[]string `json:"networkList,omitempty"`
// NetworkType Network type. 0: network list; 1: custom networks.
NetworkType *int32 `json:"networkType,omitempty"`
// OpenVpnMode OpenVPN mode should be a value as follows: 0: certification; 1: certification+account.
OpenVpnMode *int32 `json:"openVpnMode,omitempty"`
PreSharedKey *string `json:"preSharedKey,omitempty"`
// PrivateKey The private key of WireGuard VPN must have 44 character of base64 and end with '='.
PrivateKey *string `json:"privateKey,omitempty"`
// PublicKey The public key of WireGuard VPN must have 44 character of base64 and end with '='.
PublicKey *string `json:"publicKey,omitempty"`
// RemoteIp Remote IP of the VPN.
RemoteIp *string `json:"remoteIp,omitempty"`
// RemoteSubnet Remote subnet of the VPN.
RemoteSubnet *[]string `json:"remoteSubnet,omitempty"`
// ServerPublicKey The public key of WireGuard VPN must have 44 character of base64 and end with '='.
ServerPublicKey *string `json:"serverPublicKey,omitempty"`
// ServicePort Service port for VPN server.
ServicePort *int32 `json:"servicePort,omitempty"`
// Setup Wire Guard setup should be a value as follows: 0: file; 1: manual.
Setup *int32 `json:"setup,omitempty"`
// Status Status of the VPN.
Status *bool `json:"status,omitempty"`
// TunnelIp The local IP address of WireGuard VPN.
TunnelIp *string `json:"tunnelIp,omitempty"`
// VpnConfiguration VPN configuration of the VPN.
VpnConfiguration *VpnCertificateOpenApiVO `json:"vpnConfiguration,omitempty"`
// VpnType Client Vpn type. 0: L2TP; 1: PPTP; 3: OpenVPN; 4: WireGuard.
VpnType *int32 `json:"vpnType,omitempty"`
// Wans WAN port ID.
Wans *[]string `json:"wans,omitempty"`
// WorkingMode Working mode should be a value as follows: 0: NAT; 1: Routing.
WorkingMode *int32 `json:"workingMode,omitempty"`
}
VpnClientDetailVO defines model for VpnClientDetailVO.
type VpnDefaultValueReqVO ¶
type VpnDefaultValueReqVO struct {
// Type Parameter [type] should be a value as follows: 0, name; 1, port; 2, tunnelIp.
Type int32 `json:"type"`
// Usage Parameter [usage] should not be null when parameter [type] is name. Parameter [usage] should be a value as follows: 0, server; 1, client; 2, site-to-site.
Usage *int32 `json:"usage,omitempty"`
// VpnType Parameter [vpnType] should not be null when parameter [type] is port. Parameter [vpnType] should be a value as follows: 3, Open VPN; 4, Wire Guard; 5, SSL VPN.
VpnType *int32 `json:"vpnType,omitempty"`
}
VpnDefaultValueReqVO defines model for VpnDefaultValueReqVO.
type VpnDefaultValueRespVO ¶
type VpnDefaultValueRespVO struct {
// Port Default service port.
Port *int32 `json:"port,omitempty"`
// TunnelIp Default tunnel IP for Wire Guard.
TunnelIp *string `json:"tunnelIp,omitempty"`
// VpnName Default VPN name for each VPN type.
VpnName *map[string]string `json:"vpnName,omitempty"`
}
VpnDefaultValueRespVO defines model for VpnDefaultValueRespVO.
type VpnIPSubnetsOpenApiVO ¶
type VpnIPSubnetsOpenApiVO struct {
// Ip IP address, should be a valid IP format.
Ip string `json:"ip"`
// Mask IP mask, mask should be within the range of 0-32.
Mask int32 `json:"mask"`
}
VpnIPSubnetsOpenApiVO Custom networks of the VPN.
type VpnListUsedFunctionOpenApiVO ¶
type VpnListUsedFunctionOpenApiVO struct {
// VpnList List of VPNs that have used the function.
VpnList *[]VpnUsedFunctionOpenApiVO `json:"vpnList,omitempty"`
}
VpnListUsedFunctionOpenApiVO defines model for VpnListUsedFunctionOpenApiVO.
type VpnOpenApiGridVOClientToSiteVpnClient ¶
type VpnOpenApiGridVOClientToSiteVpnClient struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]ClientToSiteVpnClient `json:"data,omitempty"`
// PfsCap All PFS configuration types supported by the device, 1:dh1; 2:dh2; 3:dh3; 14:dh14; 15:dh15. Default: dh1、dh2、dh5
PfsCap *[]int32 `json:"pfsCap,omitempty"`
// Phase1Proposal1Cap Proposal options for IKE negotiation phase-1. 0: MD5, 1: SHA1, 2:SHA256, 3:SHA384, 4:SHA512. Default: MD5, SHA1 and SHA256
Phase1Proposal1Cap *[]int32 `json:"phase1Proposal1Cap,omitempty"`
// Phase2Proposal2Cap Proposal options for IKE negotiation phase-2. 0: MD5, 1: SHA1, 2:SHA256, 3:SHA384, 4:SHA512.+ Default: MD5, SHA1 and SHA256
Phase2Proposal2Cap *[]int32 `json:"phase2Proposal2Cap,omitempty"`
// SubnetsLimitSize The limit on the number of entries for remote subnets and local network.
SubnetsLimitSize *int32 `json:"subnetsLimitSize,omitempty"`
// SupportAccountAuth Whether account auth configuration is supported of the VPN
SupportAccountAuth *bool `json:"supportAccountAuth,omitempty"`
// SupportByDsLiteAndMapE Whether this feature is supported for the DS-Lite or Map-E WAN connection types.
SupportByDsLiteAndMapE *bool `json:"supportByDsLiteAndMapE,omitempty"`
// SupportCustomDns Whether custom dns configuration is supported of the VPN
SupportCustomDns *bool `json:"supportCustomDns,omitempty"`
// SupportCustomNetwork Whether custom network configuration is supported of the VPN
SupportCustomNetwork *bool `json:"supportCustomNetwork,omitempty"`
// SupportIPsec Whether IPsec VPN is supported.
SupportIPsec *bool `json:"supportIPsec,omitempty"`
// SupportIpRange Whether ip range configuration is supported of the VPN
SupportIpRange *bool `json:"supportIpRange,omitempty"`
// SupportL2TP Whether L2TP VPN is supported.
SupportL2TP *bool `json:"supportL2TP,omitempty"`
// SupportLdap Whether LDAP authentication mode is supported of the VPN server
SupportLdap *bool `json:"supportLdap,omitempty"`
// SupportOpenVpnDomain Whether OpenVPN supports inputting domain
SupportOpenVpnDomain *bool `json:"supportOpenVpnDomain,omitempty"`
// SupportTunnelMode Whether tunnel mode configuration is supported of the VPN
SupportTunnelMode *bool `json:"supportTunnelMode,omitempty"`
// SupportVpnUserTab Whether user tab configuration is supported of the VPN
SupportVpnUserTab *bool `json:"supportVpnUserTab,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
VpnOpenApiGridVOClientToSiteVpnClient defines model for VpnOpenApiGridVOClientToSiteVpnClient.
type VpnOpenApiGridVOClientToSiteVpnServer ¶
type VpnOpenApiGridVOClientToSiteVpnServer struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]ClientToSiteVpnServer `json:"data,omitempty"`
// PfsCap All PFS configuration types supported by the device, 1:dh1; 2:dh2; 3:dh3; 14:dh14; 15:dh15. Default: dh1、dh2、dh5
PfsCap *[]int32 `json:"pfsCap,omitempty"`
// Phase1Proposal1Cap Proposal options for IKE negotiation phase-1. 0: MD5, 1: SHA1, 2:SHA256, 3:SHA384, 4:SHA512. Default: MD5, SHA1 and SHA256
Phase1Proposal1Cap *[]int32 `json:"phase1Proposal1Cap,omitempty"`
// Phase2Proposal2Cap Proposal options for IKE negotiation phase-2. 0: MD5, 1: SHA1, 2:SHA256, 3:SHA384, 4:SHA512.+ Default: MD5, SHA1 and SHA256
Phase2Proposal2Cap *[]int32 `json:"phase2Proposal2Cap,omitempty"`
// SubnetsLimitSize The limit on the number of entries for remote subnets and local network.
SubnetsLimitSize *int32 `json:"subnetsLimitSize,omitempty"`
// SupportAccountAuth Whether account auth configuration is supported of the VPN
SupportAccountAuth *bool `json:"supportAccountAuth,omitempty"`
// SupportByDsLiteAndMapE Whether this feature is supported for the DS-Lite or Map-E WAN connection types.
SupportByDsLiteAndMapE *bool `json:"supportByDsLiteAndMapE,omitempty"`
// SupportCustomDns Whether custom dns configuration is supported of the VPN
SupportCustomDns *bool `json:"supportCustomDns,omitempty"`
// SupportCustomNetwork Whether custom network configuration is supported of the VPN
SupportCustomNetwork *bool `json:"supportCustomNetwork,omitempty"`
// SupportIPsec Whether IPsec VPN is supported.
SupportIPsec *bool `json:"supportIPsec,omitempty"`
// SupportIpRange Whether ip range configuration is supported of the VPN
SupportIpRange *bool `json:"supportIpRange,omitempty"`
// SupportL2TP Whether L2TP VPN is supported.
SupportL2TP *bool `json:"supportL2TP,omitempty"`
// SupportLdap Whether LDAP authentication mode is supported of the VPN server
SupportLdap *bool `json:"supportLdap,omitempty"`
// SupportOpenVpnDomain Whether OpenVPN supports inputting domain
SupportOpenVpnDomain *bool `json:"supportOpenVpnDomain,omitempty"`
// SupportTunnelMode Whether tunnel mode configuration is supported of the VPN
SupportTunnelMode *bool `json:"supportTunnelMode,omitempty"`
// SupportVpnUserTab Whether user tab configuration is supported of the VPN
SupportVpnUserTab *bool `json:"supportVpnUserTab,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
VpnOpenApiGridVOClientToSiteVpnServer defines model for VpnOpenApiGridVOClientToSiteVpnServer.
type VpnOpenApiGridVOVPN ¶
type VpnOpenApiGridVOVPN struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]VPN `json:"data,omitempty"`
// PfsCap All PFS configuration types supported by the device, 1:dh1; 2:dh2; 3:dh3; 14:dh14; 15:dh15. Default: dh1、dh2、dh5
PfsCap *[]int32 `json:"pfsCap,omitempty"`
// Phase1Proposal1Cap Proposal options for IKE negotiation phase-1. 0: MD5, 1: SHA1, 2:SHA256, 3:SHA384, 4:SHA512. Default: MD5, SHA1 and SHA256
Phase1Proposal1Cap *[]int32 `json:"phase1Proposal1Cap,omitempty"`
// Phase2Proposal2Cap Proposal options for IKE negotiation phase-2. 0: MD5, 1: SHA1, 2:SHA256, 3:SHA384, 4:SHA512.+ Default: MD5, SHA1 and SHA256
Phase2Proposal2Cap *[]int32 `json:"phase2Proposal2Cap,omitempty"`
// SubnetsLimitSize The limit on the number of entries for remote subnets and local network.
SubnetsLimitSize *int32 `json:"subnetsLimitSize,omitempty"`
// SupportAccountAuth Whether account auth configuration is supported of the VPN
SupportAccountAuth *bool `json:"supportAccountAuth,omitempty"`
// SupportByDsLiteAndMapE Whether this feature is supported for the DS-Lite or Map-E WAN connection types.
SupportByDsLiteAndMapE *bool `json:"supportByDsLiteAndMapE,omitempty"`
// SupportCustomDns Whether custom dns configuration is supported of the VPN
SupportCustomDns *bool `json:"supportCustomDns,omitempty"`
// SupportCustomNetwork Whether custom network configuration is supported of the VPN
SupportCustomNetwork *bool `json:"supportCustomNetwork,omitempty"`
// SupportIPsec Whether IPsec VPN is supported.
SupportIPsec *bool `json:"supportIPsec,omitempty"`
// SupportIpRange Whether ip range configuration is supported of the VPN
SupportIpRange *bool `json:"supportIpRange,omitempty"`
// SupportL2TP Whether L2TP VPN is supported.
SupportL2TP *bool `json:"supportL2TP,omitempty"`
// SupportLdap Whether LDAP authentication mode is supported of the VPN server
SupportLdap *bool `json:"supportLdap,omitempty"`
// SupportOpenVpnDomain Whether OpenVPN supports inputting domain
SupportOpenVpnDomain *bool `json:"supportOpenVpnDomain,omitempty"`
// SupportTunnelMode Whether tunnel mode configuration is supported of the VPN
SupportTunnelMode *bool `json:"supportTunnelMode,omitempty"`
// SupportVpnUserTab Whether user tab configuration is supported of the VPN
SupportVpnUserTab *bool `json:"supportVpnUserTab,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
VpnOpenApiGridVOVPN defines model for VpnOpenApiGridVOVPN.
type VpnPreSharedKeyVO ¶
type VpnPreSharedKeyVO struct {
Key *string `json:"key,omitempty"`
}
VpnPreSharedKeyVO defines model for VpnPreSharedKeyVO.
type VpnServerConfigOpenApiVO ¶
type VpnServerConfigOpenApiVO struct {
// AccountAuth Whether enable account password of the VPN, only for server OpenVPN.
AccountAuth *bool `json:"accountAuth,omitempty"`
// AdvancedSetting Advanced setting list of the VPN, only for IPSec type.
AdvancedSetting VpnAdvancedSettingOpenApiVO `json:"advancedSetting"`
// AuthMode Authentication mode should be a value as follows: 0: Local; 1: LDAP; 2:RADIUS.
AuthMode *int32 `json:"authMode,omitempty"`
// Clients WireGuard clients.
Clients *[]ServerWireGuardClientsConfigVO `json:"clients,omitempty"`
// CustomNetwork Custom networks of the VPN.
CustomNetwork *[]VpnIPSubnetsOpenApiVO `json:"customNetwork,omitempty"`
// CustomServer Enable custom server.
CustomServer *bool `json:"customServer,omitempty"`
// CustomServerAddress When parameter [customServer] is enable, parameter [customServerAddress] should be IPv4 address or FQDN.
CustomServerAddress *string `json:"customServerAddress,omitempty"`
// Dns1 Primary DNS of the VPN.
Dns1 *string `json:"dns1,omitempty"`
// Dns2 Secondary DNS of the VPN.
Dns2 *string `json:"dns2,omitempty"`
// DnsStatus Dns auto status.
DnsStatus *bool `json:"dnsStatus,omitempty"`
// Encryption Encryption should be a value as follows: 0: Encrypted; 1: Unencrypted; 2: Auto.
Encryption *int32 `json:"encryption,omitempty"`
// ExitAtIdle Whether to exit when idle. It is required when parameter [status] is true.
ExitAtIdle bool `json:"exitAtIdle"`
// ExitTime Exit time should be within the range of 5–3600(s). It is required when parameter [exitAtIdle] is true.
ExitTime *int32 `json:"exitTime,omitempty"`
// IpLockSetting IP lock config. It is required when parameter [status] is true.
IpLockSetting LockSettingOpenApiVO `json:"ipLockSetting"`
// IpPool User remote subnets of the VPN user.
IpPool *IPSubnetsVO `json:"ipPool,omitempty"`
// IpPoolEnd The end IP of the IP pool.
IpPoolEnd *string `json:"ipPoolEnd,omitempty"`
// IpPoolStart The start IP of the IP pool.
IpPoolStart *string `json:"ipPoolStart,omitempty"`
// IpPoolType IP pool type should be a value as follows: 0: Ip Address/Mask; 1: Ip Address Range.
IpPoolType *int32 `json:"ipPoolType,omitempty"`
// KeepAlive The keepalive second of WireGuard peer should be within the range of 0-65535.
KeepAlive int32 `json:"keepAlive"`
// LdapProfile It is required when parameter [authType] is 1.
LdapProfile *string `json:"ldapProfile,omitempty"`
// LdapSetting It is required for SSL VPN when parameter [authType] is 1.
LdapSetting *VpnBaseAuthSettingOpenApiVO `json:"ldapSetting,omitempty"`
// Mtu The MTU of WireGuard VPN should be within the range of 576-1440.
Mtu int32 `json:"mtu"`
// Name Name should contain 1 to 63 characters.
Name string `json:"name"`
// NameLockSetting IP lock config. It is required when parameter [status] is true.
NameLockSetting LockSettingOpenApiVO `json:"nameLockSetting"`
// NetworkList Network list of the VPN. Network can be created using 'Create LAN network' interface, and network ID can be obtained from 'Get LAN network list' interface.
NetworkList *[]string `json:"networkList,omitempty"`
// NetworkType Network type should be a value as follows: 0: network list; 1: custom networks.
NetworkType *int32 `json:"networkType,omitempty"`
PreSharedKey string `json:"preSharedKey"`
// PrivateKey The private key of WireGuard VPN must have 44 character of base64 and end with '='.
PrivateKey string `json:"privateKey"`
// RadiusSetting It is required for SSL VPN when parameter [authType] is 2.
RadiusSetting *RadiusAuthSettingOpenApiVO `json:"radiusSetting,omitempty"`
// RemoteIp Remote IP of the VPN.
RemoteIp string `json:"remoteIp"`
// ServicePort Service port should be within the range of 1–65535.
ServicePort int32 `json:"servicePort"`
// ServiceType Service type of the Open VPN should be a value as follows: 0: UDP; 1: TCP.
ServiceType int32 `json:"serviceType"`
// Status Status of the VPN.
Status bool `json:"status"`
// TotalTraffic Whether to proxy all traffic. It is required when parameter [status] is true.
TotalTraffic *bool `json:"totalTraffic,omitempty"`
// TunnelMode Tunnel mode(only for server OpenVPN) should be a value as follows: 0: split; 1: full.
TunnelMode *int32 `json:"tunnelMode,omitempty"`
// VpnType Vpn type should be a value as follows: 0: L2TP; 1: PPTP; 2: IPSec; 3: OpenVPN; 4: WireGuard; 5: SSL VPN.
VpnType int32 `json:"vpnType"`
// VpnUserList VPN user ID list.
VpnUserList []string `json:"vpnUserList"`
// Wans WAN list of the VPN. WAN port ID can be obtained from 'Get internet basic info' interface.
Wans []string `json:"wans"`
}
VpnServerConfigOpenApiVO defines model for VpnServerConfigOpenApiVO.
type VpnServerDetailVO ¶
type VpnServerDetailVO struct {
// LDAPSetting It is required when parameter [authType] is 2.
LDAPSetting *LdapSettingOpenApiVO `json:"LDAPSetting,omitempty"`
// AccountAuth Account auth of the VPN, only for server OpenVPN.
AccountAuth *bool `json:"accountAuth,omitempty"`
// AdvancedSetting Advanced setting list of the VPN, only for IPSec type.
AdvancedSetting *VpnAdvancedSettingOpenApiVO `json:"advancedSetting,omitempty"`
// AuthMode Authentication mode. 0: Local; 1: LDAP.
AuthMode *int32 `json:"authMode,omitempty"`
// Clients WireGuard clients.
Clients *[]ServerWireGuardClientsVO `json:"clients,omitempty"`
// CustomNetwork Custom networks of the VPN.
CustomNetwork *[]VpnIPSubnetsOpenApiVO `json:"customNetwork,omitempty"`
// CustomServer Whether enable custom server.
CustomServer *bool `json:"customServer,omitempty"`
// CustomServerAddress IPv4 Address or FQDN.
CustomServerAddress *string `json:"customServerAddress,omitempty"`
// Dns1 Primary DNS of the VPN.
Dns1 *string `json:"dns1,omitempty"`
// Dns2 Secondary DNS of the VPN.
Dns2 *string `json:"dns2,omitempty"`
// DnsStatus Dns auto status.
DnsStatus *bool `json:"dnsStatus,omitempty"`
// Encryption Encryption type. Only L2TP can configure auto type. 0: Encrypted; 1: Unencrypted; 2: Auto.
Encryption *int32 `json:"encryption,omitempty"`
// ExitAtIdle Whether to exit when idle.
ExitAtIdle *bool `json:"exitAtIdle,omitempty"`
// ExitTime Exit time should be within the range of 5–3600(s). It is required when parameter [exitAtIdle] is true.
ExitTime *int32 `json:"exitTime,omitempty"`
// FeatureDescription Gateway Feature Description.
FeatureDescription *[]FeatureInfoVO `json:"featureDescription,omitempty"`
// Id ID of the VPN.
Id *string `json:"id,omitempty"`
// IpLockSetting IP lock config. It is required when parameter [status] is true.
IpLockSetting *LockSettingOpenApiVO `json:"ipLockSetting,omitempty"`
// IpPool User remote subnets of the VPN user.
IpPool *IPSubnetsVO `json:"ipPool,omitempty"`
// IpPoolEnd The end IP of the IP pool.
IpPoolEnd *string `json:"ipPoolEnd,omitempty"`
// IpPoolStart The start IP of the IP pool.
IpPoolStart *string `json:"ipPoolStart,omitempty"`
// IpPoolType IP pool type should be a value as follows: 0: Ip Address/Mask; 1: Ip Address Range.
IpPoolType *int32 `json:"ipPoolType,omitempty"`
// KeepAlive The keepalive second of WireGuard peer should be within the range of 0-65535.
KeepAlive *int32 `json:"keepAlive,omitempty"`
LdapProfile *string `json:"ldapProfile,omitempty"`
// Mtu The MTU of WireGuard VPN should be within the range of 576-1440.
Mtu *int32 `json:"mtu,omitempty"`
// Name VPN name.
Name *string `json:"name,omitempty"`
// NameLockSetting IP lock config. It is required when parameter [status] is true.
NameLockSetting *LockSettingOpenApiVO `json:"nameLockSetting,omitempty"`
// NetworkList Network list of the VPN.
NetworkList *[]string `json:"networkList,omitempty"`
// NetworkType Network type. 0: network list; 1: custom networks.
NetworkType *int32 `json:"networkType,omitempty"`
PreSharedKey *string `json:"preSharedKey,omitempty"`
// PrivateKey The private key of WireGuard VPN must have 44 character of base64 and end with '='.
PrivateKey *string `json:"privateKey,omitempty"`
// PublicKey The public key of WireGuard VPN must have 44 character of base64 and end with '='.
PublicKey *string `json:"publicKey,omitempty"`
// RadiusSetting It is required for SSL VPN when parameter [authType] is 2.
RadiusSetting *RadiusAuthSettingOpenApiVO `json:"radiusSetting,omitempty"`
// RemoteIp Remote IP of the VPN.
RemoteIp *string `json:"remoteIp,omitempty"`
// ServicePort Service port for VPN server.
ServicePort *int32 `json:"servicePort,omitempty"`
// ServiceType Service type of the VPN.
ServiceType *int32 `json:"serviceType,omitempty"`
// Status Status of the VPN.
Status *bool `json:"status,omitempty"`
// TotalTraffic Whether to proxy all traffic.
TotalTraffic *bool `json:"totalTraffic,omitempty"`
// TunnelMode OpenVPN tunnel mode should be a value as follows: 0: split; 1: full.
TunnelMode *int32 `json:"tunnelMode,omitempty"`
// VpnType Server Vpn type. 0: L2TP; 1: PPTP; 2: IPSec; 3: OpenVPN; 4: WireGuard; 5: SSL VPN.
VpnType *int32 `json:"vpnType,omitempty"`
// VpnUserList VPN user id list.
VpnUserList *[]string `json:"vpnUserList,omitempty"`
// Wans WAN port ID.
Wans *[]string `json:"wans,omitempty"`
}
VpnServerDetailVO defines model for VpnServerDetailVO.
type VpnSiteToSiteAutoConfigOpenApiVO ¶
type VpnSiteToSiteAutoConfigOpenApiVO struct {
// Name Name should contain 1 to 63 characters.
Name string `json:"name"`
// RemoteSite Remote site of the VPN.
RemoteSite string `json:"remoteSite"`
// Status Status of the VPN.
Status bool `json:"status"`
// VpnType Vpn type should be a value as follows: 2: IPSec; 4: WireGuard.
VpnType int32 `json:"vpnType"`
}
VpnSiteToSiteAutoConfigOpenApiVO defines model for VpnSiteToSiteAutoConfigOpenApiVO.
type VpnSiteToSiteDetailOpenApiVO ¶
type VpnSiteToSiteDetailOpenApiVO struct {
// AdvancedSetting Advanced setting list of the VPN, only for IPSec type.
AdvancedSetting *VpnAdvancedSettingOpenApiVO `json:"advancedSetting,omitempty"`
// CustomNetwork Custom networks of the VPN.
CustomNetwork *[]IPSubnetsVO `json:"customNetwork,omitempty"`
// FailoverSetting Setting of the IPSec failover.
FailoverSetting *IPsecFailoverSettingOpenApiVO `json:"failoverSetting,omitempty"`
// FeatureDescription Gateway Feature Description.
FeatureDescription *[]FeatureInfoVO `json:"featureDescription,omitempty"`
// Id ID of the VPN.
Id *string `json:"id,omitempty"`
// Mtu The MTU of WireGuard VPN should be within the range of 576-1440.
Mtu *int32 `json:"mtu,omitempty"`
// Name VPN name.
Name *string `json:"name,omitempty"`
// NetworkList Network list of the VPN. Network can be created using 'Create LAN network' interface, and network ID can be obtained from 'Get LAN network list' interface.
NetworkList *[]string `json:"networkList,omitempty"`
// NetworkType Network type should be a value as follows: 0: network list; 1: custom networks.
NetworkType *int32 `json:"networkType,omitempty"`
// Peers List of Site-To-Site manual WireGuard peer Configuration.
Peers *[]SiteToSiteManualWgPeerConfigVO `json:"peers,omitempty"`
PreSharedKey *string `json:"preSharedKey,omitempty"`
// PrivateKey The private key of WireGuard VPN must have 44 character of base64 and end with '='.
PrivateKey *string `json:"privateKey,omitempty"`
// PublicKey The public key of WireGuard VPN must have 44 character of base64 and end with '='.
PublicKey *string `json:"publicKey,omitempty"`
// RemoteIp Remote IP of the VPN.
RemoteIp *string `json:"remoteIp,omitempty"`
// RemoteSite Remote site of the VPN.
RemoteSite *string `json:"remoteSite,omitempty"`
// RemoteSiteName Remote site name of the VPN.
RemoteSiteName *string `json:"remoteSiteName,omitempty"`
// RemoteSubnet Remote subnet of the VPN.
RemoteSubnet *[]string `json:"remoteSubnet,omitempty"`
// ServicePort Service port for VPN.
ServicePort *int32 `json:"servicePort,omitempty"`
// SiteVpnType Site VPN type of the VPN. 0: Auto; 1: Manual.
SiteVpnType *int32 `json:"siteVpnType,omitempty"`
// Status Status of the VPN.
Status *bool `json:"status,omitempty"`
// TunnelIp IP address.
TunnelIp *string `json:"tunnelIp,omitempty"`
// VpnType Server Vpn type. 0: L2TP; 1: PPTP; 2: IPSec; 3: OpenVPN; 4: WireGuard; 5: SSL VPN.
VpnType *int32 `json:"vpnType,omitempty"`
// Wans WAN list of the VPN, only for Manual IPSec type. WAN port ID can be obtained from 'Get internet basic info' interface.
Wans *[]string `json:"wans,omitempty"`
}
VpnSiteToSiteDetailOpenApiVO defines model for VpnSiteToSiteDetailOpenApiVO.
type VpnSiteToSiteManualConfigOpenApiVO ¶
type VpnSiteToSiteManualConfigOpenApiVO struct {
// AdvancedSetting Advanced setting list of the VPN, only for IPSec type.
AdvancedSetting VpnAdvancedSettingOpenApiVO `json:"advancedSetting"`
// CustomNetwork Custom networks of the VPN.
CustomNetwork *[]VpnIPSubnetsOpenApiVO `json:"customNetwork,omitempty"`
// ExistCustomNetwork Whether Local Network Type is Custom.
ExistCustomNetwork *bool `json:"existCustomNetwork,omitempty"`
// FailoverSetting Setting of the IPSec failover.
FailoverSetting *IPsecFailoverSettingOpenApiVO `json:"failoverSetting,omitempty"`
// Mtu The MTU of WireGuard VPN should be within the range of 576-1440.
Mtu int32 `json:"mtu"`
// Name Name should contain 1 to 63 characters.
Name string `json:"name"`
// NetworkList Network list of the VPN. Network can be created using 'Create LAN network' interface, and network ID can be obtained from 'Get LAN network list' interface.
NetworkList *[]string `json:"networkList,omitempty"`
// NetworkType Network type should be a value as follows: 0: network list; 1: custom networks.
NetworkType *int32 `json:"networkType,omitempty"`
// Peers List of Site-To-Site manual WireGuard peer Configuration.
Peers *[]SiteToSiteManualWgPeerConfigVO `json:"peers,omitempty"`
PreSharedKey string `json:"preSharedKey"`
// PrivateKey The private key of WireGuard VPN must have 44 character of base64 and end with '='.
PrivateKey string `json:"privateKey"`
// RemoteIp Remote IP of the VPN.
RemoteIp string `json:"remoteIp"`
// RemoteSubnet Remote subnet of the VPN.
RemoteSubnet []string `json:"remoteSubnet"`
// ServicePort Service port should be within the range of 1–65535.
ServicePort int32 `json:"servicePort"`
// Status Status of the VPN.
Status bool `json:"status"`
// TunnelIp IP address.
TunnelIp string `json:"tunnelIp"`
// VpnType Vpn type should be a value as follows: 2: IPSec; 4: WireGuard.
VpnType int32 `json:"vpnType"`
// Wans WAN list of the VPN, only for Manual IPSec type. WAN port ID can be obtained from 'Get internet basic info' interface.
Wans []string `json:"wans"`
}
VpnSiteToSiteManualConfigOpenApiVO defines model for VpnSiteToSiteManualConfigOpenApiVO.
type VpnStatusVO ¶
type VpnStatusVO struct {
Status bool `json:"status"`
}
VpnStatusVO defines model for VpnStatusVO.
type VpnSummaryOpenApiGridVOVpnSummaryVO ¶
type VpnSummaryOpenApiGridVOVpnSummaryVO struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]VpnSummaryVO `json:"data,omitempty"`
// PfsCap All PFS configuration types supported by the device, 1:dh1; 2:dh2; 3:dh3; 14:dh14; 15:dh15. Default: dh1、dh2、dh5
PfsCap *[]int32 `json:"pfsCap,omitempty"`
// Phase1Proposal1Cap Proposal options for IKE negotiation phase-1. 0: MD5, 1: SHA1, 2:SHA256, 3:SHA384, 4:SHA512. Default: MD5, SHA1 and SHA256
Phase1Proposal1Cap *[]int32 `json:"phase1Proposal1Cap,omitempty"`
// Phase2Proposal2Cap Proposal options for IKE negotiation phase-2. 0: MD5, 1: SHA1, 2:SHA256, 3:SHA384, 4:SHA512. Default: MD5, SHA1 and SHA256
Phase2Proposal2Cap *[]int32 `json:"phase2Proposal2Cap,omitempty"`
// SslVpnNum The number of SSLVPN servers.
SslVpnNum *int64 `json:"sslVpnNum,omitempty"`
// SubnetsLimitSize The limit on the number of entries for remote subnets and local network.
SubnetsLimitSize *int32 `json:"subnetsLimitSize,omitempty"`
// SupportAccountAuth Whether account auth configuration is supported of the VPN
SupportAccountAuth *bool `json:"supportAccountAuth,omitempty"`
// SupportAutoWireGuard Whether auto Wire Guard in site to site is supported.
SupportAutoWireGuard *bool `json:"supportAutoWireGuard,omitempty"`
// SupportByDsLiteAndMapE Whether this feature is supported for the DS-Lite or Map-E WAN connection types.
SupportByDsLiteAndMapE *bool `json:"supportByDsLiteAndMapE,omitempty"`
// SupportCustomDns Whether custom dns configuration is supported of the VPN
SupportCustomDns *bool `json:"supportCustomDns,omitempty"`
// SupportCustomNetwork Whether custom network configuration is supported of the VPN
SupportCustomNetwork *bool `json:"supportCustomNetwork,omitempty"`
// SupportCustomServer Whether custom server is supported.
SupportCustomServer *bool `json:"supportCustomServer,omitempty"`
// SupportDnsStatus Whether supports dns auto.
SupportDnsStatus *bool `json:"supportDnsStatus,omitempty"`
// SupportIPsec Whether IPsec VPN is supported.
SupportIPsec *bool `json:"supportIPsec,omitempty"`
// SupportIPsecFailover Whether supports IPSec failover in manual IPSec.
SupportIPsecFailover *bool `json:"supportIPsecFailover,omitempty"`
// SupportIPsecIpRange Whether IP range is supported of IPSec VPN Server.
SupportIPsecIpRange *bool `json:"supportIPsecIpRange,omitempty"`
// SupportIpRange Whether ip range configuration is supported of the VPN
SupportIpRange *bool `json:"supportIpRange,omitempty"`
// SupportL2TP Whether L2TP VPN is supported.
SupportL2TP *bool `json:"supportL2TP,omitempty"`
// SupportLdap Whether LDAP authentication mode is supported of the VPN server
SupportLdap *bool `json:"supportLdap,omitempty"`
// SupportManualWgLocalNetwork Whether manual Wire Guard in site to site supports local network.
SupportManualWgLocalNetwork *bool `json:"supportManualWgLocalNetwork,omitempty"`
// SupportOpenVpnDomain Whether OpenVPN supports inputting domain.
SupportOpenVpnDomain *bool `json:"supportOpenVpnDomain,omitempty"`
// SupportServerClientWireGuard Whether Server/Client Wire Guard is supported.
SupportServerClientWireGuard *bool `json:"supportServerClientWireGuard,omitempty"`
// SupportServerOpenVpnGoogleLdap Whether Open VPN Server supports Google LDAP.
SupportServerOpenVpnGoogleLdap *bool `json:"supportServerOpenVpnGoogleLdap,omitempty"`
// SupportSslVpnLdap Whether LDAP authentication mode is supported of the SSl VPN server
SupportSslVpnLdap *bool `json:"supportSslVpnLdap,omitempty"`
// SupportSslVpnRadius Whether radius authentication mode is supported of the SSl VPN server
SupportSslVpnRadius *bool `json:"supportSslVpnRadius,omitempty"`
// SupportTunnelMode Whether tunnel mode configuration is supported of the VPN
SupportTunnelMode *bool `json:"supportTunnelMode,omitempty"`
// SupportVpnUserTab Whether user tab configuration is supported of the VPN
SupportVpnUserTab *bool `json:"supportVpnUserTab,omitempty"`
// SupportWgDomain Whether peer supports inputting domain.
SupportWgDomain *bool `json:"supportWgDomain,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
// WgPeerLimitSize The limit on the number of entries for peer in WireGuard.
WgPeerLimitSize *int32 `json:"wgPeerLimitSize,omitempty"`
}
VpnSummaryOpenApiGridVOVpnSummaryVO defines model for VpnSummaryOpenApiGridVOVpnSummaryVO.
type VpnSummaryVO ¶
type VpnSummaryVO struct {
// ActiveClients Active clients number of the VPN.
ActiveClients *int64 `json:"activeClients,omitempty"`
// CustomNetwork Custom networks of the VPN.
CustomNetwork *[]IPSubnetsVO `json:"customNetwork,omitempty"`
// FailoverSetting Setting of the IPSec failover.
FailoverSetting *IPsecFailoverStatusOpenApiVO `json:"failoverSetting,omitempty"`
// FeatureDescription Gateway Feature Description.
FeatureDescription *[]FeatureInfoVO `json:"featureDescription,omitempty"`
// GroupId Default group ID of SSL VPN server.
GroupId *string `json:"groupId,omitempty"`
// Id ID of the VPN.
Id *string `json:"id,omitempty"`
// Name VPN name.
Name *string `json:"name,omitempty"`
// NetworkList Network list of the VPN.
NetworkList *[]string `json:"networkList,omitempty"`
// NetworkType Network type. 0: network list; 1: custom networks.
NetworkType *int32 `json:"networkType,omitempty"`
// SiteVpnType Site VPN type of the VPN. 0: Auto; 1: Manual.
SiteVpnType *int32 `json:"siteVpnType,omitempty"`
// Status Status of the VPN.
Status *bool `json:"status,omitempty"`
// UserCount User number of the VPN.
UserCount *int64 `json:"userCount,omitempty"`
// VpnType Server Vpn type. 0: L2TP; 1: PPTP; 2: IPSec; 3: OpenVPN; 4: WireGuard; 5: SSL VPN.
VpnType *int32 `json:"vpnType,omitempty"`
// Wans WAN port ID.
Wans *[]string `json:"wans,omitempty"`
}
VpnSummaryVO defines model for VpnSummaryVO.
type VpnUsedFunctionOpenApiVO ¶
type VpnUsedFunctionOpenApiVO struct {
// Functions List of functions used by VPN.
Functions *[]string `json:"functions,omitempty"`
// Id ID of the VPN.
Id *string `json:"id,omitempty"`
// Name VPN name.
Name *string `json:"name,omitempty"`
}
VpnUsedFunctionOpenApiVO List of VPNs that have used the function.
type VpnUser ¶
type VpnUser struct {
// ClientMode Client mode should be a value as follows: 0: Client-To-Site, 1: Site-To-Site.
ClientMode *int32 `json:"clientMode,omitempty"`
// Id ID of the VPN user.
Id *string `json:"id,omitempty"`
// LocalIp Local IP of the VPN user.
LocalIp *string `json:"localIp,omitempty"`
// MaxConnections Max connections should be within the range of 1–100.
MaxConnections *int32 `json:"maxConnections,omitempty"`
// Password Password of the VPN user.
Password *string `json:"password,omitempty"`
// Protocol Protocol should be a value as follows: 0: L2TP or PPTP; 1: openVPN.
Protocol *int32 `json:"protocol,omitempty"`
// ServerNames Server names of the VPN user.
ServerNames *string `json:"serverNames,omitempty"`
// Servers Servers of the VPN user. Server can be created using 'Create client-to-site VPN server' interface, and server ID can be obtained from 'Get client-to-site VPN server list' interface.
Servers *[]string `json:"servers,omitempty"`
// UserRemoteSubnets User remote subnets of the VPN user.
UserRemoteSubnets *[]IPSubnetsVO `json:"userRemoteSubnets,omitempty"`
// Username Username of the VPN user.
Username *string `json:"username,omitempty"`
}
VpnUser defines model for VpnUser.
type VpnUserBriefVO ¶
type VpnUserBriefVO struct {
// Id ID of the VPN.
Id *string `json:"id,omitempty"`
// Name VPN name.
Name *string `json:"name,omitempty"`
}
VpnUserBriefVO defines model for VpnUserBriefVO.
type VpnUserConfigVO ¶
type VpnUserConfigVO struct {
// ClientMode Client mode should be a value as follows: 0: Client-To-Site, 1: Site-To-Site.
ClientMode *int32 `json:"clientMode,omitempty"`
// GroupId Group ID of the SSL VPN user. User group can be created using 'Create SSL VPN user group' interface, and User Group ID can be obtained from 'Get user group list for SSL VPN server' interface.
GroupId *string `json:"groupId,omitempty"`
// LocalIp Local IP of the VPN user.
LocalIp *string `json:"localIp,omitempty"`
// MaxConnections Max connections should be within the range of 1–100.
MaxConnections *int32 `json:"maxConnections,omitempty"`
// Password Password of the VPN user.
Password *string `json:"password,omitempty"`
// Protocol Protocol should be a value as follows: 0: L2TP or PPTP; 1: openVPN; 2: SSL VPN.
Protocol *int32 `json:"protocol,omitempty"`
// Servers Servers of the VPN user. Server can be created using 'Create client-to-site VPN server' interface, and server ID can be obtained from 'Get client-to-site VPN server list' interface.
Servers *[]string `json:"servers,omitempty"`
// Status Status of the SSL VPN user.
Status *bool `json:"status,omitempty"`
// UserRemoteSubnets User remote subnets of the VPN user.
UserRemoteSubnets *[]IPSubnetsVO `json:"userRemoteSubnets,omitempty"`
// Username Username of the VPN user.
Username *string `json:"username,omitempty"`
// Validity Validity of the SSL VPN user. The format is Month/Day/Year, for example 08/20/2022.
Validity *string `json:"validity,omitempty"`
}
VpnUserConfigVO defines model for VpnUserConfigVO.
type VpnUserInfoVO ¶
type VpnUserInfoVO struct {
Available *bool `json:"available,omitempty"`
// ClientMode Client mode should be a value as follows: 0: Client-To-Site, 1: Site-To-Site.
ClientMode *int32 `json:"clientMode,omitempty"`
// FeatureDescription Gateway Feature Description.
FeatureDescription *[]FeatureInfoVO `json:"featureDescription,omitempty"`
// GroupId Group ID of the SSL VPN user. User group can be created using 'Create SSL VPN user group' interface, and User Group ID can be obtained from 'Get user group list for SSL VPN server' interface.
GroupId *string `json:"groupId,omitempty"`
GroupName *string `json:"groupName,omitempty"`
// Id ID of the VPN user.
Id *string `json:"id,omitempty"`
// LocalIp Local IP of the VPN user.
LocalIp *string `json:"localIp,omitempty"`
// MaxConnections Max connections should be within the range of 1–100.
MaxConnections *int32 `json:"maxConnections,omitempty"`
// Password Password of the VPN user.
Password *string `json:"password,omitempty"`
// Protocol Protocol should be a value as follows: 0: L2TP or PPTP; 1: openVPN; 2: SSL VPN.
Protocol *int32 `json:"protocol,omitempty"`
// ServerNames Server names of the VPN user.
ServerNames *string `json:"serverNames,omitempty"`
// Servers Servers of the VPN user. Server can be created using 'Create client-to-site VPN server' interface, and server ID can be obtained from 'Get client-to-site VPN server list' interface.
Servers *[]string `json:"servers,omitempty"`
// Status Status of the SSL VPN user.
Status *bool `json:"status,omitempty"`
// UserRemoteSubnets User remote subnets of the VPN user.
UserRemoteSubnets *[]IPSubnetsVO `json:"userRemoteSubnets,omitempty"`
// Username Username of the VPN user.
Username *string `json:"username,omitempty"`
// Validity Validity of the SSL VPN user. The format is Month/Day/Year, for example 08/20/2022.
Validity *string `json:"validity,omitempty"`
}
VpnUserInfoVO defines model for VpnUserInfoVO.
type VpnUserOpenApiGridVOVpnUserInfoVO ¶
type VpnUserOpenApiGridVOVpnUserInfoVO struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]VpnUserInfoVO `json:"data,omitempty"`
// MaxConcurrentUser The maximum number of concurrent users supported by VPN.
MaxConcurrentUser *int32 `json:"maxConcurrentUser,omitempty"`
// SslVpnMaxConUserNum The maximum number of concurrent users supported by SSL VPN.
SslVpnMaxConUserNum *int32 `json:"sslVpnMaxConUserNum,omitempty"`
// SubnetsLimitSize The maximum number of subnets allowed for a VPN user.
SubnetsLimitSize *int32 `json:"subnetsLimitSize,omitempty"`
// SupportL2TP Whether the L2TP configuration is supported by the VPN user.
SupportL2TP *bool `json:"supportL2TP,omitempty"`
// SupportLocalIp Whether the local IP address configuration is supported by the VPN user.
SupportLocalIp *bool `json:"supportLocalIp,omitempty"`
// SupportOpenVpn Whether the OpenVPN configuration is supported by the VPN user.
SupportOpenVpn *bool `json:"supportOpenVpn,omitempty"`
// SupportPptp Whether the PPTP configuration is supported by the VPN user.
SupportPptp *bool `json:"supportPptp,omitempty"`
// SupportProtocol Whether protocol configuration is supported of the VPN user
SupportProtocol *bool `json:"supportProtocol,omitempty"`
// SupportServerOptional Whether VPN server is optional.
SupportServerOptional *bool `json:"supportServerOptional,omitempty"`
// SupportSslVpn Whether the SSLVPN configuration is supported by the VPN user.
SupportSslVpn *bool `json:"supportSslVpn,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
VpnUserOpenApiGridVOVpnUserInfoVO defines model for VpnUserOpenApiGridVOVpnUserInfoVO.
type VpnUserOpenApiGridVOVpnUserResponse ¶
type VpnUserOpenApiGridVOVpnUserResponse struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]VpnUserResponse `json:"data,omitempty"`
// MaxConcurrentUser The maximum number of concurrent users supported by VPN.
MaxConcurrentUser *int32 `json:"maxConcurrentUser,omitempty"`
// SslVpnMaxConUserNum The maximum number of concurrent users supported by SSL VPN.
SslVpnMaxConUserNum *int32 `json:"sslVpnMaxConUserNum,omitempty"`
// SubnetsLimitSize The maximum number of subnets allowed for a VPN user.
SubnetsLimitSize *int32 `json:"subnetsLimitSize,omitempty"`
// SupportL2TP Whether the L2TP configuration is supported by the VPN user.
SupportL2TP *bool `json:"supportL2TP,omitempty"`
// SupportLocalIp Whether the local IP address configuration is supported by the VPN user.
SupportLocalIp *bool `json:"supportLocalIp,omitempty"`
// SupportOpenVpn Whether the OpenVPN configuration is supported by the VPN user.
SupportOpenVpn *bool `json:"supportOpenVpn,omitempty"`
// SupportPptp Whether the PPTP configuration is supported by the VPN user.
SupportPptp *bool `json:"supportPptp,omitempty"`
// SupportProtocol Whether protocol configuration is supported of the VPN user
SupportProtocol *bool `json:"supportProtocol,omitempty"`
// SupportServerOptional Whether VPN server is optional.
SupportServerOptional *bool `json:"supportServerOptional,omitempty"`
// SupportSslVpn Whether the SSLVPN configuration is supported by the VPN user.
SupportSslVpn *bool `json:"supportSslVpn,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
VpnUserOpenApiGridVOVpnUserResponse defines model for VpnUserOpenApiGridVOVpnUserResponse.
type VpnUserRequest ¶
type VpnUserRequest struct {
// ClientMode Client mode should be a value as follows: 0: Client-To-Site, 1: Site-To-Site.
ClientMode *int32 `json:"clientMode,omitempty"`
// LocalIp Local IP of the VPN user.
LocalIp *string `json:"localIp,omitempty"`
// MaxConnections Max connections should be within the range of 1–100.
MaxConnections *int32 `json:"maxConnections,omitempty"`
// Password Password of the VPN user.
Password string `json:"password"`
// Protocol Protocol should be a value as follows: 0: L2TP or PPTP; 1: openVPN.
Protocol *int32 `json:"protocol,omitempty"`
// Servers Servers of the VPN user. Server can be created using 'Create client-to-site VPN server' interface, and server ID can be obtained from 'Get client-to-site VPN server list' interface.
Servers []string `json:"servers"`
// UserRemoteSubnets User remote subnets of the VPN user.
UserRemoteSubnets *[]IPSubnetsVO `json:"userRemoteSubnets,omitempty"`
// Username Username of the VPN user.
Username string `json:"username"`
}
VpnUserRequest defines model for VpnUserRequest.
type VpnUserResponse ¶
type VpnUserResponse struct {
// ClientMode Client mode should be a value as follows: 0: Client-To-Site, 1: Site-To-Site.
ClientMode *int32 `json:"clientMode,omitempty"`
// ExistLocalIp Whether the Local IP is configured.
ExistLocalIp *bool `json:"existLocalIp,omitempty"`
// ExistProtocol Whether an OpenVPN user exists.
ExistProtocol *bool `json:"existProtocol,omitempty"`
// GroupId Group ID of the SSL VPN user. User group can be created using 'Create SSL VPN user group' interface, and User Group ID can be obtained from 'Get user group list for SSL VPN server' interface.
GroupId *string `json:"groupId,omitempty"`
// Id ID of the VPN user.
Id *string `json:"id,omitempty"`
// LocalIp Local IP of the VPN user.
LocalIp *string `json:"localIp,omitempty"`
// MaxConnections Max connections should be within the range of 1–100.
MaxConnections *int32 `json:"maxConnections,omitempty"`
// OmadacId ID of current Controller.
OmadacId *string `json:"omadacId,omitempty"`
// Password Password of the VPN user.
Password *string `json:"password,omitempty"`
// Protocol Protocol should be a value as follows: 0: L2TP or PPTP; 1: openVPN.
Protocol *int32 `json:"protocol,omitempty"`
// ServerNames Server names of the VPN user.
ServerNames *string `json:"serverNames,omitempty"`
// Servers Servers of the VPN user. Server can be created using 'Create client-to-site VPN server' interface, and server ID can be obtained from 'Get client-to-site VPN server list' interface.
Servers *[]string `json:"servers,omitempty"`
// Site ID of current Site.
Site *string `json:"site,omitempty"`
// Status Status of the SSL VPN user.
Status *bool `json:"status,omitempty"`
// UserRemoteSubnets User remote subnets of the VPN user.
UserRemoteSubnets *[]IPSubnetsVO `json:"userRemoteSubnets,omitempty"`
// Username Username of the VPN user.
Username *string `json:"username,omitempty"`
// Validity Validity of the SSL VPN user. The format is Month/Day/Year, for example 08/20/2022.
Validity *string `json:"validity,omitempty"`
}
VpnUserResponse defines model for VpnUserResponse.
type VpnUserServerBriefVO ¶
type VpnUserServerBriefVO struct {
// Id ID of the VPN user.
Id *string `json:"id,omitempty"`
// Name Name of the VPN user.
Name *string `json:"name,omitempty"`
// VpnType Server Vpn type. 0: L2TP; 1: PPTP; 2: IPSec; 3: OpenVPN; 4: WireGuard; 5: SSL VPN.
VpnType *int32 `json:"vpnType,omitempty"`
}
VpnUserServerBriefVO defines model for VpnUserServerBriefVO.
type VpnUserServerGridVOVpnUserInfoVO ¶
type VpnUserServerGridVOVpnUserInfoVO struct {
Available *int32 `json:"available,omitempty"`
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]VpnUserInfoVO `json:"data,omitempty"`
Expired *int32 `json:"expired,omitempty"`
// MaxConcurrentUser The maximum number of concurrent users supported by VPN.
MaxConcurrentUser *int32 `json:"maxConcurrentUser,omitempty"`
// SslVpnMaxConUserNum The maximum number of concurrent users supported by SSL VPN.
SslVpnMaxConUserNum *int32 `json:"sslVpnMaxConUserNum,omitempty"`
// SubnetsLimitSize The maximum number of subnets allowed for a VPN user.
SubnetsLimitSize *int32 `json:"subnetsLimitSize,omitempty"`
// SupportL2TP Whether the L2TP configuration is supported by the VPN user.
SupportL2TP *bool `json:"supportL2TP,omitempty"`
// SupportLocalIp Whether the local IP address configuration is supported by the VPN user.
SupportLocalIp *bool `json:"supportLocalIp,omitempty"`
// SupportOpenVpn Whether the OpenVPN configuration is supported by the VPN user.
SupportOpenVpn *bool `json:"supportOpenVpn,omitempty"`
// SupportPptp Whether the PPTP configuration is supported by the VPN user.
SupportPptp *bool `json:"supportPptp,omitempty"`
// SupportProtocol Whether protocol configuration is supported of the VPN user
SupportProtocol *bool `json:"supportProtocol,omitempty"`
// SupportServerOptional Whether VPN server is optional.
SupportServerOptional *bool `json:"supportServerOptional,omitempty"`
// SupportSslVpn Whether the SSLVPN configuration is supported by the VPN user.
SupportSslVpn *bool `json:"supportSslVpn,omitempty"`
Total *int32 `json:"total,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
VpnInfo *VpnUserServerInfoVO `json:"vpnInfo,omitempty"`
}
VpnUserServerGridVOVpnUserInfoVO defines model for VpnUserServerGridVOVpnUserInfoVO.
type VpnUserServerInfoVO ¶
type VpnUserServerInfoVO struct {
// Id ID of the VPN.
Id *string `json:"id,omitempty"`
// Name VPN name.
Name *string `json:"name,omitempty"`
// VpnType Server Vpn type. 0: L2TP; 1: PPTP; 3: OpenVPN; 5: SSL VPN.
VpnType *int32 `json:"vpnType,omitempty"`
}
VpnUserServerInfoVO defines model for VpnUserServerInfoVO.
type VpnValueAvailableVO ¶
type VpnValueAvailableVO struct {
// Id VPN ID.
Id *string `json:"id,omitempty"`
// Name VPN name. Parameter [name] should not be null when [type] is name.
Name *string `json:"name,omitempty"`
// Port Parameter [port] should not be null when [type] is port.
Port *int32 `json:"port,omitempty"`
// ServiceType Service type of the Open VPN should be a value as follows: 0: UDP; 1: TCP.
ServiceType *int32 `json:"serviceType,omitempty"`
// Type Parameter [type] should be a value as follows: 0, name; 1, port.
Type int32 `json:"type"`
// Usage Parameter [usage] should not be null when [type] is name. Parameter [usage] should be a value as follows: 0, server; 1, client; 2: site-to-site.
Usage *int32 `json:"usage,omitempty"`
// VpnType Vpn type should be a value as follows: 0: L2TP; 1: PPTP; 2: IPSec; 3: OpenVPN; 4: WireGuard; 5: SSL VPN.
VpnType *int32 `json:"vpnType,omitempty"`
// Wan WAN of the VPN.
Wan *string `json:"wan,omitempty"`
}
VpnValueAvailableVO defines model for VpnValueAvailableVO.
type VrrpGroupDTO ¶
type VrrpGroupDTO struct {
IsMaster *bool `json:"isMaster,omitempty"`
VrrpId *int32 `json:"vrrpId,omitempty"`
VrrpName *string `json:"vrrpName,omitempty"`
}
VrrpGroupDTO Vrrp node member's vrrp group information
type VrrpLinkDTO ¶
type VrrpLinkDTO struct {
// Blocked Whether The Link Is Blocked By STP Or Not
Blocked *bool `json:"blocked,omitempty"`
// DownLink Downlink Port
DownLink *WiredPortV3DTO `json:"downLink,omitempty"`
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// LinkSpeed LinkSpeed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// UpLink Downlink Port
UpLink *WiredPortV3DTO `json:"upLink,omitempty"`
}
VrrpLinkDTO Vrrp members internal link
type WanPort ¶
type WanPort struct {
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// HealthLevel Health Level
HealthLevel *int32 `json:"healthLevel,omitempty"`
// InternetState Port Internet State
InternetState *int32 `json:"internetState,omitempty"`
// LinkSpeed Link Speed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// Name Port Name
Name *string `json:"name,omitempty"`
// OnlineDetection Port Online Detection
OnlineDetection *int32 `json:"onlineDetection,omitempty"`
// Port Port Id
Port *string `json:"port,omitempty"`
// Status Port Status
Status *int32 `json:"status,omitempty"`
// TxRate Rx Rate
TxRate *int64 `json:"txRate,omitempty"`
// Wireless Whether the port is wireless.
Wireless *bool `json:"wireless,omitempty"`
}
WanPort Wan Port List
type WiredPortV3DTO ¶
type WiredPortV3DTO struct {
// LagId Lag Id
LagId *string `json:"lagId,omitempty"`
// LagPorts Lag Ports
LagPorts *[]int32 `json:"lagPorts,omitempty"`
// MlagId Mlag Id
MlagId *string `json:"mlagId,omitempty"`
// MlagPorts Mlag Ports
MlagPorts *[]int32 `json:"mlagPorts,omitempty"`
// MultiSwitchNum Multi Switch Num
MultiSwitchNum *int32 `json:"multiSwitchNum,omitempty"`
// MultiSwitchRole Multi Switch Role
MultiSwitchRole *int32 `json:"multiSwitchRole,omitempty"`
// Name Name of the port
Name *string `json:"name,omitempty"`
// PoePower Poe Power
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
PoePower *int64 `json:"poePower,omitempty"`
// PoePowerDecimal Poe Power In Decimal
PoePowerDecimal *float64 `json:"poePowerDecimal,omitempty"`
// Port Port Id
Port *string `json:"port,omitempty"`
// StandardLagPorts Standard Lag Ports of Stack
StandardLagPorts *[]string `json:"standardLagPorts,omitempty"`
// StandardMlagPorts Standard Mlag Ports of Stack
StandardMlagPorts *[]string `json:"standardMlagPorts,omitempty"`
// StandardPort Standard Port of Stack
StandardPort *string `json:"standardPort,omitempty"`
// UplinkName Uplink Name
UplinkName *string `json:"uplinkName,omitempty"`
}
WiredPortV3DTO Downlink Port
type WiredUpInfoDTO ¶
type WiredUpInfoDTO struct {
// Blocked Blocked Connection Or Not
Blocked *bool `json:"blocked,omitempty"`
// BlockedVlans Blocked Vlans
BlockedVlans *string `json:"blocked_vlans,omitempty"`
// Duplex Duplex
Duplex *int32 `json:"duplex,omitempty"`
// FiberOptic Whether The Device Is FiberOptic Or Not
FiberOptic *bool `json:"fiberOptic,omitempty"`
// LinkSpeed LinkSpeed
LinkSpeed *int32 `json:"linkSpeed,omitempty"`
// Port Downlink Port
Port *WiredPortV3DTO `json:"port,omitempty"`
// RxDropPkts Rx Dropped Packets
RxDropPkts *int64 `json:"rxDropPkts,omitempty"`
// RxErrPkts Rx Error Packets
RxErrPkts *int64 `json:"rxErrPkts,omitempty"`
// TxDropPkts Tx Dropped Packets
TxDropPkts *int64 `json:"txDropPkts,omitempty"`
// TxErrPkts Tx Error Packets
TxErrPkts *int64 `json:"txErrPkts,omitempty"`
// UpLinkPort Downlink Port
UpLinkPort *WiredPortV3DTO `json:"upLinkPort,omitempty"`
}
WiredUpInfoDTO Multi wiredUpInfo for mlag and vrrp member or downlink device
type WireguardDetailOpenApiVO ¶
type WireguardDetailOpenApiVO struct {
// Id The ID of WireGuard VPN.
Id *string `json:"id,omitempty"`
// ListenPort The listening port for WireGuard VPN should be within the range of 1-65535.
ListenPort *int32 `json:"listenPort,omitempty"`
// LocalIp The local IP address of WireGuard VPN.
LocalIp *string `json:"localIp,omitempty"`
// Mtu The MTU of WireGuard VPN should be within the range of 576-1440.
Mtu *int32 `json:"mtu,omitempty"`
// Name The name of WireGuard VPN should contain 1 to 64 characters.
Name *string `json:"name,omitempty"`
// PrivateKey The private key of WireGuard VPN must have 44 character of base64 and end with '='.
PrivateKey *string `json:"privateKey,omitempty"`
// PublicKey The publicKey key of WireGuard VPN must have 44 character of base64 and end with '='.
PublicKey *string `json:"publicKey,omitempty"`
// Status The status of WireGuard VPN.
Status *bool `json:"status,omitempty"`
}
WireguardDetailOpenApiVO defines model for WireguardDetailOpenApiVO.
type WireguardKeyOpenApiVO ¶
type WireguardKeyOpenApiVO struct {
// PrivateKey The private key of WireGuard VPN.
PrivateKey *string `json:"privateKey,omitempty"`
// PublicKey The public key of WireGuard VPN.
PublicKey *string `json:"publicKey,omitempty"`
}
WireguardKeyOpenApiVO defines model for WireguardKeyOpenApiVO.
type WireguardOpenApiVO ¶
type WireguardOpenApiVO struct {
// ListenPort The listening port for WireGuard VPN should be within the range of 1-65535.
ListenPort int32 `json:"listenPort"`
// LocalIp The local IP address of WireGuard VPN.
LocalIp string `json:"localIp"`
// Mtu The MTU of WireGuard VPN should be within the range of 576-1440.
Mtu int32 `json:"mtu"`
// Name The name of WireGuard VPN should contain 1 to 64 characters.
Name string `json:"name"`
// PrivateKey The private key of WireGuard VPN must have 44 character of base64 and end with '='.
PrivateKey string `json:"privateKey"`
// Status The status of WireGuard VPN. Valid value is true or false.
Status bool `json:"status"`
}
WireguardOpenApiVO defines model for WireguardOpenApiVO.
type WireguardPeerDetailOpenApiVO ¶
type WireguardPeerDetailOpenApiVO struct {
// AllowAddress IP address list of WireGuard peer allowed.
AllowAddress *[]string `json:"allowAddress,omitempty"`
// Comment The comment of WireGuard peer should contain 0 to 128 characters.
Comment *string `json:"comment,omitempty"`
// EndPoint The end point of WireGuard peer.
EndPoint *string `json:"endPoint,omitempty"`
// EndPointPort The end point port of WireGuard peer should be within the range of 1-65535.
EndPointPort *int32 `json:"endPointPort,omitempty"`
// ExistDomain Whether a domain name has been configured in Endpoint.
ExistDomain *bool `json:"existDomain,omitempty"`
// Id The ID of WireGuard peer.
Id *string `json:"id,omitempty"`
// InterfaceId The ID of WireGuard VPN to which this WireGuard peer binds. The ID can be obtained from 'Get all wireguard's id and name info' interface.
InterfaceId *string `json:"interfaceId,omitempty"`
// InterfaceName The name of WireGuard VPN to which this WireGuard peer binds.
InterfaceName *string `json:"interfaceName,omitempty"`
// KeepAlive The keepalive second of WireGuard peer should be within the range of 0-65535.
KeepAlive *int32 `json:"keepAlive,omitempty"`
// Name The name of WireGuard peer should contain 1 to 64 characters.
Name *string `json:"name,omitempty"`
PresharedKey *string `json:"presharedKey,omitempty"`
// PublicKey The public key of WireGuard peer must have 44 character of base64 and end with '='.
PublicKey *string `json:"publicKey,omitempty"`
// Status The status of WireGuard peer.
Status *bool `json:"status,omitempty"`
}
WireguardPeerDetailOpenApiVO defines model for WireguardPeerDetailOpenApiVO.
type WireguardPeerOpenApiGridVOWireguardPeerDetailOpenApiVO ¶
type WireguardPeerOpenApiGridVOWireguardPeerDetailOpenApiVO struct {
// CurrentPage Current page number.
CurrentPage *int32 `json:"currentPage,omitempty"`
// CurrentSize Number of entries per page.
CurrentSize *int32 `json:"currentSize,omitempty"`
Data *[]WireguardPeerDetailOpenApiVO `json:"data,omitempty"`
// SupportDomain Whether peer supports inputting domain.
SupportDomain *bool `json:"supportDomain,omitempty"`
// TotalRows Total rows of all items.
TotalRows *int64 `json:"totalRows,omitempty"`
}
WireguardPeerOpenApiGridVOWireguardPeerDetailOpenApiVO defines model for WireguardPeerOpenApiGridVOWireguardPeerDetailOpenApiVO.
type WireguardPeerOpenApiVO ¶
type WireguardPeerOpenApiVO struct {
// AllowAddress IP/MASK address list of WireGuard peer allowed.
AllowAddress []string `json:"allowAddress"`
// Comment The comment of WireGuard peer should contain 0 to 128 characters.
Comment *string `json:"comment,omitempty"`
// EndPoint The end point IP of WireGuard peer. Get whether supports domain from interface 'Get wireguard peer list'.
EndPoint *string `json:"endPoint,omitempty"`
// EndPointPort The end point port of WireGuard peer should be within the range of 1-65535.
EndPointPort *int32 `json:"endPointPort,omitempty"`
// InterfaceId The ID of WireGuard VPN to which this WireGuard peer binds. The ID can be obtained from 'Get all wireguard's id and name info' interface.
InterfaceId string `json:"interfaceId"`
// KeepAlive The keepalive second of WireGuard peer should be within the range of 0-65535.
KeepAlive int32 `json:"keepAlive"`
// Name The name of WireGuard peer should contain 1 to 64 characters.
Name string `json:"name"`
PresharedKey *string `json:"presharedKey,omitempty"`
// PublicKey The public key of WireGuard peer must have 44 character of base64 and end with '='.
PublicKey string `json:"publicKey"`
// Status The status of WireGuard peer. Valid value is true or false.
Status bool `json:"status"`
}
WireguardPeerOpenApiVO defines model for WireguardPeerOpenApiVO.
type WireguardSummaryOpenApiVO ¶
type WireguardSummaryOpenApiVO struct {
// Id The ID of WireGuard VPN.
Id *string `json:"id,omitempty"`
// Name The name of WireGuard VPN.
Name *string `json:"name,omitempty"`
}
WireguardSummaryOpenApiVO defines model for WireguardSummaryOpenApiVO.
type WirelessUpInfoDTO ¶
type WirelessUpInfoDTO struct {
// Channel channel in link
Channel *int32 `json:"channel,omitempty"`
// DownRate downRate of this radio Id
DownRate *int64 `json:"downRate,omitempty"`
// MeshRadioId radio Id used in mesh link
MeshRadioId *int32 `json:"meshRadioId,omitempty"`
// PartnerLinks partner link info in mlo mesh link
PartnerLinks *[]PartnerLinkDTO `json:"partnerLinks,omitempty"`
// Rssi Rssi
Rssi *int32 `json:"rssi,omitempty"`
// RssiPercent Rssi Percent
RssiPercent *float32 `json:"rssiPercent,omitempty"`
// Rx Rx
Rx *int32 `json:"rx,omitempty"`
// RxDropPkts Rx Dropped Packets
RxDropPkts *int64 `json:"rxDropPkts,omitempty"`
// RxErrPkts Rx Error Packets
RxErrPkts *int64 `json:"rxErrPkts,omitempty"`
// RxRate Rx Rate
RxRate *string `json:"rxRate,omitempty"`
// Snr Wireless P2P Ap Snr
Snr *int32 `json:"snr,omitempty"`
// Tx Tx
Tx *int32 `json:"tx,omitempty"`
// TxDropPkts Tx Dropped Packets
TxDropPkts *int64 `json:"txDropPkts,omitempty"`
// TxErrPkts Tx Error Packets
TxErrPkts *int64 `json:"txErrPkts,omitempty"`
// TxRate Tx Rate
TxRate *string `json:"txRate,omitempty"`
// UpRate upRate of this radio Id
UpRate *int64 `json:"upRate,omitempty"`
}
WirelessUpInfoDTO Wireless UpLink Info