public class ReservationStub extends com.vmware.vapi.internal.bindings.Stub implements Reservation
Reservation
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ReservationStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ReservationStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.List<ReservationWindow>> |
post(java.lang.String org,
SddcStateRequest sddcState)
Retreive all reservations for all SDDCs in this org
|
void |
post(java.lang.String org,
SddcStateRequest sddcState,
AsyncCallback<java.util.Map<java.lang.String,java.util.List<ReservationWindow>>> asyncCallback)
Retreive all reservations for all SDDCs in this org
|
void |
post(java.lang.String org,
SddcStateRequest sddcState,
AsyncCallback<java.util.Map<java.lang.String,java.util.List<ReservationWindow>>> asyncCallback,
InvocationConfig invocationConfig)
Retreive all reservations for all SDDCs in this org
|
java.util.Map<java.lang.String,java.util.List<ReservationWindow>> |
post(java.lang.String org,
SddcStateRequest sddcState,
InvocationConfig invocationConfig)
Retreive all reservations for all SDDCs in this org
|
public ReservationStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ReservationStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.Map<java.lang.String,java.util.List<ReservationWindow>> post(java.lang.String org, SddcStateRequest sddcState)
Reservation
Synchronous method overload. Result of the invocation will be reported as a method return value.
post
in interface Reservation
org
- Organization identifier (required)sddcState
- SDDCs and/or states to query (optional)public java.util.Map<java.lang.String,java.util.List<ReservationWindow>> post(java.lang.String org, SddcStateRequest sddcState, InvocationConfig invocationConfig)
Reservation
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
post
in interface Reservation
org
- Organization identifier (required)sddcState
- SDDCs and/or states to query (optional)invocationConfig
- Configuration for the method invocation.public void post(java.lang.String org, SddcStateRequest sddcState, AsyncCallback<java.util.Map<java.lang.String,java.util.List<ReservationWindow>>> asyncCallback)
Reservation
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Call
Unauthorized
- Forbidden
post
in interface Reservation
org
- Organization identifier (required)sddcState
- SDDCs and/or states to query (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void post(java.lang.String org, SddcStateRequest sddcState, AsyncCallback<java.util.Map<java.lang.String,java.util.List<ReservationWindow>>> asyncCallback, InvocationConfig invocationConfig)
Reservation
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Call
Unauthorized
- Forbidden
post
in interface Reservation
org
- Organization identifier (required)sddcState
- SDDCs and/or states to query (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.