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
'iam group add-user'='from-json group-id help user-id'
199
205
'iam group create'='compartment-id defined-tags description freeform-tags from-json help max-wait-seconds name wait-for-state wait-interval-seconds'
200
206
'iam group delete'='force from-json group-id help if-match max-wait-seconds wait-for-state wait-interval-seconds'
@@ -255,9 +261,9 @@ $ociCommandsToLongParams = @{
255
261
'lb certificate list'='from-json help load-balancer-id'
256
262
'lb health-checker get'='backend-set-name from-json help load-balancer-id'
257
263
'lb health-checker update'='backend-set-name from-json help interval-in-millis load-balancer-id max-wait-seconds port protocol response-body-regex retries return-code timeout-in-millis url-path wait-for-state wait-interval-seconds'
258
-
'lb listener create'='default-backend-set-name from-json help load-balancer-id max-wait-seconds name port protocol ssl-certificate-name ssl-verify-depth ssl-verify-peer-certificate wait-for-state wait-interval-seconds'
264
+
'lb listener create'='connection-configuration-idle-timeout default-backend-set-name from-json help load-balancer-id max-wait-seconds name port protocol ssl-certificate-name ssl-verify-depth ssl-verify-peer-certificate wait-for-state wait-interval-seconds'
259
265
'lb listener delete'='force from-json help listener-name load-balancer-id max-wait-seconds wait-for-state wait-interval-seconds'
260
-
'lb listener update'='default-backend-set-name force from-json help listener-name load-balancer-id max-wait-seconds port protocol ssl-certificate-name ssl-verify-depth ssl-verify-peer-certificate wait-for-state wait-interval-seconds'
266
+
'lb listener update'='connection-configuration-idle-timeout default-backend-set-name force from-json help listener-name load-balancer-id max-wait-seconds port protocol ssl-certificate-name ssl-verify-depth ssl-verify-peer-certificate wait-for-state wait-interval-seconds'
Copy file name to clipboardExpand all lines: src/oci_cli/cli_root.py
+28-24Lines changed: 28 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@
15
15
from . importhelp_text_producer
16
16
from . importcli_util
17
17
18
+
from . importcli_constants
19
+
18
20
# Enable WARN logging to surface important warnings attached to loading
19
21
# defaults, automatic coercion, or fallback values/endpoints that may impact
20
22
# the user's security.
@@ -31,21 +33,12 @@
31
33
32
34
BMCS_DEPRECATION_NOTICE="""WARNING: Invoking the CLI using 'bmcs' is deprecated and will be removed in future versions, starting in March 2018. To avoid interruption at that time, please move to invoking the CLI using 'oci' instead."""
help='The profile in the config file to load. This profile will also be used to locate any default parameter values which have been specified in the OCI CLI-specific configuration file. [default: DEFAULT]')
help='The path to the OCI CLI-specific configuration file, containing parameter default values and other configuration information such as command aliases and predefined queries. The --defaults-file option is deprecated and you should use the --cli-rc-file option instead.')
Queries can be entered directly on the command line or referenced from the [OCI_CLI_COMMAND_ALIASES] section of your configuration file by using the syntax query://<query_name>, for example query://get_id_and_name
216
209
""")
217
210
@click.option('--raw-output', is_flag=True, help='If the output of a given query is a single string value, this will return the string without surrounding quotes')
211
+
@click.option('--auth', type=click.Choice(choices=OCI_CLI_AUTH_CHOICES), help='The type of auth to use for the API request. By default the API key in your config file will be used. This value can also be provided in the {auth_env_var} environment variable.'.format(auth_env_var=cli_constants.OCI_CLI_AUTH_ENV_VAR))
218
212
@click.option('--generate-full-command-json-input', is_flag=True, is_eager=True, help="""Prints out a JSON document which represents all possible options that can be provided to this command.
219
213
220
214
This JSON document can be saved to a file, modified with the appropriate option values, and then passed back via the --from-json option. This provides an alternative to typing options out on the command line.""")
Copy file name to clipboardExpand all lines: src/oci_cli/cli_setup.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,9 @@
3
3
4
4
from __future__ importprint_function
5
5
importclick
6
-
from .cli_rootimportcli, CLI_RC_CANNED_QUERIES_SECTION_NAME, CLI_RC_COMMAND_ALIASES_SECTION_NAME, CLI_RC_PARAM_ALIASES_SECTION_NAME
6
+
from .cli_rootimportcli
7
+
from .cli_constantsimportCLI_RC_CANNED_QUERIES_SECTION_NAME, CLI_RC_COMMAND_ALIASES_SECTION_NAME, CLI_RC_PARAM_ALIASES_SECTION_NAME, CLI_RC_DEFAULT_LOCATION
0 commit comments