Class HostConfigStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.napp.common_agent.HostConfigStub
-
- All Implemented Interfaces:
HostConfig
,HostConfigTypes
,com.vmware.vapi.bindings.Service
public class HostConfigStub extends com.vmware.vapi.internal.bindings.Stub implements HostConfig
Remote stub implementation of theHostConfig
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.napp.common_agent.HostConfigTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description HostConfigStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
HostConfigStub(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 CommonAgentHostConfigurationInfo
get()
Get the current NSX Application Platform Common Agent host configuration.void
get(com.vmware.vapi.bindings.client.AsyncCallback<CommonAgentHostConfigurationInfo> asyncCallback)
Get the current NSX Application Platform Common Agent host configuration.void
get(com.vmware.vapi.bindings.client.AsyncCallback<CommonAgentHostConfigurationInfo> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the current NSX Application Platform Common Agent host configuration.CommonAgentHostConfigurationInfo
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the current NSX Application Platform Common Agent host configuration.CommonAgentHostConfigurationInfo
patch(CommonAgentHostConfigurationInfo commonAgentHostConfigurationInfo)
Patch the current NSX Application Platform Common Agent host configuration.void
patch(CommonAgentHostConfigurationInfo commonAgentHostConfigurationInfo, com.vmware.vapi.bindings.client.AsyncCallback<CommonAgentHostConfigurationInfo> asyncCallback)
Patch the current NSX Application Platform Common Agent host configuration.void
patch(CommonAgentHostConfigurationInfo commonAgentHostConfigurationInfo, com.vmware.vapi.bindings.client.AsyncCallback<CommonAgentHostConfigurationInfo> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Patch the current NSX Application Platform Common Agent host configuration.CommonAgentHostConfigurationInfo
patch(CommonAgentHostConfigurationInfo commonAgentHostConfigurationInfo, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Patch the current NSX Application Platform Common Agent host configuration.CommonAgentHostConfigurationInfo
reset()
Reset NSX Application Platform Common Agent host configuration to the default setting.void
reset(com.vmware.vapi.bindings.client.AsyncCallback<CommonAgentHostConfigurationInfo> asyncCallback)
Reset NSX Application Platform Common Agent host configuration to the default setting.void
reset(com.vmware.vapi.bindings.client.AsyncCallback<CommonAgentHostConfigurationInfo> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Reset NSX Application Platform Common Agent host configuration to the default setting.CommonAgentHostConfigurationInfo
reset(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Reset NSX Application Platform Common Agent host configuration to the default setting.
-
-
-
Constructor Detail
-
HostConfigStub
public HostConfigStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
HostConfigStub
public HostConfigStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
get
public CommonAgentHostConfigurationInfo get()
Description copied from interface:HostConfig
Get the current NSX Application Platform Common Agent host configuration. Recommend to keep the value same for flow_data_collection_interval and context_data_collection_interval.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in interfaceHostConfig
- Returns:
- com.vmware.nsx_policy.model.CommonAgentHostConfigurationInfo
-
get
public CommonAgentHostConfigurationInfo get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostConfig
Get the current NSX Application Platform Common Agent host configuration. Recommend to keep the value same for flow_data_collection_interval and context_data_collection_interval.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:
get
in interfaceHostConfig
- Parameters:
invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.CommonAgentHostConfigurationInfo
-
get
public void get(com.vmware.vapi.bindings.client.AsyncCallback<CommonAgentHostConfigurationInfo> asyncCallback)
Description copied from interface:HostConfig
Get the current NSX Application Platform Common Agent host configuration. Recommend to keep the value same for flow_data_collection_interval and context_data_collection_interval.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.CommonAgentHostConfigurationInfoOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceHostConfig
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(com.vmware.vapi.bindings.client.AsyncCallback<CommonAgentHostConfigurationInfo> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostConfig
Get the current NSX Application Platform Common Agent host configuration. Recommend to keep the value same for flow_data_collection_interval and context_data_collection_interval.Asynchronous 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.CommonAgentHostConfigurationInfoOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceHostConfig
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
patch
public CommonAgentHostConfigurationInfo patch(CommonAgentHostConfigurationInfo commonAgentHostConfigurationInfo)
Description copied from interface:HostConfig
Patch the current NSX Application Platform Common Agent host configuration. Return error if NSX Application Platform Common Agent is not registered with NSX. \"private_ip_range\" is the only field allowed to patch.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
patch
in interfaceHostConfig
- Parameters:
commonAgentHostConfigurationInfo
- (required)- Returns:
- com.vmware.nsx_policy.model.CommonAgentHostConfigurationInfo
-
patch
public CommonAgentHostConfigurationInfo patch(CommonAgentHostConfigurationInfo commonAgentHostConfigurationInfo, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostConfig
Patch the current NSX Application Platform Common Agent host configuration. Return error if NSX Application Platform Common Agent is not registered with NSX. \"private_ip_range\" is the only field allowed to patch.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:
patch
in interfaceHostConfig
- Parameters:
commonAgentHostConfigurationInfo
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.CommonAgentHostConfigurationInfo
-
patch
public void patch(CommonAgentHostConfigurationInfo commonAgentHostConfigurationInfo, com.vmware.vapi.bindings.client.AsyncCallback<CommonAgentHostConfigurationInfo> asyncCallback)
Description copied from interface:HostConfig
Patch the current NSX Application Platform Common Agent host configuration. Return error if NSX Application Platform Common Agent is not registered with NSX. \"private_ip_range\" is the only field allowed to patch.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.CommonAgentHostConfigurationInfoOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
patch
in interfaceHostConfig
- Parameters:
commonAgentHostConfigurationInfo
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
public void patch(CommonAgentHostConfigurationInfo commonAgentHostConfigurationInfo, com.vmware.vapi.bindings.client.AsyncCallback<CommonAgentHostConfigurationInfo> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostConfig
Patch the current NSX Application Platform Common Agent host configuration. Return error if NSX Application Platform Common Agent is not registered with NSX. \"private_ip_range\" is the only field allowed to patch.Asynchronous 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.CommonAgentHostConfigurationInfoOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
patch
in interfaceHostConfig
- Parameters:
commonAgentHostConfigurationInfo
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
reset
public CommonAgentHostConfigurationInfo reset()
Description copied from interface:HostConfig
Reset NSX Application Platform Common Agent host configuration to the default setting. Clear NSX Application Platform Common Agent host configuration if NSX Application Platform Common Agent is not registered with NSX. Return the NSX Application Platform Common Agent host configuration after reset operation.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
reset
in interfaceHostConfig
- Returns:
- com.vmware.nsx_policy.model.CommonAgentHostConfigurationInfo
-
reset
public CommonAgentHostConfigurationInfo reset(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostConfig
Reset NSX Application Platform Common Agent host configuration to the default setting. Clear NSX Application Platform Common Agent host configuration if NSX Application Platform Common Agent is not registered with NSX. Return the NSX Application Platform Common Agent host configuration after reset operation.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:
reset
in interfaceHostConfig
- Parameters:
invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.CommonAgentHostConfigurationInfo
-
reset
public void reset(com.vmware.vapi.bindings.client.AsyncCallback<CommonAgentHostConfigurationInfo> asyncCallback)
Description copied from interface:HostConfig
Reset NSX Application Platform Common Agent host configuration to the default setting. Clear NSX Application Platform Common Agent host configuration if NSX Application Platform Common Agent is not registered with NSX. Return the NSX Application Platform Common Agent host configuration after reset operation.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.CommonAgentHostConfigurationInfoOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
reset
in interfaceHostConfig
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
reset
public void reset(com.vmware.vapi.bindings.client.AsyncCallback<CommonAgentHostConfigurationInfo> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostConfig
Reset NSX Application Platform Common Agent host configuration to the default setting. Clear NSX Application Platform Common Agent host configuration if NSX Application Platform Common Agent is not registered with NSX. Return the NSX Application Platform Common Agent host configuration after reset operation.Asynchronous 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.CommonAgentHostConfigurationInfoOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
reset
in interfaceHostConfig
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-