oci-cli 3.63.0__py3-none-any.whl → 3.63.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci_cli/bin/devops.psm1 +5 -4
- oci_cli/bin/psql.psm1 +4 -4
- oci_cli/bin/vault.psm1 +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/api/add-lock.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/api/change-compartment.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/api/create.txt +17 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/api/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/api/remove-lock.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/api/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/api.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/certificate/add-lock.txt +143 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/certificate/change-compartment.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/certificate/create.txt +17 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/certificate/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/certificate/remove-lock.txt +138 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/certificate/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/certificate.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/deployment/add-lock.txt +150 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/deployment/change-compartment.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/deployment/create.txt +17 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/deployment/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/deployment/remove-lock.txt +145 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/deployment/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/deployment.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/gateway/add-lock.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/gateway/change-compartment.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/gateway/create.txt +18 -1
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/gateway/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/gateway/remove-lock.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/gateway/update.txt +5 -1
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/gateway.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/sdk/add-lock.txt +144 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/sdk/create.txt +17 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/sdk/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/sdk/list.txt +4 -2
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/sdk/remove-lock.txt +139 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/sdk/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/sdk.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/subscriber/add-lock.txt +147 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/subscriber/change-compartment.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/subscriber/create.txt +17 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/subscriber/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/subscriber/remove-lock.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/subscriber/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/subscriber.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/usage-plan/add-lock.txt +146 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/usage-plan/change-compartment.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/usage-plan/create.txt +17 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/usage-plan/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/usage-plan/remove-lock.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/usage-plan/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/usage-plan.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway.txt +28 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/api-platform-instance/change-compartment.txt +108 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/api-platform-instance/create.txt +153 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/api-platform-instance/delete.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/api-platform-instance/get.txt +94 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/api-platform-instance/update.txt +162 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/api-platform-instance-collection/list-api-platform-instances.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/api-platform-instance-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/api-platform-instance.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{organizations/work-request-log-entry/list.txt → api-platform/work-request/get.txt} +23 -32
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/work-request/list.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/work-request-error/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/work-request-error.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/work-request-log-entry/list-work-request-logs.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/work-request-log-entry.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/work-request.txt +21 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform.txt +42 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/config/create-agent.txt +153 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/config/create-macs-extension.txt +171 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/config/update-agent.txt +162 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/config/update-macs-extension.txt +174 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/config-collection/list.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/config.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/match-agents-with-attribute-key/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/match-agents-with-attribute-key/update.txt +107 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/match-agents-with-attribute-key.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-deployment/create-model-deployment-model-group-deployment-configuration-details.txt +215 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-deployment/update-model-deployment-update-model-group-deployment-configuration-details.txt +235 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-deployment-model-state/list.txt +167 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-deployment-model-state.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-deployment.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/activate.txt +130 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/change-compartment.txt +108 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/create-model-group-artifact.txt +123 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/create-model-group-clone-model-group-details.txt +139 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/create-model-group-create-model-group-details.txt +197 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/create.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/deactivate.txt +130 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/delete.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/get-model-group-artifact-content.txt +107 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/get.txt +97 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/head-model-group-artifact.txt +96 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/list-model-group-models.txt +171 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/list.txt +169 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/update.txt +180 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group-version-history/change-compartment.txt +108 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group-version-history/create.txt +166 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group-version-history/delete.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group-version-history/get.txt +95 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group-version-history/list.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group-version-history/update.txt +172 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group-version-history.txt +25 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group.txt +41 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/work-request/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-science.txt +54 -0
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list-errors.txt → list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log/list.txt → work-request-log-entry/list-work-request-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/{governance-rules-control-plane/work-request/work-request-log.txt → delegate-access-control/work-request/work-request-log-entry.txt} +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/devops/{protected-branch → protected-branch-collection}/list-protected-branches.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/devops/protected-branch-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/devops/protected-branch.txt +0 -2
- oci_cli/help_text_producer/data_files/text/cmdref/devops.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-amazon-s3-connection.txt +9 -9
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/{create-connection-create-iceberg-connection-details.txt → create-iceberg-connection.txt} +9 -9
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-amazon-s3-connection.txt +9 -9
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/{update-connection-update-iceberg-connection-details.txt → update-iceberg-connection.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/{work-request-log/list.txt → work-request-log-entry/list-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/{organizations → governance-rules-control-plane/work-request}/work-request-log-entry.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/management-dashboard/dashboard/get-oob.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/management-dashboard/dashboard/import.txt +24 -0
- oci_cli/help_text_producer/data_files/text/cmdref/management-dashboard/dashboard/list-oob.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/management-dashboard/saved-search/get-oob.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/management-dashboard/saved-search/list-oob.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-log/list.txt +118 -0
- oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/psql/configuration/change-compartment.txt +1 -2
- oci_cli/help_text_producer/data_files/text/cmdref/psql/configuration/create.txt +21 -7
- oci_cli/help_text_producer/data_files/text/cmdref/psql/configuration/delete.txt +1 -2
- oci_cli/help_text_producer/data_files/text/cmdref/psql/configuration/get.txt +1 -2
- oci_cli/help_text_producer/data_files/text/cmdref/psql/configuration/update.txt +13 -2
- oci_cli/help_text_producer/data_files/text/cmdref/psql/configuration-collection/list-configurations.txt +9 -2
- oci_cli/help_text_producer/data_files/text/cmdref/psql/default-configuration-collection/list-default-configurations.txt +9 -2
- oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +8 -8
- oci_cli/help_text_producer/data_files/text/cmdref/speech/voice/list.txt +6 -1
- oci_cli/help_text_producer/data_files/text/cmdref/vault/secret/create-base64.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/vault/secret/update-base64.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/vault/secret/update.txt +11 -0
- oci_cli/help_text_producer/data_files/text/index.txt +2 -0
- oci_cli/service_mapping.py +5 -0
- oci_cli/version.py +1 -1
- {oci_cli-3.63.0.dist-info → oci_cli-3.63.1.dist-info}/METADATA +2 -2
- {oci_cli-3.63.0.dist-info → oci_cli-3.63.1.dist-info}/RECORD +189 -118
- services/ai_speech/src/oci_cli_ai_service_speech/generated/aiservicespeech_cli.py +5 -2
- services/api_platform/__init__.py +4 -0
- services/api_platform/src/__init__.py +4 -0
- services/api_platform/src/oci_cli_api_platform/__init__.py +4 -0
- services/api_platform/src/oci_cli_api_platform/generated/__init__.py +4 -0
- services/api_platform/src/oci_cli_api_platform/generated/apiplatform_cli.py +567 -0
- services/api_platform/src/oci_cli_api_platform/generated/client_mappings.py +14 -0
- services/api_platform/tests/__init__.py +4 -0
- services/apigateway/src/oci_cli_api_gateway/api_gateway_cli_extended.py +24 -0
- services/apigateway/src/oci_cli_api_gateway/generated/apigateway_cli.py +415 -19
- services/apigateway/src/oci_cli_deployment/apigateway_deployment_extended.py +8 -0
- services/apigateway/src/oci_cli_deployment/generated/deployment_cli.py +139 -6
- services/apigateway/src/oci_cli_gateway/apigateway_gateway_extended.py +9 -1
- services/apigateway/src/oci_cli_gateway/generated/gateway_cli.py +171 -20
- services/apigateway/src/oci_cli_subscribers/generated/subscribers_cli.py +139 -6
- services/apigateway/src/oci_cli_subscribers/subscribers_cli_extended.py +9 -0
- services/apigateway/src/oci_cli_usage_plans/generated/usageplans_cli.py +139 -6
- services/apigateway/src/oci_cli_usage_plans/usageplans_cli_extended.py +9 -0
- services/apm_config/src/oci_cli_config/config_cli_extended.py +16 -0
- services/apm_config/src/oci_cli_config/generated/config_cli.py +289 -3
- services/data_science/src/oci_cli_data_science/generated/datascience_cli.py +1477 -98
- services/devops/src/oci_cli_devops/devops_cli_extended.py +11 -11
- services/golden_gate/src/oci_cli_golden_gate/golden_gate_cli_extended.py +44 -0
- services/management_dashboard/src/oci_cli_dashx_apis/generated/dashxapis_cli.py +18 -6
- services/psql/src/oci_cli_postgresql/generated/postgresql_cli.py +38 -14
- services/vault/src/oci_cli_vaults/generated/vaults_cli.py +80 -40
- /oci_cli/help_text_producer/data_files/text/cmdref/{delegate-access-control/work-request → organizations}/work-request-log.txt +0 -0
- {oci_cli-3.63.0.dist-info → oci_cli-3.63.1.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.63.0.dist-info → oci_cli-3.63.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.63.0.dist-info → oci_cli-3.63.1.dist-info}/WHEEL +0 -0
- {oci_cli-3.63.0.dist-info → oci_cli-3.63.1.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.63.0.dist-info → oci_cli-3.63.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
"remove-lock"
|
|
2
|
+
*************
|
|
3
|
+
|
|
4
|
+
* Description
|
|
5
|
+
|
|
6
|
+
* Usage
|
|
7
|
+
|
|
8
|
+
* Required Parameters
|
|
9
|
+
|
|
10
|
+
* Optional Parameters
|
|
11
|
+
|
|
12
|
+
* Global Parameters
|
|
13
|
+
|
|
14
|
+
* Example using required parameter
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Description
|
|
18
|
+
===========
|
|
19
|
+
|
|
20
|
+
Removes a lock from a Certificate resource.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
=====
|
|
25
|
+
|
|
26
|
+
oci api-gateway certificate remove-lock [OPTIONS]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Required Parameters
|
|
30
|
+
===================
|
|
31
|
+
|
|
32
|
+
--certificate-id [text]
|
|
33
|
+
|
|
34
|
+
The ocid of the certificate.
|
|
35
|
+
|
|
36
|
+
--type [text]
|
|
37
|
+
|
|
38
|
+
Type of the lock.
|
|
39
|
+
|
|
40
|
+
Accepted values are:
|
|
41
|
+
|
|
42
|
+
DELETE, FULL
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
Optional Parameters
|
|
46
|
+
===================
|
|
47
|
+
|
|
48
|
+
--from-json [text]
|
|
49
|
+
|
|
50
|
+
Provide input to this command as a JSON document from a file using the
|
|
51
|
+
file://path-to/file syntax.
|
|
52
|
+
|
|
53
|
+
The "--generate-full-command-json-input" option can be used to
|
|
54
|
+
generate a sample json file to be used with this command option. The
|
|
55
|
+
key names are pre-populated and match the command option names
|
|
56
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
57
|
+
while the values of the keys need to be populated by the user before
|
|
58
|
+
using the sample file as an input to this command. For any command
|
|
59
|
+
option that accepts multiple values, the value of the key can be a
|
|
60
|
+
JSON array.
|
|
61
|
+
|
|
62
|
+
Options can still be provided on the command line. If an option exists
|
|
63
|
+
in both the JSON document and the command line then the command line
|
|
64
|
+
specified value will be used.
|
|
65
|
+
|
|
66
|
+
For examples on usage of this option, please see our “using CLI with
|
|
67
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
68
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
69
|
+
|
|
70
|
+
--if-match [text]
|
|
71
|
+
|
|
72
|
+
For optimistic concurrency control. In the PUT or DELETE call for a
|
|
73
|
+
resource, set the *if-match* parameter to the value of the etag from a
|
|
74
|
+
previous GET or POST response for that resource. The resource will be
|
|
75
|
+
updated or deleted only if the etag you provide matches the resource’s
|
|
76
|
+
current etag value.
|
|
77
|
+
|
|
78
|
+
--max-wait-seconds [integer]
|
|
79
|
+
|
|
80
|
+
The maximum time to wait for the resource to reach the lifecycle state
|
|
81
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
82
|
+
|
|
83
|
+
--wait-for-state [text]
|
|
84
|
+
|
|
85
|
+
This operation creates, modifies or deletes a resource that has a
|
|
86
|
+
defined lifecycle state. Specify this option to perform the action and
|
|
87
|
+
then wait until the resource reaches a given lifecycle state. Multiple
|
|
88
|
+
states can be specified, returning on the first state. For example, "
|
|
89
|
+
--wait-for-state" SUCCEEDED "--wait-for-state" FAILED would return on
|
|
90
|
+
whichever lifecycle state is reached first. If timeout is reached, a
|
|
91
|
+
return code of 2 is returned. For any other error, a return code of 1
|
|
92
|
+
is returned.
|
|
93
|
+
|
|
94
|
+
Accepted values are:
|
|
95
|
+
|
|
96
|
+
ACTIVE, CREATING, DELETED, DELETING, FAILED, UPDATING
|
|
97
|
+
|
|
98
|
+
--wait-interval-seconds [integer]
|
|
99
|
+
|
|
100
|
+
Check every "--wait-interval-seconds" to see whether the resource has
|
|
101
|
+
reached the lifecycle state defined by "--wait-for-state". Defaults to
|
|
102
|
+
30 seconds.
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
Global Parameters
|
|
106
|
+
=================
|
|
107
|
+
|
|
108
|
+
Use "oci --help" for help on global parameters.
|
|
109
|
+
|
|
110
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
111
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
112
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
113
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
114
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
115
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
116
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
117
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
Example using required parameter
|
|
121
|
+
================================
|
|
122
|
+
|
|
123
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
124
|
+
command by typing “bash example.sh” and replacing the example
|
|
125
|
+
parameters with your own.
|
|
126
|
+
|
|
127
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
128
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
129
|
+
security policies before trying the examples.
|
|
130
|
+
|
|
131
|
+
export certificate_file=<substitute-value-of-certificate_file> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/api-gateway/certificate/create.html#cmdoption-certificate-file
|
|
132
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/api-gateway/certificate/create.html#cmdoption-compartment-id
|
|
133
|
+
export private_key_file=<substitute-value-of-private_key_file> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/api-gateway/certificate/create.html#cmdoption-private-key-file
|
|
134
|
+
export type=<substitute-value-of-type> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/api-gateway/certificate/remove-lock.html#cmdoption-type
|
|
135
|
+
|
|
136
|
+
certificate_id=$(oci api-gateway certificate create --certificate-file $certificate_file --compartment-id $compartment_id --private-key-file $private_key_file --query data.id --raw-output)
|
|
137
|
+
|
|
138
|
+
oci api-gateway certificate remove-lock --certificate-id $certificate_id --type $type
|
|
@@ -117,6 +117,10 @@ previous GET or POST response for that resource. The resource will be
|
|
|
117
117
|
updated or deleted only if the etag you provide matches the resource’s
|
|
118
118
|
current etag value.
|
|
119
119
|
|
|
120
|
+
--is-lock-override [boolean]
|
|
121
|
+
|
|
122
|
+
Whether to override locks (if any exist).
|
|
123
|
+
|
|
120
124
|
--max-wait-seconds [integer]
|
|
121
125
|
|
|
122
126
|
The maximum time to wait for the work request to reach the state
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
"add-lock"
|
|
2
|
+
**********
|
|
3
|
+
|
|
4
|
+
* Description
|
|
5
|
+
|
|
6
|
+
* Usage
|
|
7
|
+
|
|
8
|
+
* Required Parameters
|
|
9
|
+
|
|
10
|
+
* Optional Parameters
|
|
11
|
+
|
|
12
|
+
* Global Parameters
|
|
13
|
+
|
|
14
|
+
* Example using required parameter
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Description
|
|
18
|
+
===========
|
|
19
|
+
|
|
20
|
+
Adds a lock to a Deployment resource.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
=====
|
|
25
|
+
|
|
26
|
+
oci api-gateway deployment add-lock [OPTIONS]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Required Parameters
|
|
30
|
+
===================
|
|
31
|
+
|
|
32
|
+
--deployment-id [text]
|
|
33
|
+
|
|
34
|
+
The ocid of the deployment.
|
|
35
|
+
|
|
36
|
+
--type [text]
|
|
37
|
+
|
|
38
|
+
Type of the lock.
|
|
39
|
+
|
|
40
|
+
Accepted values are:
|
|
41
|
+
|
|
42
|
+
DELETE, FULL
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
Optional Parameters
|
|
46
|
+
===================
|
|
47
|
+
|
|
48
|
+
--from-json [text]
|
|
49
|
+
|
|
50
|
+
Provide input to this command as a JSON document from a file using the
|
|
51
|
+
file://path-to/file syntax.
|
|
52
|
+
|
|
53
|
+
The "--generate-full-command-json-input" option can be used to
|
|
54
|
+
generate a sample json file to be used with this command option. The
|
|
55
|
+
key names are pre-populated and match the command option names
|
|
56
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
57
|
+
while the values of the keys need to be populated by the user before
|
|
58
|
+
using the sample file as an input to this command. For any command
|
|
59
|
+
option that accepts multiple values, the value of the key can be a
|
|
60
|
+
JSON array.
|
|
61
|
+
|
|
62
|
+
Options can still be provided on the command line. If an option exists
|
|
63
|
+
in both the JSON document and the command line then the command line
|
|
64
|
+
specified value will be used.
|
|
65
|
+
|
|
66
|
+
For examples on usage of this option, please see our “using CLI with
|
|
67
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
68
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
69
|
+
|
|
70
|
+
--if-match [text]
|
|
71
|
+
|
|
72
|
+
For optimistic concurrency control. In the PUT or DELETE call for a
|
|
73
|
+
resource, set the *if-match* parameter to the value of the etag from a
|
|
74
|
+
previous GET or POST response for that resource. The resource will be
|
|
75
|
+
updated or deleted only if the etag you provide matches the resource’s
|
|
76
|
+
current etag value.
|
|
77
|
+
|
|
78
|
+
--max-wait-seconds [integer]
|
|
79
|
+
|
|
80
|
+
The maximum time to wait for the resource to reach the lifecycle state
|
|
81
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
82
|
+
|
|
83
|
+
--message [text]
|
|
84
|
+
|
|
85
|
+
A message added by the creator of the lock. This is typically used to
|
|
86
|
+
give an indication of why the resource is locked.
|
|
87
|
+
|
|
88
|
+
--wait-for-state [text]
|
|
89
|
+
|
|
90
|
+
This operation creates, modifies or deletes a resource that has a
|
|
91
|
+
defined lifecycle state. Specify this option to perform the action and
|
|
92
|
+
then wait until the resource reaches a given lifecycle state. Multiple
|
|
93
|
+
states can be specified, returning on the first state. For example, "
|
|
94
|
+
--wait-for-state" SUCCEEDED "--wait-for-state" FAILED would return on
|
|
95
|
+
whichever lifecycle state is reached first. If timeout is reached, a
|
|
96
|
+
return code of 2 is returned. For any other error, a return code of 1
|
|
97
|
+
is returned.
|
|
98
|
+
|
|
99
|
+
Accepted values are:
|
|
100
|
+
|
|
101
|
+
ACTIVE, CREATING, DELETED, DELETING, FAILED, UPDATING
|
|
102
|
+
|
|
103
|
+
--wait-interval-seconds [integer]
|
|
104
|
+
|
|
105
|
+
Check every "--wait-interval-seconds" to see whether the resource has
|
|
106
|
+
reached the lifecycle state defined by "--wait-for-state". Defaults to
|
|
107
|
+
30 seconds.
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
Global Parameters
|
|
111
|
+
=================
|
|
112
|
+
|
|
113
|
+
Use "oci --help" for help on global parameters.
|
|
114
|
+
|
|
115
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
116
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
117
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
118
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
119
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
120
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
121
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
122
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
Example using required parameter
|
|
126
|
+
================================
|
|
127
|
+
|
|
128
|
+
Copy and paste the following example into a JSON file, replacing the
|
|
129
|
+
example parameters with your own.
|
|
130
|
+
|
|
131
|
+
oci api-gateway deployment create --generate-param-json-input specification > specification.json
|
|
132
|
+
|
|
133
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
134
|
+
command by typing “bash example.sh” and replacing the example
|
|
135
|
+
parameters with your own.
|
|
136
|
+
|
|
137
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
138
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
139
|
+
security policies before trying the examples.
|
|
140
|
+
|
|
141
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/api-gateway/gateway/create.html#cmdoption-compartment-id
|
|
142
|
+
export endpoint_type=<substitute-value-of-endpoint_type> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/api-gateway/gateway/create.html#cmdoption-endpoint-type
|
|
143
|
+
export subnet_id=<substitute-value-of-subnet_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/api-gateway/gateway/create.html#cmdoption-subnet-id
|
|
144
|
+
export path_prefix=<substitute-value-of-path_prefix> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/api-gateway/deployment/create.html#cmdoption-path-prefix
|
|
145
|
+
|
|
146
|
+
gateway_id=$(oci api-gateway gateway create --compartment-id $compartment_id --endpoint-type $endpoint_type --subnet-id $subnet_id --query data.id --raw-output)
|
|
147
|
+
|
|
148
|
+
deployment_id=$(oci api-gateway deployment create --compartment-id $compartment_id --gateway-id $gateway_id --path-prefix $path_prefix --specification file://specification.json --query data.id --raw-output)
|
|
149
|
+
|
|
150
|
+
oci api-gateway deployment add-lock --deployment-id $deployment_id --type $type
|
oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/deployment/change-compartment.txt
CHANGED
|
@@ -71,6 +71,10 @@ previous GET or POST response for that resource. The resource will be
|
|
|
71
71
|
updated or deleted only if the etag you provide matches the resource’s
|
|
72
72
|
current etag value.
|
|
73
73
|
|
|
74
|
+
--is-lock-override [boolean]
|
|
75
|
+
|
|
76
|
+
Whether to override locks (if any exist).
|
|
77
|
+
|
|
74
78
|
--max-wait-seconds [integer]
|
|
75
79
|
|
|
76
80
|
The maximum time to wait for the work request to reach the state
|
|
@@ -126,6 +126,23 @@ For examples on usage of this option, please see our “using CLI with
|
|
|
126
126
|
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
127
127
|
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
128
128
|
|
|
129
|
+
--locks [complex type]
|
|
130
|
+
|
|
131
|
+
Locks associated with this resource.
|
|
132
|
+
|
|
133
|
+
This option is a JSON list with items of type AddResourceLockDetails.
|
|
134
|
+
For documentation on AddResourceLockDetails please see our API
|
|
135
|
+
reference: https://docs.cloud.oracle.com/api/#/en/deployment/20190501
|
|
136
|
+
/datatypes/AddResourceLockDetails. This is a complex type whose value
|
|
137
|
+
must be valid JSON. The value can be provided as a string on the
|
|
138
|
+
command line or passed in as a file using the file://path/to/file
|
|
139
|
+
syntax.
|
|
140
|
+
|
|
141
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
142
|
+
example of the JSON which must be provided. We recommend storing this
|
|
143
|
+
example in a file, modifying it as needed and then passing it back in
|
|
144
|
+
via the file:// syntax.
|
|
145
|
+
|
|
129
146
|
--max-wait-seconds [integer]
|
|
130
147
|
|
|
131
148
|
The maximum time to wait for the work request to reach the state
|
|
@@ -71,6 +71,10 @@ previous GET or POST response for that resource. The resource will be
|
|
|
71
71
|
updated or deleted only if the etag you provide matches the resource’s
|
|
72
72
|
current etag value.
|
|
73
73
|
|
|
74
|
+
--is-lock-override [boolean]
|
|
75
|
+
|
|
76
|
+
Whether to override locks (if any exist).
|
|
77
|
+
|
|
74
78
|
--max-wait-seconds [integer]
|
|
75
79
|
|
|
76
80
|
The maximum time to wait for the work request to reach the state
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"remove-lock"
|
|
2
|
+
*************
|
|
3
|
+
|
|
4
|
+
* Description
|
|
5
|
+
|
|
6
|
+
* Usage
|
|
7
|
+
|
|
8
|
+
* Required Parameters
|
|
9
|
+
|
|
10
|
+
* Optional Parameters
|
|
11
|
+
|
|
12
|
+
* Global Parameters
|
|
13
|
+
|
|
14
|
+
* Example using required parameter
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Description
|
|
18
|
+
===========
|
|
19
|
+
|
|
20
|
+
Removes a lock from a Deployment resource.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
=====
|
|
25
|
+
|
|
26
|
+
oci api-gateway deployment remove-lock [OPTIONS]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Required Parameters
|
|
30
|
+
===================
|
|
31
|
+
|
|
32
|
+
--deployment-id [text]
|
|
33
|
+
|
|
34
|
+
The ocid of the deployment.
|
|
35
|
+
|
|
36
|
+
--type [text]
|
|
37
|
+
|
|
38
|
+
Type of the lock.
|
|
39
|
+
|
|
40
|
+
Accepted values are:
|
|
41
|
+
|
|
42
|
+
DELETE, FULL
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
Optional Parameters
|
|
46
|
+
===================
|
|
47
|
+
|
|
48
|
+
--from-json [text]
|
|
49
|
+
|
|
50
|
+
Provide input to this command as a JSON document from a file using the
|
|
51
|
+
file://path-to/file syntax.
|
|
52
|
+
|
|
53
|
+
The "--generate-full-command-json-input" option can be used to
|
|
54
|
+
generate a sample json file to be used with this command option. The
|
|
55
|
+
key names are pre-populated and match the command option names
|
|
56
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
57
|
+
while the values of the keys need to be populated by the user before
|
|
58
|
+
using the sample file as an input to this command. For any command
|
|
59
|
+
option that accepts multiple values, the value of the key can be a
|
|
60
|
+
JSON array.
|
|
61
|
+
|
|
62
|
+
Options can still be provided on the command line. If an option exists
|
|
63
|
+
in both the JSON document and the command line then the command line
|
|
64
|
+
specified value will be used.
|
|
65
|
+
|
|
66
|
+
For examples on usage of this option, please see our “using CLI with
|
|
67
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
68
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
69
|
+
|
|
70
|
+
--if-match [text]
|
|
71
|
+
|
|
72
|
+
For optimistic concurrency control. In the PUT or DELETE call for a
|
|
73
|
+
resource, set the *if-match* parameter to the value of the etag from a
|
|
74
|
+
previous GET or POST response for that resource. The resource will be
|
|
75
|
+
updated or deleted only if the etag you provide matches the resource’s
|
|
76
|
+
current etag value.
|
|
77
|
+
|
|
78
|
+
--max-wait-seconds [integer]
|
|
79
|
+
|
|
80
|
+
The maximum time to wait for the resource to reach the lifecycle state
|
|
81
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
82
|
+
|
|
83
|
+
--wait-for-state [text]
|
|
84
|
+
|
|
85
|
+
This operation creates, modifies or deletes a resource that has a
|
|
86
|
+
defined lifecycle state. Specify this option to perform the action and
|
|
87
|
+
then wait until the resource reaches a given lifecycle state. Multiple
|
|
88
|
+
states can be specified, returning on the first state. For example, "
|
|
89
|
+
--wait-for-state" SUCCEEDED "--wait-for-state" FAILED would return on
|
|
90
|
+
whichever lifecycle state is reached first. If timeout is reached, a
|
|
91
|
+
return code of 2 is returned. For any other error, a return code of 1
|
|
92
|
+
is returned.
|
|
93
|
+
|
|
94
|
+
Accepted values are:
|
|
95
|
+
|
|
96
|
+
ACTIVE, CREATING, DELETED, DELETING, FAILED, UPDATING
|
|
97
|
+
|
|
98
|
+
--wait-interval-seconds [integer]
|
|
99
|
+
|
|
100
|
+
Check every "--wait-interval-seconds" to see whether the resource has
|
|
101
|
+
reached the lifecycle state defined by "--wait-for-state". Defaults to
|
|
102
|
+
30 seconds.
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
Global Parameters
|
|
106
|
+
=================
|
|
107
|
+
|
|
108
|
+
Use "oci --help" for help on global parameters.
|
|
109
|
+
|
|
110
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
111
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
112
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
113
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
114
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
115
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
116
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
117
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
Example using required parameter
|
|
121
|
+
================================
|
|
122
|
+
|
|
123
|
+
Copy and paste the following example into a JSON file, replacing the
|
|
124
|
+
example parameters with your own.
|
|
125
|
+
|
|
126
|
+
oci api-gateway deployment create --generate-param-json-input specification > specification.json
|
|
127
|
+
|
|
128
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
129
|
+
command by typing “bash example.sh” and replacing the example
|
|
130
|
+
parameters with your own.
|
|
131
|
+
|
|
132
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
133
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
134
|
+
security policies before trying the examples.
|
|
135
|
+
|
|
136
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/api-gateway/gateway/create.html#cmdoption-compartment-id
|
|
137
|
+
export endpoint_type=<substitute-value-of-endpoint_type> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/api-gateway/gateway/create.html#cmdoption-endpoint-type
|
|
138
|
+
export subnet_id=<substitute-value-of-subnet_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/api-gateway/gateway/create.html#cmdoption-subnet-id
|
|
139
|
+
export path_prefix=<substitute-value-of-path_prefix> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/api-gateway/deployment/create.html#cmdoption-path-prefix
|
|
140
|
+
|
|
141
|
+
gateway_id=$(oci api-gateway gateway create --compartment-id $compartment_id --endpoint-type $endpoint_type --subnet-id $subnet_id --query data.id --raw-output)
|
|
142
|
+
|
|
143
|
+
deployment_id=$(oci api-gateway deployment create --compartment-id $compartment_id --gateway-id $gateway_id --path-prefix $path_prefix --specification file://specification.json --query data.id --raw-output)
|
|
144
|
+
|
|
145
|
+
oci api-gateway deployment remove-lock --deployment-id $deployment_id --type $type
|
|
@@ -117,6 +117,10 @@ previous GET or POST response for that resource. The resource will be
|
|
|
117
117
|
updated or deleted only if the etag you provide matches the resource’s
|
|
118
118
|
current etag value.
|
|
119
119
|
|
|
120
|
+
--is-lock-override [boolean]
|
|
121
|
+
|
|
122
|
+
Whether to override locks (if any exist).
|
|
123
|
+
|
|
120
124
|
--max-wait-seconds [integer]
|
|
121
125
|
|
|
122
126
|
The maximum time to wait for the work request to reach the state
|
|
@@ -12,6 +12,8 @@ information. For more information, see API Gateway Concepts.
|
|
|
12
12
|
Available Commands
|
|
13
13
|
==================
|
|
14
14
|
|
|
15
|
+
* add-lock
|
|
16
|
+
|
|
15
17
|
* change-compartment
|
|
16
18
|
|
|
17
19
|
* create
|
|
@@ -22,4 +24,6 @@ Available Commands
|
|
|
22
24
|
|
|
23
25
|
* list
|
|
24
26
|
|
|
27
|
+
* remove-lock
|
|
28
|
+
|
|
25
29
|
* update
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"add-lock"
|
|
2
|
+
**********
|
|
3
|
+
|
|
4
|
+
* Description
|
|
5
|
+
|
|
6
|
+
* Usage
|
|
7
|
+
|
|
8
|
+
* Required Parameters
|
|
9
|
+
|
|
10
|
+
* Optional Parameters
|
|
11
|
+
|
|
12
|
+
* Global Parameters
|
|
13
|
+
|
|
14
|
+
* Example using required parameter
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Description
|
|
18
|
+
===========
|
|
19
|
+
|
|
20
|
+
Adds a lock to a Gateway resource.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
=====
|
|
25
|
+
|
|
26
|
+
oci api-gateway gateway add-lock [OPTIONS]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Required Parameters
|
|
30
|
+
===================
|
|
31
|
+
|
|
32
|
+
--gateway-id [text]
|
|
33
|
+
|
|
34
|
+
The ocid of the gateway.
|
|
35
|
+
|
|
36
|
+
--type [text]
|
|
37
|
+
|
|
38
|
+
Type of the lock.
|
|
39
|
+
|
|
40
|
+
Accepted values are:
|
|
41
|
+
|
|
42
|
+
DELETE, FULL
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
Optional Parameters
|
|
46
|
+
===================
|
|
47
|
+
|
|
48
|
+
--from-json [text]
|
|
49
|
+
|
|
50
|
+
Provide input to this command as a JSON document from a file using the
|
|
51
|
+
file://path-to/file syntax.
|
|
52
|
+
|
|
53
|
+
The "--generate-full-command-json-input" option can be used to
|
|
54
|
+
generate a sample json file to be used with this command option. The
|
|
55
|
+
key names are pre-populated and match the command option names
|
|
56
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
57
|
+
while the values of the keys need to be populated by the user before
|
|
58
|
+
using the sample file as an input to this command. For any command
|
|
59
|
+
option that accepts multiple values, the value of the key can be a
|
|
60
|
+
JSON array.
|
|
61
|
+
|
|
62
|
+
Options can still be provided on the command line. If an option exists
|
|
63
|
+
in both the JSON document and the command line then the command line
|
|
64
|
+
specified value will be used.
|
|
65
|
+
|
|
66
|
+
For examples on usage of this option, please see our “using CLI with
|
|
67
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
68
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
69
|
+
|
|
70
|
+
--if-match [text]
|
|
71
|
+
|
|
72
|
+
For optimistic concurrency control. In the PUT or DELETE call for a
|
|
73
|
+
resource, set the *if-match* parameter to the value of the etag from a
|
|
74
|
+
previous GET or POST response for that resource. The resource will be
|
|
75
|
+
updated or deleted only if the etag you provide matches the resource’s
|
|
76
|
+
current etag value.
|
|
77
|
+
|
|
78
|
+
--max-wait-seconds [integer]
|
|
79
|
+
|
|
80
|
+
The maximum time to wait for the resource to reach the lifecycle state
|
|
81
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
82
|
+
|
|
83
|
+
--message [text]
|
|
84
|
+
|
|
85
|
+
A message added by the creator of the lock. This is typically used to
|
|
86
|
+
give an indication of why the resource is locked.
|
|
87
|
+
|
|
88
|
+
--wait-for-state [text]
|
|
89
|
+
|
|
90
|
+
This operation creates, modifies or deletes a resource that has a
|
|
91
|
+
defined lifecycle state. Specify this option to perform the action and
|
|
92
|
+
then wait until the resource reaches a given lifecycle state. Multiple
|
|
93
|
+
states can be specified, returning on the first state. For example, "
|
|
94
|
+
--wait-for-state" SUCCEEDED "--wait-for-state" FAILED would return on
|
|
95
|
+
whichever lifecycle state is reached first. If timeout is reached, a
|
|
96
|
+
return code of 2 is returned. For any other error, a return code of 1
|
|
97
|
+
is returned.
|
|
98
|
+
|
|
99
|
+
Accepted values are:
|
|
100
|
+
|
|
101
|
+
ACTIVE, CREATING, DELETED, DELETING, FAILED, UPDATING
|
|
102
|
+
|
|
103
|
+
--wait-interval-seconds [integer]
|
|
104
|
+
|
|
105
|
+
Check every "--wait-interval-seconds" to see whether the resource has
|
|
106
|
+
reached the lifecycle state defined by "--wait-for-state". Defaults to
|
|
107
|
+
30 seconds.
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
Global Parameters
|
|
111
|
+
=================
|
|
112
|
+
|
|
113
|
+
Use "oci --help" for help on global parameters.
|
|
114
|
+
|
|
115
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
116
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
117
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
118
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
119
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
120
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
121
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
122
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
Example using required parameter
|
|
126
|
+
================================
|
|
127
|
+
|
|
128
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
129
|
+
command by typing “bash example.sh” and replacing the example
|
|
130
|
+
parameters with your own.
|
|
131
|
+
|
|
132
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
133
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
134
|
+
security policies before trying the examples.
|
|
135
|
+
|
|
136
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/api-gateway/gateway/create.html#cmdoption-compartment-id
|
|
137
|
+
export endpoint_type=<substitute-value-of-endpoint_type> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/api-gateway/gateway/create.html#cmdoption-endpoint-type
|
|
138
|
+
export subnet_id=<substitute-value-of-subnet_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/api-gateway/gateway/create.html#cmdoption-subnet-id
|
|
139
|
+
|
|
140
|
+
gateway_id=$(oci api-gateway gateway create --compartment-id $compartment_id --endpoint-type $endpoint_type --subnet-id $subnet_id --query data.id --raw-output)
|
|
141
|
+
|
|
142
|
+
oci api-gateway gateway add-lock --gateway-id $gateway_id --type $type
|