Class ManagementStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.configs.ManagementStub
-
- All Implemented Interfaces:
Management
,ManagementTypes
,com.vmware.vapi.bindings.Service
public class ManagementStub extends com.vmware.vapi.internal.bindings.Stub implements Management
Remote stub implementation of theManagement
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.configs.ManagementTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description ManagementStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
ManagementStub(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 ManagementConfig
get()
Returns the NSX Management nodes global configuration.void
get(com.vmware.vapi.bindings.client.AsyncCallback<ManagementConfig> asyncCallback)
Returns the NSX Management nodes global configuration.void
get(com.vmware.vapi.bindings.client.AsyncCallback<ManagementConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the NSX Management nodes global configuration.ManagementConfig
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the NSX Management nodes global configuration.ManagementConfig
update(ManagementConfig managementConfig)
Modifies the NSX Management nodes global configuration.void
update(ManagementConfig managementConfig, com.vmware.vapi.bindings.client.AsyncCallback<ManagementConfig> asyncCallback)
Modifies the NSX Management nodes global configuration.void
update(ManagementConfig managementConfig, com.vmware.vapi.bindings.client.AsyncCallback<ManagementConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the NSX Management nodes global configuration.ManagementConfig
update(ManagementConfig managementConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the NSX Management nodes global configuration.
-
-
-
Constructor Detail
-
ManagementStub
public ManagementStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
ManagementStub
public ManagementStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
get
public ManagementConfig get()
Description copied from interface:Management
Returns the NSX Management nodes global configuration.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in interfaceManagement
- Returns:
- com.vmware.nsx_policy.model.ManagementConfig
-
get
public ManagementConfig get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Management
Returns the NSX Management nodes 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 interfaceManagement
- Parameters:
invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.ManagementConfig
-
get
public void get(com.vmware.vapi.bindings.client.AsyncCallback<ManagementConfig> asyncCallback)
Description copied from interface:Management
Returns the NSX Management nodes global configuration.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.ManagementConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceManagement
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(com.vmware.vapi.bindings.client.AsyncCallback<ManagementConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Management
Returns the NSX Management nodes 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.ManagementConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceManagement
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
public ManagementConfig update(ManagementConfig managementConfig)
Description copied from interface:Management
Modifies the NSX Management nodes global configuration.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
update
in interfaceManagement
- Parameters:
managementConfig
- (required)- Returns:
- com.vmware.nsx_policy.model.ManagementConfig
-
update
public ManagementConfig update(ManagementConfig managementConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Management
Modifies the NSX Management nodes 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 interfaceManagement
- Parameters:
managementConfig
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.ManagementConfig
-
update
public void update(ManagementConfig managementConfig, com.vmware.vapi.bindings.client.AsyncCallback<ManagementConfig> asyncCallback)
Description copied from interface:Management
Modifies the NSX Management nodes global configuration.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.ManagementConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceManagement
- Parameters:
managementConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
public void update(ManagementConfig managementConfig, com.vmware.vapi.bindings.client.AsyncCallback<ManagementConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Management
Modifies the NSX Management nodes 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.ManagementConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceManagement
- Parameters:
managementConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-