OPNexusdocs

API: outbound-nat

GET /api/outbound-nat#

List Outbound Nat Rules

Berechtigung policy.read (ansehen)

Antwort 200 OutboundNatRead[]

24 Felder anzeigen
FeldTypHinweise
config_key *string
created_at *string (date-time)
deployments *DeploymentResult[]
description *string
destination_net *string
destination_not *boolean
destination_port *string | null
effective_host_idsstring (uuid)[]
enabled *boolean
id *string (uuid)
interface *string
ipprotocol *"inet" | "inet6"
policy_hierarchy_group_idstring (uuid) | null
protocol *string
source_net *string
source_not *boolean
source_port *string | null
target *string
target_group_idsstring (uuid)[]
target_host_ids *string (uuid)[]
target_port *string | null
updated_at *string (date-time)
workflow_counts *map<string, integer>
workflow_state *"attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced"

POST /api/outbound-nat#

Create Outbound Nat Rule

Berechtigung policy.write (vorbereiten)

Anfrage-Body OutboundNatCreate

16 Felder anzeigen
FeldTypHinweise
description *stringminLength 1, maxLength 255
destination_netstring default: "any" · minLength 1, maxLength 128
destination_notboolean default: false
destination_portstring | null
enabledboolean default: true
interface *stringminLength 1, maxLength 64
ipprotocol"inet" | "inet6" default: "inet"
policy_hierarchy_group_idstring (uuid) | null
protocolstring default: "any" · minLength 1, maxLength 16
source_netstring default: "any" · minLength 1, maxLength 128
source_notboolean default: false
source_portstring | null
targetstring default: "" · maxLength 128
target_group_idsstring (uuid)[]
target_host_idsstring (uuid)[]
target_portstring | null

Antwort 201 OutboundNatRead

24 Felder anzeigen
FeldTypHinweise
config_key *string
created_at *string (date-time)
deployments *DeploymentResult[]
description *string
destination_net *string
destination_not *boolean
destination_port *string | null
effective_host_idsstring (uuid)[]
enabled *boolean
id *string (uuid)
interface *string
ipprotocol *"inet" | "inet6"
policy_hierarchy_group_idstring (uuid) | null
protocol *string
source_net *string
source_not *boolean
source_port *string | null
target *string
target_group_idsstring (uuid)[]
target_host_ids *string (uuid)[]
target_port *string | null
updated_at *string (date-time)
workflow_counts *map<string, integer>
workflow_state *"attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced"

PUT /api/outbound-nat/{rule_id}#

Edit Outbound Nat Rule

Berechtigung policy.write (vorbereiten)

Parameter

rule_id *pathstring (uuid)

Anfrage-Body OutboundNatEdit

17 Felder anzeigen
FeldTypHinweise
description *stringminLength 1, maxLength 255
destination_netstring default: "any" · minLength 1, maxLength 128
destination_notboolean default: false
destination_portstring | null
enabledboolean default: true
expected_updated_at *string (date-time)
interface *stringminLength 1, maxLength 64
ipprotocol"inet" | "inet6" default: "inet"
policy_hierarchy_group_idstring (uuid) | null
protocolstring default: "any" · minLength 1, maxLength 16
source_netstring default: "any" · minLength 1, maxLength 128
source_notboolean default: false
source_portstring | null
targetstring default: "" · maxLength 128
target_group_idsstring (uuid)[]
target_host_idsstring (uuid)[]
target_portstring | null

Antwort 200 OutboundNatRead

24 Felder anzeigen
FeldTypHinweise
config_key *string
created_at *string (date-time)
deployments *DeploymentResult[]
description *string
destination_net *string
destination_not *boolean
destination_port *string | null
effective_host_idsstring (uuid)[]
enabled *boolean
id *string (uuid)
interface *string
ipprotocol *"inet" | "inet6"
policy_hierarchy_group_idstring (uuid) | null
protocol *string
source_net *string
source_not *boolean
source_port *string | null
target *string
target_group_idsstring (uuid)[]
target_host_ids *string (uuid)[]
target_port *string | null
updated_at *string (date-time)
workflow_counts *map<string, integer>
workflow_state *"attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced"

DELETE /api/outbound-nat/{rule_id}#

Delete Outbound Nat Rule

Berechtigung policy.deploy (ausrollen)

Parameter

rule_id *pathstring (uuid)

Antwort 204

POST /api/outbound-nat/{rule_id}/confirm#

Confirm

Berechtigung policy.write (vorbereiten)

Parameter

rule_id *pathstring (uuid)

Antwort 200 OutboundNatRead

24 Felder anzeigen
FeldTypHinweise
config_key *string
created_at *string (date-time)
deployments *DeploymentResult[]
description *string
destination_net *string
destination_not *boolean
destination_port *string | null
effective_host_idsstring (uuid)[]
enabled *boolean
id *string (uuid)
interface *string
ipprotocol *"inet" | "inet6"
policy_hierarchy_group_idstring (uuid) | null
protocol *string
source_net *string
source_not *boolean
source_port *string | null
target *string
target_group_idsstring (uuid)[]
target_host_ids *string (uuid)[]
target_port *string | null
updated_at *string (date-time)
workflow_counts *map<string, integer>
workflow_state *"attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced"

