[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Perform DNS Forwarder Action
DescriptionPerform the specified action for Tier0 DNS forwarder on specified enforcement point.
Request
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/tier-1s/{tier-1-id}/dns-forwarder
Path Parameters
Path Parameters
string
tier-1-id
Required
Query Parameters
Query Parameters
string
action
Required
An action to be performed for DNS forwarder on EP
Possible values are: clear_cache
string
enforcement_point_path
Optional
An enforcement point path, on which the action is to be performed
Authentication
This operation uses the following authentication methods.
Errors
Errors
ApiError
400
Bad Request
ApiError
403
Forbidden
404
Not Found
ApiError
412
Precondition Failed
ApiError
500
Internal Server Error
ApiError
503
Service Unavailable
Code Samples
PowerCLI Client SDK Example
Invoke-PerformEPActionForDnsForwarderAtTier1 -tier1Id "Mytier1Id" -action "clear_cache" -enforcementPointPath "MyenforcementPointPath"
cURL Command
curl -X POST https://nsxmanager.your.domain/policy/api/v1/infra/tier-1s/{tier-1-id}/dns-forwarder?action=string
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-operation: perform-dns-forwarder-action
x-vmw-nsx-module: PolicyDnsForwarder
[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
On This Page
Tier 1s Operations
delete
get
patch