You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: oci-list-compartments-python/README.md
+24-52Lines changed: 24 additions & 52 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
This function uses Resource Principals to securely authorize a function to make
4
4
API calls to OCI services using the [OCI Python SDK](https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/index.html).
5
-
It returns a list of all compartments within the tenancy regardless of region.
5
+
It returns a list of all compartments within the tenancy.
6
6
7
7
The function calls the following OCI Python SDK classes:
8
8
*[Resource Principals Signer](https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/api/signing.html#resource-principals-signer) to authenticate
@@ -13,74 +13,41 @@ Whenever you see it, it's time for you to perform an action.
13
13
14
14
15
15
## Prerequisites
16
-
1. Start by making sure all of your policies are correct from this [guide](https://docs.cloud.oracle.com/iaas/Content/Functions/Tasks/functionscreatingpolicies.htm?tocpath=Services%7CFunctions%7CPreparing%20for%20Oracle%20Functions%7CConfiguring%20Your%20Tenancy%20for%20Function%20Development%7C_____4)
17
16
18
-
2. Have [Fn CLI setup with Oracle Functions](https://docs.cloud.oracle.com/iaas/Content/Functions/Tasks/functionsconfiguringclient.htm?tocpath=Services%7CFunctions%7CPreparing%20for%20Oracle%20Functions%7CConfiguring%20Your%20Client%20Environment%20for%20Function%20Development%7C_____0)
17
+
Before you deploy this sample function, make sure you have run steps A, B
18
+
and C of the [Oracle Functions Quick Start Guide for Cloud Shell](https://www.oracle.com/webfolder/technetwork/tutorials/infographics/oci_faas_gettingstarted_quickview/functions_quickview_top/functions_quickview/index.html)
19
+
* A - Set up your tenancy
20
+
* B - Create application
21
+
* C - Set up your Cloud Shell dev environment
19
22
20
23
21
-
## Context
22
-
Switch to the correct context
24
+
## List Applications
25
+
26
+
Assuming you have successfully completed the prerequisites, you should see your
27
+
application in the list of applications.
23
28
24
-

25
-
```
26
-
fn use context <your context name>
27
-
```
28
-
Check using
29
29
```
30
30
fn ls apps
31
31
```
32
32
33
33
34
34
## Create or Update your Dynamic Group
35
-
In order to use and retrieve information about other OCI Services, your function
36
-
must be part of a dynamic group. For information on how to create a dynamic group,
Copy file name to clipboardExpand all lines: oci-objectstorage-get-object-java/README.md
+28-40Lines changed: 28 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,6 @@ Whenever you see it, it's time for you to perform an action.
13
13
14
14
15
15
## Prerequisites
16
-

17
16
18
17
1. Before you deploy this sample function, make sure you have run steps A, B
19
18
and C of the [Oracle Functions Quick Start Guide for Cloud Shell](https://www.oracle.com/webfolder/technetwork/tutorials/infographics/oci_functions_cloudshell_quickview/functions_quickview_top/functions_quickview/index.html)
@@ -28,9 +27,8 @@ is shown there.
28
27
29
28
30
29
## List Applications
31
-

32
30
33
-
Assuming your have successfully completed the prerequisites, you should see your
31
+
Assuming you have successfully completed the prerequisites, you should see your
34
32
application in the list of applications.
35
33
36
34
```
@@ -39,41 +37,35 @@ fn ls apps
39
37
40
38
41
39
## Create or Update your Dynamic Group
42
-
In order to use and retrieve information about other OCI Services, your function
43
-
must be part of a dynamic group. For information on how to create a dynamic group,
0 commit comments