public class GlobalStub extends com.vmware.vapi.internal.bindings.Stub implements Global
Global
API service.
WARNING: Internal class, subject to change in future versions.
GlobalTypes._VAPI_OPERATIONS, GlobalTypes.Info, GlobalTypes.SetSpec
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
GlobalStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
GlobalStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
GlobalTypes.Info |
get()
Gets the name of the current TLS Profile configured globally.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<GlobalTypes.Info> asyncCallback)
Gets the name of the current TLS Profile configured globally.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<GlobalTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Gets the name of the current TLS Profile configured globally.
|
GlobalTypes.Info |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Gets the name of the current TLS Profile configured globally.
|
java.lang.String |
set_Task(GlobalTypes.SetSpec spec)
Sets any one of the standard profiles globally in the appliance.
|
void |
set_Task(GlobalTypes.SetSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Sets any one of the standard profiles globally in the appliance.
|
void |
set_Task(GlobalTypes.SetSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Sets any one of the standard profiles globally in the appliance.
|
java.lang.String |
set_Task(GlobalTypes.SetSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Sets any one of the standard profiles globally in the appliance.
|
public GlobalStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public GlobalStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public GlobalTypes.Info get()
Global
Synchronous method overload. Result of the invocation will be reported as a method return value.
public GlobalTypes.Info get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Global
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(com.vmware.vapi.bindings.client.AsyncCallback<GlobalTypes.Info> asyncCallback)
Global
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
the name of the current global TLS Profile.
Operation Errors:
Error
- if there is some unknown internal error. The accompanying error message will
give more details about the failure.
Unauthenticated
- if the session is not authenticated
Unauthorized
- if the user is not authorized. User needs to have operator privileges.
public void get(com.vmware.vapi.bindings.client.AsyncCallback<GlobalTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Global
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:
the name of the current global TLS Profile.
Operation Errors:
Error
- if there is some unknown internal error. The accompanying error message will
give more details about the failure.
Unauthenticated
- if the session is not authenticated
Unauthorized
- if the user is not authorized. User needs to have operator privileges.
public java.lang.String set_Task(GlobalTypes.SetSpec spec)
Global
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
public java.lang.String set_Task(GlobalTypes.SetSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Global
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig
to specify configuration for this particular invocation.
public void set_Task(GlobalTypes.SetSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Global
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- if there is some unknown internal error. appropriate error in case of VCHA
enabled cluster if VCHA is not healthy or if it is in enabled state. The
accompanying error message will give more details about the failure.
Unauthenticated
- if the session is not authenticated.
Unauthorized
- if the user is not authorized. User needs to have superAdministrator privileges
to perform this operation.
public void set_Task(GlobalTypes.SetSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Global
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- if there is some unknown internal error. appropriate error in case of VCHA
enabled cluster if VCHA is not healthy or if it is in enabled state. The
accompanying error message will give more details about the failure.
Unauthenticated
- if the session is not authenticated.
Unauthorized
- if the user is not authorized. User needs to have superAdministrator privileges
to perform this operation.