Skip to content

Commit

Permalink
Added documentation for Get operation
Browse files Browse the repository at this point in the history
  • Loading branch information
sreinkemeier committed Mar 13, 2018
1 parent 419b1b1 commit 7ac7170
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions openstack/networking/v2/extensions/vpnaas/siteconnections/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,20 @@ createOpts := siteconnections.CreateOpts{
if err != nil {
panic(err)
}
Example to Show the details of a specific IPSec site connection by ID
conn, err := siteconnections.Get(client, "f2b08c1e-aa81-4668-8ae1-1401bcb0576c").Extract()
if err != nil {
panic(err)
}
Example to Delete a site connection
connID := "38aee955-6283-4279-b091-8b9c828000ec"
err := siteconnections.Delete(networkClient, serviceID).ExtractErr()
if err != nil {
panic(err)
}
*/
package siteconnections

0 comments on commit 7ac7170

Please sign in to comment.