Class DnsForwarderStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.tier_0s.DnsForwarderStub
-
- All Implemented Interfaces:
DnsForwarder
,DnsForwarderTypes
,com.vmware.vapi.bindings.Service
public class DnsForwarderStub extends com.vmware.vapi.internal.bindings.Stub implements DnsForwarder
Remote stub implementation of theDnsForwarder
API service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.infra.tier_0s.DnsForwarderTypes
_VAPI_SERVICE_ID, CREATE_ACTION_CACHE
-
-
Constructor Summary
Constructors Constructor Description DnsForwarderStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
DnsForwarderStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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.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.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.void
delete(java.lang.String tier0Id)
Delete DNS configuration for tier-0 instancevoid
delete(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete DNS configuration for tier-0 instancevoid
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 instancevoid
delete(java.lang.String tier0Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete DNS configuration for tier-0 instancePolicyDnsForwarder
get(java.lang.String tier0Id)
Read the DNS Forwarder for the given tier-0 instancevoid
get(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback)
Read the DNS Forwarder for the given tier-0 instancevoid
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 instancePolicyDnsForwarder
get(java.lang.String tier0Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read the DNS Forwarder for the given tier-0 instancevoid
patch(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder)
Update the DNS Forwardervoid
patch(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Update the DNS Forwardervoid
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 Forwardervoid
patch(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the DNS ForwarderPolicyDnsForwarder
update(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder)
Update the DNS Forwardervoid
update(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback)
Update the DNS Forwardervoid
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 ForwarderPolicyDnsForwarder
update(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the DNS Forwarder
-
-
-
Constructor Detail
-
DnsForwarderStub
public DnsForwarderStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
DnsForwarderStub
public DnsForwarderStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
create
public void create(java.lang.String tier0Id, java.lang.String action, java.lang.String enforcementPointPath)
Description copied from interface:DnsForwarder
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.
- Specified by:
create
in interfaceDnsForwarder
- 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)
-
create
public void create(java.lang.String tier0Id, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:DnsForwarder
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
invocationConfig
to specify configuration for this particular invocation.- Specified by:
create
in interfaceDnsForwarder
- 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.
-
create
public void create(java.lang.String tier0Id, java.lang.String action, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:DnsForwarder
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
- Specified by:
create
in interfaceDnsForwarder
- 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
public 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)
Description copied from interface:DnsForwarder
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
. UseinvocationConfig
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
- Specified by:
create
in interfaceDnsForwarder
- 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
public void delete(java.lang.String tier0Id)
Description copied from interface:DnsForwarder
Delete DNS configuration for tier-0 instanceSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
delete
in interfaceDnsForwarder
- Parameters:
tier0Id
- Tier-0 ID (required)
-
delete
public void delete(java.lang.String tier0Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:DnsForwarder
Delete DNS configuration for tier-0 instanceSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
delete
in interfaceDnsForwarder
- Parameters:
tier0Id
- Tier-0 ID (required)invocationConfig
- Configuration for the method invocation.
-
delete
public void delete(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:DnsForwarder
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
- Specified by:
delete
in interfaceDnsForwarder
- Parameters:
tier0Id
- Tier-0 ID (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
public void delete(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:DnsForwarder
Delete DNS configuration for tier-0 instanceAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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
- Specified by:
delete
in interfaceDnsForwarder
- 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
public PolicyDnsForwarder get(java.lang.String tier0Id)
Description copied from interface:DnsForwarder
Read the DNS Forwarder for the given tier-0 instanceSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in interfaceDnsForwarder
- Parameters:
tier0Id
- Tier-0 ID (required)- Returns:
- com.vmware.nsx_policy.model.PolicyDnsForwarder
-
get
public PolicyDnsForwarder get(java.lang.String tier0Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:DnsForwarder
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
invocationConfig
to specify configuration for this particular invocation.- Specified by:
get
in interfaceDnsForwarder
- Parameters:
tier0Id
- Tier-0 ID (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PolicyDnsForwarder
-
get
public void get(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback)
Description copied from interface:DnsForwarder
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
- Specified by:
get
in interfaceDnsForwarder
- Parameters:
tier0Id
- Tier-0 ID (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:DnsForwarder
Read the DNS Forwarder for the given tier-0 instanceAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to 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
- Specified by:
get
in interfaceDnsForwarder
- 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
public void patch(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder)
Description copied from interface:DnsForwarder
Update the DNS ForwarderSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
patch
in interfaceDnsForwarder
- Parameters:
tier0Id
- Tier-0 ID (required)policyDnsForwarder
- (required)
-
patch
public void patch(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:DnsForwarder
Update the DNS ForwarderSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
patch
in interfaceDnsForwarder
- Parameters:
tier0Id
- Tier-0 ID (required)policyDnsForwarder
- (required)invocationConfig
- Configuration for the method invocation.
-
patch
public void patch(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:DnsForwarder
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
- Specified by:
patch
in interfaceDnsForwarder
- Parameters:
tier0Id
- Tier-0 ID (required)policyDnsForwarder
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
public 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)
Description copied from interface:DnsForwarder
Update the DNS ForwarderAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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
- Specified by:
patch
in interfaceDnsForwarder
- 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
public PolicyDnsForwarder update(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder)
Description copied from interface:DnsForwarder
Update the DNS ForwarderSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
update
in interfaceDnsForwarder
- Parameters:
tier0Id
- Tier-0 ID (required)policyDnsForwarder
- (required)- Returns:
- com.vmware.nsx_policy.model.PolicyDnsForwarder
-
update
public PolicyDnsForwarder update(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:DnsForwarder
Update the DNS ForwarderSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
update
in interfaceDnsForwarder
- Parameters:
tier0Id
- Tier-0 ID (required)policyDnsForwarder
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PolicyDnsForwarder
-
update
public void update(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback)
Description copied from interface:DnsForwarder
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
- Specified by:
update
in interfaceDnsForwarder
- Parameters:
tier0Id
- Tier-0 ID (required)policyDnsForwarder
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
public void update(java.lang.String tier0Id, PolicyDnsForwarder policyDnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:DnsForwarder
Update the DNS ForwarderAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to 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
- Specified by:
update
in interfaceDnsForwarder
- 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.
-
-