oci-cli 3.62.0__py3-none-any.whl → 3.62.2__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/opsi.psm1 +25 -8
- oci_cli/cli_util.py +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/analyze-document-result/analyze-document-inline-document-details.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/analyze-document-result/analyze-document-object-storage-document-details.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model/create.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model-type-info/get-model-type.txt +99 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model-type-info.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/processor-job/create-processor-job-inline-document-content.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/processor-job/create-processor-job-invoice-processor-config.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document/processor-job.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-document.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ce/cluster/create-kubeconfig.txt +0 -4
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list.txt → list-errors.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 → list-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/lfs/lustre-file-system.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/lfs.txt +2 -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/opsi/database-insights/change-autonomous-database-insight-advanced-features-credential-by-iam.txt +7 -7
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-autonomous-database-insight-advanced-features-credential-by-vault.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials.txt +152 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-macs-managed-autonomous-database-insight-connection-credential-by-vault.txt +175 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-macs-managed-autonomous-database-insight-connection-credentials-by-source.txt +154 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-macs-managed-cloud-database-insight-connection-credential-by-iam.txt +7 -7
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-macs-managed-cloud-database-insight-connection-credential-by-named-credentials.txt +158 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/change-pe-comanaged-database-detail.txt +7 -7
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/create-macs-managed-autonomous-database-insight.txt +210 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/enable-autonomous-database-insight-advanced-features-credential-by-iam.txt +7 -7
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/enable-autonomous-database-insight-advanced-features-credential-by-vault.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/enable-macs-managed-autonomous-database-insight.txt +203 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/list-database-configurations.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-capacity-trend.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-forecast-trend.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-statistics.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-usage-trend.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-usage.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-database-insight-resource-utilization-insight.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-sql-insights.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/summarize-sql-statistics.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/synchronize-autonomous-database-to-exadata.txt +152 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/test-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials.txt +151 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/test-macs-managed-cloud-database-insight-connection-credential-by-iam.txt +7 -7
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights/update-macs-managed-autonomous-database-insight.txt +155 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/database-insights.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/{news-report → news-reports}/list.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/news-reports.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opsi.txt +25 -4
- oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +9 -9
- oci_cli/version.py +1 -1
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/METADATA +2 -2
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/RECORD +68 -57
- services/ai_document/src/oci_cli_ai_service_document/generated/aiservicedocument_cli.py +142 -13
- services/container_engine/src/oci_cli_container_engine/containerengine_cli_extended.py +1 -1
- services/log_analytics/src/oci_cli_log_analytics/log_analytics_cli_extended.py +17 -6
- services/opsi/src/oci_cli_operations_insights/generated/operationsinsights_cli.py +4541 -3121
- services/opsi/src/oci_cli_operations_insights/operationsinsights_cli_extended.py +82 -10
- oci_cli/help_text_producer/data_files/text/cmdref/opsi/news-report.txt +0 -14
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/WHEEL +0 -0
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.62.0.dist-info → oci_cli-3.62.2.dist-info}/top_level.txt +0 -0
oci_cli/bin/opsi.psm1
CHANGED
|
@@ -4,16 +4,15 @@ function GetOciTopLevelCommand_opsi() {
|
|
|
4
4
|
|
|
5
5
|
function GetOciSubcommands_opsi() {
|
|
6
6
|
$ociSubcommands = @{
|
|
7
|
-
'opsi' = 'awr-hub-objects awr-hub-sources awr-hubs database-insights enterprise-manager-bridges exadata-insights host-insights news-
|
|
7
|
+
'opsi' = 'awr-hub-objects awr-hub-sources awr-hubs database-insights enterprise-manager-bridges exadata-insights host-insights news-reports operations-insights-warehouse-users operations-insights-warehouses opsi-configurations opsi-data-objects opsi-private-endpoint opsi-warehouse-data-objects work-requests'
|
|
8
8
|
'opsi awr-hub-objects' = 'delete get head list put'
|
|
9
9
|
'opsi awr-hub-sources' = 'change create delete disable enable get list update'
|
|
10
10
|
'opsi awr-hubs' = 'create delete get get-awr-database-report get-awr-database-sql-report get-awr-report list list-awr-database-snapshots list-awr-databases list-awr-snapshots summarize-awr-database-cpu-usages summarize-awr-database-metrics summarize-awr-database-parameter-changes summarize-awr-database-parameters summarize-awr-database-snapshot-ranges summarize-awr-database-sysstats summarize-awr-database-top-wait-events summarize-awr-database-wait-event-buckets summarize-awr-database-wait-events summarize-awr-sources-summaries update'
|
|
11
|
-
'opsi database-insights' = 'change change-autonomous-database-insight-advanced-features-credential-by-iam change-autonomous-database-insight-advanced-features-credential-by-vault change-external-mysql change-macs-managed-cloud-database-insight-connection-credential-by-iam change-macs-managed-cloud-database-insight-connection-credential-by-vault change-pe-comanaged-database-detail create-autonomous-database create-em-external-db create-external-mysql-database-insight create-macs-managed-cloud-database-insight create-mds-my-sql-database create-pe-comanged-database delete disable disable-autonomous-database-insight-advanced-features enable-autonomous-database enable-autonomous-database-insight-advanced-features-credential-by-iam enable-autonomous-database-insight-advanced-features-credential-by-vault enable-em-external-db enable-external-mysql-database-insight enable-macs-managed-cloud-database-insight enable-mds-my-sql-database enable-pe-comanaged-database get ingest-addm-reports ingest-database-configuration ingest-my-sql-sql-stats ingest-my-sql-sql-text ingest-sql-bucket ingest-sql-plan-lines ingest-sql-stats ingest-sql-text list list-addm-db-finding-categories list-addm-db-findings-time-series list-addm-db-parameter-categories list-addm-db-recommendation-categories list-addm-db-recommendations-time-series list-addm-dbs list-database-configurations list-sql-plans list-sql-searches list-sql-texts summarize-addm-db-findings summarize-addm-db-parameter-changes summarize-addm-db-parameters summarize-addm-db-recommendations summarize-addm-db-schema-objects summarize-addm-db-sql-statements summarize-database-insight-resource-capacity-trend summarize-database-insight-resource-forecast-trend summarize-database-insight-resource-statistics summarize-database-insight-resource-usage summarize-database-insight-resource-usage-trend summarize-database-insight-resource-utilization-insight summarize-database-insight-tablespace-usage-trend summarize-sql-insights summarize-sql-plan-insights summarize-sql-response-time-distributions summarize-sql-statistics summarize-sql-statistics-time-series summarize-sql-statistics-time-series-by-plan test-macs-managed-cloud-database-insight-connection-credential-by-iam test-macs-managed-cloud-database-insight-connection-credential-by-vault update-autonomous-db update-em-external-db update-external-mysql-database-insight update-macs-external-db update-macs-managed-cloud-database-insight update-mds-my-sql-database update-pe-comanaged-database'
|
|
11
|
+
'opsi database-insights' = 'change change-autonomous-database-insight-advanced-features-credential-by-iam change-autonomous-database-insight-advanced-features-credential-by-vault change-external-mysql change-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials change-macs-managed-autonomous-database-insight-connection-credential-by-vault change-macs-managed-autonomous-database-insight-connection-credentials-by-source change-macs-managed-cloud-database-insight-connection-credential-by-iam change-macs-managed-cloud-database-insight-connection-credential-by-named-credentials change-macs-managed-cloud-database-insight-connection-credential-by-vault change-pe-comanaged-database-detail create-autonomous-database create-em-external-db create-external-mysql-database-insight create-macs-managed-autonomous-database-insight create-macs-managed-cloud-database-insight create-mds-my-sql-database create-pe-comanged-database delete disable disable-autonomous-database-insight-advanced-features enable-autonomous-database enable-autonomous-database-insight-advanced-features-credential-by-iam enable-autonomous-database-insight-advanced-features-credential-by-vault enable-em-external-db enable-external-mysql-database-insight enable-macs-managed-autonomous-database-insight enable-macs-managed-cloud-database-insight enable-mds-my-sql-database enable-pe-comanaged-database get ingest-addm-reports ingest-database-configuration ingest-my-sql-sql-stats ingest-my-sql-sql-text ingest-sql-bucket ingest-sql-plan-lines ingest-sql-stats ingest-sql-text list list-addm-db-finding-categories list-addm-db-findings-time-series list-addm-db-parameter-categories list-addm-db-recommendation-categories list-addm-db-recommendations-time-series list-addm-dbs list-database-configurations list-sql-plans list-sql-searches list-sql-texts summarize-addm-db-findings summarize-addm-db-parameter-changes summarize-addm-db-parameters summarize-addm-db-recommendations summarize-addm-db-schema-objects summarize-addm-db-sql-statements summarize-database-insight-resource-capacity-trend summarize-database-insight-resource-forecast-trend summarize-database-insight-resource-statistics summarize-database-insight-resource-usage summarize-database-insight-resource-usage-trend summarize-database-insight-resource-utilization-insight summarize-database-insight-tablespace-usage-trend summarize-sql-insights summarize-sql-plan-insights summarize-sql-response-time-distributions summarize-sql-statistics summarize-sql-statistics-time-series summarize-sql-statistics-time-series-by-plan synchronize-autonomous-database-to-exadata test-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials test-macs-managed-cloud-database-insight-connection-credential-by-iam test-macs-managed-cloud-database-insight-connection-credential-by-vault update-autonomous-db update-em-external-db update-external-mysql-database-insight update-macs-external-db update-macs-managed-autonomous-database-insight update-macs-managed-cloud-database-insight update-mds-my-sql-database update-pe-comanaged-database'
|
|
12
12
|
'opsi enterprise-manager-bridges' = 'change create delete get list list-importable-enterprise-manager-entities update'
|
|
13
13
|
'opsi exadata-insights' = 'add-em-external-exadata-members add-macs-managed-cloud-exadata-insight-members add-pe-comanaged-exadata-members change create-em-external-exadata create-macs-managed-cloud-exadata-insight create-pe-comanaged-exadata delete disable enable-em-external-exadata enable-macs-managed-cloud-exadata-insight enable-pe-comanaged-exadata get list list-exadata-configurations summarize-exadata-insight-resource-capacity-trend summarize-exadata-insight-resource-capacity-trend-aggregated summarize-exadata-insight-resource-forecast-trend summarize-exadata-insight-resource-forecast-trend-aggregated summarize-exadata-insight-resource-statistics summarize-exadata-insight-resource-usage summarize-exadata-insight-resource-usage-aggregated summarize-exadata-insight-resource-utilization-insight summarize-exadata-members update-em-external-exadata update-macs-managed-cloud-exadata-insight update-pe-comanaged-exadata'
|
|
14
14
|
'opsi host-insights' = 'change create-em-external-host create-macs-cloud-host create-macs-external-host delete disable enable-em-external-host enable-macs-cloud-host enable-macs-external-host get ingest-host-configuration ingest-host-metrics list list-host-configurations list-hosted-entities list-importable-agent-entities list-macs-cloud-hosts summarize-disk-statistics summarize-host-insight-resource-capacity-trend summarize-host-insight-resource-forecast-trend summarize-host-insight-resource-statistics summarize-host-insight-resource-usage summarize-host-insight-resource-usage-trend summarize-host-insight-resource-utilization-insight summarize-host-recommendation summarize-io-usage-trend summarize-network-usage-trend summarize-storage-usage-trend summarize-top-processes-usage-trend update-em-external-host update-host-insight-update-pe-comanaged-host-insight-details update-macs-cloud-host update-macs-external-host update-macs-managed-database-host-insight'
|
|
15
|
-
'opsi news-
|
|
16
|
-
'opsi news-reports' = 'change create delete get update'
|
|
15
|
+
'opsi news-reports' = 'change create delete get list update'
|
|
17
16
|
'opsi operations-insights-warehouse-users' = 'create delete get list update'
|
|
18
17
|
'opsi operations-insights-warehouses' = 'change create delete download-warehouse-wallet get list rotate-warehouse-wallet summarize-operations-insights-warehouse-resource-usage update'
|
|
19
18
|
'opsi opsi-configurations' = 'change create-opsi-ux-configuration-details delete get list summarize-configuration-items update-opsi-ux-configuration-details'
|
|
@@ -63,14 +62,19 @@ function GetOciCommandsToLongParams_opsi() {
|
|
|
63
62
|
'opsi awr-hubs update' = 'awr-hub-id defined-tags display-name force freeform-tags from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
64
63
|
'opsi database-insights change' = 'compartment-id database-insight-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
65
64
|
'opsi database-insights change-autonomous-database-insight-advanced-features-credential-by-iam' = 'connection-details credential-details-credential-source-name database-insight-id from-json help if-match max-wait-seconds opsi-private-endpoint-id wait-for-state wait-interval-seconds'
|
|
66
|
-
'opsi database-insights change-autonomous-database-insight-advanced-features-credential-by-vault' = 'connection-details credential-details-wallet-secret-id
|
|
65
|
+
'opsi database-insights change-autonomous-database-insight-advanced-features-credential-by-vault' = 'connection-details credential-details-wallet-secret-id database-insight-id from-json help if-match max-wait-seconds opsi-private-endpoint-id password-secret-id role user-name wait-for-state wait-interval-seconds'
|
|
67
66
|
'opsi database-insights change-external-mysql' = 'database-connector-id database-insight-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
67
|
+
'opsi database-insights change-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials' = 'connection-details database-insight-id from-json help if-match management-agent-id max-wait-seconds named-credential-id wait-for-state wait-interval-seconds'
|
|
68
|
+
'opsi database-insights change-macs-managed-autonomous-database-insight-connection-credential-by-vault' = 'connection-credential-details-credential-source-name connection-credential-details-password-secret-id connection-credential-details-role connection-credential-details-user-name connection-credential-details-wallet-secret-id connection-details database-insight-id from-json help if-match management-agent-id max-wait-seconds wait-for-state wait-interval-seconds'
|
|
69
|
+
'opsi database-insights change-macs-managed-autonomous-database-insight-connection-credentials-by-source' = 'connection-credential-details-credential-source-name connection-details database-insight-id from-json help if-match management-agent-id max-wait-seconds wait-for-state wait-interval-seconds'
|
|
68
70
|
'opsi database-insights change-macs-managed-cloud-database-insight-connection-credential-by-iam' = 'connection-credential-details-credential-source-name connection-details database-insight-id from-json help if-match management-agent-id max-wait-seconds wait-for-state wait-interval-seconds'
|
|
71
|
+
'opsi database-insights change-macs-managed-cloud-database-insight-connection-credential-by-named-credentials' = 'connection-credential-details-credential-source-name connection-credential-details-named-credential-id connection-details database-insight-id from-json help if-match management-agent-id max-wait-seconds wait-for-state wait-interval-seconds'
|
|
69
72
|
'opsi database-insights change-macs-managed-cloud-database-insight-connection-credential-by-vault' = 'connection-details credential-source-name database-insight-id from-json help if-match management-agent-id max-wait-seconds password-secret-id role user-name wait-for-state wait-interval-seconds wallet-secret-id'
|
|
70
73
|
'opsi database-insights change-pe-comanaged-database-detail' = 'connection-details credential-details-credential-source-name credential-details-password-secret-id credential-details-role credential-details-user-name credential-details-wallet-secret-id database-insight-id from-json help if-match max-wait-seconds opsi-private-endpoint-id service-name wait-for-state wait-interval-seconds'
|
|
71
74
|
'opsi database-insights create-autonomous-database' = 'compartment-id connection-details credential-details database-id database-resource-type defined-tags freeform-tags from-json help is-advanced-features-enabled max-wait-seconds opsi-private-endpoint-id system-tags wait-for-state wait-interval-seconds'
|
|
72
75
|
'opsi database-insights create-em-external-db' = 'compartment-id defined-tags em-bridge-id em-entity-id em-id exadata-insight-id freeform-tags from-json help max-wait-seconds wait-for-state wait-interval-seconds'
|
|
73
76
|
'opsi database-insights create-external-mysql-database-insight' = 'compartment-id database-connector-id database-id defined-tags freeform-tags from-json help max-wait-seconds wait-for-state wait-interval-seconds'
|
|
77
|
+
'opsi database-insights create-macs-managed-autonomous-database-insight' = 'compartment-id connection-credential-details connection-details database-id database-resource-type defined-tags deployment-type freeform-tags from-json help management-agent-id max-wait-seconds system-tags wait-for-state wait-interval-seconds'
|
|
74
78
|
'opsi database-insights create-macs-managed-cloud-database-insight' = 'compartment-id connection-credential-details connection-details database-id database-resource-type defined-tags deployment-type freeform-tags from-json help management-agent-id max-wait-seconds system-tags wait-for-state wait-interval-seconds'
|
|
75
79
|
'opsi database-insights create-mds-my-sql-database' = 'compartment-id database-id defined-tags freeform-tags from-json help max-wait-seconds wait-for-state wait-interval-seconds'
|
|
76
80
|
'opsi database-insights create-pe-comanged-database' = 'compartment-id connection-details credential-details database-id database-resource-type dbm-private-endpoint-id defined-tags deployment-type freeform-tags from-json help max-wait-seconds opsi-private-endpoint-id service-name system-tags wait-for-state wait-interval-seconds'
|
|
@@ -79,9 +83,10 @@ function GetOciCommandsToLongParams_opsi() {
|
|
|
79
83
|
'opsi database-insights disable-autonomous-database-insight-advanced-features' = 'database-insight-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
80
84
|
'opsi database-insights enable-autonomous-database' = 'connection-details credential-details database-insight-id database-resource-type defined-tags freeform-tags from-json help if-match is-advanced-features-enabled max-wait-seconds opsi-private-endpoint-id system-tags wait-for-state wait-interval-seconds'
|
|
81
85
|
'opsi database-insights enable-autonomous-database-insight-advanced-features-credential-by-iam' = 'connection-details credential-details-credential-source-name database-insight-id from-json help if-match max-wait-seconds opsi-private-endpoint-id wait-for-state wait-interval-seconds'
|
|
82
|
-
'opsi database-insights enable-autonomous-database-insight-advanced-features-credential-by-vault' = 'connection-details credential-details-wallet-secret-id
|
|
86
|
+
'opsi database-insights enable-autonomous-database-insight-advanced-features-credential-by-vault' = 'connection-details credential-details-wallet-secret-id database-insight-id from-json help if-match max-wait-seconds opsi-private-endpoint-id password-secret-id role user-name wait-for-state wait-interval-seconds'
|
|
83
87
|
'opsi database-insights enable-em-external-db' = 'database-insight-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
84
88
|
'opsi database-insights enable-external-mysql-database-insight' = 'database-connector-id database-insight-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
89
|
+
'opsi database-insights enable-macs-managed-autonomous-database-insight' = 'compartment-id connection-credential-details connection-details database-insight-id defined-tags freeform-tags from-json help if-match management-agent-id max-wait-seconds system-tags wait-for-state wait-interval-seconds'
|
|
85
90
|
'opsi database-insights enable-macs-managed-cloud-database-insight' = 'compartment-id connection-credential-details connection-details database-insight-id defined-tags freeform-tags from-json help if-match management-agent-id max-wait-seconds system-tags wait-for-state wait-interval-seconds'
|
|
86
91
|
'opsi database-insights enable-mds-my-sql-database' = 'database-insight-id from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
87
92
|
'opsi database-insights enable-pe-comanaged-database' = 'compartment-id connection-details credential-details database-insight-id defined-tags freeform-tags from-json help if-match max-wait-seconds opsi-private-endpoint-id service-name system-tags wait-for-state wait-interval-seconds'
|
|
@@ -124,12 +129,15 @@ function GetOciCommandsToLongParams_opsi() {
|
|
|
124
129
|
'opsi database-insights summarize-sql-statistics' = 'analysis-time-interval category cdb-name compartment-id compartment-id-in-subtree database-id database-time-pct-greater-than database-type defined-tag-equals defined-tag-exists exadata-insight-id freeform-tag-equals freeform-tag-exists from-json help host-name id limit page sort-by sort-order sql-identifier time-interval-end time-interval-start vmcluster-name'
|
|
125
130
|
'opsi database-insights summarize-sql-statistics-time-series' = 'analysis-time-interval cdb-name compartment-id compartment-id-in-subtree database-id defined-tag-equals defined-tag-exists exadata-insight-id freeform-tag-equals freeform-tag-exists from-json help host-name id page sql-identifier time-interval-end time-interval-start vmcluster-name'
|
|
126
131
|
'opsi database-insights summarize-sql-statistics-time-series-by-plan' = 'analysis-time-interval compartment-id database-id from-json help id page sql-identifier time-interval-end time-interval-start'
|
|
132
|
+
'opsi database-insights synchronize-autonomous-database-to-exadata' = 'compartment-id database-id entity-source exadata-insight-id from-json help id if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
133
|
+
'opsi database-insights test-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials' = 'connection-credential-details-credential-source-name connection-details database-id from-json help id management-agent-id max-wait-seconds named-credential-id wait-for-state wait-interval-seconds'
|
|
127
134
|
'opsi database-insights test-macs-managed-cloud-database-insight-connection-credential-by-iam' = 'connection-credential-details-credential-source-name connection-details database-id from-json help id management-agent-id max-wait-seconds wait-for-state wait-interval-seconds'
|
|
128
135
|
'opsi database-insights test-macs-managed-cloud-database-insight-connection-credential-by-vault' = 'connection-details credential-source-name database-id from-json help id management-agent-id max-wait-seconds password-secret-id role user-name wait-for-state wait-interval-seconds wallet-secret-id'
|
|
129
136
|
'opsi database-insights update-autonomous-db' = 'database-insight-id defined-tags force freeform-tags from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
130
137
|
'opsi database-insights update-em-external-db' = 'database-insight-id defined-tags force freeform-tags from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
131
138
|
'opsi database-insights update-external-mysql-database-insight' = 'database-insight-id defined-tags force freeform-tags from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
132
139
|
'opsi database-insights update-macs-external-db' = 'database-insight-id defined-tags force freeform-tags from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
140
|
+
'opsi database-insights update-macs-managed-autonomous-database-insight' = 'database-insight-id defined-tags force freeform-tags from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
133
141
|
'opsi database-insights update-macs-managed-cloud-database-insight' = 'database-insight-id defined-tags force freeform-tags from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
134
142
|
'opsi database-insights update-mds-my-sql-database' = 'database-insight-id defined-tags force freeform-tags from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
135
143
|
'opsi database-insights update-pe-comanaged-database' = 'database-insight-id defined-tags force freeform-tags from-json help if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
@@ -201,11 +209,11 @@ function GetOciCommandsToLongParams_opsi() {
|
|
|
201
209
|
'opsi host-insights update-macs-cloud-host' = 'defined-tags force freeform-tags from-json help host-insight-id if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
202
210
|
'opsi host-insights update-macs-external-host' = 'defined-tags force freeform-tags from-json help host-insight-id if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
203
211
|
'opsi host-insights update-macs-managed-database-host-insight' = 'defined-tags force freeform-tags from-json help host-insight-id if-match max-wait-seconds wait-for-state wait-interval-seconds'
|
|
204
|
-
'opsi news-report list' = 'all compartment-id compartment-id-in-subtree from-json help lifecycle-state limit news-report-id page page-size sort-by sort-order status'
|
|
205
212
|
'opsi news-reports change' = 'compartment-id from-json help if-match max-wait-seconds news-report-id wait-for-state wait-interval-seconds'
|
|
206
213
|
'opsi news-reports create' = 'are-child-compartments-included compartment-id content-types day-of-week defined-tags description freeform-tags from-json help locale match-rule max-wait-seconds name news-frequency ons-topic-id status tag-filters wait-for-state wait-interval-seconds'
|
|
207
214
|
'opsi news-reports delete' = 'force from-json help if-match max-wait-seconds news-report-id wait-for-state wait-interval-seconds'
|
|
208
215
|
'opsi news-reports get' = 'from-json help news-report-id'
|
|
216
|
+
'opsi news-reports list' = 'all compartment-id compartment-id-in-subtree from-json help lifecycle-state limit news-report-id page page-size sort-by sort-order status'
|
|
209
217
|
'opsi news-reports update' = 'are-child-compartments-included content-types day-of-week defined-tags description force freeform-tags from-json help if-match locale match-rule max-wait-seconds name news-frequency news-report-id ons-topic-id status tag-filters wait-for-state wait-interval-seconds'
|
|
210
218
|
'opsi operations-insights-warehouse-users create' = 'compartment-id connection-password defined-tags freeform-tags from-json help is-awr-data-access is-em-data-access is-opsi-data-access max-wait-seconds name operations-insights-warehouse-id wait-for-state wait-interval-seconds'
|
|
211
219
|
'opsi operations-insights-warehouse-users delete' = 'force from-json help if-match max-wait-seconds operations-insights-warehouse-user-id wait-for-state wait-interval-seconds'
|
|
@@ -287,12 +295,17 @@ function GetOciCommandsToShortParams_opsi() {
|
|
|
287
295
|
'opsi database-insights change-autonomous-database-insight-advanced-features-credential-by-iam' = '? h'
|
|
288
296
|
'opsi database-insights change-autonomous-database-insight-advanced-features-credential-by-vault' = '? h'
|
|
289
297
|
'opsi database-insights change-external-mysql' = '? h'
|
|
298
|
+
'opsi database-insights change-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials' = '? h'
|
|
299
|
+
'opsi database-insights change-macs-managed-autonomous-database-insight-connection-credential-by-vault' = '? h'
|
|
300
|
+
'opsi database-insights change-macs-managed-autonomous-database-insight-connection-credentials-by-source' = '? h'
|
|
290
301
|
'opsi database-insights change-macs-managed-cloud-database-insight-connection-credential-by-iam' = '? h'
|
|
302
|
+
'opsi database-insights change-macs-managed-cloud-database-insight-connection-credential-by-named-credentials' = '? h'
|
|
291
303
|
'opsi database-insights change-macs-managed-cloud-database-insight-connection-credential-by-vault' = '? h'
|
|
292
304
|
'opsi database-insights change-pe-comanaged-database-detail' = '? h'
|
|
293
305
|
'opsi database-insights create-autonomous-database' = '? c h'
|
|
294
306
|
'opsi database-insights create-em-external-db' = '? c h'
|
|
295
307
|
'opsi database-insights create-external-mysql-database-insight' = '? c h'
|
|
308
|
+
'opsi database-insights create-macs-managed-autonomous-database-insight' = '? c h'
|
|
296
309
|
'opsi database-insights create-macs-managed-cloud-database-insight' = '? c h'
|
|
297
310
|
'opsi database-insights create-mds-my-sql-database' = '? c h'
|
|
298
311
|
'opsi database-insights create-pe-comanged-database' = '? c h'
|
|
@@ -304,6 +317,7 @@ function GetOciCommandsToShortParams_opsi() {
|
|
|
304
317
|
'opsi database-insights enable-autonomous-database-insight-advanced-features-credential-by-vault' = '? h'
|
|
305
318
|
'opsi database-insights enable-em-external-db' = '? h'
|
|
306
319
|
'opsi database-insights enable-external-mysql-database-insight' = '? h'
|
|
320
|
+
'opsi database-insights enable-macs-managed-autonomous-database-insight' = '? c h'
|
|
307
321
|
'opsi database-insights enable-macs-managed-cloud-database-insight' = '? c h'
|
|
308
322
|
'opsi database-insights enable-mds-my-sql-database' = '? h'
|
|
309
323
|
'opsi database-insights enable-pe-comanaged-database' = '? c h'
|
|
@@ -346,12 +360,15 @@ function GetOciCommandsToShortParams_opsi() {
|
|
|
346
360
|
'opsi database-insights summarize-sql-statistics' = '? c h'
|
|
347
361
|
'opsi database-insights summarize-sql-statistics-time-series' = '? c h'
|
|
348
362
|
'opsi database-insights summarize-sql-statistics-time-series-by-plan' = '? c h'
|
|
363
|
+
'opsi database-insights synchronize-autonomous-database-to-exadata' = '? c h'
|
|
364
|
+
'opsi database-insights test-macs-managed-autonomous-database-insight-connection-credential-by-named-credentials' = '? h'
|
|
349
365
|
'opsi database-insights test-macs-managed-cloud-database-insight-connection-credential-by-iam' = '? h'
|
|
350
366
|
'opsi database-insights test-macs-managed-cloud-database-insight-connection-credential-by-vault' = '? h'
|
|
351
367
|
'opsi database-insights update-autonomous-db' = '? h'
|
|
352
368
|
'opsi database-insights update-em-external-db' = '? h'
|
|
353
369
|
'opsi database-insights update-external-mysql-database-insight' = '? h'
|
|
354
370
|
'opsi database-insights update-macs-external-db' = '? h'
|
|
371
|
+
'opsi database-insights update-macs-managed-autonomous-database-insight' = '? h'
|
|
355
372
|
'opsi database-insights update-macs-managed-cloud-database-insight' = '? h'
|
|
356
373
|
'opsi database-insights update-mds-my-sql-database' = '? h'
|
|
357
374
|
'opsi database-insights update-pe-comanaged-database' = '? h'
|
|
@@ -423,11 +440,11 @@ function GetOciCommandsToShortParams_opsi() {
|
|
|
423
440
|
'opsi host-insights update-macs-cloud-host' = '? h'
|
|
424
441
|
'opsi host-insights update-macs-external-host' = '? h'
|
|
425
442
|
'opsi host-insights update-macs-managed-database-host-insight' = '? h'
|
|
426
|
-
'opsi news-report list' = '? c h'
|
|
427
443
|
'opsi news-reports change' = '? c h'
|
|
428
444
|
'opsi news-reports create' = '? c h'
|
|
429
445
|
'opsi news-reports delete' = '? h'
|
|
430
446
|
'opsi news-reports get' = '? h'
|
|
447
|
+
'opsi news-reports list' = '? c h'
|
|
431
448
|
'opsi news-reports update' = '? h'
|
|
432
449
|
'opsi operations-insights-warehouse-users create' = '? c h'
|
|
433
450
|
'opsi operations-insights-warehouse-users delete' = '? h'
|
oci_cli/cli_util.py
CHANGED
|
@@ -434,6 +434,8 @@ def create_config_and_signer_based_on_click_context(ctx):
|
|
|
434
434
|
# OCI_RESOURCE_PRINCIPAL_REGION
|
|
435
435
|
# OCI_KUBERNETES_SERVICE_ACCOUNT_TOKEN_PATH or OCI_KUBERNETES_SERVICE_ACCOUNT_TOKEN_STRING in case token path other than default "/var/run/secrets/kubernetes.io/serviceaccount/token" or token string is used
|
|
436
436
|
|
|
437
|
+
if ctx.obj['region']:
|
|
438
|
+
client_config["region"] = ctx.obj['region']
|
|
437
439
|
if ctx.obj['debug']:
|
|
438
440
|
logger.debug("auth: oke_workload_identity")
|
|
439
441
|
|
|
@@ -53,6 +53,18 @@ Optional Parameters
|
|
|
53
53
|
|
|
54
54
|
The compartment identifier.
|
|
55
55
|
|
|
56
|
+
--document-page-range [complex type]
|
|
57
|
+
|
|
58
|
+
The page ranges to be analysed. This is a complex type whose value
|
|
59
|
+
must be valid JSON. The value can be provided as a string on the
|
|
60
|
+
command line or passed in as a file using the file://path/to/file
|
|
61
|
+
syntax.
|
|
62
|
+
|
|
63
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
64
|
+
example of the JSON which must be provided. We recommend storing this
|
|
65
|
+
example in a file, modifying it as needed and then passing it back in
|
|
66
|
+
via the file:// syntax.
|
|
67
|
+
|
|
56
68
|
--document-type [text]
|
|
57
69
|
|
|
58
70
|
The document type.
|
|
@@ -61,6 +61,18 @@ Optional Parameters
|
|
|
61
61
|
|
|
62
62
|
The compartment identifier.
|
|
63
63
|
|
|
64
|
+
--document-page-range [complex type]
|
|
65
|
+
|
|
66
|
+
The page ranges to be analysed. This is a complex type whose value
|
|
67
|
+
must be valid JSON. The value can be provided as a string on the
|
|
68
|
+
command line or passed in as a file using the file://path/to/file
|
|
69
|
+
syntax.
|
|
70
|
+
|
|
71
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
72
|
+
example of the JSON which must be provided. We recommend storing this
|
|
73
|
+
example in a file, modifying it as needed and then passing it back in
|
|
74
|
+
via the file:// syntax.
|
|
75
|
+
|
|
64
76
|
--document-type [text]
|
|
65
77
|
|
|
66
78
|
The document type.
|
|
@@ -122,12 +122,21 @@ For examples on usage of this option, please see our “using CLI with
|
|
|
122
122
|
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
123
123
|
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
124
124
|
|
|
125
|
+
--inference-units [integer]
|
|
126
|
+
|
|
127
|
+
Number of replicas required for this model.
|
|
128
|
+
|
|
125
129
|
--is-quick-mode [boolean]
|
|
126
130
|
|
|
127
131
|
Set to true when experimenting with a new model type or dataset, so
|
|
128
132
|
the model training is quick, with a predefined low number of passes
|
|
129
133
|
through the training data.
|
|
130
134
|
|
|
135
|
+
--language [text]
|
|
136
|
+
|
|
137
|
+
The document language for model training, abbreviated according to the
|
|
138
|
+
BCP 47 syntax.
|
|
139
|
+
|
|
131
140
|
--max-training-time-in-hours [text]
|
|
132
141
|
|
|
133
142
|
The maximum model training time in hours, expressed as a decimal
|
|
@@ -138,6 +147,19 @@ fraction.
|
|
|
138
147
|
The maximum time to wait for the work request to reach the state
|
|
139
148
|
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
140
149
|
|
|
150
|
+
--model-sub-type [complex type]
|
|
151
|
+
|
|
152
|
+
Applicable to only PRE_TRAINED_KEY_VALUE_EXTRACTION,
|
|
153
|
+
PRE_TRAINED_DOCUMENT_ELEMENTS_EXTRACTION. This is a complex type whose
|
|
154
|
+
value must be valid JSON. The value can be provided as a string on the
|
|
155
|
+
command line or passed in as a file using the file://path/to/file
|
|
156
|
+
syntax.
|
|
157
|
+
|
|
158
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
159
|
+
example of the JSON which must be provided. We recommend storing this
|
|
160
|
+
example in a file, modifying it as needed and then passing it back in
|
|
161
|
+
via the file:// syntax.
|
|
162
|
+
|
|
141
163
|
--model-version [text]
|
|
142
164
|
|
|
143
165
|
The model version
|
|
@@ -105,6 +105,10 @@ previous GET or POST response for that resource. The resource will be
|
|
|
105
105
|
updated or deleted only if the etag you provide matches the resource’s
|
|
106
106
|
current etag value.
|
|
107
107
|
|
|
108
|
+
--inference-units [integer]
|
|
109
|
+
|
|
110
|
+
Number of replicas required for this model.
|
|
111
|
+
|
|
108
112
|
--is-lock-override [boolean]
|
|
109
113
|
|
|
110
114
|
Whether to override locks (if any exist).
|
oci_cli/help_text_producer/data_files/text/cmdref/ai-document/model-type-info/get-model-type.txt
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"get-model-type"
|
|
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
|
+
Gets model capabilities
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
=====
|
|
25
|
+
|
|
26
|
+
oci ai-document model-type-info get-model-type [OPTIONS]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Required Parameters
|
|
30
|
+
===================
|
|
31
|
+
|
|
32
|
+
--model-type [text]
|
|
33
|
+
|
|
34
|
+
The type of the Document model.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
Optional Parameters
|
|
38
|
+
===================
|
|
39
|
+
|
|
40
|
+
--compartment-id, -c [text]
|
|
41
|
+
|
|
42
|
+
The ID of the compartment in which to list resources.
|
|
43
|
+
|
|
44
|
+
--from-json [text]
|
|
45
|
+
|
|
46
|
+
Provide input to this command as a JSON document from a file using the
|
|
47
|
+
file://path-to/file syntax.
|
|
48
|
+
|
|
49
|
+
The "--generate-full-command-json-input" option can be used to
|
|
50
|
+
generate a sample json file to be used with this command option. The
|
|
51
|
+
key names are pre-populated and match the command option names
|
|
52
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
53
|
+
while the values of the keys need to be populated by the user before
|
|
54
|
+
using the sample file as an input to this command. For any command
|
|
55
|
+
option that accepts multiple values, the value of the key can be a
|
|
56
|
+
JSON array.
|
|
57
|
+
|
|
58
|
+
Options can still be provided on the command line. If an option exists
|
|
59
|
+
in both the JSON document and the command line then the command line
|
|
60
|
+
specified value will be used.
|
|
61
|
+
|
|
62
|
+
For examples on usage of this option, please see our “using CLI with
|
|
63
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
64
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
65
|
+
|
|
66
|
+
--model-sub-type [text]
|
|
67
|
+
|
|
68
|
+
The sub type based upon model selected.
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
Global Parameters
|
|
72
|
+
=================
|
|
73
|
+
|
|
74
|
+
Use "oci --help" for help on global parameters.
|
|
75
|
+
|
|
76
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
77
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
78
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
79
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
80
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
81
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
82
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
83
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
Example using required parameter
|
|
87
|
+
================================
|
|
88
|
+
|
|
89
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
90
|
+
command by typing “bash example.sh” and replacing the example
|
|
91
|
+
parameters with your own.
|
|
92
|
+
|
|
93
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
94
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
95
|
+
security policies before trying the examples.
|
|
96
|
+
|
|
97
|
+
export model_type=<substitute-value-of-model_type> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ai-document/model-type-info/get-model-type.html#cmdoption-model-type
|
|
98
|
+
|
|
99
|
+
oci ai-document model-type-info get-model-type --model-type $model_type
|
|
@@ -89,6 +89,18 @@ For examples on usage of this option, please see our “using CLI with
|
|
|
89
89
|
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
90
90
|
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
91
91
|
|
|
92
|
+
--input-location-page-range [complex type]
|
|
93
|
+
|
|
94
|
+
The page ranges to be analysed. This is a complex type whose value
|
|
95
|
+
must be valid JSON. The value can be provided as a string on the
|
|
96
|
+
command line or passed in as a file using the file://path/to/file
|
|
97
|
+
syntax.
|
|
98
|
+
|
|
99
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
100
|
+
example of the JSON which must be provided. We recommend storing this
|
|
101
|
+
example in a file, modifying it as needed and then passing it back in
|
|
102
|
+
via the file:// syntax.
|
|
103
|
+
|
|
92
104
|
--max-wait-seconds [integer]
|
|
93
105
|
|
|
94
106
|
The maximum time to wait for the resource to reach the lifecycle state
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
"create-processor-job-invoice-processor-config"
|
|
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
|
+
Create a processor job for document analysis.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
=====
|
|
25
|
+
|
|
26
|
+
oci ai-document processor-job create-processor-job-invoice-processor-config [OPTIONS]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Required Parameters
|
|
30
|
+
===================
|
|
31
|
+
|
|
32
|
+
--compartment-id, -c [text]
|
|
33
|
+
|
|
34
|
+
The compartment identifier.
|
|
35
|
+
|
|
36
|
+
--input-location [complex type]
|
|
37
|
+
|
|
38
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
39
|
+
be provided as a string on the command line or passed in as a file
|
|
40
|
+
using the file://path/to/file syntax.
|
|
41
|
+
|
|
42
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
43
|
+
example of the JSON which must be provided. We recommend storing this
|
|
44
|
+
example in a file, modifying it as needed and then passing it back in
|
|
45
|
+
via the file:// syntax.
|
|
46
|
+
|
|
47
|
+
--output-location [complex type]
|
|
48
|
+
|
|
49
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
50
|
+
be provided as a string on the command line or passed in as a file
|
|
51
|
+
using the file://path/to/file syntax.
|
|
52
|
+
|
|
53
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
54
|
+
example of the JSON which must be provided. We recommend storing this
|
|
55
|
+
example in a file, modifying it as needed and then passing it back in
|
|
56
|
+
via the file:// syntax.
|
|
57
|
+
|
|
58
|
+
--processor-config-normalization-fields [complex type]
|
|
59
|
+
|
|
60
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
61
|
+
be provided as a string on the command line or passed in as a file
|
|
62
|
+
using the file://path/to/file syntax.
|
|
63
|
+
|
|
64
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
65
|
+
example of the JSON which must be provided. We recommend storing this
|
|
66
|
+
example in a file, modifying it as needed and then passing it back in
|
|
67
|
+
via the file:// syntax.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
Optional Parameters
|
|
71
|
+
===================
|
|
72
|
+
|
|
73
|
+
--display-name [text]
|
|
74
|
+
|
|
75
|
+
The display name of the processor job.
|
|
76
|
+
|
|
77
|
+
--from-json [text]
|
|
78
|
+
|
|
79
|
+
Provide input to this command as a JSON document from a file using the
|
|
80
|
+
file://path-to/file syntax.
|
|
81
|
+
|
|
82
|
+
The "--generate-full-command-json-input" option can be used to
|
|
83
|
+
generate a sample json file to be used with this command option. The
|
|
84
|
+
key names are pre-populated and match the command option names
|
|
85
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
86
|
+
while the values of the keys need to be populated by the user before
|
|
87
|
+
using the sample file as an input to this command. For any command
|
|
88
|
+
option that accepts multiple values, the value of the key can be a
|
|
89
|
+
JSON array.
|
|
90
|
+
|
|
91
|
+
Options can still be provided on the command line. If an option exists
|
|
92
|
+
in both the JSON document and the command line then the command line
|
|
93
|
+
specified value will be used.
|
|
94
|
+
|
|
95
|
+
For examples on usage of this option, please see our “using CLI with
|
|
96
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
97
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
98
|
+
|
|
99
|
+
--max-wait-seconds [integer]
|
|
100
|
+
|
|
101
|
+
The maximum time to wait for the resource to reach the lifecycle state
|
|
102
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
103
|
+
|
|
104
|
+
--processor-config-model-id [text]
|
|
105
|
+
|
|
106
|
+
Unique identifier custom model OCID that should be used for inference.
|
|
107
|
+
|
|
108
|
+
--wait-for-state [text]
|
|
109
|
+
|
|
110
|
+
This operation creates, modifies or deletes a resource that has a
|
|
111
|
+
defined lifecycle state. Specify this option to perform the action and
|
|
112
|
+
then wait until the resource reaches a given lifecycle state. Multiple
|
|
113
|
+
states can be specified, returning on the first state. For example, "
|
|
114
|
+
--wait-for-state" SUCCEEDED "--wait-for-state" FAILED would return on
|
|
115
|
+
whichever lifecycle state is reached first. If timeout is reached, a
|
|
116
|
+
return code of 2 is returned. For any other error, a return code of 1
|
|
117
|
+
is returned.
|
|
118
|
+
|
|
119
|
+
Accepted values are:
|
|
120
|
+
|
|
121
|
+
ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, SUCCEEDED
|
|
122
|
+
|
|
123
|
+
--wait-interval-seconds [integer]
|
|
124
|
+
|
|
125
|
+
Check every "--wait-interval-seconds" to see whether the resource has
|
|
126
|
+
reached the lifecycle state defined by "--wait-for-state". Defaults to
|
|
127
|
+
30 seconds.
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
Global Parameters
|
|
131
|
+
=================
|
|
132
|
+
|
|
133
|
+
Use "oci --help" for help on global parameters.
|
|
134
|
+
|
|
135
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
136
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
137
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
138
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
139
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
140
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
141
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
142
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
Example using required parameter
|
|
146
|
+
================================
|
|
147
|
+
|
|
148
|
+
Copy and paste the following example into a JSON file, replacing the
|
|
149
|
+
example parameters with your own.
|
|
150
|
+
|
|
151
|
+
oci ai-document processor-job create-processor-job-invoice-processor-config --generate-param-json-input input-location > input-location.json
|
|
152
|
+
oci ai-document processor-job create-processor-job-invoice-processor-config --generate-param-json-input output-location > output-location.json
|
|
153
|
+
oci ai-document processor-job create-processor-job-invoice-processor-config --generate-param-json-input processor-config-normalization-fields > processor-config-normalization-fields.json
|
|
154
|
+
|
|
155
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
156
|
+
command by typing “bash example.sh” and replacing the example
|
|
157
|
+
parameters with your own.
|
|
158
|
+
|
|
159
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
160
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
161
|
+
security policies before trying the examples.
|
|
162
|
+
|
|
163
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/ai-document/processor-job/create-processor-job-invoice-processor-config.html#cmdoption-compartment-id
|
|
164
|
+
|
|
165
|
+
oci ai-document processor-job create-processor-job-invoice-processor-config --compartment-id $compartment_id --input-location file://input-location.json --output-location file://output-location.json --processor-config-normalization-fields file://processor-config-normalization-fields.json
|
|
@@ -41,6 +41,10 @@ Available Commands
|
|
|
41
41
|
|
|
42
42
|
* update
|
|
43
43
|
|
|
44
|
+
* model-type-info
|
|
45
|
+
|
|
46
|
+
* get-model-type
|
|
47
|
+
|
|
44
48
|
* processor-job
|
|
45
49
|
|
|
46
50
|
* cancel
|
|
@@ -51,6 +55,8 @@ Available Commands
|
|
|
51
55
|
|
|
52
56
|
* create-processor-job-inline-document-content
|
|
53
57
|
|
|
58
|
+
* create-processor-job-invoice-processor-config
|
|
59
|
+
|
|
54
60
|
* create-processor-job-object-storage-locations
|
|
55
61
|
|
|
56
62
|
* get
|
|
@@ -85,10 +85,6 @@ option or kubeconfig file at default location if –file is not used.
|
|
|
85
85
|
|
|
86
86
|
--token-version [text]
|
|
87
87
|
|
|
88
|
-
The version of the kubeconfig token. Supported value 2.0.0
|
|
89
|
-
|
|
90
|
-
--token-version [text]
|
|
91
|
-
|
|
92
88
|
The version of the kubeconfig token. Supported value is 2.0.0
|
|
93
89
|
|
|
94
90
|
Accepted values are:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"list"
|
|
2
|
-
|
|
1
|
+
"list-errors"
|
|
2
|
+
*************
|
|
3
3
|
|
|
4
4
|
* Description
|
|
5
5
|
|
|
@@ -24,7 +24,7 @@ given ID.
|
|
|
24
24
|
Usage
|
|
25
25
|
=====
|
|
26
26
|
|
|
27
|
-
oci delegate-access-control work-request work-request-error list [OPTIONS]
|
|
27
|
+
oci delegate-access-control work-request work-request-error list-errors [OPTIONS]
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
Required Parameters
|
|
@@ -123,6 +123,6 @@ Please note this sample will only work in the POSIX-compliant bash-
|
|
|
123
123
|
like shell. You need to set up the OCI configuration and appropriate
|
|
124
124
|
security policies before trying the examples.
|
|
125
125
|
|
|
126
|
-
export work_request_id=<substitute-value-of-work_request_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/delegate-access-control/work-request/work-request-error/list.html#cmdoption-work-request-id
|
|
126
|
+
export work_request_id=<substitute-value-of-work_request_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/delegate-access-control/work-request/work-request-error/list-errors.html#cmdoption-work-request-id
|
|
127
127
|
|
|
128
|
-
oci delegate-access-control work-request work-request-error list --work-request-id $work_request_id
|
|
128
|
+
oci delegate-access-control work-request work-request-error list-errors --work-request-id $work_request_id
|