public class ConditionsStub extends com.vmware.vapi.internal.bindings.Stub implements Conditions
Conditions
API service.
WARNING: Internal class, subject to change in future versions.
ConditionsTypes.Condition, ConditionsTypes.ConditionGroup, ConditionsTypes.Message, ConditionsTypes.Severity
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ConditionsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ConditionsStub(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 |
---|---|
java.util.List<ConditionsTypes.Condition> |
get(java.lang.String supervisor)
Get all conditions of a given Supervisor.
|
void |
get(java.lang.String supervisor,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<ConditionsTypes.Condition>> asyncCallback)
Get all conditions of a given Supervisor.
|
void |
get(java.lang.String supervisor,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<ConditionsTypes.Condition>> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get all conditions of a given Supervisor.
|
java.util.List<ConditionsTypes.Condition> |
get(java.lang.String supervisor,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get all conditions of a given Supervisor.
|
public ConditionsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ConditionsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public java.util.List<ConditionsTypes.Condition> get(java.lang.String supervisor)
Conditions
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Conditions
supervisor
- the identifier for a Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.ConditionsTypes.Condition
objects related to the given Supervisor.public java.util.List<ConditionsTypes.Condition> get(java.lang.String supervisor, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Conditions
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface Conditions
supervisor
- the identifier for a Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.invocationConfig
- Configuration for the method invocation.ConditionsTypes.Condition
objects related to the given Supervisor.public void get(java.lang.String supervisor, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<ConditionsTypes.Condition>> asyncCallback)
Conditions
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of ConditionsTypes.Condition
objects related to the given Supervisor.
Operation Errors:
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if authorization information cannot be retrieved.
NotFound
- if the Supervisor cannot be found, or if the user does not have read privilege
on it.
get
in interface Conditions
supervisor
- the identifier for a Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String supervisor, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<ConditionsTypes.Condition>> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Conditions
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:
List of ConditionsTypes.Condition
objects related to the given Supervisor.
Operation Errors:
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if authorization information cannot be retrieved.
NotFound
- if the Supervisor cannot be found, or if the user does not have read privilege
on it.
get
in interface Conditions
supervisor
- the identifier for a Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.