POST /api/outbound-nat/{rule_id}/deploy#

Deploy

Berechtigung policy.deploy (ausrollen)

Parameter

rule_id *pathstring (uuid)

Anfrage-Body DeployApproval | null

Antwort 200 OutboundNatRead

24 Felder anzeigen
FeldTypHinweise
config_key *string
created_at *string (date-time)
deployments *DeploymentResult[]
description *string
destination_net *string
destination_not *boolean
destination_port *string | null
effective_host_idsstring (uuid)[]
enabled *boolean
id *string (uuid)
interface *string
ipprotocol *"inet" | "inet6"
policy_hierarchy_group_idstring (uuid) | null
protocol *string
source_net *string
source_not *boolean
source_port *string | null
target *string
target_group_idsstring (uuid)[]
target_host_ids *string (uuid)[]
target_port *string | null
updated_at *string (date-time)
workflow_counts *map<string, integer>
workflow_state *"attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced"

POST /api/outbound-nat/{rule_id}/deployments/{host_id}/remove#

Remove Previous Target

Berechtigung policy.deploy (ausrollen)

Parameter

rule_id *pathstring (uuid)
host_id *pathstring (uuid)

Anfrage-Body DeployApproval

3 Felder anzeigen
FeldTypHinweise
acknowledge_management_riskboolean default: false
commentstring | null
preview_token *stringminLength 64, maxLength 64

Antwort 204

POST /api/outbound-nat/{rule_id}/deployments/{host_id}/retry-rollback#

Retry Rollback

Berechtigung policy.deploy (ausrollen)

Parameter

rule_id *pathstring (uuid)
host_id *pathstring (uuid)

Anfrage-Body DeployApproval

3 Felder anzeigen
FeldTypHinweise
acknowledge_management_riskboolean default: false
commentstring | null
preview_token *stringminLength 64, maxLength 64

Antwort 204

GET /api/outbound-nat/{rule_id}/preview#

Preview Rule

Berechtigung policy.read (ansehen)

Parameter

rule_id *pathstring (uuid)

Antwort 200

GET /api/outbound-nat/{rule_id}/revisions#

List Revisions

Berechtigung policy.read (ansehen)

Parameter

rule_id *pathstring (uuid)

Antwort 200

POST /api/outbound-nat/adopt#

Adopt

Berechtigung policy.write (vorbereiten)

Anfrage-Body AdoptObjectRequest

4 Felder anzeigen
FeldTypHinweise
host_id *string (uuid)
interface_rolestring | null
link_tostring (uuid) | null
uuid *stringminLength 1, maxLength 64

Antwort 201 OutboundNatRead

24 Felder anzeigen
FeldTypHinweise
config_key *string
created_at *string (date-time)
deployments *DeploymentResult[]
description *string
destination_net *string
destination_not *boolean
destination_port *string | null
effective_host_idsstring (uuid)[]
enabled *boolean
id *string (uuid)
interface *string
ipprotocol *"inet" | "inet6"
policy_hierarchy_group_idstring (uuid) | null
protocol *string
source_net *string
source_not *boolean
source_port *string | null
target *string
target_group_idsstring (uuid)[]
target_host_ids *string (uuid)[]
target_port *string | null
updated_at *string (date-time)
workflow_counts *map<string, integer>
workflow_state *"attention" | "pending" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced"

POST /api/outbound-nat/adopt-all#

Adopt All

Berechtigung policy.write (vorbereiten)

Anfrage-Body AdoptAllRequest

2 Felder anzeigen
FeldTypHinweise
host_id *string (uuid)
link_existingboolean default: false

Antwort 200 AdoptAllResult

2 Felder anzeigen
FeldTypHinweise
adopted *AdoptedObject[]
skipped *SkippedObject[]

GET /api/outbound-nat/hosts/{host_id}/live#

Live Rules

Berechtigung policy.read (ansehen)

Parameter

host_id *pathstring (uuid)

Antwort 200

GET /api/outbound-nat/hosts/{host_id}/mode#

Outbound Mode

Berechtigung policy.read (ansehen)

Parameter

host_id *pathstring (uuid)

Antwort 200

GET /api/outbound-nat/unmanaged#

List Unmanaged

Berechtigung policy.read (ansehen)

Parameter

host_id *querystring (uuid)

Antwort 200 UnmanagedObject[]

14 Felder anzeigen
FeldTypHinweise
adoptable *boolean
bulk_actionstring | null
bulk_adoptable *boolean
enabled *boolean
infomap<string, string>
interface_rolesstring[]
keptstring[]
linkableboolean default: false
matchesLinkTarget[]
reason_detailsmap<string, string>
reasons *string[]
similarLinkTarget[]
title *string
uuid *string