Class 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 the HostConfig 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
    • 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)  
    • 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 interface HostConfig
        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 interface HostConfig
        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.CommonAgentHostConfigurationInfo

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface HostConfig
        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. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.CommonAgentHostConfigurationInfo

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface HostConfig
        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 interface HostConfig
        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 interface HostConfig
        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.CommonAgentHostConfigurationInfo

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        patch in interface HostConfig
        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. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.CommonAgentHostConfigurationInfo

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        patch in interface HostConfig
        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 interface HostConfig
        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 interface HostConfig
        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.CommonAgentHostConfigurationInfo

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        reset in interface HostConfig
        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. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.CommonAgentHostConfigurationInfo

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        reset in interface HostConfig
        Parameters:
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.