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: 1.0.0.0 (1.0.0.0)
Syntax
[OperationContractAttribute]
WsResult<List<JelasticPricingType>> GetJelasticPricingTypes()

Return Value

Type: WsResultListJelasticPricingType
List of Jelastic plans
Examples
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;
        else
        {
            this.LogError("GetJelasticPricingTypes", result);
            throw new CodedException(this.GetErrorCode(result.ResultCode), result.ResultMessage);
        }
    }
}
See Also