Click or drag to resize

IWsJelasticGetJelasticPricingTypes Method

This method returns the list of available Jelastic pricing types.

Namespace:  Aruba.Cloud.WsJelastic
Assembly:  WsJelastic (in WsJelastic.dll) Version: (
WsResult<List<JelasticPricingType>> GetJelasticPricingTypes()

Return Value

Type: WsResultListJelasticPricingType
List of Jelastic plans
The following example retrieve the available JelasticPricingTypes.
public JelasticPricingType[] GetJelasticPricingTypes()
    using (var client = this.WsJelasticClient)
        var result = client.GetJelasticPricingTypes();
        if (result.Success)
            return result.Value;
            this.LogError("GetJelasticPricingTypes", result);
            throw new CodedException(this.GetErrorCode(result.ResultCode), result.ResultMessage);
See Also