Class GlobalConfigStub

  • All Implemented Interfaces:
    GlobalConfig, GlobalConfigTypes, com.vmware.vapi.bindings.Service

    public class GlobalConfigStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements GlobalConfig
    Remote stub implementation of the GlobalConfig 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
      GlobalConfigStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      GlobalConfigStub​(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
      GlobalConfig get​(java.lang.String orgId, java.lang.String projectId, java.lang.Boolean applyLocally)
      This rest routine is deprecated.
      void get​(java.lang.String orgId, java.lang.String projectId, java.lang.Boolean applyLocally, com.vmware.vapi.bindings.client.AsyncCallback<GlobalConfig> asyncCallback)
      This rest routine is deprecated.
      void get​(java.lang.String orgId, java.lang.String projectId, java.lang.Boolean applyLocally, com.vmware.vapi.bindings.client.AsyncCallback<GlobalConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This rest routine is deprecated.
      GlobalConfig get​(java.lang.String orgId, java.lang.String projectId, java.lang.Boolean applyLocally, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This rest routine is deprecated.
      void patch​(java.lang.String orgId, java.lang.String projectId, GlobalConfig globalConfig, java.lang.Boolean applyLocally)
      Update the global configuration.
      void patch​(java.lang.String orgId, java.lang.String projectId, GlobalConfig globalConfig, java.lang.Boolean applyLocally, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Update the global configuration.
      void patch​(java.lang.String orgId, java.lang.String projectId, GlobalConfig globalConfig, java.lang.Boolean applyLocally, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update the global configuration.
      void patch​(java.lang.String orgId, java.lang.String projectId, GlobalConfig globalConfig, java.lang.Boolean applyLocally, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update the global configuration.
      GlobalConfig update​(java.lang.String orgId, java.lang.String projectId, GlobalConfig globalConfig, java.lang.Boolean applyLocally)
      This rest routine is deprecated.
      void update​(java.lang.String orgId, java.lang.String projectId, GlobalConfig globalConfig, java.lang.Boolean applyLocally, com.vmware.vapi.bindings.client.AsyncCallback<GlobalConfig> asyncCallback)
      This rest routine is deprecated.
      void update​(java.lang.String orgId, java.lang.String projectId, GlobalConfig globalConfig, java.lang.Boolean applyLocally, com.vmware.vapi.bindings.client.AsyncCallback<GlobalConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This rest routine is deprecated.
      GlobalConfig update​(java.lang.String orgId, java.lang.String projectId, GlobalConfig globalConfig, java.lang.Boolean applyLocally, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This rest routine is deprecated.
      • Methods inherited from class com.vmware.vapi.internal.bindings.Stub

        invokeMethod, invokeMethodAsync, invokeStreamMethod, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GlobalConfigStub

        public GlobalConfigStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                                com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
                                com.vmware.vapi.bindings.StubConfigurationBase config)
      • GlobalConfigStub

        public GlobalConfigStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                                com.vmware.vapi.bindings.StubConfigurationBase config)
    • Method Detail

      • get

        public GlobalConfig get​(java.lang.String orgId,
                                java.lang.String projectId,
                                java.lang.Boolean applyLocally)
        Description copied from interface: GlobalConfig
        This rest routine is deprecated. Use /infra/connectivity-global-config for Connectivity global config and /infra/ops-global-config for Operations global config. Read global configuration.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        get in interface GlobalConfig
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        applyLocally - Flag to check reaching NSX+ or LM resource (optional, default to false)
        Returns:
        com.vmware.nsx_policy.model.GlobalConfig
      • get

        public GlobalConfig get​(java.lang.String orgId,
                                java.lang.String projectId,
                                java.lang.Boolean applyLocally,
                                com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: GlobalConfig
        This rest routine is deprecated. Use /infra/connectivity-global-config for Connectivity global config and /infra/ops-global-config for Operations global config. Read global configuration.

        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 GlobalConfig
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        applyLocally - Flag to check reaching NSX+ or LM resource (optional, default to false)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.GlobalConfig
      • get

        public void get​(java.lang.String orgId,
                        java.lang.String projectId,
                        java.lang.Boolean applyLocally,
                        com.vmware.vapi.bindings.client.AsyncCallback<GlobalConfig> asyncCallback)
        Description copied from interface: GlobalConfig
        This rest routine is deprecated. Use /infra/connectivity-global-config for Connectivity global config and /infra/ops-global-config for Operations global config. Read global configuration.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

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

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

        Specified by:
        get in interface GlobalConfig
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        applyLocally - Flag to check reaching NSX+ or LM resource (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        public void get​(java.lang.String orgId,
                        java.lang.String projectId,
                        java.lang.Boolean applyLocally,
                        com.vmware.vapi.bindings.client.AsyncCallback<GlobalConfig> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: GlobalConfig
        This rest routine is deprecated. Use /infra/connectivity-global-config for Connectivity global config and /infra/ops-global-config for Operations global config. Read global configuration.

        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.GlobalConfig

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

        Specified by:
        get in interface GlobalConfig
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        applyLocally - Flag to check reaching NSX+ or LM resource (optional, default to false)
        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 orgId,
                          java.lang.String projectId,
                          GlobalConfig globalConfig,
                          java.lang.Boolean applyLocally)
        Description copied from interface: GlobalConfig
        Update the global configuration.
        This rest routine is deprecated. Use /infra/connectivity-global-config for Connectivity global config and /infra/ops-global-config for Operations global config.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        patch in interface GlobalConfig
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        globalConfig - (required)
        applyLocally - Flag to check reaching NSX+ or LM resource (optional, default to false)
      • patch

        public void patch​(java.lang.String orgId,
                          java.lang.String projectId,
                          GlobalConfig globalConfig,
                          java.lang.Boolean applyLocally,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: GlobalConfig
        Update the global configuration.
        This rest routine is deprecated. Use /infra/connectivity-global-config for Connectivity global config and /infra/ops-global-config for Operations global config.

        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 GlobalConfig
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        globalConfig - (required)
        applyLocally - Flag to check reaching NSX+ or LM resource (optional, default to false)
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(java.lang.String orgId,
                          java.lang.String projectId,
                          GlobalConfig globalConfig,
                          java.lang.Boolean applyLocally,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: GlobalConfig
        Update the global configuration.
        This rest routine is deprecated. Use /infra/connectivity-global-config for Connectivity global config and /infra/ops-global-config for Operations global config.

        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:
        patch in interface GlobalConfig
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        globalConfig - (required)
        applyLocally - Flag to check reaching NSX+ or LM resource (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        public void patch​(java.lang.String orgId,
                          java.lang.String projectId,
                          GlobalConfig globalConfig,
                          java.lang.Boolean applyLocally,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: GlobalConfig
        Update the global configuration.
        This rest routine is deprecated. Use /infra/connectivity-global-config for Connectivity global config and /infra/ops-global-config for Operations global config.

        Asynchronous 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

        Specified by:
        patch in interface GlobalConfig
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        globalConfig - (required)
        applyLocally - Flag to check reaching NSX+ or LM resource (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        public GlobalConfig update​(java.lang.String orgId,
                                   java.lang.String projectId,
                                   GlobalConfig globalConfig,
                                   java.lang.Boolean applyLocally)
        Description copied from interface: GlobalConfig
        This rest routine is deprecated. Use /infra/connectivity-global-config for Connectivity global config and /infra/ops-global-config for Operations global config. Update the global configuration.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        update in interface GlobalConfig
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        globalConfig - (required)
        applyLocally - Flag to check reaching NSX+ or LM resource (optional, default to false)
        Returns:
        com.vmware.nsx_policy.model.GlobalConfig
      • update

        public GlobalConfig update​(java.lang.String orgId,
                                   java.lang.String projectId,
                                   GlobalConfig globalConfig,
                                   java.lang.Boolean applyLocally,
                                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: GlobalConfig
        This rest routine is deprecated. Use /infra/connectivity-global-config for Connectivity global config and /infra/ops-global-config for Operations global config. Update the global configuration.

        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:
        update in interface GlobalConfig
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        globalConfig - (required)
        applyLocally - Flag to check reaching NSX+ or LM resource (optional, default to false)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.GlobalConfig
      • update

        public void update​(java.lang.String orgId,
                           java.lang.String projectId,
                           GlobalConfig globalConfig,
                           java.lang.Boolean applyLocally,
                           com.vmware.vapi.bindings.client.AsyncCallback<GlobalConfig> asyncCallback)
        Description copied from interface: GlobalConfig
        This rest routine is deprecated. Use /infra/connectivity-global-config for Connectivity global config and /infra/ops-global-config for Operations global config. Update the global configuration.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

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

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

        Specified by:
        update in interface GlobalConfig
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        globalConfig - (required)
        applyLocally - Flag to check reaching NSX+ or LM resource (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        public void update​(java.lang.String orgId,
                           java.lang.String projectId,
                           GlobalConfig globalConfig,
                           java.lang.Boolean applyLocally,
                           com.vmware.vapi.bindings.client.AsyncCallback<GlobalConfig> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: GlobalConfig
        This rest routine is deprecated. Use /infra/connectivity-global-config for Connectivity global config and /infra/ops-global-config for Operations global config. Update the global configuration.

        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.GlobalConfig

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

        Specified by:
        update in interface GlobalConfig
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        globalConfig - (required)
        applyLocally - Flag to check reaching NSX+ or LM resource (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.