public class NameServersStub extends com.vmware.vapi.internal.bindings.Stub implements NameServers
NameServers
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
NameServersStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
NameServersStub(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 |
---|---|
NodeNameServersProperties |
get()
Returns the list of servers that the node uses to look up IP addresses
associated with given domain names.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<NodeNameServersProperties> asyncCallback)
Returns the list of servers that the node uses to look up IP addresses
associated with given domain names.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<NodeNameServersProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the list of servers that the node uses to look up IP addresses
associated with given domain names.
|
NodeNameServersProperties |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the list of servers that the node uses to look up IP addresses
associated with given domain names.
|
NodeNameServersProperties |
update(NodeNameServersProperties nodeNameServersProperties)
Modifies the list of servers that the node uses to look up IP addresses
associated with given domain names.
|
void |
update(NodeNameServersProperties nodeNameServersProperties,
com.vmware.vapi.bindings.client.AsyncCallback<NodeNameServersProperties> asyncCallback)
Modifies the list of servers that the node uses to look up IP addresses
associated with given domain names.
|
void |
update(NodeNameServersProperties nodeNameServersProperties,
com.vmware.vapi.bindings.client.AsyncCallback<NodeNameServersProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the list of servers that the node uses to look up IP addresses
associated with given domain names.
|
NodeNameServersProperties |
update(NodeNameServersProperties nodeNameServersProperties,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the list of servers that the node uses to look up IP addresses
associated with given domain names.
|
public NameServersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public NameServersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public NodeNameServersProperties get()
NameServers
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface NameServers
public NodeNameServersProperties get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NameServers
Synchronous 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 NameServers
invocationConfig
- Configuration for the method invocation.public void get(com.vmware.vapi.bindings.client.AsyncCallback<NodeNameServersProperties> asyncCallback)
NameServers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NodeNameServersProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface NameServers
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(com.vmware.vapi.bindings.client.AsyncCallback<NodeNameServersProperties> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NameServers
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.model.NodeNameServersProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface NameServers
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public NodeNameServersProperties update(NodeNameServersProperties nodeNameServersProperties)
NameServers
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface NameServers
nodeNameServersProperties
- (required)public NodeNameServersProperties update(NodeNameServersProperties nodeNameServersProperties, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NameServers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface NameServers
nodeNameServersProperties
- (required)invocationConfig
- Configuration for the method invocation.public void update(NodeNameServersProperties nodeNameServersProperties, com.vmware.vapi.bindings.client.AsyncCallback<NodeNameServersProperties> asyncCallback)
NameServers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NodeNameServersProperties
Operation Errors:
ConcurrentChange
- Conflict
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface NameServers
nodeNameServersProperties
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(NodeNameServersProperties nodeNameServersProperties, com.vmware.vapi.bindings.client.AsyncCallback<NodeNameServersProperties> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NameServers
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.model.NodeNameServersProperties
Operation Errors:
ConcurrentChange
- Conflict
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface NameServers
nodeNameServersProperties
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.