-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from oracle/release_2018-07-27
Releasing version 2.4.29
- Loading branch information
Showing
26 changed files
with
616 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
# This script provides a basic example of how to use the Resource Search Service in the Python CLI. | ||
# will demonstrate: | ||
# | ||
# * List all searchable resource types. | ||
# * Get detail of one resource type. | ||
# * Use free text query to search resources cross resource types. | ||
# * Use structured query to search resources cross resource types. | ||
# | ||
# Requirements for running this script: | ||
# - OCI CLI v2.4.27 or later (you can check this by running oci --version) | ||
|
||
set -e | ||
|
||
echo "List all searchable resource types" | ||
|
||
oci search resource-type list | ||
|
||
echo "Get detail of resource type 'Group' " | ||
|
||
oci search resource-type get --name "Group" | ||
|
||
echo "Search for objects with string 'searchstring' by free text search" | ||
|
||
oci search resource free-text-search --text "searchstring" | ||
|
||
echo "Search for all resource object by structured query search" | ||
|
||
oci search resource structured-search --query-text "query all resources" | ||
|
||
echo "Success!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.