public class DnsForwarderStub extends com.vmware.vapi.internal.bindings.Stub implements DnsForwarder
DnsForwarder
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID, CREATE_ACTION_CACHE| Constructor and 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) |
| 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.
|
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
|
public DnsForwarderStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public DnsForwarderStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public void create(java.lang.String tier1Id,
java.lang.String action,
java.lang.String enforcementPointPath)
DnsForwarderSynchronous method overload. Result of the invocation will be reported as a method return value.
create in interface DnsForwardertier1Id - (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)public void create(java.lang.String tier1Id,
java.lang.String action,
java.lang.String enforcementPointPath,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DnsForwarderSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
create in interface DnsForwardertier1Id - (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.public void create(java.lang.String tier1Id,
java.lang.String action,
java.lang.String enforcementPointPath,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
DnsForwarderAsynchronous 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
create in interface DnsForwardertier1Id - (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.public 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)
DnsForwarderAsynchronous 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
create in interface DnsForwardertier1Id - (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.public PolicyDnsForwarder get(java.lang.String tier1Id)
DnsForwarderSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface DnsForwardertier1Id - Tier-1 ID (required)public PolicyDnsForwarder get(java.lang.String tier1Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DnsForwarderSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface DnsForwardertier1Id - Tier-1 ID (required)invocationConfig - Configuration for the method invocation.public void get(java.lang.String tier1Id,
com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback)
DnsForwarderAsynchronous 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
get in interface DnsForwardertier1Id - Tier-1 ID (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String tier1Id,
com.vmware.vapi.bindings.client.AsyncCallback<PolicyDnsForwarder> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DnsForwarderAsynchronous 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
get in interface DnsForwardertier1Id - Tier-1 ID (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.