Class GlobalConfigStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.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 theGlobalConfig
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.GlobalConfigTypes
_VAPI_SERVICE_ID
-
-
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.Boolean applyLocally)
This rest routine is deprecated.void
get(java.lang.Boolean applyLocally, com.vmware.vapi.bindings.client.AsyncCallback<GlobalConfig> asyncCallback)
This rest routine is deprecated.void
get(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.Boolean applyLocally, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This rest routine is deprecated.void
patch(GlobalConfig globalConfig, java.lang.Boolean applyLocally)
Update the global configuration.void
patch(GlobalConfig globalConfig, java.lang.Boolean applyLocally, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Update the global configuration.void
patch(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(GlobalConfig globalConfig, java.lang.Boolean applyLocally, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the global configuration.GlobalConfig
update(GlobalConfig globalConfig, java.lang.Boolean applyLocally)
This rest routine is deprecated.void
update(GlobalConfig globalConfig, java.lang.Boolean applyLocally, com.vmware.vapi.bindings.client.AsyncCallback<GlobalConfig> asyncCallback)
This rest routine is deprecated.void
update(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(GlobalConfig globalConfig, java.lang.Boolean applyLocally, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This rest routine is deprecated.
-
-
-
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.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 interfaceGlobalConfig
- Parameters:
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.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 interfaceGlobalConfig
- Parameters:
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.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.GlobalConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceGlobalConfig
- Parameters:
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.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
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.GlobalConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceGlobalConfig
- Parameters:
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(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 interfaceGlobalConfig
- Parameters:
globalConfig
- (required)applyLocally
- Flag to check reaching NSX+ or LM resource (optional, default to false)
-
patch
public void patch(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 interfaceGlobalConfig
- Parameters:
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(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 interfaceGlobalConfig
- Parameters:
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(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
. UseinvocationConfig
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 interfaceGlobalConfig
- Parameters:
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(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 interfaceGlobalConfig
- Parameters:
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(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 interfaceGlobalConfig
- Parameters:
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(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.GlobalConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceGlobalConfig
- Parameters:
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(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
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.GlobalConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceGlobalConfig
- Parameters:
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.
-
-