Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Commit

Permalink
version 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
chelnak committed Aug 6, 2015
1 parent d2d1ae0 commit 28f4b05
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
22 changes: 20 additions & 2 deletions docs/catalog_service.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,17 @@ Get a vRA resource by Id

###Parameters
* [string]id = id of the vRA resource
* [string]show = This determines what is returned. Use json to return a json object or
table to return a table. This parameter is not mandatory.

You can display data from this function in a table as follows:

```
resourceId='171d8ab9-1b5b-44e8-ac20-b559da4c1ef3'
client.getResource(id=resourceId, show='table')
```

This function will return a json object. You can interact with this object in the same way
By default this function will return a json object. You can interact with this object in the same way
that you would with any object.

```
Expand All @@ -66,8 +75,17 @@ Return networking information for a given resource.

###Parameters
* [string]id = Id of the vRA Resource
* [string]show = This determines what is returned. Use json to return a json object or
table to return a table. This parameter is not mandatory.

You can display data from this function in a table as follows:

``````
resourceId='171d8ab9-1b5b-44e8-ac20-b559da4c1ef3'
client.getResourceNetworking(id=resourceId, show='table')
```
This function will return a json object. You can interact with this object in the same way
By default this function will return a json object. You can interact with this object in the same way
that you would with any object.
```
Expand Down
5 changes: 5 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
##06/08/2015
* Version 1.0.1
* Added show option to catalot.getResource and catalog.getResourceNetworking()
* Updated docs

##05/08/2015
* Added documentation for the catalog ConsumerClient
* Changed getResourceId to getResourceIdByRequestId in catalog.py
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def read(fname):


setup(name='vRAAPIClient',
version='1.0',
version='1.0.1',
description='vRealize Automation API Client',
author='chelnak',
author_email='',
Expand Down

0 comments on commit 28f4b05

Please sign in to comment.