Skip to content

Commit b610917

Browse files
committed
Removing docs for administrative operations.
1 parent 650e80d commit b610917

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

docs/userguide/CDN/USERGUIDE.md

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ CDN is a service that you can use to manage your CDN-enabled domains and the ori
1717
* [Purge all cached service assets](#purge-all-cached-service-assets)
1818
* [Purge a specific cached service asset](#purge-a-specific-cached-service-asset)
1919
* [Flavors](#flavors)
20-
* [Create a flavor](#create-a-flavor)
2120
* [List flavors](#list-flavors)
2221
* [Get a flavor](#get-a-flavor)
23-
* [Delete a flavor](#delete-a-flavor)
2422

2523
## Concepts
2624

@@ -269,37 +267,6 @@ $service->purgeAssets('/images/logo.png');
269267

270268
A flavor is a configuration option. A flavor enables you to choose from a generic setting that is powered by one or more CDN providers.
271269

272-
### Create a flavor
273-
274-
<strong><em>Note: When working with the Rackspace Cloud, this operation requires the `cdn:operator` role.</em></strong>
275-
276-
This operation takes one parameter, an associative array, with the following keys:
277-
278-
| Name | Description | Data type | Required? | Default value | Example value |
279-
| ---- | ----------- | --------- | --------- | ------------- | ------------- |
280-
| `id` | ID of flavor. This ID must be unique. | String | Yes | `null` | `cdn` |
281-
| `providers` | An array of associative arrays, each representing a CDN provider. | Array of associative arrays | Yes | `null` | `array( array( 'provider' => 'akamai', 'links' => array( array( 'rel' => 'provider_url', 'href' => 'http://www.akamai.com' ) ) ) )` |
282-
283-
You can create a flavor as shown in the following example:
284-
285-
```php
286-
$flavor = $cdnService->createFlavor(array(
287-
'id' => 'cdn',
288-
'providers' => array(
289-
array(
290-
'name' => 'akamai',
291-
'links' => array(
292-
'rel' => 'provider_url',
293-
'href' => 'http://www.akamai.com'
294-
)
295-
)
296-
)
297-
));
298-
/** @var $flavor OpenCloud\CDN\Resource\Flavor **/
299-
```
300-
301-
[ [Get the executable PHP script for this example](/samples/CDN/create-flavor.php) ]
302-
303270
### List flavors
304271

305272
You can list all available flavors as shown in the following example:
@@ -324,15 +291,3 @@ $flavor = $cdnService->getFlavor('cdn');
324291
```
325292

326293
[ [Get the executable PHP script for this example](/samples/CDN/get-flavor.php) ]
327-
328-
### Delete a flavor
329-
330-
<strong><em>Note: When working with the Rackspace Cloud, this operation requires the `cdn:operator` role.</em></strong>
331-
332-
You can delete a flavor as shown in the following example:
333-
334-
```php
335-
$flavor->delete();
336-
```
337-
338-
[ [Get the executable PHP script for this example](/samples/CDN/delete-flavor.php) ]

0 commit comments

Comments
 (0)