public interface Global extends com.vmware.vapi.bindings.Service, GlobalTypes
Global
interface provides methods APIs to configure standard TLS
profile.
This is a profile based management for TLS usage on vCenter and the interface is for managing standard/built-in profiles globally in the appliance.
. This interface was added in vSphere API 8.0.3.0.GlobalTypes._VAPI_OPERATIONS, GlobalTypes.Info, GlobalTypes.SetSpec
_VAPI_SERVICE_ID
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.
|
GlobalTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
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 authenticatedUnauthorized
- if the user is not authorized. User needs to have operator privileges.GlobalTypes.Info get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.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 authenticatedUnauthorized
- if the user is not authorized. User needs to have operator privileges.void get(com.vmware.vapi.bindings.client.AsyncCallback<GlobalTypes.Info> asyncCallback)
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.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(com.vmware.vapi.bindings.client.AsyncCallback<GlobalTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String set_Task(GlobalTypes.SetSpec spec)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
spec
- Defines the name of the standard profile to be configured.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.java.lang.String set_Task(GlobalTypes.SetSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.
spec
- Defines the name of the standard profile to be configured.invocationConfig
- Configuration for the method invocation.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.void set_Task(GlobalTypes.SetSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
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.
spec
- Defines the name of the standard profile to be configured.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void set_Task(GlobalTypes.SetSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.
spec
- Defines the name of the standard profile to be configured.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.