oci-cli 3.64.1__py3-none-any.whl → 3.65.0__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/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-create-autonomous-container-database-from-backup-details.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database-backup/list.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association/create/with-new-db-system.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-from-backup.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-standby-database.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/update.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exadb-vm-cluster/create.txt +9 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/list.txt +21 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/gi-version/list.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-backup.txt +42 -27
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-database.txt +42 -27
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-db-system.txt +42 -27
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch.txt +42 -27
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/list-db-system-storage-performances.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/update.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/system-shape/list.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/version/list.txt +5 -0
- 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-entry/{list-work-request-logs.txt → list-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log-entry.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/goldengate/deployment/create.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/list.txt +9 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/update.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/delete.txt → kafka/cluster/change-compartment.txt} +15 -20
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/virtual-service → kafka/cluster}/create.txt +78 -66
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster}/delete.txt +7 -12
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance/install-all-windows-updates.txt → kafka/cluster/disable-superuser.txt} +17 -17
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/change-compartment.txt → kafka/cluster/enable-superuser.txt} +17 -18
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/erratum → kafka/cluster}/get.txt +6 -6
- oci_cli/help_text_producer/data_files/text/cmdref/{dts/export → kafka/cluster}/list.txt +36 -23
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → kafka/cluster}/update.txt +68 -45
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster-config}/change-compartment.txt +10 -10
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → kafka/cluster-config}/create.txt +30 -33
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance-group → kafka/cluster-config}/delete.txt +7 -10
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/windows-update → kafka/cluster-config}/get.txt +6 -6
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → kafka/cluster-config}/list.txt +25 -30
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → kafka/cluster-config}/update.txt +40 -30
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/work-request/cancel.txt → kafka/cluster-config-version/delete.txt} +12 -7
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster-config-version}/get.txt +11 -8
- oci_cli/help_text_producer/data_files/text/cmdref/{dts/job → kafka/cluster-config-version}/list.txt +25 -23
- oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster-config-version.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster-config.txt +29 -0
- oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster.txt +33 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/cancel.txt +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/get.txt +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/list.txt +26 -31
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/work-request/list-work-request-errors.txt → kafka/work-request-error/list.txt} +16 -13
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection → kafka}/work-request-error.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/work-request → kafka/work-request-log-entry}/list-work-request-logs.txt +14 -11
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection → kafka}/work-request-log-entry.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/kafka/work-request.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/kafka.txt +69 -0
- 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.txt +1 -1
- oci_cli/help_text_producer/data_files/text/index.txt +2 -8
- oci_cli/service_mapping.py +5 -20
- oci_cli/version.py +1 -1
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/METADATA +2 -2
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/RECORD +85 -470
- services/cims/src/oci_cli_incident/cims_cli_extended.py +1 -1
- services/database/src/oci_cli_database/database_cli_extended.py +56 -1
- services/database/src/oci_cli_database/generated/database_cli.py +159 -61
- services/golden_gate/src/oci_cli_golden_gate/generated/goldengate_cli.py +22 -3
- services/{ai_anomaly_detection → managed_kafka}/__init__.py +1 -1
- services/{ai_anomaly_detection → managed_kafka}/src/__init__.py +1 -1
- services/{ai_anomaly_detection/src/oci_cli_anomaly_detection → managed_kafka/src/oci_cli_kafka_cluster}/__init__.py +1 -1
- services/{ai_anomaly_detection/src/oci_cli_anomaly_detection → managed_kafka/src/oci_cli_kafka_cluster}/generated/__init__.py +1 -1
- services/{os_management/src/oci_cli_os_management → managed_kafka/src/oci_cli_kafka_cluster}/generated/client_mappings.py +6 -6
- services/managed_kafka/src/oci_cli_kafka_cluster/generated/kafkacluster_cli.py +1254 -0
- services/managed_kafka/src/oci_cli_kafka_cluster/kafkacluster_cli_extended.py +46 -0
- services/managed_kafka/tests/__init__.py +4 -0
- oci_cli/bin/dts.psm1 +0 -147
- oci_cli/bin/os-management.psm1 +0 -140
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/change-compartment.txt +0 -138
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-atp.txt +0 -207
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-influx.txt +0 -198
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-os.txt +0 -174
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/delete.txt +0 -138
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/get.txt +0 -100
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/list.txt +0 -146
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset.txt +0 -30
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/change-compartment.txt +0 -119
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-embedded-input-details.txt +0 -144
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-inline-input-details.txt +0 -185
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-object-list-input-details.txt +0 -173
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-object-store-output-details.txt +0 -175
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create.txt +0 -173
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/delete.txt +0 -143
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/get.txt +0 -105
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/update.txt +0 -147
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job-collection/list-detect-anomaly-jobs.txt +0 -155
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job-collection.txt +0 -15
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job.txt +0 -31
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/change-compartment.txt +0 -113
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/create.txt +0 -174
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/delete.txt +0 -140
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies-embedded.txt +0 -124
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies-inline.txt +0 -139
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies.txt +0 -125
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/get.txt +0 -100
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/list.txt +0 -148
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/update.txt +0 -173
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model.txt +0 -30
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/change-compartment.txt +0 -138
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/create.txt +0 -170
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/delete.txt +0 -137
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/get.txt +0 -99
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/list.txt +0 -147
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/update.txt +0 -180
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe.txt +0 -25
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/create.txt +0 -152
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/list.txt +0 -144
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/update.txt +0 -166
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project.txt +0 -24
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request/get.txt +0 -91
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request/list.txt +0 -114
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request-error/list.txt +0 -110
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request-log-entry/list-work-request-logs.txt +0 -110
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request.txt +0 -18
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection.txt +0 -125
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/cancel.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/delete.txt +0 -105
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/get-passphrase.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/list.txt +0 -100
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/never-receive.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request-entitlement.txt +0 -189
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request-return-label.txt +0 -249
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request.txt +0 -188
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/setup-notifications.txt +0 -63
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/show-entitlement.txt +0 -113
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/show.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/update-minimum-storage-capacity.txt +0 -107
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/update-shipping-address.txt +0 -154
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance.txt +0 -38
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/change-compartment.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/configure-physical-appliance.txt +0 -114
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/create-policy.txt +0 -68
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/create.txt +0 -226
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/delete.txt +0 -132
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/generate-manifest.txt +0 -97
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/get-passphrase.txt +0 -68
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/request-appliance.txt +0 -68
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/request-return-label.txt +0 -245
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/setup-notifications.txt +0 -51
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/show.txt +0 -96
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/update.txt +0 -265
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export.txt +0 -38
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/change-compartment.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/close.txt +0 -96
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/create.txt +0 -192
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/delete.txt +0 -100
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/detach-devices-details/change-compartment.txt +0 -102
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/detach-devices-details.txt +0 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/setup-notifications.txt +0 -68
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/show.txt +0 -96
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/update.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/verify-upload-user-credentials.txt +0 -91
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job.txt +0 -34
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/activate.txt +0 -93
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/create.txt +0 -93
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/deactivate.txt +0 -77
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/delete.txt +0 -77
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/get-seal-manifest.txt +0 -81
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/list.txt +0 -67
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/reopen.txt +0 -77
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/seal-status.txt +0 -77
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/seal.txt +0 -75
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/set-export.txt +0 -93
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/show.txt +0 -77
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset.txt +0 -34
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/configure-encryption.txt +0 -81
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/finalize.txt +0 -89
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/initialize-authentication.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/list.txt +0 -63
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/show.txt +0 -67
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/unlock.txt +0 -75
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/unregister.txt +0 -67
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance.txt +0 -26
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/configured.txt +0 -111
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/copied.txt +0 -105
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/monitored.txt +0 -102
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/prepared.txt +0 -104
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/shipped.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify.txt +0 -22
- oci_cli/help_text_producer/data_files/text/cmdref/dts.txt +0 -144
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum-summary/list-errata.txt +0 -310
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum-summary.txt +0 -15
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum.txt +0 -14
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/delete-content.txt +0 -113
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/get-content.txt +0 -108
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/get-report.txt +0 -270
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/list-related-events.txt +0 -307
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/list.txt +0 -319
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/update.txt +0 -139
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/upload-content.txt +0 -110
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event.txt +0 -27
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/attach-child.txt +0 -102
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/attach-parent.txt +0 -104
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/detach-child.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/detach-parent.txt +0 -102
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/disable-module-stream.txt +0 -138
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/enable-module-stream.txt +0 -139
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/get.txt +0 -91
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-all-updates.txt +0 -125
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-module-profile.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-package.txt +0 -123
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-update.txt +0 -123
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-windows-update.txt +0 -124
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-packages.txt +0 -142
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-software-sources.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-updates.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-windows-updates.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-installed-packages.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-installed-windows-updates.txt +0 -142
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-managed-instance-errata.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-module-profiles.txt +0 -210
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-module-streams.txt +0 -210
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list.txt +0 -144
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/remove-module-profile.txt +0 -142
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/remove-package.txt +0 -123
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/switch-module-stream.txt +0 -138
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/attach.txt +0 -102
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/change-compartment.txt +0 -107
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/create.txt +0 -163
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/detach.txt +0 -99
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/get.txt +0 -94
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/install-all-updates.txt +0 -128
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/list.txt +0 -152
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/update.txt +0 -166
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group.txt +0 -30
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance.txt +0 -64
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile/get.txt +0 -137
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile/list.txt +0 -189
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile.txt +0 -16
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream/get.txt +0 -132
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream/list.txt +0 -188
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream.txt +0 -16
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/change-compartment.txt +0 -110
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/create.txt +0 -357
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/delete.txt +0 -135
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/get.txt +0 -97
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/list-upcoming.txt +0 -251
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/list.txt +0 -174
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/run-now.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/skip-next-execution.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/update.txt +0 -323
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job.txt +0 -30
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/add-packages.txt +0 -111
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/change-compartment.txt +0 -108
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/create.txt +0 -187
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/delete.txt +0 -133
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/get-package.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/get.txt +0 -95
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/list-packages.txt +0 -145
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/list.txt +0 -144
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/remove-packages.txt +0 -112
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/search-packages.txt +0 -124
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/update.txt +0 -187
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source.txt +0 -34
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/update-managed-instance-details/update-managed-instance.txt +0 -107
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/update-managed-instance-details.txt +0 -14
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/windows-update/list.txt +0 -129
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/windows-update.txt +0 -16
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/get.txt +0 -91
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list-errors.txt +0 -128
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list-logs.txt +0 -128
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list.txt +0 -148
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request.txt +0 -20
- oci_cli/help_text_producer/data_files/text/cmdref/os-management.txt +0 -187
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/change-compartment.txt +0 -143
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/create.txt +0 -187
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/delete.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/get.txt +0 -103
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/update.txt +0 -193
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy.txt +0 -25
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/debug/report.txt +0 -60
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/debug.txt +0 -14
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/change-compartment.txt +0 -143
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/create.txt +0 -210
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/delete.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/get.txt +0 -103
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/update.txt +0 -215
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/change-compartment.txt +0 -147
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/create.txt +0 -197
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/delete.txt +0 -145
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/get.txt +0 -107
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/update.txt +0 -203
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table.txt +0 -25
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway.txt +0 -26
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh/create.txt +0 -190
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh/get.txt +0 -99
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh.txt +0 -27
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/proxy-details/get.txt +0 -79
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/proxy-details.txt +0 -14
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/change-compartment.txt +0 -143
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create-virtual-deployment-disabled-service-discovery-configuration.txt +0 -204
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create-virtual-deployment-dns-service-discovery-configuration.txt +0 -209
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create.txt +0 -215
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/delete.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/get.txt +0 -103
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update-virtual-deployment-disabled-service-discovery-configuration.txt +0 -204
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update-virtual-deployment-dns-service-discovery-configuration.txt +0 -209
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update.txt +0 -215
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment.txt +0 -33
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/change-compartment.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/delete.txt +0 -139
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/get.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/update.txt +0 -211
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/change-compartment.txt +0 -145
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/create.txt +0 -195
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/delete.txt +0 -143
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/get.txt +0 -105
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/update.txt +0 -201
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table.txt +0 -25
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service.txt +0 -27
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/work-request.txt +0 -22
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh.txt +0 -139
- services/ai_anomaly_detection/src/oci_cli_anomaly_detection/anomalydetection_cli_extended.py +0 -234
- services/ai_anomaly_detection/src/oci_cli_anomaly_detection/generated/anomalydetection_cli.py +0 -2665
- services/ai_anomaly_detection/src/oci_cli_anomaly_detection/generated/client_mappings.py +0 -14
- services/ai_anomaly_detection/tests/__init__.py +0 -4
- services/dts/__init__.py +0 -4
- services/dts/src/__init__.py +0 -4
- services/dts/src/oci_cli_appliance_export_job/__init__.py +0 -4
- services/dts/src/oci_cli_appliance_export_job/applianceexportjob_cli_extended.py +0 -582
- services/dts/src/oci_cli_appliance_export_job/applianceexportjob_constants.py +0 -11
- services/dts/src/oci_cli_appliance_export_job/generated/__init__.py +0 -4
- services/dts/src/oci_cli_appliance_export_job/generated/applianceexportjob_cli.py +0 -428
- services/dts/src/oci_cli_appliance_export_job/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_appliance_export_job/manifest/__init__.py +0 -3
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_constants.py +0 -12
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_iterator.py +0 -86
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_line_item.py +0 -22
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_stats.py +0 -93
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_stats_consumer.py +0 -15
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_writer.py +0 -117
- services/dts/src/oci_cli_appliance_export_job/manifest/object_uploader.py +0 -124
- services/dts/src/oci_cli_dts/__init__.py +0 -4
- services/dts/src/oci_cli_dts/appliance_auth_manager.py +0 -59
- services/dts/src/oci_cli_dts/appliance_cert_manager.py +0 -51
- services/dts/src/oci_cli_dts/appliance_client_proxy.py +0 -57
- services/dts/src/oci_cli_dts/appliance_config.py +0 -34
- services/dts/src/oci_cli_dts/appliance_config_manager.py +0 -145
- services/dts/src/oci_cli_dts/appliance_config_spec.py +0 -38
- services/dts/src/oci_cli_dts/appliance_constants.py +0 -35
- services/dts/src/oci_cli_dts/appliance_init_auth.py +0 -81
- services/dts/src/oci_cli_dts/appliance_init_auth_spec.py +0 -32
- services/dts/src/oci_cli_dts/base_client.py +0 -102
- services/dts/src/oci_cli_dts/cli_utils.py +0 -131
- services/dts/src/oci_cli_dts/dts_service_cli_extended.py +0 -95
- services/dts/src/oci_cli_dts/dts_transform.py +0 -31
- services/dts/src/oci_cli_dts/generated/__init__.py +0 -4
- services/dts/src/oci_cli_dts/generated/dts_service_cli.py +0 -14
- services/dts/src/oci_cli_dts/nfs_dataset_client_proxy.py +0 -85
- services/dts/src/oci_cli_dts/nfsdataset_cli_extended.py +0 -371
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/__init__.py +0 -3
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/__init__.py +0 -16
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/diagnose_tools_client.py +0 -163
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/diagnose_tools_client_composite_operations.py +0 -24
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/__init__.py +0 -28
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/dataset_seal_status.py +0 -282
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/details.py +0 -66
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_dataset_info.py +0 -191
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_dataset_spec.py +0 -93
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_export_config.py +0 -174
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_export_details.py +0 -66
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/object_storage_upload_config.py +0 -201
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/passphrase_details.py +0 -66
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/physical_transfer_appliance.py +0 -214
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client.py +0 -835
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client_composite_operations.py +0 -24
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client.py +0 -374
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client_composite_operations.py +0 -24
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/service_endpoints.py +0 -9
- services/dts/src/oci_cli_dts/physicalappliance_cli_extended.py +0 -590
- services/dts/src/oci_cli_dts/verify_cli_extended.py +0 -494
- services/dts/src/oci_cli_shipping_vendors/__init__.py +0 -4
- services/dts/src/oci_cli_shipping_vendors/generated/__init__.py +0 -4
- services/dts/src/oci_cli_shipping_vendors/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_shipping_vendors/generated/shippingvendors_cli.py +0 -49
- services/dts/src/oci_cli_transfer_appliance/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_appliance/generated/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_appliance/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_transfer_appliance/generated/transferappliance_cli.py +0 -364
- services/dts/src/oci_cli_transfer_appliance/transferappliance_cli_extended.py +0 -362
- services/dts/src/oci_cli_transfer_appliance_entitlement/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_appliance_entitlement/generated/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_appliance_entitlement/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_transfer_appliance_entitlement/generated/transferapplianceentitlement_cli.py +0 -155
- services/dts/src/oci_cli_transfer_appliance_entitlement/transferapplianceentitlement_cli_extended.py +0 -66
- services/dts/src/oci_cli_transfer_device/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_device/generated/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_device/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_transfer_device/generated/transferdevice_cli.py +0 -209
- services/dts/src/oci_cli_transfer_job/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_job/generated/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_job/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_transfer_job/generated/transferjob_cli.py +0 -368
- services/dts/src/oci_cli_transfer_job/transferjob_cli_extended.py +0 -281
- services/dts/src/oci_cli_transfer_package/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_package/generated/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_package/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_transfer_package/generated/transferpackage_cli.py +0 -326
- services/dts/tests/__init__.py +0 -4
- services/os_management/__init__.py +0 -4
- services/os_management/src/__init__.py +0 -4
- services/os_management/src/oci_cli_event/__init__.py +0 -4
- services/os_management/src/oci_cli_event/event_cli_extended.py +0 -34
- services/os_management/src/oci_cli_event/generated/__init__.py +0 -4
- services/os_management/src/oci_cli_event/generated/client_mappings.py +0 -14
- services/os_management/src/oci_cli_event/generated/event_cli.py +0 -430
- services/os_management/src/oci_cli_os_management/__init__.py +0 -4
- services/os_management/src/oci_cli_os_management/generated/__init__.py +0 -4
- services/os_management/src/oci_cli_os_management/generated/os_management_service_cli.py +0 -15
- services/os_management/src/oci_cli_os_management/generated/osmanagement_cli.py +0 -4009
- services/os_management/src/oci_cli_os_management/osmanagement_cli_extended.py +0 -244
- services/os_management/tests/__init__.py +0 -4
- services/service_mesh/__init__.py +0 -4
- services/service_mesh/src/__init__.py +0 -4
- services/service_mesh/src/oci_cli_service_mesh/__init__.py +0 -4
- services/service_mesh/src/oci_cli_service_mesh/generated/__init__.py +0 -4
- services/service_mesh/src/oci_cli_service_mesh/generated/client_mappings.py +0 -14
- services/service_mesh/src/oci_cli_service_mesh/generated/servicemesh_cli.py +0 -3306
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_cli_extended.py +0 -57
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/__init__.py +0 -76
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/aggregators/__init__.py +0 -3
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/aggregators/aggregation_orchestrator.py +0 -88
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/bundle_analyser.py +0 -163
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/event.py +0 -43
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/handlers/__init__.py +0 -3
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/handlers/debug_handler.py +0 -209
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/report_orchestrator.py +0 -82
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_orchestrator.py +0 -76
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_request.py +0 -232
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/__init__.py +0 -3
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/common_worker.py +0 -116
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/csv_worker.py +0 -39
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/file_worker.py +0 -33
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/igd_worker.py +0 -48
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/mesh_report_worker.py +0 -60
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/mesh_resources_worker.py +0 -49
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/namespaces_worker.py +0 -33
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/oci_cli_version_worker.py +0 -34
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/pod_worker.py +0 -112
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/resource_worker.py +0 -75
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/services_worker.py +0 -34
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/task_worker.py +0 -33
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/validate_crds_worker.py +0 -34
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/vdb_worker.py +0 -51
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/webhooks_worker.py +0 -34
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/__init__.py +0 -3
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/bundle_helper.py +0 -154
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/constants.py +0 -137
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/helper.py +0 -12
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/kubectl_command_helper.py +0 -646
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/messages.py +0 -16
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/summary.py +0 -222
- services/service_mesh/tests/__init__.py +0 -4
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/WHEEL +0 -0
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/top_level.txt +0 -0
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
-
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
-
|
|
5
|
-
from __future__ import print_function
|
|
6
|
-
import click
|
|
7
|
-
import oci
|
|
8
|
-
import six
|
|
9
|
-
import sys
|
|
10
|
-
|
|
11
|
-
from oci_cli import cli_util, custom_types
|
|
12
|
-
from oci_cli import json_skeleton_utils
|
|
13
|
-
from oci.dts.models.transfer_appliance import TransferAppliance
|
|
14
|
-
from services.dts.src.oci_cli_dts.generated import dts_service_cli
|
|
15
|
-
from services.dts.src.oci_cli_transfer_appliance.generated import transferappliance_cli
|
|
16
|
-
from services.dts.src.oci_cli_dts.cli_utils import setup_notifications_helper
|
|
17
|
-
|
|
18
|
-
customer_address_options = {
|
|
19
|
-
'addressee': 'addressee',
|
|
20
|
-
'care_of': 'careOf',
|
|
21
|
-
'address1': 'address1',
|
|
22
|
-
'address2': 'address2',
|
|
23
|
-
'address3': 'address3',
|
|
24
|
-
'address4': 'address4',
|
|
25
|
-
'city_or_locality': 'cityOrLocality',
|
|
26
|
-
'state_province_region': 'stateOrRegion',
|
|
27
|
-
'country': 'country',
|
|
28
|
-
'zip_postal_code': 'zipcode',
|
|
29
|
-
'phone_number': 'phoneNumber',
|
|
30
|
-
'email': 'email'
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
cli_util.rename_command(dts_service_cli, dts_service_cli.dts_service_group, transferappliance_cli.transfer_appliance_root_group, 'appliance')
|
|
35
|
-
cli_util.rename_command(dts_service_cli, transferappliance_cli.transfer_appliance_root_group, transferappliance_cli.create_transfer_appliance, 'request')
|
|
36
|
-
cli_util.rename_command(dts_service_cli, transferappliance_cli.transfer_appliance_root_group, transferappliance_cli.get_transfer_appliance, 'show')
|
|
37
|
-
cli_util.rename_command(dts_service_cli, transferappliance_cli.transfer_appliance_root_group, transferappliance_cli.get_transfer_appliance_encryption_passphrase, 'get-passphrase')
|
|
38
|
-
transferappliance_cli.transfer_appliance_root_group.commands.pop(transferappliance_cli.transfer_appliance_group.name)
|
|
39
|
-
transferappliance_cli.transfer_appliance_root_group.commands.pop(transferappliance_cli.transfer_appliance_encryption_passphrase_group.name)
|
|
40
|
-
transferappliance_cli.transfer_appliance_root_group.commands.pop(transferappliance_cli.transfer_appliance_certificate_group.name)
|
|
41
|
-
transferappliance_cli.transfer_appliance_root_group.commands.pop(transferappliance_cli.transfer_appliance_public_key_group.name)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
@cli_util.copy_params_from_generated_command(transferappliance_cli.create_transfer_appliance, params_to_exclude=['id', 'customer_shipping_address', 'wait_for_state'])
|
|
45
|
-
@transferappliance_cli.transfer_appliance_root_group.command(name="request", help=transferappliance_cli.create_transfer_appliance.help)
|
|
46
|
-
@cli_util.option('--job-id', required=True, help=u"""OCID of the Transfer Job""")
|
|
47
|
-
@cli_util.option('--addressee', required=True, help=u"""Company or person to send the appliance to""")
|
|
48
|
-
@cli_util.option('--care-of', required=True, help=u"""Place/person to direct the package to.""")
|
|
49
|
-
@cli_util.option('--address1', required=True, help=u"""Address line 1.""")
|
|
50
|
-
@cli_util.option('--address2', help=u"""Optional address line 2.""")
|
|
51
|
-
@cli_util.option('--address3', help=u"""Optional address line 3.""")
|
|
52
|
-
@cli_util.option('--address4', help=u"""Optional address line 4.""")
|
|
53
|
-
@cli_util.option('--city-or-locality', required=True, help=u"""City or Locality.""")
|
|
54
|
-
@cli_util.option('--state-province-region', required=True, help=u"""State or Province or Region.""")
|
|
55
|
-
@cli_util.option('--country', required=True, help=u"""Country.""")
|
|
56
|
-
@cli_util.option('--zip-postal-code', required=True, help=u"""Zip or Postal Code""")
|
|
57
|
-
@cli_util.option('--phone-number', required=True, help=u"""Phone number.""")
|
|
58
|
-
@cli_util.option('--email', required=True, help=u"""Email address.""")
|
|
59
|
-
@cli_util.option('--setup-notifications', is_flag=True, help=u"""Setup notifications for the transfer appliance""")
|
|
60
|
-
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["REQUESTED", "ORACLE_PREPARING", "SHIPPING", "DELIVERED", "PREPARING", "FINALIZED", "RETURN_DELAYED", "RETURN_SHIPPED", "RETURN_SHIPPED_CANCELLED", "ORACLE_RECEIVED", "ORACLE_RECEIVED_CANCELLED", "PROCESSING", "COMPLETE", "CUSTOMER_NEVER_RECEIVED", "ORACLE_NEVER_RECEIVED", "CUSTOMER_LOST", "CANCELLED", "DELETED", "REJECTED", "ERROR"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
61
|
-
@click.pass_context
|
|
62
|
-
@json_skeleton_utils.json_skeleton_generation_handler({})
|
|
63
|
-
@cli_util.wrap_exceptions
|
|
64
|
-
def create_transfer_appliance_extended(ctx, **kwargs):
|
|
65
|
-
if 'job_id' in kwargs:
|
|
66
|
-
kwargs['id'] = kwargs['job_id']
|
|
67
|
-
kwargs.pop('job_id')
|
|
68
|
-
kwargs['customer_shipping_address'] = {}
|
|
69
|
-
for option, value in customer_address_options.items():
|
|
70
|
-
if option in kwargs:
|
|
71
|
-
kwargs['customer_shipping_address'][value] = kwargs[option]
|
|
72
|
-
kwargs.pop(option)
|
|
73
|
-
|
|
74
|
-
id = kwargs['id']
|
|
75
|
-
customer_shipping_address = kwargs['customer_shipping_address']
|
|
76
|
-
wait_for_state = kwargs['wait_for_state']
|
|
77
|
-
max_wait_seconds = kwargs['max_wait_seconds']
|
|
78
|
-
wait_interval_seconds = kwargs['wait_interval_seconds']
|
|
79
|
-
setup_notifications = kwargs['setup_notifications']
|
|
80
|
-
minimum_storage_capacity_in_terabytes = kwargs['minimum_storage_capacity_in_terabytes']
|
|
81
|
-
|
|
82
|
-
# Copied from the generated file because the result of the create is required to setup notifications
|
|
83
|
-
if isinstance(id, six.string_types) and len(id.strip()) == 0:
|
|
84
|
-
raise click.UsageError('Parameter --id cannot be whitespace or empty string')
|
|
85
|
-
|
|
86
|
-
kwargs = {}
|
|
87
|
-
|
|
88
|
-
details = {}
|
|
89
|
-
|
|
90
|
-
if customer_shipping_address is not None:
|
|
91
|
-
details['customerShippingAddress'] = cli_util.parse_json_parameter("customer_shipping_address", customer_shipping_address)
|
|
92
|
-
|
|
93
|
-
if minimum_storage_capacity_in_terabytes is not None:
|
|
94
|
-
details['minimumStorageCapacityInTerabytes'] = cli_util.parse_json_parameter("minimum_storage_capacity_in_terabytes", minimum_storage_capacity_in_terabytes)
|
|
95
|
-
|
|
96
|
-
client = cli_util.build_client('dts', 'transfer_appliance', ctx)
|
|
97
|
-
result = client.create_transfer_appliance(
|
|
98
|
-
id=id,
|
|
99
|
-
create_transfer_appliance_details=details,
|
|
100
|
-
**kwargs
|
|
101
|
-
)
|
|
102
|
-
if wait_for_state:
|
|
103
|
-
if hasattr(client, 'get_transfer_appliance') and callable(getattr(client, 'get_transfer_appliance')):
|
|
104
|
-
try:
|
|
105
|
-
wait_period_kwargs = {}
|
|
106
|
-
if max_wait_seconds is not None:
|
|
107
|
-
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
108
|
-
if wait_interval_seconds is not None:
|
|
109
|
-
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
110
|
-
|
|
111
|
-
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
112
|
-
result = oci.wait_until(client, client.get_transfer_appliance(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
|
|
113
|
-
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
114
|
-
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
115
|
-
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
116
|
-
cli_util.render_response(result, ctx)
|
|
117
|
-
sys.exit(2)
|
|
118
|
-
except Exception:
|
|
119
|
-
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
120
|
-
cli_util.render_response(result, ctx)
|
|
121
|
-
raise
|
|
122
|
-
else:
|
|
123
|
-
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
|
|
124
|
-
|
|
125
|
-
cli_util.render_response(result, ctx)
|
|
126
|
-
|
|
127
|
-
if setup_notifications:
|
|
128
|
-
setup_import_notifications(ctx, result.data.label)
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
def get_transfer_appliance_helper(ctx, from_json, id, transfer_appliance_label):
|
|
132
|
-
|
|
133
|
-
kwargs = {}
|
|
134
|
-
client = cli_util.build_client('dts', 'transfer_appliance', ctx)
|
|
135
|
-
result = client.get_transfer_appliance(
|
|
136
|
-
id=id,
|
|
137
|
-
transfer_appliance_label=transfer_appliance_label,
|
|
138
|
-
**kwargs
|
|
139
|
-
)
|
|
140
|
-
return result
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
@cli_util.copy_params_from_generated_command(transferappliance_cli.get_transfer_appliance, params_to_exclude=['id', 'transfer_appliance_label'])
|
|
144
|
-
@transferappliance_cli.transfer_appliance_root_group.command(name=transferappliance_cli.get_transfer_appliance.name, help=transferappliance_cli.get_transfer_appliance.help)
|
|
145
|
-
@cli_util.option('--job-id', required=True, help=u"""OCID of the Transfer Job""")
|
|
146
|
-
@cli_util.option('--appliance-label', required=True, help=u"""Appliance label""")
|
|
147
|
-
@click.pass_context
|
|
148
|
-
@json_skeleton_utils.json_skeleton_generation_handler({})
|
|
149
|
-
@cli_util.wrap_exceptions
|
|
150
|
-
def show_transfer_appliance_extended(ctx, **kwargs):
|
|
151
|
-
if 'job_id' in kwargs:
|
|
152
|
-
kwargs['id'] = kwargs['job_id']
|
|
153
|
-
kwargs.pop('job_id')
|
|
154
|
-
if 'appliance_label' in kwargs:
|
|
155
|
-
kwargs['transfer_appliance_label'] = kwargs['appliance_label']
|
|
156
|
-
kwargs.pop('appliance_label')
|
|
157
|
-
ctx.invoke(transferappliance_cli.get_transfer_appliance, **kwargs)
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
@cli_util.copy_params_from_generated_command(transferappliance_cli.list_transfer_appliances, params_to_exclude=['id', 'lifecycle_state', 'all'])
|
|
161
|
-
@transferappliance_cli.transfer_appliance_root_group.command(
|
|
162
|
-
name=transferappliance_cli.list_transfer_appliances.name,
|
|
163
|
-
help=transferappliance_cli.list_transfer_appliances.help)
|
|
164
|
-
@cli_util.option('--job-id', required=True, help=u"""OCID of the Transfer Job""")
|
|
165
|
-
@click.pass_context
|
|
166
|
-
@json_skeleton_utils.json_skeleton_generation_handler({})
|
|
167
|
-
@cli_util.wrap_exceptions
|
|
168
|
-
def list_transfer_appliances_extended(ctx, **kwargs):
|
|
169
|
-
if 'job_id' in kwargs:
|
|
170
|
-
kwargs['id'] = kwargs['job_id']
|
|
171
|
-
kwargs.pop('job_id')
|
|
172
|
-
ctx.invoke(transferappliance_cli.list_transfer_appliances, **kwargs)
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
@cli_util.copy_params_from_generated_command(transferappliance_cli.get_transfer_appliance, params_to_exclude=['id', 'transfer_appliance_label'])
|
|
176
|
-
@transferappliance_cli.transfer_appliance_root_group.command(name="never-receive", help="""Mark the transfer appliance NEVER RECEIVED. """)
|
|
177
|
-
@cli_util.option('--job-id', required=True, help=u"""OCID of the Transfer Job""")
|
|
178
|
-
@cli_util.option('--appliance-label', required=True, help=u"""Appliance label""")
|
|
179
|
-
@click.pass_context
|
|
180
|
-
@json_skeleton_utils.json_skeleton_generation_handler({})
|
|
181
|
-
@cli_util.wrap_exceptions
|
|
182
|
-
def never_receive_transfer_appliance_extended(ctx, **kwargs):
|
|
183
|
-
if 'job_id' in kwargs:
|
|
184
|
-
kwargs['id'] = kwargs['job_id']
|
|
185
|
-
kwargs.pop('job_id')
|
|
186
|
-
if 'appliance_label' in kwargs:
|
|
187
|
-
kwargs['transfer_appliance_label'] = kwargs['appliance_label']
|
|
188
|
-
kwargs.pop('appliance_label')
|
|
189
|
-
kwargs["lifecycle_state"] = "CUSTOMER_NEVER_RECEIVED"
|
|
190
|
-
ctx.invoke(transferappliance_cli.update_transfer_appliance, **kwargs)
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
@cli_util.copy_params_from_generated_command(transferappliance_cli.get_transfer_appliance, params_to_exclude=['id', 'transfer_appliance_label'])
|
|
194
|
-
@transferappliance_cli.transfer_appliance_root_group.command(name="cancel", help="""Cancels the transfer appliance.""")
|
|
195
|
-
@cli_util.option('--job-id', required=True, help=u"""OCID of the Transfer Job""")
|
|
196
|
-
@cli_util.option('--appliance-label', required=True, help=u"""Appliance label""")
|
|
197
|
-
@click.pass_context
|
|
198
|
-
@json_skeleton_utils.json_skeleton_generation_handler({})
|
|
199
|
-
@cli_util.wrap_exceptions
|
|
200
|
-
def cancel_transfer_appliance_extended(ctx, **kwargs):
|
|
201
|
-
if 'job_id' in kwargs:
|
|
202
|
-
kwargs['id'] = kwargs['job_id']
|
|
203
|
-
kwargs.pop('job_id')
|
|
204
|
-
if 'appliance_label' in kwargs:
|
|
205
|
-
kwargs['transfer_appliance_label'] = kwargs['appliance_label']
|
|
206
|
-
kwargs.pop('appliance_label')
|
|
207
|
-
kwargs["lifecycle_state"] = "CANCELLED"
|
|
208
|
-
ctx.invoke(transferappliance_cli.update_transfer_appliance, **kwargs)
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
@cli_util.copy_params_from_generated_command(transferappliance_cli.delete_transfer_appliance, params_to_exclude=['id', 'transfer_appliance_label'])
|
|
212
|
-
@transferappliance_cli.transfer_appliance_root_group.command(name=transferappliance_cli.delete_transfer_appliance.name, help=transferappliance_cli.delete_transfer_appliance.name)
|
|
213
|
-
@cli_util.option('--job-id', required=True, help=u"""OCID of the Transfer Job""")
|
|
214
|
-
@cli_util.option('--appliance-label', required=True, help=u"""Appliance label""")
|
|
215
|
-
@click.pass_context
|
|
216
|
-
@json_skeleton_utils.json_skeleton_generation_handler({})
|
|
217
|
-
@cli_util.wrap_exceptions
|
|
218
|
-
def delete_transfer_appliance_extended(ctx, **kwargs):
|
|
219
|
-
if 'job_id' in kwargs:
|
|
220
|
-
kwargs['id'] = kwargs['job_id']
|
|
221
|
-
kwargs.pop('job_id')
|
|
222
|
-
if 'appliance_label' in kwargs:
|
|
223
|
-
kwargs['transfer_appliance_label'] = kwargs['appliance_label']
|
|
224
|
-
kwargs.pop('appliance_label')
|
|
225
|
-
kwargs["lifecycle_state"] = "DELETED"
|
|
226
|
-
ctx.invoke(transferappliance_cli.update_transfer_appliance, **kwargs)
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
@cli_util.copy_params_from_generated_command(transferappliance_cli.update_transfer_appliance, params_to_exclude=['id', 'customer_shipping_address', 'transfer_appliance_label', 'lifecycle_state', 'max_wait_seconds', 'wait_interval_seconds', 'wait_for_state', 'if_match', 'minimum_storage_capacity_in_terabytes', 'expected_return_date', 'pickup_window_start_time', 'pickup_window_end_time'])
|
|
230
|
-
@transferappliance_cli.transfer_appliance_root_group.command(name='update-shipping-address', help="""Updates the shipping address""")
|
|
231
|
-
@cli_util.option('--job-id', required=True, help=u"""OCID of the Transfer Job""")
|
|
232
|
-
@cli_util.option('--appliance-label', required=True, help=u"""Appliance label""")
|
|
233
|
-
@cli_util.option('--addressee', required=True, help=u"""Company or person to send the appliance to""")
|
|
234
|
-
@cli_util.option('--care-of', help=u"""Place/person to direct the package to.""")
|
|
235
|
-
@cli_util.option('--address1', help=u"""Address line 1.""")
|
|
236
|
-
@cli_util.option('--address2', help=u"""Optional address line 2.""")
|
|
237
|
-
@cli_util.option('--address3', help=u"""Optional address line 3.""")
|
|
238
|
-
@cli_util.option('--address4', help=u"""Optional address line 4.""")
|
|
239
|
-
@cli_util.option('--city-or-locality', help=u"""City or Locality.""")
|
|
240
|
-
@cli_util.option('--state-province-region', help=u"""State or Province or Region.""")
|
|
241
|
-
@cli_util.option('--country', help=u"""Country.""")
|
|
242
|
-
@cli_util.option('--zip-postal-code', help=u"""Zip or Postal Code""")
|
|
243
|
-
@cli_util.option('--phone-number', help=u"""Phone number.""")
|
|
244
|
-
@cli_util.option('--email', help=u"""Email address.""")
|
|
245
|
-
@click.pass_context
|
|
246
|
-
@json_skeleton_utils.json_skeleton_generation_handler({})
|
|
247
|
-
@cli_util.wrap_exceptions
|
|
248
|
-
def update_shipping_address_transfer_appliance(ctx, **kwargs):
|
|
249
|
-
if 'job_id' in kwargs:
|
|
250
|
-
kwargs['id'] = kwargs['job_id']
|
|
251
|
-
kwargs.pop('job_id')
|
|
252
|
-
if 'appliance_label' in kwargs:
|
|
253
|
-
kwargs['transfer_appliance_label'] = kwargs['appliance_label']
|
|
254
|
-
kwargs.pop('appliance_label')
|
|
255
|
-
kwargs['customer_shipping_address'] = {}
|
|
256
|
-
for option, value in customer_address_options.items():
|
|
257
|
-
if option in kwargs:
|
|
258
|
-
kwargs['customer_shipping_address'][value] = kwargs[option]
|
|
259
|
-
kwargs.pop(option)
|
|
260
|
-
ctx.invoke(transferappliance_cli.update_transfer_appliance, **kwargs)
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
@transferappliance_cli.transfer_appliance_root_group.command(name='request-return-label', help="""Request return label""")
|
|
264
|
-
@cli_util.option('--job-id', required=True, help=u"""OCID of the Transfer Job""")
|
|
265
|
-
@cli_util.option('--appliance-label', required=True, help=u"""Appliance label""")
|
|
266
|
-
@cli_util.option('--pickup-window-start-time', type=custom_types.CLI_DATETIME, required=True, help=u"""Start time for the window to pickup the device,""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
|
|
267
|
-
@cli_util.option('--pickup-window-end-time', type=custom_types.CLI_DATETIME, required=True, help=u"""End time for the window to pickup the device,""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
|
|
268
|
-
@cli_util.help_option
|
|
269
|
-
@click.pass_context
|
|
270
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'dts', 'class': 'TransferAppliance'})
|
|
271
|
-
@cli_util.wrap_exceptions
|
|
272
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
273
|
-
def request_return_shipping_label_transfer_appliance(ctx, **kwargs):
|
|
274
|
-
if isinstance(kwargs['job_id'], six.string_types) and len(kwargs['job_id'].strip()) == 0:
|
|
275
|
-
raise click.UsageError('Parameter --job-id cannot be whitespace or empty string')
|
|
276
|
-
kwargs_update = {
|
|
277
|
-
'id': kwargs['job_id'],
|
|
278
|
-
'transfer_appliance_label': kwargs['appliance_label'],
|
|
279
|
-
'lifecycle_state': TransferAppliance.LIFECYCLE_STATE_RETURN_LABEL_REQUESTED,
|
|
280
|
-
'pickup_window_start_time': kwargs['pickup_window_start_time'],
|
|
281
|
-
'pickup_window_end_time': kwargs['pickup_window_end_time']
|
|
282
|
-
}
|
|
283
|
-
click.echo("Changing the state of the transfer appliance to {}".format(TransferAppliance.LIFECYCLE_STATE_RETURN_LABEL_REQUESTED))
|
|
284
|
-
ctx.invoke(transferappliance_cli.update_transfer_appliance, **kwargs_update)
|
|
285
|
-
click.echo("Next action(s): Shipping the Import Appliance")
|
|
286
|
-
click.echo(" 1. - Shut Down the Import Appliance -")
|
|
287
|
-
click.echo(" 2. - Packing and Shipping the Import Appliance to Oracle -")
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
@cli_util.copy_params_from_generated_command(transferappliance_cli.get_transfer_appliance_encryption_passphrase, params_to_exclude=['id', 'transfer_appliance_label'])
|
|
291
|
-
@transferappliance_cli.transfer_appliance_root_group.command(name=transferappliance_cli.get_transfer_appliance_encryption_passphrase.name, help="""Gets the transfer appliance encryption passphrase.""")
|
|
292
|
-
@cli_util.option('--job-id', required=True, help=u"""OCID of the Transfer Job""")
|
|
293
|
-
@cli_util.option('--appliance-label', required=True, help=u"""Appliance label""")
|
|
294
|
-
@click.pass_context
|
|
295
|
-
@json_skeleton_utils.json_skeleton_generation_handler({})
|
|
296
|
-
@cli_util.wrap_exceptions
|
|
297
|
-
def get_passphrase_extended(ctx, **kwargs):
|
|
298
|
-
if 'job_id' in kwargs:
|
|
299
|
-
kwargs['id'] = kwargs['job_id']
|
|
300
|
-
kwargs.pop('job_id')
|
|
301
|
-
if 'appliance_label' in kwargs:
|
|
302
|
-
kwargs['transfer_appliance_label'] = kwargs['appliance_label']
|
|
303
|
-
kwargs.pop('appliance_label')
|
|
304
|
-
ctx.invoke(transferappliance_cli.get_transfer_appliance_encryption_passphrase, **kwargs)
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
@transferappliance_cli.transfer_appliance_root_group.command(name='setup-notifications', help=u"""Setup notifications for appliance import""")
|
|
308
|
-
@cli_util.option('--appliance-label', required=True, help=u"""Appliance Label""")
|
|
309
|
-
@click.pass_context
|
|
310
|
-
@cli_util.help_option
|
|
311
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={},
|
|
312
|
-
output_type={'module': 'dts', 'class': 'TransferAppliance'})
|
|
313
|
-
@cli_util.wrap_exceptions
|
|
314
|
-
def setup_import_notifications_for_appliance_extended(ctx, appliance_label):
|
|
315
|
-
setup_import_notifications(ctx, appliance_label)
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
def setup_import_notifications(ctx, appliance_label):
|
|
319
|
-
# Create the topic, subscriptions and rule in the root compartment so that everything trickles down
|
|
320
|
-
config = oci.config.from_file(file_location=ctx.obj['config_file'], profile_name=ctx.obj['profile'])
|
|
321
|
-
root_compartment = config['tenancy']
|
|
322
|
-
|
|
323
|
-
create_topic_details = {
|
|
324
|
-
'name': 'DTSImportApplianceTopic_{}'.format(appliance_label),
|
|
325
|
-
'description': 'Topic for data transfer service appliance import with label {}'.format(appliance_label),
|
|
326
|
-
'compartmentId': root_compartment
|
|
327
|
-
}
|
|
328
|
-
create_rule_kwargs = {
|
|
329
|
-
'display_name': 'DTSImportApplianceRule_{}'.format(appliance_label),
|
|
330
|
-
'compartment_id': root_compartment,
|
|
331
|
-
'description': 'Rule for data transfer service to send notifications for a transfer appliance with label {}'.format(appliance_label),
|
|
332
|
-
'is_enabled': True,
|
|
333
|
-
'condition': '{"eventType":"com.oraclecloud.datatransferservice.*transferappliance","data":{"additionalDetails":{"applianceLabel":"%s"}}}' % appliance_label,
|
|
334
|
-
'actions': {
|
|
335
|
-
'actions': [
|
|
336
|
-
{
|
|
337
|
-
'actionType': 'ONS',
|
|
338
|
-
'topicId': None,
|
|
339
|
-
'isEnabled': True
|
|
340
|
-
}
|
|
341
|
-
]
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
setup_notifications_helper(ctx, create_topic_details, create_rule_kwargs)
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
@cli_util.copy_params_from_generated_command(transferappliance_cli.get_transfer_appliance, params_to_exclude=['id', 'transfer_appliance_label'])
|
|
348
|
-
@transferappliance_cli.transfer_appliance_root_group.command(name="update-minimum-storage-capacity", help="""Updates the minimum storage capacity""")
|
|
349
|
-
@cli_util.option('--job-id', required=True, help=u"""OCID of the Transfer Job""")
|
|
350
|
-
@cli_util.option('--appliance-label', required=True, help=u"""Appliance label""")
|
|
351
|
-
@cli_util.option('--minimum-storage-capacity-in-terabytes', required=True, type=click.INT, help=u"""Minimum storage capacity of the device, in terabytes. Valid options are 50, 95 and 150.""")
|
|
352
|
-
@click.pass_context
|
|
353
|
-
@json_skeleton_utils.json_skeleton_generation_handler({})
|
|
354
|
-
@cli_util.wrap_exceptions
|
|
355
|
-
def update_minimum_storage_capacity_transfer_appliance(ctx, **kwargs):
|
|
356
|
-
if 'job_id' in kwargs:
|
|
357
|
-
kwargs['id'] = kwargs['job_id']
|
|
358
|
-
kwargs.pop('job_id')
|
|
359
|
-
if 'appliance_label' in kwargs:
|
|
360
|
-
kwargs['transfer_appliance_label'] = kwargs['appliance_label']
|
|
361
|
-
kwargs.pop('appliance_label')
|
|
362
|
-
ctx.invoke(transferappliance_cli.update_transfer_appliance, **kwargs)
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
-
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
-
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 1.0.017
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
-
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
-
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 1.0.017
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
-
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
-
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 1.0.017
|
|
5
|
-
|
|
6
|
-
import oci
|
|
7
|
-
from oci_cli.cli_clients import CLIENT_MAP
|
|
8
|
-
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
|
|
9
|
-
from oci.dts import TransferApplianceEntitlementClient
|
|
10
|
-
|
|
11
|
-
MODULE_TO_TYPE_MAPPINGS["dts"] = oci.dts.models.dts_type_mapping
|
|
12
|
-
if CLIENT_MAP.get("dts") is None:
|
|
13
|
-
CLIENT_MAP["dts"] = {}
|
|
14
|
-
CLIENT_MAP["dts"]["transfer_appliance_entitlement"] = TransferApplianceEntitlementClient
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
-
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
-
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 1.0.017
|
|
5
|
-
|
|
6
|
-
from __future__ import print_function
|
|
7
|
-
import click
|
|
8
|
-
import oci # noqa: F401
|
|
9
|
-
import six # noqa: F401
|
|
10
|
-
import sys # noqa: F401
|
|
11
|
-
from oci_cli import cli_constants # noqa: F401
|
|
12
|
-
from oci_cli import cli_util
|
|
13
|
-
from oci_cli import json_skeleton_utils
|
|
14
|
-
from oci_cli import custom_types # noqa: F401
|
|
15
|
-
from oci_cli.aliasing import CommandGroupWithAlias
|
|
16
|
-
from services.dts.src.oci_cli_dts.generated import dts_service_cli
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
@click.command(cli_util.override('transfer_appliance_entitlement.transfer_appliance_entitlement_root_group.command_name', 'transfer-appliance-entitlement'), cls=CommandGroupWithAlias, help=cli_util.override('transfer_appliance_entitlement.transfer_appliance_entitlement_root_group.help', """Data Transfer Service API Specification"""), short_help=cli_util.override('transfer_appliance_entitlement.transfer_appliance_entitlement_root_group.short_help', """Data Transfer Service API"""))
|
|
20
|
-
@cli_util.help_option_group
|
|
21
|
-
def transfer_appliance_entitlement_root_group():
|
|
22
|
-
pass
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
@click.command(cli_util.override('transfer_appliance_entitlement.transfer_appliance_entitlement_group.command_name', 'transfer-appliance-entitlement'), cls=CommandGroupWithAlias, help="""""")
|
|
26
|
-
@cli_util.help_option_group
|
|
27
|
-
def transfer_appliance_entitlement_group():
|
|
28
|
-
pass
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
dts_service_cli.dts_service_group.add_command(transfer_appliance_entitlement_root_group)
|
|
32
|
-
transfer_appliance_entitlement_root_group.add_command(transfer_appliance_entitlement_group)
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
@transfer_appliance_entitlement_group.command(name=cli_util.override('transfer_appliance_entitlement.create_transfer_appliance_entitlement.command_name', 'create'), help=u"""Create the Entitlement to use a Transfer Appliance. It requires some offline process of review and signatures before request is granted. \n[Command Reference](createTransferApplianceEntitlement)""")
|
|
36
|
-
@cli_util.option('--compartment-id', help=u"""""")
|
|
37
|
-
@cli_util.option('--display-name', help=u"""""")
|
|
38
|
-
@cli_util.option('--requestor-name', help=u"""""")
|
|
39
|
-
@cli_util.option('--requestor-email', help=u"""""")
|
|
40
|
-
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags].
|
|
41
|
-
|
|
42
|
-
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
43
|
-
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
|
|
44
|
-
|
|
45
|
-
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
46
|
-
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "ACTIVE", "INACTIVE", "DELETED"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
47
|
-
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
|
|
48
|
-
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
|
|
49
|
-
@json_skeleton_utils.get_cli_json_input_option({'freeform-tags': {'module': 'dts', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dts', 'class': 'dict(str, dict(str, object))'}})
|
|
50
|
-
@cli_util.help_option
|
|
51
|
-
@click.pass_context
|
|
52
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'dts', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dts', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'dts', 'class': 'TransferApplianceEntitlement'})
|
|
53
|
-
@cli_util.wrap_exceptions
|
|
54
|
-
def create_transfer_appliance_entitlement(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, display_name, requestor_name, requestor_email, freeform_tags, defined_tags):
|
|
55
|
-
|
|
56
|
-
kwargs = {}
|
|
57
|
-
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
58
|
-
|
|
59
|
-
_details = {}
|
|
60
|
-
|
|
61
|
-
if compartment_id is not None:
|
|
62
|
-
_details['compartmentId'] = compartment_id
|
|
63
|
-
|
|
64
|
-
if display_name is not None:
|
|
65
|
-
_details['displayName'] = display_name
|
|
66
|
-
|
|
67
|
-
if requestor_name is not None:
|
|
68
|
-
_details['requestorName'] = requestor_name
|
|
69
|
-
|
|
70
|
-
if requestor_email is not None:
|
|
71
|
-
_details['requestorEmail'] = requestor_email
|
|
72
|
-
|
|
73
|
-
if freeform_tags is not None:
|
|
74
|
-
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
75
|
-
|
|
76
|
-
if defined_tags is not None:
|
|
77
|
-
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
78
|
-
|
|
79
|
-
client = cli_util.build_client('dts', 'transfer_appliance_entitlement', ctx)
|
|
80
|
-
result = client.create_transfer_appliance_entitlement(
|
|
81
|
-
create_transfer_appliance_entitlement_details=_details,
|
|
82
|
-
**kwargs
|
|
83
|
-
)
|
|
84
|
-
if wait_for_state:
|
|
85
|
-
|
|
86
|
-
if hasattr(client, 'get_transfer_appliance_entitlement') and callable(getattr(client, 'get_transfer_appliance_entitlement')):
|
|
87
|
-
try:
|
|
88
|
-
wait_period_kwargs = {}
|
|
89
|
-
if max_wait_seconds is not None:
|
|
90
|
-
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
91
|
-
if wait_interval_seconds is not None:
|
|
92
|
-
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
93
|
-
|
|
94
|
-
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
95
|
-
result = oci.wait_until(client, client.get_transfer_appliance_entitlement(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
|
|
96
|
-
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
97
|
-
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
98
|
-
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
99
|
-
cli_util.render_response(result, ctx)
|
|
100
|
-
sys.exit(2)
|
|
101
|
-
except Exception:
|
|
102
|
-
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
103
|
-
cli_util.render_response(result, ctx)
|
|
104
|
-
raise
|
|
105
|
-
else:
|
|
106
|
-
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
|
|
107
|
-
cli_util.render_response(result, ctx)
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
@transfer_appliance_entitlement_group.command(name=cli_util.override('transfer_appliance_entitlement.get_transfer_appliance_entitlement.command_name', 'get'), help=u"""Describes the Transfer Appliance Entitlement in detail \n[Command Reference](getTransferApplianceEntitlement)""")
|
|
111
|
-
@cli_util.option('--id', required=True, help=u"""Id of the Transfer Appliance Entitlement""")
|
|
112
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
113
|
-
@cli_util.help_option
|
|
114
|
-
@click.pass_context
|
|
115
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'dts', 'class': 'TransferApplianceEntitlement'})
|
|
116
|
-
@cli_util.wrap_exceptions
|
|
117
|
-
def get_transfer_appliance_entitlement(ctx, from_json, id):
|
|
118
|
-
|
|
119
|
-
if isinstance(id, six.string_types) and len(id.strip()) == 0:
|
|
120
|
-
raise click.UsageError('Parameter --id cannot be whitespace or empty string')
|
|
121
|
-
|
|
122
|
-
kwargs = {}
|
|
123
|
-
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
124
|
-
client = cli_util.build_client('dts', 'transfer_appliance_entitlement', ctx)
|
|
125
|
-
result = client.get_transfer_appliance_entitlement(
|
|
126
|
-
id=id,
|
|
127
|
-
**kwargs
|
|
128
|
-
)
|
|
129
|
-
cli_util.render_response(result, ctx)
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
@transfer_appliance_entitlement_group.command(name=cli_util.override('transfer_appliance_entitlement.list_transfer_appliance_entitlement.command_name', 'list'), help=u"""Lists Transfer Transfer Appliance Entitlement \n[Command Reference](listTransferApplianceEntitlement)""")
|
|
133
|
-
@cli_util.option('--compartment-id', required=True, help=u"""compartment id""")
|
|
134
|
-
@cli_util.option('--id', help=u"""filtering by Transfer Appliance Entitlement id""")
|
|
135
|
-
@cli_util.option('--display-name', help=u"""filtering by displayName""")
|
|
136
|
-
@cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results.""")
|
|
137
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
138
|
-
@cli_util.help_option
|
|
139
|
-
@click.pass_context
|
|
140
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'dts', 'class': 'list[TransferApplianceEntitlementSummary]'})
|
|
141
|
-
@cli_util.wrap_exceptions
|
|
142
|
-
def list_transfer_appliance_entitlement(ctx, from_json, all_pages, compartment_id, id, display_name):
|
|
143
|
-
|
|
144
|
-
kwargs = {}
|
|
145
|
-
if id is not None:
|
|
146
|
-
kwargs['id'] = id
|
|
147
|
-
if display_name is not None:
|
|
148
|
-
kwargs['display_name'] = display_name
|
|
149
|
-
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
150
|
-
client = cli_util.build_client('dts', 'transfer_appliance_entitlement', ctx)
|
|
151
|
-
result = client.list_transfer_appliance_entitlement(
|
|
152
|
-
compartment_id=compartment_id,
|
|
153
|
-
**kwargs
|
|
154
|
-
)
|
|
155
|
-
cli_util.render_response(result, ctx)
|
services/dts/src/oci_cli_transfer_appliance_entitlement/transferapplianceentitlement_cli_extended.py
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
-
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
# NOTE: This file has been commented because the feature is not ready for public release
|
|
7
|
-
# Once the feature is ready, this should be brought back
|
|
8
|
-
|
|
9
|
-
import click
|
|
10
|
-
|
|
11
|
-
from oci import exceptions
|
|
12
|
-
from oci.response import Response
|
|
13
|
-
from oci_cli import cli_util
|
|
14
|
-
from oci_cli import json_skeleton_utils
|
|
15
|
-
from services.dts.src.oci_cli_transfer_appliance_entitlement.generated import transferapplianceentitlement_cli
|
|
16
|
-
from services.dts.src.oci_cli_transfer_appliance.generated import transferappliance_cli
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
@cli_util.copy_params_from_generated_command(transferapplianceentitlement_cli.create_transfer_appliance_entitlement, params_to_exclude=['compartment_id', 'requestor_name', 'requestor_email'])
|
|
20
|
-
@transferappliance_cli.transfer_appliance_root_group.command(
|
|
21
|
-
name=transferapplianceentitlement_cli.create_transfer_appliance_entitlement.name,
|
|
22
|
-
help=transferapplianceentitlement_cli.create_transfer_appliance_entitlement.help)
|
|
23
|
-
@cli_util.option('--compartment-id', required=True, help=u"""Root compartment OCID""")
|
|
24
|
-
@cli_util.option('--name', required=True, help=u"""Requestor name""")
|
|
25
|
-
@cli_util.option('--email', required=True, help=u"""Requestor email""")
|
|
26
|
-
@json_skeleton_utils.get_cli_json_input_option({'freeform-tags': {'module': 'dts', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dts', 'class': 'dict(str, dict(str, object))'}})
|
|
27
|
-
@click.pass_context
|
|
28
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'dts', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dts', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'dts', 'class': 'TransferJob'})
|
|
29
|
-
@cli_util.wrap_exceptions
|
|
30
|
-
def create_transfer_appliance_entitlement_extended(ctx, **kwargs):
|
|
31
|
-
if 'name' in kwargs:
|
|
32
|
-
kwargs['requestor_name'] = kwargs['name']
|
|
33
|
-
kwargs.pop('name')
|
|
34
|
-
if 'email' in kwargs:
|
|
35
|
-
kwargs['requestor_email'] = kwargs['email']
|
|
36
|
-
kwargs.pop('email')
|
|
37
|
-
ctx.invoke(transferapplianceentitlement_cli.create_transfer_appliance_entitlement, **kwargs)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
@cli_util.copy_params_from_generated_command(transferapplianceentitlement_cli.get_transfer_appliance_entitlement, params_to_exclude=['id'])
|
|
41
|
-
@transferappliance_cli.transfer_appliance_root_group.command(
|
|
42
|
-
name=transferapplianceentitlement_cli.get_transfer_appliance_entitlement.name,
|
|
43
|
-
help=transferapplianceentitlement_cli.get_transfer_appliance_entitlement.help)
|
|
44
|
-
@cli_util.option('--compartment-id', required=True, help=u"""Root compartment OCID""")
|
|
45
|
-
@json_skeleton_utils.get_cli_json_input_option({'freeform-tags': {'module': 'dts', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dts', 'class': 'dict(str, dict(str, object))'}})
|
|
46
|
-
@click.pass_context
|
|
47
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'dts', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dts', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'dts', 'class': 'TransferJob'})
|
|
48
|
-
@cli_util.wrap_exceptions
|
|
49
|
-
def get_transfer_appliance_entitlement_extended(ctx, **kwargs):
|
|
50
|
-
list_kwargs = {
|
|
51
|
-
'opc_request_id': cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
52
|
-
}
|
|
53
|
-
client = cli_util.build_client('dts', 'transfer_appliance_entitlement', ctx)
|
|
54
|
-
compartment_id = kwargs['compartment_id']
|
|
55
|
-
entitlements_list = client.list_transfer_appliance_entitlement(compartment_id=compartment_id, **list_kwargs)
|
|
56
|
-
if len(entitlements_list.data) < 1:
|
|
57
|
-
raise exceptions.RequestException(
|
|
58
|
-
"Unable to find Transfer Appliance Entitlement in compartment {}".format(compartment_id))
|
|
59
|
-
# The entitlement ID can be None when the entitlement was created in let's say PHX but accessed from IAD
|
|
60
|
-
if entitlements_list.data[0].id is None:
|
|
61
|
-
custom_response = Response(200, {}, entitlements_list.data[0], None)
|
|
62
|
-
cli_util.render_response(custom_response, ctx)
|
|
63
|
-
else:
|
|
64
|
-
kwargs['id'] = entitlements_list.data[0].id
|
|
65
|
-
del kwargs['compartment_id']
|
|
66
|
-
ctx.invoke(transferapplianceentitlement_cli.get_transfer_appliance_entitlement, **kwargs)
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
-
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
-
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 1.0.017
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
-
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
-
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 1.0.017
|