public interface DnsForwarder extends com.vmware.vapi.bindings.Service, DnsForwarderTypes
_VAPI_SERVICE_ID, CREATE_ACTION_CACHE
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.String tier1Id,
java.lang.String action,
java.lang.String enforcementPointPath)
Perform the specified action for Tier0 DNS forwarder on specified enforcement
point.
|
void |
create(java.lang.String tier1Id,
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.
|
void |
create(java.lang.String tier1Id,
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.
|
void |
create(java.lang.String tier1Id,
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.
|
void |
delete(java.lang.String tier1Id)
Delete DNS configuration for tier-1 instance
|
void |
delete(java.lang.String tier1Id,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete DNS configuration for tier-1 instance
|
void |
delete(java.lang.String tier1Id,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete DNS configuration for tier-1 instance
|
void |
delete(java.lang.String tier1Id,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete DNS configuration for tier-1 instance
|
PolicyDnsForwarder |
get(java.lang.String tier1Id)
Read the DNS Forwarder for the given tier-1 instance
|
void |
get(java.lang.String tier1Id,
com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback)
Read the DNS Forwarder for the given tier-1 instance
|
void |
get(java.lang.String tier1Id,
com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read the DNS Forwarder for the given tier-1 instance
|
PolicyDnsForwarder |
get(java.lang.String tier1Id,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read the DNS Forwarder for the given tier-1 instance
|
void |
patch(java.lang.String tier1Id,
PolicyDnsForwarder policyDnsForwarder)
Create or update the DNS Forwarder
|
void |
patch(java.lang.String tier1Id,
PolicyDnsForwarder policyDnsForwarder,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Create or update the DNS Forwarder
|
void |
patch(java.lang.String tier1Id,
PolicyDnsForwarder policyDnsForwarder,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or update the DNS Forwarder
|
void |
patch(java.lang.String tier1Id,
PolicyDnsForwarder policyDnsForwarder,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or update the DNS Forwarder
|
PolicyDnsForwarder |
update(java.lang.String tier1Id,
PolicyDnsForwarder policyDnsForwarder)
Create or update the DNS Forwarder
|
void |
update(java.lang.String tier1Id,
PolicyDnsForwarder policyDnsForwarder,
com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback)
Create or update the DNS Forwarder
|
void |
update(java.lang.String tier1Id,
PolicyDnsForwarder policyDnsForwarder,
com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or update the DNS Forwarder
|
PolicyDnsForwarder |
update(java.lang.String tier1Id,
PolicyDnsForwarder policyDnsForwarder,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or update the DNS Forwarder
|
void create(java.lang.String tier1Id, java.lang.String action, java.lang.String enforcementPointPath)
Synchronous method overload. Result of the invocation will be reported as a method return value.
tier1Id
- (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)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 Foundvoid create(java.lang.String tier1Id, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
tier1Id
- (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.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 Foundvoid create(java.lang.String tier1Id, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
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
tier1Id
- (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.void create(java.lang.String tier1Id, 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)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to 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
tier1Id
- (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.void delete(java.lang.String tier1Id)
Synchronous method overload. Result of the invocation will be reported as a method return value.
tier1Id
- Tier-1 ID (required)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 Foundvoid delete(java.lang.String tier1Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
tier1Id
- Tier-1 ID (required)invocationConfig
- Configuration for the method invocation.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 Foundvoid delete(java.lang.String tier1Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
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
tier1Id
- Tier-1 ID (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String tier1Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to 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
tier1Id
- Tier-1 ID (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.PolicyDnsForwarder get(java.lang.String tier1Id)
Synchronous method overload. Result of the invocation will be reported as a method return value.
tier1Id
- Tier-1 ID (required)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 FoundPolicyDnsForwarder get(java.lang.String tier1Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
tier1Id
- Tier-1 ID (required)invocationConfig
- Configuration for the method invocation.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 Foundvoid get(java.lang.String tier1Id, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.PolicyDnsForwarder
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
tier1Id
- Tier-1 ID (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String tier1Id, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx_policy.model.PolicyDnsForwarder
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
tier1Id
- Tier-1 ID (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void patch(java.lang.String tier1Id, PolicyDnsForwarder policyDnsForwarder)
Synchronous method overload. Result of the invocation will be reported as a method return value.
tier1Id
- Tier-1 ID (required)policyDnsForwarder
- (required)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 Foundvoid patch(java.lang.String tier1Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
tier1Id
- Tier-1 ID (required)policyDnsForwarder
- (required)invocationConfig
- Configuration for the method invocation.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 Foundvoid patch(java.lang.String tier1Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
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
tier1Id
- Tier-1 ID (required)policyDnsForwarder
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void patch(java.lang.String tier1Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to 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
tier1Id
- Tier-1 ID (required)policyDnsForwarder
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.PolicyDnsForwarder update(java.lang.String tier1Id, PolicyDnsForwarder policyDnsForwarder)
Synchronous method overload. Result of the invocation will be reported as a method return value.
tier1Id
- Tier-1 ID (required)policyDnsForwarder
- (required)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 FoundPolicyDnsForwarder update(java.lang.String tier1Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
tier1Id
- Tier-1 ID (required)policyDnsForwarder
- (required)invocationConfig
- Configuration for the method invocation.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 Foundvoid update(java.lang.String tier1Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.PolicyDnsForwarder
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
tier1Id
- Tier-1 ID (required)policyDnsForwarder
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String tier1Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx_policy.model.PolicyDnsForwarder
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
tier1Id
- Tier-1 ID (required)policyDnsForwarder
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.