oci-cli 3.64.1__py3-none-any.whl → 3.65.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci_cli/bin/dbmulticloud.psm1 +39 -4
- oci_cli/bin/mysql.psm1 +4 -2
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/condition-metadata-type/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/detector-recipe/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/create.txt +5 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/problem/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/problem-aggregation/request-summarized-problems.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/resource/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/resource-type-summary/list-resource-types.txt +1 -1
- 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/cloud-vm-cluster/register-cloud-vm-cluster-pkcs.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/unregister-cloud-vm-cluster-pkcs.txt +1 -1
- 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/data-guard-association/create-data-guard-association-google-cloud-provider-encryption-key-details.txt +206 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association.txt +3 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/access-policy/delete.txt → db/database/change-encryption-key-location-google-cloud-provider-encryption-key-details.txt} +19 -24
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-database-create-stand-by-database-details.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-database-from-backup.txt +6 -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 +20 -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/database.txt +3 -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/create.txt +10 -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/exascale-db-storage-vault/update.txt +10 -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/db.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/change-compartment.txt +6 -6
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/create.txt +24 -4
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/delete.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/list.txt +14 -7
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/update.txt +7 -6
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery.txt +57 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/change-compartment.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/create.txt +6 -8
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/delete.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/list.txt +9 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/update.txt +8 -8
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container.txt +57 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/change-compartment.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/create.txt +8 -8
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/delete.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/list.txt +7 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/update.txt +8 -6
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount.txt +57 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/change-compartment.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/create.txt +11 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/delete.txt +2 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/get.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/list.txt +6 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/patch.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/update.txt +12 -13
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector.txt +61 -16
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key/list.txt +7 -4
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key.txt +57 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/change-compartment.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/create.txt +10 -10
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/delete.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/get.txt +5 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/list.txt +8 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/refresh.txt +6 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/update.txt +17 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/cascading-delete.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/change-compartment.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/create.txt +7 -6
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/delete.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/list.txt +9 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/update.txt +9 -7
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association.txt +61 -16
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault.txt +61 -16
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/change-compartment.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/ingress-gateway → dbmulticloud/oracle-db-gcp-identity-connector}/create.txt +54 -69
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/model → dbmulticloud/oracle-db-gcp-identity-connector}/delete.txt +8 -18
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance → dbmulticloud/oracle-db-gcp-identity-connector}/get.txt +7 -6
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → dbmulticloud/oracle-db-gcp-identity-connector}/list.txt +15 -13
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance/install-all-updates.txt → dbmulticloud/oracle-db-gcp-identity-connector/refresh.txt} +17 -17
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/pe → dbmulticloud/oracle-db-gcp-identity-connector}/update.txt +57 -38
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector.txt +29 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/work-request → dbmulticloud/oracle-db-gcp-key}/get.txt +7 -6
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/pe → dbmulticloud/oracle-db-gcp-key}/list.txt +18 -15
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/virtual-service → dbmulticloud/oracle-db-gcp-key-ring}/change-compartment.txt +15 -21
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/update.txt → dbmulticloud/oracle-db-gcp-key-ring/create.txt} +54 -47
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → dbmulticloud/oracle-db-gcp-key-ring}/delete.txt +9 -13
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance/list.txt → dbmulticloud/oracle-db-gcp-key-ring/get.txt} +13 -44
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → dbmulticloud/oracle-db-gcp-key-ring}/list.txt +21 -14
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/change-compartment.txt → dbmulticloud/oracle-db-gcp-key-ring/refresh.txt} +15 -20
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/model → dbmulticloud/oracle-db-gcp-key-ring}/update.txt +31 -30
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance-group.txt → dbmulticloud/oracle-db-gcp-key-ring.txt} +4 -8
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/work-request.txt → dbmulticloud/oracle-db-gcp-key.txt} +3 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/work-request.txt +61 -16
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud.txt +95 -12
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/dedicated-ai-cluster/create.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/endpoint-collection/list-endpoints.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result/chat-generic-chat-request.txt +11 -0
- 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/governance-rules-control-plane/work-request/work-request-error/{list-errors.txt → list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry/{list-logs.txt → list-work-request-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/pe/delete.txt → kafka/cluster/change-compartment.txt} +16 -21
- 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/{anomaly-detection/pe/change-compartment.txt → kafka/cluster/enable-superuser.txt} +18 -19
- 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/job → kafka/cluster}/list.txt +36 -23
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/virtual-service → kafka/cluster}/update.txt +62 -58
- 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/export → 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/mysql/backup/list.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup/validate.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql.txt +2 -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/index.txt +3 -9
- oci_cli/service_mapping.py +6 -21
- oci_cli/version.py +1 -1
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/METADATA +2 -2
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/RECORD +198 -556
- services/cims/src/oci_cli_incident/cims_cli_extended.py +1 -1
- services/cloud_guard/src/oci_cli_cloud_guard/generated/cloudguard_cli.py +18 -10
- services/database/src/oci_cli_database/database_cli_extended.py +67 -3
- services/database/src/oci_cli_database/generated/database_cli.py +367 -70
- services/{ai_anomaly_detection → dbmulticloud/src/oci_cli_db_multicloud_gcp_provider}/__init__.py +1 -1
- services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/dbmulticloudgcpprovider_cli_extended.py +18 -0
- services/{ai_anomaly_detection/src → dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/generated}/__init__.py +1 -1
- services/{dts/src/oci_cli_transfer_appliance_entitlement → dbmulticloud/src/oci_cli_db_multicloud_gcp_provider}/generated/client_mappings.py +6 -6
- services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/generated/dbmulticloudgcpprovider_cli.py +1057 -0
- services/dbmulticloud/src/oci_cli_dbmulticloud/generated/dbmulticloud_service_cli.py +27 -8
- services/dbmulticloud/src/oci_cli_multi_cloud_resource_discovery/generated/multicloudresourcediscovery_cli.py +63 -37
- services/dbmulticloud/src/oci_cli_oracle_db_azure_blob_container/generated/oracledbazureblobcontainer_cli.py +52 -33
- services/dbmulticloud/src/oci_cli_oracle_db_azure_blob_mount/generated/oracledbazureblobmount_cli.py +49 -30
- services/dbmulticloud/src/oci_cli_oracle_db_azure_connector/generated/oracledbazureconnector_cli.py +113 -39
- services/dbmulticloud/src/oci_cli_oracle_db_azure_key/generated/oracledbazurekey_cli.py +34 -15
- services/dbmulticloud/src/oci_cli_oracle_db_azure_vault/generated/oracledbazurevault_cli.py +69 -42
- services/dbmulticloud/src/oci_cli_oracle_db_azure_vault_association/generated/oracledbazurevaultassociation_cli.py +52 -33
- services/dbmulticloud/src/oci_cli_work_request/generated/workrequest_cli.py +27 -8
- services/generative_ai/src/oci_cli_generative_ai/generated/generativeai_cli.py +5 -2
- services/generative_ai_inference/src/oci_cli_generative_ai_inference/generated/generativeaiinference_cli.py +7 -3
- services/golden_gate/src/oci_cli_golden_gate/generated/goldengate_cli.py +22 -3
- services/{ai_anomaly_detection/src/oci_cli_anomaly_detection → managed_kafka}/__init__.py +1 -1
- services/{ai_anomaly_detection/src/oci_cli_anomaly_detection/generated → managed_kafka/src}/__init__.py +1 -1
- services/managed_kafka/src/oci_cli_kafka_cluster/__init__.py +4 -0
- services/managed_kafka/src/oci_cli_kafka_cluster/generated/__init__.py +4 -0
- 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
- services/mysql/src/oci_cli_db_backups/generated/dbbackups_cli.py +70 -1
- 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.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/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.txt +0 -30
- 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/get.txt +0 -99
- 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/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/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.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/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/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.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/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/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/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-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/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.1.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/WHEEL +0 -0
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/top_level.txt +0 -0
|
@@ -1,31 +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
|
-
|
|
7
|
-
from oci_cli import cli_util
|
|
8
|
-
from services.dts.src.oci_cli_dts.generated import dts_service_cli
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class DTS_Transform(object):
|
|
12
|
-
def __init__(self):
|
|
13
|
-
pass
|
|
14
|
-
|
|
15
|
-
@staticmethod
|
|
16
|
-
def transform(command_help_override_list=[],
|
|
17
|
-
group_help_override_list=[],
|
|
18
|
-
rename_command_list=[],
|
|
19
|
-
relocate_command_list=[],
|
|
20
|
-
pop_command_list=[]):
|
|
21
|
-
for item in command_help_override_list:
|
|
22
|
-
cli_util.override_command_short_help_and_help(item["command"], item["help_text"])
|
|
23
|
-
for item in group_help_override_list:
|
|
24
|
-
item["group"].help = item["help_text"]
|
|
25
|
-
item["group"].short_help = item["short_help_text"]
|
|
26
|
-
for item in rename_command_list:
|
|
27
|
-
cli_util.rename_command(dts_service_cli, item["group"], item["old"], item["new"])
|
|
28
|
-
for item in relocate_command_list:
|
|
29
|
-
item["group"].add_command(item["command"])
|
|
30
|
-
for item in pop_command_list:
|
|
31
|
-
item["group"].commands.pop(item["command"])
|
|
@@ -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
|
-
from oci_cli.cli_root import cli
|
|
7
|
-
from oci_cli import cli_util
|
|
8
|
-
from oci_cli.aliasing import CommandGroupWithAlias
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
@cli.command(cli_util.override('transfer_package.dts_service_group.command_name', 'dts'), cls=CommandGroupWithAlias, help=cli_util.override('transfer_package.dts_service_group.help', """Data Transfer Service API Specification"""), short_help=cli_util.override('transfer_package.dts_service_group.short_help', """Data Transfer Service API"""))
|
|
12
|
-
@cli_util.help_option_group
|
|
13
|
-
def dts_service_group():
|
|
14
|
-
pass
|
|
@@ -1,85 +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
|
-
"""
|
|
7
|
-
NOTE: This class should always comply to the API definition of NfsDatasetClient present in
|
|
8
|
-
services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client.py
|
|
9
|
-
"""
|
|
10
|
-
|
|
11
|
-
from oci_cli import cli_util
|
|
12
|
-
|
|
13
|
-
from services.dts.src.oci_cli_dts.appliance_config_manager import ApplianceConfigManager
|
|
14
|
-
from services.dts.src.oci_cli_dts.appliance_constants import APPLIANCE_CONFIGS_BASE_DIR, APPLIANCE_AUTH_USER, \
|
|
15
|
-
APPLIANCE_CERT_FILE_NAME
|
|
16
|
-
from services.dts.src.oci_cli_dts.physical_appliance_control_plane.client.nfs_dataset_client import NfsDatasetClient
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
class NfsDatasetClientProxy:
|
|
20
|
-
def __init__(self, ctx, appliance_profile):
|
|
21
|
-
config_manager = ApplianceConfigManager(APPLIANCE_CONFIGS_BASE_DIR)
|
|
22
|
-
appliance_config = config_manager.get_config(appliance_profile)
|
|
23
|
-
self.auth_value = "{}:{}".format(APPLIANCE_AUTH_USER, appliance_config.get_access_token())
|
|
24
|
-
self.serial_id = appliance_config.get_appliance_serial_id()
|
|
25
|
-
|
|
26
|
-
config = cli_util.build_config(ctx.obj)
|
|
27
|
-
host_name = appliance_config.get_appliance_url()
|
|
28
|
-
self_signed_cert = "{}/{}".format(config_manager.get_config_dir(appliance_profile), APPLIANCE_CERT_FILE_NAME)
|
|
29
|
-
self.nfs_dataset_client = NfsDatasetClient(
|
|
30
|
-
config=config, service_endpoint=host_name, self_signed_cert=self_signed_cert)
|
|
31
|
-
|
|
32
|
-
def activate_nfs_dataset(self, dataset_name, **kwargs):
|
|
33
|
-
kwargs['auth_value'] = self.auth_value
|
|
34
|
-
kwargs['serial_id'] = self.serial_id
|
|
35
|
-
return self.nfs_dataset_client.activate_nfs_dataset(dataset_name, **kwargs)
|
|
36
|
-
|
|
37
|
-
def create_nfs_dataset(self, details, **kwargs):
|
|
38
|
-
kwargs['auth_value'] = self.auth_value
|
|
39
|
-
kwargs['serial_id'] = self.serial_id
|
|
40
|
-
return self.nfs_dataset_client.create_nfs_dataset(details, **kwargs)
|
|
41
|
-
|
|
42
|
-
def deactivate_nfs_dataset(self, dataset_name, **kwargs):
|
|
43
|
-
kwargs['auth_value'] = self.auth_value
|
|
44
|
-
kwargs['serial_id'] = self.serial_id
|
|
45
|
-
return self.nfs_dataset_client.deactivate_nfs_dataset(dataset_name, **kwargs)
|
|
46
|
-
|
|
47
|
-
def delete_nfs_dataset(self, dataset_name, **kwargs):
|
|
48
|
-
kwargs['auth_value'] = self.auth_value
|
|
49
|
-
kwargs['serial_id'] = self.serial_id
|
|
50
|
-
return self.nfs_dataset_client.delete_nfs_dataset(dataset_name, **kwargs)
|
|
51
|
-
|
|
52
|
-
def get_nfs_dataset(self, dataset_name, **kwargs):
|
|
53
|
-
kwargs['auth_value'] = self.auth_value
|
|
54
|
-
kwargs['serial_id'] = self.serial_id
|
|
55
|
-
return self.nfs_dataset_client.get_nfs_dataset(dataset_name, **kwargs)
|
|
56
|
-
|
|
57
|
-
def get_nfs_dataset_seal_manifest(self, dataset_name, **kwargs):
|
|
58
|
-
kwargs['auth_value'] = self.auth_value
|
|
59
|
-
kwargs['serial_id'] = self.serial_id
|
|
60
|
-
return self.nfs_dataset_client.get_nfs_dataset_seal_manifest(dataset_name, **kwargs)
|
|
61
|
-
|
|
62
|
-
def get_nfs_dataset_seal_status(self, dataset_name, **kwargs):
|
|
63
|
-
kwargs['auth_value'] = self.auth_value
|
|
64
|
-
kwargs['serial_id'] = self.serial_id
|
|
65
|
-
return self.nfs_dataset_client.get_nfs_dataset_seal_status(dataset_name, **kwargs)
|
|
66
|
-
|
|
67
|
-
def initiate_seal_on_nfs_dataset(self, dataset_name, **kwargs):
|
|
68
|
-
kwargs['auth_value'] = self.auth_value
|
|
69
|
-
kwargs['serial_id'] = self.serial_id
|
|
70
|
-
return self.nfs_dataset_client.initiate_seal_on_nfs_dataset(dataset_name, **kwargs)
|
|
71
|
-
|
|
72
|
-
def list_nfs_datasets(self, **kwargs):
|
|
73
|
-
kwargs['auth_value'] = self.auth_value
|
|
74
|
-
kwargs['serial_id'] = self.serial_id
|
|
75
|
-
return self.nfs_dataset_client.list_nfs_datasets(**kwargs)
|
|
76
|
-
|
|
77
|
-
def reopen_nfs_dataset(self, dataset_name, **kwargs):
|
|
78
|
-
kwargs['auth_value'] = self.auth_value
|
|
79
|
-
kwargs['serial_id'] = self.serial_id
|
|
80
|
-
return self.nfs_dataset_client.reopen_nfs_dataset(dataset_name, **kwargs)
|
|
81
|
-
|
|
82
|
-
def update_nfs_dataset(self, dataset_name, body, **kwargs):
|
|
83
|
-
kwargs['auth_value'] = self.auth_value
|
|
84
|
-
kwargs['serial_id'] = self.serial_id
|
|
85
|
-
return self.nfs_dataset_client.update_nfs_dataset(dataset_name, body, **kwargs)
|
|
@@ -1,371 +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
|
-
|
|
7
|
-
import click
|
|
8
|
-
import time
|
|
9
|
-
|
|
10
|
-
from oci import exceptions
|
|
11
|
-
from oci_cli import cli_util
|
|
12
|
-
from oci_cli import json_skeleton_utils
|
|
13
|
-
from oci_cli.aliasing import CommandGroupWithAlias
|
|
14
|
-
|
|
15
|
-
from services.dts.src.oci_cli_dts.generated import dts_service_cli
|
|
16
|
-
from services.dts.src.oci_cli_dts.nfs_dataset_client_proxy import NfsDatasetClientProxy
|
|
17
|
-
from services.dts.src.oci_cli_dts.physical_appliance_control_plane.client.models.nfs_dataset_info import NfsDatasetInfo
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"""
|
|
21
|
-
nfs-dataset command
|
|
22
|
-
This is a local command set and not generated from spec, but created here.
|
|
23
|
-
These commands help setup the nfs-datasets on the appliance.
|
|
24
|
-
"""
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
@click.command('nfs-dataset', cls=CommandGroupWithAlias, help="""NFS Dataset Operations""")
|
|
28
|
-
@cli_util.help_option_group
|
|
29
|
-
def nfs_dataset_group():
|
|
30
|
-
pass
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
dts_service_cli.dts_service_group.add_command(nfs_dataset_group)
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
@nfs_dataset_group.command('show', help=u"""Shows the NFS Dataset details""")
|
|
37
|
-
@cli_util.option('--name', required=True, help=u"""Dataset Name""")
|
|
38
|
-
@cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Transfer Appliance profile""")
|
|
39
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
40
|
-
@cli_util.help_option
|
|
41
|
-
@click.pass_context
|
|
42
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={},
|
|
43
|
-
output_type={'module': 'dts', 'class': 'NFSDataset'})
|
|
44
|
-
@cli_util.wrap_exceptions
|
|
45
|
-
def nfs_dataset_show(ctx, from_json, name, appliance_profile):
|
|
46
|
-
nfs_dataset_client = create_nfs_dataset_client(ctx, appliance_profile)
|
|
47
|
-
nfs_dataset_info = nfs_dataset_client.get_nfs_dataset(name)
|
|
48
|
-
cli_util.render_response(nfs_dataset_info, ctx)
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
@nfs_dataset_group.command('list', help=u"""Lists all of the NFS datasets""")
|
|
52
|
-
@cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Transfer Appliance profile""")
|
|
53
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
54
|
-
@cli_util.help_option
|
|
55
|
-
@click.pass_context
|
|
56
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={},
|
|
57
|
-
output_type={'module': 'dts', 'class': 'NFSDataset'})
|
|
58
|
-
@cli_util.wrap_exceptions
|
|
59
|
-
def nfs_dataset_list(ctx, from_json, appliance_profile):
|
|
60
|
-
click.echo("Listing NFS datasets...")
|
|
61
|
-
nfs_dataset_client = create_nfs_dataset_client(ctx, appliance_profile)
|
|
62
|
-
nfs_datasets = nfs_dataset_client.list_nfs_datasets()
|
|
63
|
-
cli_util.render_response(nfs_datasets, ctx)
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
@nfs_dataset_group.command('create', help=u"""Creates, sets exports on an NFS Dataset""")
|
|
67
|
-
@cli_util.option('--rw', type=click.BOOL, help=u"""Read/Write option on export""")
|
|
68
|
-
@cli_util.option('--world', type=click.BOOL, help=u"""World option on export""")
|
|
69
|
-
@cli_util.option('--ip', help=u"""IP address to export to""")
|
|
70
|
-
@cli_util.option('--subnet-mask-length', type=click.INT, help=u"""Subnet mask length for the IP address""")
|
|
71
|
-
@cli_util.option('--name', required=True, help=u"""Dataset Name""")
|
|
72
|
-
@cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Transfer Appliance profile""")
|
|
73
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
74
|
-
@cli_util.help_option
|
|
75
|
-
@click.pass_context
|
|
76
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={},
|
|
77
|
-
output_type={'module': 'dts', 'class': 'NFSDataset'})
|
|
78
|
-
@cli_util.wrap_exceptions
|
|
79
|
-
def nfs_dataset_create(ctx, from_json, rw, world, ip, subnet_mask_length, name, appliance_profile):
|
|
80
|
-
click.echo("Creating Dataset {}... ".format(name), nl=None)
|
|
81
|
-
result = _create_nfs_dataset_helper(
|
|
82
|
-
create_nfs_dataset_client(ctx, appliance_profile), rw, world, ip, subnet_mask_length, name)
|
|
83
|
-
click.echo("done")
|
|
84
|
-
cli_util.render_response(result, ctx)
|
|
85
|
-
click.echo("Next action(s): Activating the Dataset")
|
|
86
|
-
click.echo(" 1. oci dts nfs-dataset list")
|
|
87
|
-
click.echo(" 2. oci dts nfs-dataset activate --name {}".format(name))
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
def _create_nfs_dataset_helper(nfs_dataset_client, rw, world, ip, subnet_mask_length, name):
|
|
91
|
-
if (rw is None and world is not None) or (rw is not None and world is None):
|
|
92
|
-
raise exceptions.ClientError("--rw and --world have to be passed together. You cannot set only one of them")
|
|
93
|
-
export_configs = [{
|
|
94
|
-
'readWrite': rw,
|
|
95
|
-
'world': world,
|
|
96
|
-
'ipAddress': ip,
|
|
97
|
-
'subnetMaskLength': subnet_mask_length,
|
|
98
|
-
'hostname': None
|
|
99
|
-
}] if rw is not None and world is not None else None
|
|
100
|
-
details = {
|
|
101
|
-
'name': name,
|
|
102
|
-
'nfsExportDetails': {
|
|
103
|
-
'exportConfigs': export_configs
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
return nfs_dataset_client.create_nfs_dataset(details)
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
@nfs_dataset_group.command('set-export', help=u"""Add an NFS export configuration for the dataset""")
|
|
110
|
-
@cli_util.option('--rw', required=True, type=click.BOOL, help=u"""Read/Write option on export""")
|
|
111
|
-
@cli_util.option('--world', required=True, type=click.BOOL, help=u"""World option on export""")
|
|
112
|
-
@cli_util.option('--ip', help=u"""IP address to export to""")
|
|
113
|
-
@cli_util.option('--subnet-mask-length', type=click.INT, help=u"""Subnet mask length for the IP address""")
|
|
114
|
-
@cli_util.option('--name', required=True, help=u"""Dataset Name""")
|
|
115
|
-
@cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Transfer Appliance profile""")
|
|
116
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
117
|
-
@cli_util.help_option
|
|
118
|
-
@click.pass_context
|
|
119
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={},
|
|
120
|
-
output_type={'module': 'dts', 'class': 'NFSDataset'})
|
|
121
|
-
@cli_util.wrap_exceptions
|
|
122
|
-
def nfs_dataset_set_export(ctx, from_json, rw, world, ip, subnet_mask_length, name, appliance_profile):
|
|
123
|
-
click.echo("Settings NFS Exports to Dataset {}... ".format(name), nl=False)
|
|
124
|
-
nfs_dataset_client = create_nfs_dataset_client(ctx, appliance_profile)
|
|
125
|
-
body = {
|
|
126
|
-
'name': name,
|
|
127
|
-
'nfsExportDetails': {
|
|
128
|
-
'exportConfigs': [
|
|
129
|
-
{
|
|
130
|
-
'readWrite': rw,
|
|
131
|
-
'world': world,
|
|
132
|
-
'ipAddress': ip,
|
|
133
|
-
'subnetMaskLength': subnet_mask_length,
|
|
134
|
-
'hostname': None
|
|
135
|
-
}
|
|
136
|
-
]
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
nfs_dataset_info = nfs_dataset_client.update_nfs_dataset(name, body)
|
|
140
|
-
click.echo("done")
|
|
141
|
-
cli_util.render_response(nfs_dataset_info, ctx)
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
@nfs_dataset_group.command('activate', help=u"""Creates, sets exports and Activates the NFS dataset""")
|
|
145
|
-
@cli_util.option('--rw', type=click.BOOL, help=u"""Read/Write option on export""")
|
|
146
|
-
@cli_util.option('--world', type=click.BOOL, help=u"""World option on export""")
|
|
147
|
-
@cli_util.option('--ip', help=u"""IP address to export to""")
|
|
148
|
-
@cli_util.option('--subnet-mask-length', type=click.INT, help=u"""Subnet mask length for the IP address""")
|
|
149
|
-
@cli_util.option('--name', required=True, help=u"""Dataset Name""")
|
|
150
|
-
@cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Transfer Appliance profile""")
|
|
151
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
152
|
-
@cli_util.help_option
|
|
153
|
-
@click.pass_context
|
|
154
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={},
|
|
155
|
-
output_type={'module': 'dts', 'class': 'NFSDataset'})
|
|
156
|
-
@cli_util.wrap_exceptions
|
|
157
|
-
def nfs_dataset_activate(ctx, from_json, rw, world, ip, subnet_mask_length, name, appliance_profile):
|
|
158
|
-
"""
|
|
159
|
-
1. Get all the datasets
|
|
160
|
-
2. Check if the dataset name provided exists in the received datasets
|
|
161
|
-
1. If it exists, check if it is sealed
|
|
162
|
-
1. If sealed, reopen and activate the dataset
|
|
163
|
-
2. If not sealed, just activate the dataset
|
|
164
|
-
2. If it doesn't exist, create the dataset with exports followed by activating it
|
|
165
|
-
"""
|
|
166
|
-
nfs_dataset_client = create_nfs_dataset_client(ctx, appliance_profile)
|
|
167
|
-
click.echo("Fetching Dataset {}... ".format(name), nl=False)
|
|
168
|
-
nfs_datasets = nfs_dataset_client.list_nfs_datasets().data
|
|
169
|
-
nfs_dataset = next((item for item in nfs_datasets if item['name'] == name), None)
|
|
170
|
-
click.echo("done")
|
|
171
|
-
|
|
172
|
-
if nfs_dataset is not None:
|
|
173
|
-
if nfs_dataset['state'] == NfsDatasetInfo.STATE_SEALED:
|
|
174
|
-
click.echo("Reopening the dataset {} because it was sealed".format(name))
|
|
175
|
-
nfs_dataset_client.reopen_nfs_dataset(name)
|
|
176
|
-
else:
|
|
177
|
-
result = _create_nfs_dataset_helper(nfs_dataset_client, rw, world, ip, subnet_mask_length, name)
|
|
178
|
-
cli_util.render_response(result, ctx)
|
|
179
|
-
click.echo("Activating Dataset {}... ".format(name), nl=False)
|
|
180
|
-
nfs_dataset_client.activate_nfs_dataset(name)
|
|
181
|
-
click.echo("done")
|
|
182
|
-
|
|
183
|
-
click.echo("Next action(s):")
|
|
184
|
-
click.echo(" 1. - Mount the NFS share -")
|
|
185
|
-
click.echo(" 2. - Copy files to the NFS share -")
|
|
186
|
-
click.echo(" 3. oci dts nfs-dataset deactivate --name {}".format(name))
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
@nfs_dataset_group.command('deactivate', help=u"""Deactivates the NFS dataset""")
|
|
190
|
-
@cli_util.option('--name', required=True, help=u"""Dataset Name""")
|
|
191
|
-
@cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Transfer Appliance profile""")
|
|
192
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
193
|
-
@cli_util.help_option
|
|
194
|
-
@click.pass_context
|
|
195
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={},
|
|
196
|
-
output_type={'module': 'dts', 'class': 'NFSDataset'})
|
|
197
|
-
@cli_util.wrap_exceptions
|
|
198
|
-
def nfs_dataset_deactivate(ctx, from_json, name, appliance_profile):
|
|
199
|
-
nfs_dataset_client = create_nfs_dataset_client(ctx, appliance_profile)
|
|
200
|
-
click.echo("Deactivating Dataset {}... ".format(name), nl=False)
|
|
201
|
-
nfs_dataset_info = nfs_dataset_client.deactivate_nfs_dataset(name)
|
|
202
|
-
click.echo("done")
|
|
203
|
-
|
|
204
|
-
cli_util.render_response(nfs_dataset_info, ctx)
|
|
205
|
-
click.echo("Next action(s): Sealing the Dataset")
|
|
206
|
-
click.echo(" 1. oci dts nfs-dataset seal --name {}".format(name))
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
@nfs_dataset_group.command('seal', help=u"""Seals the NFS dataset and deactivates it if it is active""")
|
|
210
|
-
@cli_util.option('--wait', is_flag=True, help=u"""Waits until seal is complete""")
|
|
211
|
-
@cli_util.option('--name', help=u"""Dataset Name""")
|
|
212
|
-
@cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Transfer Appliance profile""")
|
|
213
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
214
|
-
@cli_util.help_option
|
|
215
|
-
@click.pass_context
|
|
216
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={},
|
|
217
|
-
output_type={'module': 'dts', 'class': 'NFSDataset'})
|
|
218
|
-
@cli_util.wrap_exceptions
|
|
219
|
-
def nfs_dataset_seal(ctx, from_json, wait, name, appliance_profile):
|
|
220
|
-
"""
|
|
221
|
-
1. Get the datasets. Since there is only one dataset, deactivate it if present, else throw a not found error
|
|
222
|
-
2. If the dataset is ACTIVE, deactivate it
|
|
223
|
-
3. Seal the dataset
|
|
224
|
-
"""
|
|
225
|
-
nfs_dataset_client = create_nfs_dataset_client(ctx, appliance_profile)
|
|
226
|
-
|
|
227
|
-
click.echo("Initiating Seal... \n(Track progress using 'oci dts nfs-dataset seal-status' command)")
|
|
228
|
-
click.echo("Fetching Dataset {}... ".format(name), nl=False)
|
|
229
|
-
nfs_datasets = nfs_dataset_client.list_nfs_datasets().data
|
|
230
|
-
if len(nfs_datasets) < 1:
|
|
231
|
-
raise exceptions.ClientError("No datasets exist. Create a Dataset first")
|
|
232
|
-
nfs_dataset = nfs_datasets[0]
|
|
233
|
-
if name is not None:
|
|
234
|
-
if name != nfs_dataset['name']:
|
|
235
|
-
raise exceptions.ClientError("The dataset {} does not exist".format(name))
|
|
236
|
-
name = nfs_dataset['name']
|
|
237
|
-
click.echo("done")
|
|
238
|
-
|
|
239
|
-
if nfs_dataset['state'] == NfsDatasetInfo.STATE_ACTIVE:
|
|
240
|
-
click.echo("Deactivating Dataset {}... ".format(name), nl=False)
|
|
241
|
-
nfs_dataset_client.deactivate_nfs_dataset(name)
|
|
242
|
-
click.echo("done")
|
|
243
|
-
|
|
244
|
-
click.echo("Triggering Seal on Dataset {}...".format(name))
|
|
245
|
-
click.echo("This performs a pre-walk of the file system to check for invalid files before walking again "
|
|
246
|
-
"to do the actual seal. This process can be time consuming depending on the size and number of files. "
|
|
247
|
-
"Progress will be displayed once the pre-walk is done.")
|
|
248
|
-
nfs_dataset_client.initiate_seal_on_nfs_dataset(name)
|
|
249
|
-
seal_status = nfs_dataset_client.get_nfs_dataset_seal_status(name).data
|
|
250
|
-
if wait:
|
|
251
|
-
_seal_progress_display(seal_status)
|
|
252
|
-
while seal_status['completed'] is None or not seal_status['completed']:
|
|
253
|
-
time.sleep(0.5)
|
|
254
|
-
seal_status = nfs_dataset_client.get_nfs_dataset_seal_status(name).data
|
|
255
|
-
_seal_progress_display(seal_status)
|
|
256
|
-
cli_util.render(seal_status, None, ctx)
|
|
257
|
-
if seal_status["success"]:
|
|
258
|
-
click.echo("Next action(s): Finalizing the Import Appliance")
|
|
259
|
-
click.echo(" 1. oci dts physical-appliance finalize --job-id <job_id> --appliance-label <appliance_label>")
|
|
260
|
-
else:
|
|
261
|
-
click.echo("Next action(s): Monitor Seal Status")
|
|
262
|
-
click.echo(" 1. oci dts nfs-dataset seal-status --name {}".format(name))
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
def _seal_progress_display(seal_status):
|
|
266
|
-
if seal_status['bytesToProcess'] > 0 and seal_status['numFilesToProcess'] > 0:
|
|
267
|
-
click.echo("\nFiles processed: {} / {}".format(seal_status['numFilesProcessed'], seal_status['numFilesToProcess']))
|
|
268
|
-
click.echo("\nBytes processed: {} / {}".format(seal_status['bytesProcessed'], seal_status['bytesToProcess']))
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
@nfs_dataset_group.command('delete', help=u"""Deletes the NFS dataset""")
|
|
272
|
-
@cli_util.option('--name', required=True, help=u"""Dataset Name""")
|
|
273
|
-
@cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Transfer Appliance profile""")
|
|
274
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
275
|
-
@cli_util.help_option
|
|
276
|
-
@click.pass_context
|
|
277
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={},
|
|
278
|
-
output_type={'module': 'dts', 'class': 'NFSDataset'})
|
|
279
|
-
@cli_util.wrap_exceptions
|
|
280
|
-
def nfs_dataset_delete(ctx, from_json, name, appliance_profile):
|
|
281
|
-
nfs_dataset_client = create_nfs_dataset_client(ctx, appliance_profile)
|
|
282
|
-
click.echo("Deleting dataset {}".format(name))
|
|
283
|
-
nfs_dataset_client.delete_nfs_dataset(name)
|
|
284
|
-
click.echo("Successfully deleted the dataset {}".format(name))
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
@nfs_dataset_group.command('seal-status', help=u"""Retrieves the NFS dataset's seal status""")
|
|
288
|
-
@cli_util.option('--name', required=True, help=u"""Dataset Name""")
|
|
289
|
-
@cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Transfer Appliance profile""")
|
|
290
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
291
|
-
@cli_util.help_option
|
|
292
|
-
@click.pass_context
|
|
293
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={},
|
|
294
|
-
output_type={'module': 'dts', 'class': 'NFSDataset'})
|
|
295
|
-
@cli_util.wrap_exceptions
|
|
296
|
-
def nfs_dataset_get_seal_status(ctx, from_json, name, appliance_profile):
|
|
297
|
-
nfs_dataset_client = create_nfs_dataset_client(ctx, appliance_profile)
|
|
298
|
-
click.echo("Getting the seal status of the dataset {}".format(name))
|
|
299
|
-
seal_status = nfs_dataset_client.get_nfs_dataset_seal_status(name)
|
|
300
|
-
cli_util.render_response(seal_status, ctx)
|
|
301
|
-
if seal_status.data["success"]:
|
|
302
|
-
click.echo("Next action(s): Finalizing the Import Appliance")
|
|
303
|
-
click.echo(" 1. oci dts physical-appliance finalize --job-id <job_id> --appliance-label <appliance_label>")
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
@nfs_dataset_group.command('get-seal-manifest', help=u"""Retrieves the NFS dataset's seal manifest""")
|
|
307
|
-
@cli_util.option('--output-file', required=True, help=u"""File path where the manifest has to be written""")
|
|
308
|
-
@cli_util.option('--name', required=True, help=u"""Dataset Name""")
|
|
309
|
-
@cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Transfer Appliance profile""")
|
|
310
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
311
|
-
@cli_util.help_option
|
|
312
|
-
@click.pass_context
|
|
313
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={},
|
|
314
|
-
output_type={'module': 'dts', 'class': 'NFSDataset'})
|
|
315
|
-
@cli_util.wrap_exceptions
|
|
316
|
-
def nfs_dataset_get_seal_manifest(ctx, from_json, output_file, name, appliance_profile):
|
|
317
|
-
nfs_dataset_client = create_nfs_dataset_client(ctx, appliance_profile)
|
|
318
|
-
click.echo("Retrieving the seal manifest from the transfer appliance and writing it to {}. "
|
|
319
|
-
"Duration of this operation depends on the size of the manifest which in turn is "
|
|
320
|
-
"dependent on the number of files in the dataset".format(output_file))
|
|
321
|
-
stream = nfs_dataset_client.get_nfs_dataset_seal_manifest(name).data
|
|
322
|
-
write_to_file(output_file, stream)
|
|
323
|
-
click.echo("Dataset seal manifest written to {}".format(output_file))
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
def write_to_file(output_file, stream):
|
|
327
|
-
with open(output_file, 'wb') as f:
|
|
328
|
-
f.write(stream)
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
@nfs_dataset_group.command('reopen', help=u"""Reopens a sealed NFS dataset""")
|
|
332
|
-
@cli_util.option('--name', required=True, help=u"""Dataset Name""")
|
|
333
|
-
@cli_util.option('--appliance-profile', required=False, default="DEFAULT", help=u"""Transfer Appliance profile""")
|
|
334
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
335
|
-
@cli_util.help_option
|
|
336
|
-
@click.pass_context
|
|
337
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={},
|
|
338
|
-
output_type={'module': 'dts', 'class': 'NFSDataset'})
|
|
339
|
-
@cli_util.wrap_exceptions
|
|
340
|
-
def nfs_dataset_reopen(ctx, from_json, name, appliance_profile):
|
|
341
|
-
nfs_dataset_client = create_nfs_dataset_client(ctx, appliance_profile)
|
|
342
|
-
click.echo("Re-opening the dataset {}".format(name))
|
|
343
|
-
nfs_dataset_info = nfs_dataset_client.reopen_nfs_dataset(name)
|
|
344
|
-
cli_util.render_response(nfs_dataset_info, ctx)
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
def create_nfs_dataset_client(ctx, appliance_profile):
|
|
348
|
-
return NfsDatasetClientProxy(ctx, appliance_profile)
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
def nfs_dataset_deactivate_helper(ctx, **nfs_deactivate_kwargs):
|
|
352
|
-
ctx.invoke(nfs_dataset_deactivate, **nfs_deactivate_kwargs)
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
def deactivate_nfs_dataset(ctx, appliance_profile, **nfs_dataset):
|
|
356
|
-
'''
|
|
357
|
-
This method checks the state of NFS_dataset and deactivates if the state is active
|
|
358
|
-
:param ctx
|
|
359
|
-
:param appliance_profile: str
|
|
360
|
-
:param nfs_dataset: dict {'name': <dataset_name>, 'state':<state of dataset>}
|
|
361
|
-
:return:
|
|
362
|
-
'''
|
|
363
|
-
nfs_deactivate_kwargs = {
|
|
364
|
-
'name': nfs_dataset['name'],
|
|
365
|
-
'appliance_profile': appliance_profile
|
|
366
|
-
}
|
|
367
|
-
if nfs_dataset['state'] == NfsDatasetInfo.STATE_ACTIVE:
|
|
368
|
-
click.echo("Deactivating the dataset {}".format(nfs_dataset['name']))
|
|
369
|
-
nfs_dataset_deactivate_helper(ctx, **nfs_deactivate_kwargs)
|
|
370
|
-
else:
|
|
371
|
-
click.echo("NFS-Dataset: {} is in NOT_ACTIVE state".format(nfs_dataset['name']))
|
|
@@ -1,3 +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.
|
|
@@ -1,16 +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 absolute_import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
from .diagnose_tools_client import DiagnoseToolsClient
|
|
9
|
-
from .diagnose_tools_client_composite_operations import DiagnoseToolsClientCompositeOperations
|
|
10
|
-
from .nfs_dataset_client import NfsDatasetClient
|
|
11
|
-
from .nfs_dataset_client_composite_operations import NfsDatasetClientCompositeOperations
|
|
12
|
-
from .physical_transfer_appliance_client import PhysicalTransferApplianceClient
|
|
13
|
-
from .physical_transfer_appliance_client_composite_operations import PhysicalTransferApplianceClientCompositeOperations
|
|
14
|
-
from . import models
|
|
15
|
-
|
|
16
|
-
__all__ = ["DiagnoseToolsClient", "DiagnoseToolsClientCompositeOperations", "NfsDatasetClient", "NfsDatasetClientCompositeOperations", "PhysicalTransferApplianceClient", "PhysicalTransferApplianceClientCompositeOperations", "models"]
|