RESTful APIs operate on resources and these resources are part of the URI scheme for the Cloud API REST calls. IaaS consists of the computing, network, storage, and other virtualized resources and it is important to understand how they are all related. The following diagram gives an overview of how the IaaS resources are interconnected. Each of these resources can be accessed and modified via the corresponding RESTful cloud APIs.
While we can not cover all the resources and the operations supported on them, let's take an indicative example of how a particular operation via a RESTful cloud API will look like. IaaS APIs provide the following operations to be performed.
Create, delete, list, search, and update a service instance
Add a VM disk
Let's say that we want to create a VM programmatically using RESTful Cloud APIs. A VM is a service instance of the type
iaas that we will be creating via the REST API. We will send a POST request to the
iaas zone where the VM will...