Blame view

sources/3rdparty/rackspace/php-opencloud/docs/userguide/Compute/Service.md 472 Bytes
6d9380f96   Cédric Dupont   Update sources OC...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  # Compute service
  
  ## Setup
  
  To instantiate a Compute service object, you first need to setup a Rackspace/OpenStack client. To do this, or for more
  information, please consult the [Clients documentation](../Clients.md).
  
  ```php
  $service = $client->computeService();
  ```
  
  If no arguments are provided to the above method, certain values are set to their default values:
  
  |Param|Default value|
  |---|---|
  |`$name`|cloudServersOpenStack|
  |`$region`|DFW|
  |`$urltype`|publicURL|