Interface DnsForwarder
-
- All Superinterfaces:
DnsForwarderTypes,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
DnsForwarderStub
public interface DnsForwarder extends com.vmware.vapi.bindings.Service, DnsForwarderTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.tier_0s.DnsForwarderTypes
_VAPI_SERVICE_ID, CREATE_ACTION_CACHE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreate(java.lang.String tier0Id, java.lang.String action, java.lang.String enforcementPointPath)Perform the specified action for Tier0 DNS forwarder on specified enforcement point.voidcreate(java.lang.String tier0Id, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Perform the specified action for Tier0 DNS forwarder on specified enforcement point.voidcreate(java.lang.String tier0Id, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Perform the specified action for Tier0 DNS forwarder on specified enforcement point.voidcreate(java.lang.String tier0Id, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Perform the specified action for Tier0 DNS forwarder on specified enforcement point.voiddelete(java.lang.String tier0Id)Delete DNS configuration for tier-0 instancevoiddelete(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Delete DNS configuration for tier-0 instancevoiddelete(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete DNS configuration for tier-0 instancevoiddelete(java.lang.String tier0Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete DNS configuration for tier-0 instancePolicyDnsForwarderget(java.lang.String tier0Id)Read the DNS Forwarder for the given tier-0 instancevoidget(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback)Read the DNS Forwarder for the given tier-0 instancevoidget(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Read the DNS Forwarder for the given tier-0 instancePolicyDnsForwarderget(java.lang.String tier0Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Read the DNS Forwarder for the given tier-0 instancevoidpatch(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder)Update the DNS Forwardervoidpatch(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Update the DNS Forwardervoidpatch(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Update the DNS Forwardervoidpatch(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Update the DNS ForwarderPolicyDnsForwarderupdate(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder)Update the DNS Forwardervoidupdate(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback)Update the DNS Forwardervoidupdate(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Update the DNS ForwarderPolicyDnsForwarderupdate(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Update the DNS Forwarder
-
-
-
Method Detail
-
create
void create(java.lang.String tier0Id, java.lang.String action, java.lang.String enforcementPointPath)Perform the specified action for Tier0 DNS forwarder on specified enforcement point.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
tier0Id- (required)action- An action to be performed for DNS forwarder on EP (required)enforcementPointPath- An enforcement point path, on which the action is to be performed (optional, default to /infra/sites/default/enforcement-points/default)- Throws:
com.vmware.vapi.std.errors.InvalidRequest- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError- Internal Server Errorcom.vmware.vapi.std.errors.NotFound- Not Found
-
create
void create(java.lang.String tier0Id, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Perform the specified action for Tier0 DNS forwarder on specified enforcement point.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Parameters:
tier0Id- (required)action- An action to be performed for DNS forwarder on EP (required)enforcementPointPath- An enforcement point path, on which the action is to be performed (optional, default to /infra/sites/default/enforcement-points/default)invocationConfig- Configuration for the method invocation.- Throws:
com.vmware.vapi.std.errors.InvalidRequest- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError- Internal Server Errorcom.vmware.vapi.std.errors.NotFound- Not Found
-
create
void create(java.lang.String tier0Id, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Perform the specified action for Tier0 DNS forwarder on specified enforcement point.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Operation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Parameters:
tier0Id- (required)action- An action to be performed for DNS forwarder on EP (required)enforcementPointPath- An enforcement point path, on which the action is to be performed (optional, default to /infra/sites/default/enforcement-points/default)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
create
void create(java.lang.String tier0Id, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Perform the specified action for Tier0 DNS forwarder on specified enforcement point.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Operation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Parameters:
tier0Id- (required)action- An action to be performed for DNS forwarder on EP (required)enforcementPointPath- An enforcement point path, on which the action is to be performed (optional, default to /infra/sites/default/enforcement-points/default)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
delete
void delete(java.lang.String tier0Id)
Delete DNS configuration for tier-0 instanceSynchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
tier0Id- Tier-0 ID (required)- Throws:
com.vmware.vapi.std.errors.InvalidRequest- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError- Internal Server Errorcom.vmware.vapi.std.errors.NotFound- Not Found
-
delete
void delete(java.lang.String tier0Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete DNS configuration for tier-0 instanceSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Parameters:
tier0Id- Tier-0 ID (required)invocationConfig- Configuration for the method invocation.- Throws:
com.vmware.vapi.std.errors.InvalidRequest- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError- Internal Server Errorcom.vmware.vapi.std.errors.NotFound- Not Found
-
delete
void delete(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Delete DNS configuration for tier-0 instanceAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Operation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Parameters:
tier0Id- Tier-0 ID (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
delete
void delete(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete DNS configuration for tier-0 instanceAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Operation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Parameters:
tier0Id- Tier-0 ID (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
get
PolicyDnsForwarder get(java.lang.String tier0Id)
Read the DNS Forwarder for the given tier-0 instanceSynchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
tier0Id- Tier-0 ID (required)- Returns:
- com.vmware.nsx_policy.model.PolicyDnsForwarder
- Throws:
com.vmware.vapi.std.errors.InvalidRequest- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError- Internal Server Errorcom.vmware.vapi.std.errors.NotFound- Not Found
-
get
PolicyDnsForwarder get(java.lang.String tier0Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read the DNS Forwarder for the given tier-0 instanceSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Parameters:
tier0Id- Tier-0 ID (required)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PolicyDnsForwarder
- Throws:
com.vmware.vapi.std.errors.InvalidRequest- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError- Internal Server Errorcom.vmware.vapi.std.errors.NotFound- Not Found
-
get
void get(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback)Read the DNS Forwarder for the given tier-0 instanceAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.PolicyDnsForwarderOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Parameters:
tier0Id- Tier-0 ID (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
get
void get(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Read the DNS Forwarder for the given tier-0 instanceAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.PolicyDnsForwarderOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Parameters:
tier0Id- Tier-0 ID (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
patch
void patch(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder)Update the DNS ForwarderSynchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
tier0Id- Tier-0 ID (required)policyDnsForwarder- (required)- Throws:
com.vmware.vapi.std.errors.InvalidRequest- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError- Internal Server Errorcom.vmware.vapi.std.errors.NotFound- Not Found
-
patch
void patch(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Update the DNS ForwarderSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Parameters:
tier0Id- Tier-0 ID (required)policyDnsForwarder- (required)invocationConfig- Configuration for the method invocation.- Throws:
com.vmware.vapi.std.errors.InvalidRequest- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError- Internal Server Errorcom.vmware.vapi.std.errors.NotFound- Not Found
-
patch
void patch(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Update the DNS ForwarderAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Operation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Parameters:
tier0Id- Tier-0 ID (required)policyDnsForwarder- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
patch
void patch(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Update the DNS ForwarderAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Operation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Parameters:
tier0Id- Tier-0 ID (required)policyDnsForwarder- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
update
PolicyDnsForwarder update(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder)
Update the DNS ForwarderSynchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
tier0Id- Tier-0 ID (required)policyDnsForwarder- (required)- Returns:
- com.vmware.nsx_policy.model.PolicyDnsForwarder
- Throws:
com.vmware.vapi.std.errors.InvalidRequest- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError- Internal Server Errorcom.vmware.vapi.std.errors.NotFound- Not Found
-
update
PolicyDnsForwarder update(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the DNS ForwarderSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Parameters:
tier0Id- Tier-0 ID (required)policyDnsForwarder- (required)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PolicyDnsForwarder
- Throws:
com.vmware.vapi.std.errors.InvalidRequest- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError- Internal Server Errorcom.vmware.vapi.std.errors.NotFound- Not Found
-
update
void update(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback)Update the DNS ForwarderAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.PolicyDnsForwarderOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Parameters:
tier0Id- Tier-0 ID (required)policyDnsForwarder- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
update
void update(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Update the DNS ForwarderAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.PolicyDnsForwarderOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Parameters:
tier0Id- Tier-0 ID (required)policyDnsForwarder- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
-