public interface OfferInstances extends Service, OfferInstancesTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
OfferInstancesHolder |
list(java.lang.String org,
java.lang.String region,
java.lang.String productType,
java.lang.String product,
java.lang.String type)
List all offers available for the specific product type in the specific region
|
void |
list(java.lang.String org,
java.lang.String region,
java.lang.String productType,
java.lang.String product,
java.lang.String type,
AsyncCallback<OfferInstancesHolder> asyncCallback)
List all offers available for the specific product type in the specific region
|
void |
list(java.lang.String org,
java.lang.String region,
java.lang.String productType,
java.lang.String product,
java.lang.String type,
AsyncCallback<OfferInstancesHolder> asyncCallback,
InvocationConfig invocationConfig)
List all offers available for the specific product type in the specific region
|
OfferInstancesHolder |
list(java.lang.String org,
java.lang.String region,
java.lang.String productType,
java.lang.String product,
java.lang.String type,
InvocationConfig invocationConfig)
List all offers available for the specific product type in the specific region
|
OfferInstancesHolder list(java.lang.String org, java.lang.String region, java.lang.String productType, java.lang.String product, java.lang.String type)
Synchronous method overload. Result of the invocation will be reported as a method return value.
org
- Organization identifier (required)region
- Region for the offer (required)productType
- Type of the product in offers. *This has been deprecated*. Please use product &
type parameters (required)product
- The product that you are trying to purchase, eg. host. This needs to be
accompanied by the type parameter (optional)type
- The type/flavor of the product you are trying it purchase,eg. an `r5.metal`
host. This needs to be accompanied by the product parameter. (optional)Unauthenticated
- UnauthorizedInvalidRequest
- Bad Request. Type of the product not supported.Unauthorized
- ForbiddenOfferInstancesHolder list(java.lang.String org, java.lang.String region, java.lang.String productType, java.lang.String product, java.lang.String type, 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.
org
- Organization identifier (required)region
- Region for the offer (required)productType
- Type of the product in offers. *This has been deprecated*. Please use product &
type parameters (required)product
- The product that you are trying to purchase, eg. host. This needs to be
accompanied by the type parameter (optional)type
- The type/flavor of the product you are trying it purchase,eg. an `r5.metal`
host. This needs to be accompanied by the product parameter. (optional)invocationConfig
- Configuration for the method invocation.Unauthenticated
- UnauthorizedInvalidRequest
- Bad Request. Type of the product not supported.Unauthorized
- Forbiddenvoid list(java.lang.String org, java.lang.String region, java.lang.String productType, java.lang.String product, java.lang.String type, AsyncCallback<OfferInstancesHolder> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.vmc.model.OfferInstancesHolder
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request. Type of the product not supported.
Unauthorized
- Forbidden
org
- Organization identifier (required)region
- Region for the offer (required)productType
- Type of the product in offers. *This has been deprecated*. Please use product &
type parameters (required)product
- The product that you are trying to purchase, eg. host. This needs to be
accompanied by the type parameter (optional)type
- The type/flavor of the product you are trying it purchase,eg. an `r5.metal`
host. This needs to be accompanied by the product parameter. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String org, java.lang.String region, java.lang.String productType, java.lang.String product, java.lang.String type, AsyncCallback<OfferInstancesHolder> asyncCallback, 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:
com.vmware.vmc.model.OfferInstancesHolder
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request. Type of the product not supported.
Unauthorized
- Forbidden
org
- Organization identifier (required)region
- Region for the offer (required)productType
- Type of the product in offers. *This has been deprecated*. Please use product &
type parameters (required)product
- The product that you are trying to purchase, eg. host. This needs to be
accompanied by the type parameter (optional)type
- The type/flavor of the product you are trying it purchase,eg. an `r5.metal`
host. This needs to be accompanied by the product parameter. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.