oci 2.117.0__py3-none-any.whl → 2.118.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/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +36 -36
- oci/ai_speech/ai_service_speech_client.py +9 -9
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +18 -18
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +51 -51
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +133 -133
- oci/cloud_migrations/migration_client.py +43 -43
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/models/update_instance_details.py +39 -2
- oci/core/virtual_network_client.py +242 -242
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +1027 -252
- oci/data_catalog/data_catalog_client_composite_operations.py +276 -0
- oci/data_catalog/models/__init__.py +6 -0
- oci/data_catalog/models/add_resource_lock_details.py +183 -0
- oci/data_catalog/models/catalog.py +76 -2
- oci/data_catalog/models/catalog_private_endpoint.py +76 -2
- oci/data_catalog/models/catalog_private_endpoint_summary.py +76 -2
- oci/data_catalog/models/catalog_summary.py +76 -2
- oci/data_catalog/models/metastore.py +76 -2
- oci/data_catalog/models/metastore_summary.py +76 -2
- oci/data_catalog/models/remove_resource_lock_details.py +183 -0
- oci/data_catalog/models/resource_lock.py +185 -0
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_integration/models/__init__.py +8 -0
- oci/data_integration/models/create_task_details.py +31 -0
- oci/data_integration/models/create_task_from_data_loader_task.py +7 -0
- oci/data_integration/models/create_task_from_integration_task.py +7 -0
- oci/data_integration/models/create_task_from_oci_dataflow_task.py +63 -2
- oci/data_integration/models/create_task_from_pipeline_task.py +7 -0
- oci/data_integration/models/create_task_from_rest_task.py +7 -0
- oci/data_integration/models/create_task_from_sql_task.py +7 -0
- oci/data_integration/models/incremental_data_entity_clause.py +170 -0
- oci/data_integration/models/incremental_field_clause.py +170 -0
- oci/data_integration/models/incremental_read_config.py +103 -0
- oci/data_integration/models/json_format_attribute.py +33 -2
- oci/data_integration/models/read_operation_config.py +27 -0
- oci/data_integration/models/runtime_operator.py +2 -2
- oci/data_integration/models/runtime_operator_summary.py +2 -2
- oci/data_integration/models/shape_details.py +68 -0
- oci/data_integration/models/task.py +31 -0
- oci/data_integration/models/task_from_data_loader_task_details.py +7 -0
- oci/data_integration/models/task_from_integration_task_details.py +7 -0
- oci/data_integration/models/task_from_oci_dataflow_task_details.py +63 -2
- oci/data_integration/models/task_from_pipeline_task_details.py +7 -0
- oci/data_integration/models/task_from_rest_task_details.py +7 -0
- oci/data_integration/models/task_from_sql_task_details.py +7 -0
- oci/data_integration/models/task_summary.py +31 -0
- oci/data_integration/models/task_summary_from_data_loader_task.py +7 -0
- oci/data_integration/models/task_summary_from_integration_task.py +7 -0
- oci/data_integration/models/task_summary_from_oci_dataflow_task.py +63 -2
- oci/data_integration/models/task_summary_from_pipeline_task.py +7 -0
- oci/data_integration/models/task_summary_from_rest_task.py +7 -0
- oci/data_integration/models/task_summary_from_sql_task.py +7 -0
- oci/data_integration/models/update_task_details.py +31 -0
- oci/data_integration/models/update_task_from_data_loader_task.py +7 -0
- oci/data_integration/models/update_task_from_integration_task.py +7 -0
- oci/data_integration/models/update_task_from_oci_dataflow_task.py +63 -2
- oci/data_integration/models/update_task_from_pipeline_task.py +7 -0
- oci/data_integration/models/update_task_from_rest_task.py +7 -0
- oci/data_integration/models/update_task_from_sql_task.py +7 -0
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +307 -290
- oci/data_safe/data_safe_client_composite_operations.py +5 -5
- oci/data_safe/models/__init__.py +2 -0
- oci/data_safe/models/audit_event_aggregation_dimensions.py +6 -6
- oci/data_safe/models/audit_event_summary.py +14 -14
- oci/data_safe/models/audit_policy_dimensions.py +2 -2
- oci/data_safe/models/change_report_compartment_details.py +1 -1
- oci/data_safe/models/change_sql_firewall_policy_compartment_details.py +2 -2
- oci/data_safe/models/database_security_config.py +1 -1
- oci/data_safe/models/database_security_config_summary.py +1 -1
- oci/data_safe/models/delete_rows_format_entry.py +1 -1
- oci/data_safe/models/deterministic_encryption_date_format_entry.py +1 -1
- oci/data_safe/models/deterministic_encryption_format_entry.py +1 -1
- oci/data_safe/models/deterministic_substitution_format_entry.py +1 -1
- oci/data_safe/models/dimensions.py +33 -2
- oci/data_safe/models/discovery_analytics_summary.py +7 -3
- oci/data_safe/models/entry_details.py +2 -2
- oci/data_safe/models/finding_summary.py +2 -2
- oci/data_safe/models/firewall_policy_entry_details.py +5 -5
- oci/data_safe/models/fixed_number_format_entry.py +1 -1
- oci/data_safe/models/fixed_string_format_entry.py +1 -1
- oci/data_safe/models/format_entry.py +11 -3
- oci/data_safe/models/generate_report_details.py +2 -2
- oci/data_safe/models/library_masking_format_entry.py +1 -1
- oci/data_safe/models/mask_data_details.py +4 -2
- oci/data_safe/models/null_value_format_entry.py +1 -1
- oci/data_safe/models/patch_alerts_details.py +1 -1
- oci/data_safe/models/pattern_format_entry.py +104 -0
- oci/data_safe/models/ppf_format_entry.py +1 -1
- oci/data_safe/models/preserve_original_data_format_entry.py +1 -1
- oci/data_safe/models/random_date_format_entry.py +1 -1
- oci/data_safe/models/random_decimal_number_format_entry.py +1 -1
- oci/data_safe/models/random_digits_format_entry.py +1 -1
- oci/data_safe/models/random_list_format_entry.py +1 -1
- oci/data_safe/models/random_number_format_entry.py +1 -1
- oci/data_safe/models/random_string_format_entry.py +1 -1
- oci/data_safe/models/random_substitution_format_entry.py +1 -1
- oci/data_safe/models/regular_expression_format_entry.py +1 -1
- oci/data_safe/models/report.py +2 -2
- oci/data_safe/models/report_definition.py +8 -8
- oci/data_safe/models/report_summary.py +2 -2
- oci/data_safe/models/schedule_report_details.py +2 -2
- oci/data_safe/models/sdm_masking_policy_difference.py +5 -5
- oci/data_safe/models/sensitive_category.py +7 -0
- oci/data_safe/models/sensitive_type.py +33 -0
- oci/data_safe/models/sensitive_type_pattern.py +7 -0
- oci/data_safe/models/sensitive_type_summary.py +33 -0
- oci/data_safe/models/shuffle_format_entry.py +1 -1
- oci/data_safe/models/sql_expression_format_entry.py +1 -1
- oci/data_safe/models/sql_firewall_allowed_sql_aggregation.py +1 -1
- oci/data_safe/models/sql_firewall_allowed_sql_analytics_collection.py +1 -1
- oci/data_safe/models/sql_firewall_allowed_sql_collection.py +3 -3
- oci/data_safe/models/sql_firewall_allowed_sql_dimensions.py +7 -7
- oci/data_safe/models/sql_firewall_allowed_sql_summary.py +23 -23
- oci/data_safe/models/sql_firewall_config.py +1 -1
- oci/data_safe/models/sql_firewall_policy.py +35 -35
- oci/data_safe/models/sql_firewall_policy_aggregation.py +1 -1
- oci/data_safe/models/sql_firewall_policy_analytics_collection.py +1 -1
- oci/data_safe/models/sql_firewall_policy_collection.py +3 -3
- oci/data_safe/models/sql_firewall_policy_dimensions.py +9 -9
- oci/data_safe/models/sql_firewall_policy_summary.py +29 -29
- oci/data_safe/models/sql_firewall_violation_aggregation_dimensions.py +2 -2
- oci/data_safe/models/substring_format_entry.py +1 -1
- oci/data_safe/models/truncate_table_format_entry.py +1 -1
- oci/data_safe/models/udf_format_entry.py +1 -1
- oci/data_safe/models/update_sql_firewall_config_details.py +1 -1
- oci/data_safe/models/update_sql_firewall_policy_details.py +19 -19
- oci/data_safe/models/work_request.py +11 -3
- oci/data_safe/models/work_request_summary.py +11 -3
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +327 -327
- oci/database_management/db_management_client.py +182 -182
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +6 -6
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +25 -25
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/golden_gate/golden_gate_client.py +61 -61
- oci/golden_gate/models/amazon_kinesis_connection.py +9 -0
- oci/golden_gate/models/amazon_kinesis_connection_summary.py +8 -0
- oci/golden_gate/models/amazon_redshift_connection.py +9 -0
- oci/golden_gate/models/amazon_redshift_connection_summary.py +8 -0
- oci/golden_gate/models/amazon_s3_connection.py +9 -0
- oci/golden_gate/models/amazon_s3_connection_summary.py +8 -0
- oci/golden_gate/models/azure_data_lake_storage_connection.py +9 -0
- oci/golden_gate/models/azure_data_lake_storage_connection_summary.py +8 -0
- oci/golden_gate/models/azure_synapse_connection.py +9 -0
- oci/golden_gate/models/azure_synapse_connection_summary.py +8 -0
- oci/golden_gate/models/connection.py +61 -4
- oci/golden_gate/models/connection_summary.py +61 -4
- oci/golden_gate/models/create_amazon_kinesis_connection_details.py +8 -0
- oci/golden_gate/models/create_amazon_redshift_connection_details.py +8 -0
- oci/golden_gate/models/create_amazon_s3_connection_details.py +8 -0
- oci/golden_gate/models/create_azure_data_lake_storage_connection_details.py +8 -0
- oci/golden_gate/models/create_azure_synapse_connection_details.py +8 -0
- oci/golden_gate/models/create_connection_details.py +61 -4
- oci/golden_gate/models/create_database_registration_details.py +2 -2
- oci/golden_gate/models/create_deployment_details.py +41 -2
- oci/golden_gate/models/create_elasticsearch_connection_details.py +8 -0
- oci/golden_gate/models/create_generic_connection_details.py +8 -0
- oci/golden_gate/models/create_golden_gate_connection_details.py +14 -0
- oci/golden_gate/models/create_google_big_query_connection_details.py +8 -0
- oci/golden_gate/models/create_google_cloud_storage_connection_details.py +8 -0
- oci/golden_gate/models/create_hdfs_connection_details.py +8 -0
- oci/golden_gate/models/create_java_message_service_connection_details.py +14 -0
- oci/golden_gate/models/create_kafka_connection_details.py +8 -0
- oci/golden_gate/models/create_kafka_schema_registry_connection_details.py +14 -0
- oci/golden_gate/models/create_microsoft_sqlserver_connection_details.py +14 -0
- oci/golden_gate/models/create_mongo_db_connection_details.py +8 -0
- oci/golden_gate/models/create_mysql_connection_details.py +14 -0
- oci/golden_gate/models/create_oci_object_storage_connection_details.py +8 -0
- oci/golden_gate/models/create_oracle_connection_details.py +14 -0
- oci/golden_gate/models/create_oracle_nosql_connection_details.py +8 -0
- oci/golden_gate/models/create_postgresql_connection_details.py +14 -0
- oci/golden_gate/models/create_redis_connection_details.py +8 -0
- oci/golden_gate/models/create_snowflake_connection_details.py +8 -0
- oci/golden_gate/models/database_registration.py +2 -2
- oci/golden_gate/models/database_registration_summary.py +2 -2
- oci/golden_gate/models/deployment.py +113 -4
- oci/golden_gate/models/deployment_summary.py +78 -2
- oci/golden_gate/models/elasticsearch_connection.py +9 -0
- oci/golden_gate/models/elasticsearch_connection_summary.py +8 -0
- oci/golden_gate/models/generic_connection.py +9 -0
- oci/golden_gate/models/generic_connection_summary.py +8 -0
- oci/golden_gate/models/golden_gate_connection.py +15 -0
- oci/golden_gate/models/golden_gate_connection_summary.py +14 -0
- oci/golden_gate/models/google_big_query_connection.py +9 -0
- oci/golden_gate/models/google_big_query_connection_summary.py +8 -0
- oci/golden_gate/models/google_cloud_storage_connection.py +9 -0
- oci/golden_gate/models/google_cloud_storage_connection_summary.py +8 -0
- oci/golden_gate/models/hdfs_connection.py +9 -0
- oci/golden_gate/models/hdfs_connection_summary.py +8 -0
- oci/golden_gate/models/java_message_service_connection.py +15 -0
- oci/golden_gate/models/java_message_service_connection_summary.py +14 -0
- oci/golden_gate/models/kafka_bootstrap_server.py +6 -0
- oci/golden_gate/models/kafka_connection.py +9 -0
- oci/golden_gate/models/kafka_connection_summary.py +8 -0
- oci/golden_gate/models/kafka_schema_registry_connection.py +15 -0
- oci/golden_gate/models/kafka_schema_registry_connection_summary.py +14 -0
- oci/golden_gate/models/microsoft_sqlserver_connection.py +15 -0
- oci/golden_gate/models/microsoft_sqlserver_connection_summary.py +14 -0
- oci/golden_gate/models/mongo_db_connection.py +9 -0
- oci/golden_gate/models/mongo_db_connection_summary.py +8 -0
- oci/golden_gate/models/mysql_connection.py +15 -0
- oci/golden_gate/models/mysql_connection_summary.py +14 -0
- oci/golden_gate/models/oci_object_storage_connection.py +9 -0
- oci/golden_gate/models/oci_object_storage_connection_summary.py +8 -0
- oci/golden_gate/models/oracle_connection.py +15 -0
- oci/golden_gate/models/oracle_connection_summary.py +14 -0
- oci/golden_gate/models/oracle_nosql_connection.py +9 -0
- oci/golden_gate/models/oracle_nosql_connection_summary.py +8 -0
- oci/golden_gate/models/postgresql_connection.py +15 -0
- oci/golden_gate/models/postgresql_connection_summary.py +14 -0
- oci/golden_gate/models/redis_connection.py +9 -0
- oci/golden_gate/models/redis_connection_summary.py +8 -0
- oci/golden_gate/models/snowflake_connection.py +9 -0
- oci/golden_gate/models/snowflake_connection_summary.py +8 -0
- oci/golden_gate/models/update_amazon_kinesis_connection_details.py +15 -0
- oci/golden_gate/models/update_amazon_redshift_connection_details.py +15 -0
- oci/golden_gate/models/update_amazon_s3_connection_details.py +15 -0
- oci/golden_gate/models/update_azure_data_lake_storage_connection_details.py +15 -0
- oci/golden_gate/models/update_azure_synapse_connection_details.py +15 -0
- oci/golden_gate/models/update_connection_details.py +94 -2
- oci/golden_gate/models/update_deployment_details.py +2 -2
- oci/golden_gate/models/update_elasticsearch_connection_details.py +15 -0
- oci/golden_gate/models/update_generic_connection_details.py +15 -0
- oci/golden_gate/models/update_golden_gate_connection_details.py +21 -0
- oci/golden_gate/models/update_google_big_query_connection_details.py +15 -0
- oci/golden_gate/models/update_google_cloud_storage_connection_details.py +15 -0
- oci/golden_gate/models/update_hdfs_connection_details.py +15 -0
- oci/golden_gate/models/update_java_message_service_connection_details.py +21 -0
- oci/golden_gate/models/update_kafka_connection_details.py +15 -0
- oci/golden_gate/models/update_kafka_schema_registry_connection_details.py +21 -0
- oci/golden_gate/models/update_microsoft_sqlserver_connection_details.py +21 -0
- oci/golden_gate/models/update_mongo_db_connection_details.py +15 -0
- oci/golden_gate/models/update_mysql_connection_details.py +21 -0
- oci/golden_gate/models/update_oci_object_storage_connection_details.py +15 -0
- oci/golden_gate/models/update_oracle_connection_details.py +21 -0
- oci/golden_gate/models/update_oracle_nosql_connection_details.py +15 -0
- oci/golden_gate/models/update_postgresql_connection_details.py +21 -0
- oci/golden_gate/models/update_redis_connection_details.py +15 -0
- oci/golden_gate/models/update_snowflake_connection_details.py +15 -0
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +1901 -1029
- oci/identity_domains/models/__init__.py +8 -0
- oci/identity_domains/models/extension_user_user.py +59 -0
- oci/identity_domains/models/identity_propagation_trust.py +1623 -0
- oci/identity_domains/models/identity_propagation_trust_impersonation_service_users.py +243 -0
- oci/identity_domains/models/identity_propagation_trust_keytab.py +153 -0
- oci/identity_domains/models/identity_propagation_trusts.py +196 -0
- oci/identity_domains/models/me.py +1 -1
- oci/identity_domains/models/me_name.py +4 -4
- oci/identity_domains/models/user.py +1 -1
- oci/identity_domains/models/user_name.py +4 -4
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +23 -23
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +23 -23
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +48 -48
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +13 -13
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +56 -56
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +11 -11
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +9 -9
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +6 -6
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +173 -173
- oci/optimizer/models/create_profile_details.py +33 -0
- oci/optimizer/models/profile.py +33 -0
- oci/optimizer/models/profile_summary.py +33 -0
- oci/optimizer/models/update_profile_details.py +33 -0
- oci/optimizer/optimizer_client.py +129 -53
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/models/backup.py +53 -21
- oci/psql/models/backup_policy.py +5 -5
- oci/psql/models/backup_source_details.py +10 -5
- oci/psql/models/backup_summary.py +47 -19
- oci/psql/models/change_backup_compartment_details.py +7 -5
- oci/psql/models/change_configuration_compartment_details.py +7 -5
- oci/psql/models/change_db_system_compartment_details.py +3 -3
- oci/psql/models/config_overrides.py +5 -5
- oci/psql/models/config_params.py +17 -17
- oci/psql/models/configuration.py +37 -21
- oci/psql/models/configuration_collection.py +2 -2
- oci/psql/models/configuration_details.py +1 -1
- oci/psql/models/configuration_summary.py +39 -19
- oci/psql/models/connection_details.py +5 -5
- oci/psql/models/create_backup_details.py +13 -9
- oci/psql/models/create_configuration_details.py +21 -15
- oci/psql/models/create_db_instance_details.py +9 -9
- oci/psql/models/create_db_system_details.py +35 -25
- oci/psql/models/credentials.py +3 -3
- oci/psql/models/daily_backup_policy.py +3 -3
- oci/psql/models/db_configuration_override_collection.py +3 -3
- oci/psql/models/db_instance.py +35 -15
- oci/psql/models/db_instance_endpoint.py +3 -3
- oci/psql/models/db_system.py +63 -33
- oci/psql/models/db_system_collection.py +3 -3
- oci/psql/models/db_system_details.py +5 -5
- oci/psql/models/db_system_summary.py +57 -27
- oci/psql/models/default_config_params.py +15 -15
- oci/psql/models/default_configuration.py +31 -19
- oci/psql/models/default_configuration_collection.py +2 -2
- oci/psql/models/default_configuration_details.py +1 -1
- oci/psql/models/default_configuration_summary.py +29 -17
- oci/psql/models/endpoint.py +7 -7
- oci/psql/models/failover_db_system_details.py +13 -9
- oci/psql/models/management_policy.py +1 -1
- oci/psql/models/management_policy_details.py +1 -1
- oci/psql/models/monthly_backup_policy.py +5 -5
- oci/psql/models/network_details.py +15 -7
- oci/psql/models/none_backup_policy.py +1 -1
- oci/psql/models/none_source_details.py +1 -1
- oci/psql/models/oci_optimized_storage_details.py +3 -3
- oci/psql/models/password_details.py +4 -4
- oci/psql/models/patch_db_system_details.py +2 -2
- oci/psql/models/plain_text_password_details.py +3 -3
- oci/psql/models/primary_db_instance_details.py +3 -3
- oci/psql/models/reset_master_user_password_details.py +2 -2
- oci/psql/models/restart_db_instance_in_db_system_details.py +5 -5
- oci/psql/models/restore_db_system_details.py +11 -7
- oci/psql/models/shape_collection.py +3 -3
- oci/psql/models/shape_summary.py +11 -9
- oci/psql/models/source_details.py +1 -1
- oci/psql/models/storage_details.py +13 -13
- oci/psql/models/update_backup_details.py +4 -4
- oci/psql/models/update_configuration_details.py +73 -7
- oci/psql/models/update_db_config_params.py +11 -7
- oci/psql/models/update_db_system_db_instance_details.py +5 -5
- oci/psql/models/update_db_system_details.py +4 -4
- oci/psql/models/update_storage_details_params.py +5 -5
- oci/psql/models/vault_secret_password_details.py +9 -5
- oci/psql/models/weekly_backup_policy.py +5 -5
- oci/psql/models/work_request.py +19 -9
- oci/psql/models/work_request_error.py +12 -6
- oci/psql/models/work_request_error_collection.py +2 -2
- oci/psql/models/work_request_log_entry.py +6 -2
- oci/psql/models/work_request_log_entry_collection.py +2 -2
- oci/psql/models/work_request_resource.py +4 -4
- oci/psql/models/work_request_summary.py +18 -8
- oci/psql/models/work_request_summary_collection.py +2 -2
- oci/psql/postgresql_client.py +186 -127
- oci/psql/postgresql_client_composite_operations.py +23 -69
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +23 -23
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/models/discovery_details.py +7 -3
- oci/stack_monitoring/models/discovery_job_summary.py +7 -3
- oci/stack_monitoring/stack_monitoring_client.py +58 -58
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/models/__init__.py +24 -0
- oci/usage_api/models/average_carbon_emission.py +103 -0
- oci/usage_api/models/clean_energy_usage.py +134 -0
- oci/usage_api/models/create_schedule_details.py +4 -4
- oci/usage_api/models/create_usage_carbon_emissions_query_details.py +99 -0
- oci/usage_api/models/request_usage_carbon_emissions_details.py +297 -0
- oci/usage_api/models/schedule.py +4 -4
- oci/usage_api/models/update_schedule_details.py +2 -2
- oci/usage_api/models/update_usage_carbon_emissions_query_details.py +68 -0
- oci/usage_api/models/usage_carbon_emission_aggregation.py +103 -0
- oci/usage_api/models/usage_carbon_emission_summary.py +630 -0
- oci/usage_api/models/usage_carbon_emissions_query.py +130 -0
- oci/usage_api/models/usage_carbon_emissions_query_collection.py +72 -0
- oci/usage_api/models/usage_carbon_emissions_query_definition.py +157 -0
- oci/usage_api/models/usage_carbon_emissions_query_summary.py +99 -0
- oci/usage_api/models/usage_carbon_emissions_report_query.py +356 -0
- oci/usage_api/usageapi_client.py +1151 -210
- oci/vault/vaults_client.py +11 -11
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/METADATA +1 -1
- {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/RECORD +560 -536
- {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/WHEEL +0 -0
- {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,98 @@ class DataCatalogClientCompositeOperations(object):
|
|
25
25
|
"""
|
26
26
|
self.client = client
|
27
27
|
|
28
|
+
def add_catalog_lock_and_wait_for_state(self, catalog_id, add_resource_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
|
+
"""
|
30
|
+
Calls :py:func:`~oci.data_catalog.DataCatalogClient.add_catalog_lock` and waits for the :py:class:`~oci.data_catalog.models.Catalog` acted upon
|
31
|
+
to enter the given state(s).
|
32
|
+
|
33
|
+
:param str catalog_id: (required)
|
34
|
+
Unique catalog identifier.
|
35
|
+
|
36
|
+
:param oci.data_catalog.models.AddResourceLockDetails add_resource_lock_details: (required)
|
37
|
+
AddResourceLockDetails body parameter
|
38
|
+
|
39
|
+
:param list[str] wait_for_states:
|
40
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_catalog.models.Catalog.lifecycle_state`
|
41
|
+
|
42
|
+
:param dict operation_kwargs:
|
43
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_catalog.DataCatalogClient.add_catalog_lock`
|
44
|
+
|
45
|
+
:param dict waiter_kwargs:
|
46
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
47
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
48
|
+
"""
|
49
|
+
operation_result = self.client.add_catalog_lock(catalog_id, add_resource_lock_details, **operation_kwargs)
|
50
|
+
if not wait_for_states:
|
51
|
+
return operation_result
|
52
|
+
|
53
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
54
|
+
catalog_id = operation_result.data.id
|
55
|
+
|
56
|
+
try:
|
57
|
+
waiter_result = oci.wait_until(
|
58
|
+
self.client,
|
59
|
+
self.client.get_catalog(catalog_id), # noqa: F821
|
60
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
61
|
+
**waiter_kwargs
|
62
|
+
)
|
63
|
+
result_to_return = waiter_result
|
64
|
+
|
65
|
+
return result_to_return
|
66
|
+
except (NameError, TypeError) as e:
|
67
|
+
if not e.args:
|
68
|
+
e.args = ('',)
|
69
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
70
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
71
|
+
except Exception as e:
|
72
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
73
|
+
|
74
|
+
def add_catalog_private_endpoint_lock_and_wait_for_state(self, catalog_private_endpoint_id, add_resource_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
75
|
+
"""
|
76
|
+
Calls :py:func:`~oci.data_catalog.DataCatalogClient.add_catalog_private_endpoint_lock` and waits for the :py:class:`~oci.data_catalog.models.CatalogPrivateEndpoint` acted upon
|
77
|
+
to enter the given state(s).
|
78
|
+
|
79
|
+
:param str catalog_private_endpoint_id: (required)
|
80
|
+
Unique private reverse connection identifier.
|
81
|
+
|
82
|
+
:param oci.data_catalog.models.AddResourceLockDetails add_resource_lock_details: (required)
|
83
|
+
AddResourceLockDetails body parameter
|
84
|
+
|
85
|
+
:param list[str] wait_for_states:
|
86
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_catalog.models.CatalogPrivateEndpoint.lifecycle_state`
|
87
|
+
|
88
|
+
:param dict operation_kwargs:
|
89
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_catalog.DataCatalogClient.add_catalog_private_endpoint_lock`
|
90
|
+
|
91
|
+
:param dict waiter_kwargs:
|
92
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
93
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
94
|
+
"""
|
95
|
+
operation_result = self.client.add_catalog_private_endpoint_lock(catalog_private_endpoint_id, add_resource_lock_details, **operation_kwargs)
|
96
|
+
if not wait_for_states:
|
97
|
+
return operation_result
|
98
|
+
|
99
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
100
|
+
catalog_private_endpoint_id = operation_result.data.id
|
101
|
+
|
102
|
+
try:
|
103
|
+
waiter_result = oci.wait_until(
|
104
|
+
self.client,
|
105
|
+
self.client.get_catalog_private_endpoint(catalog_private_endpoint_id), # noqa: F821
|
106
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
107
|
+
**waiter_kwargs
|
108
|
+
)
|
109
|
+
result_to_return = waiter_result
|
110
|
+
|
111
|
+
return result_to_return
|
112
|
+
except (NameError, TypeError) as e:
|
113
|
+
if not e.args:
|
114
|
+
e.args = ('',)
|
115
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
116
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
117
|
+
except Exception as e:
|
118
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
119
|
+
|
28
120
|
def add_data_selector_patterns_and_wait_for_state(self, catalog_id, data_asset_key, data_selector_pattern_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
121
|
"""
|
30
122
|
Calls :py:func:`~oci.data_catalog.DataCatalogClient.add_data_selector_patterns` and waits for the :py:class:`~oci.data_catalog.models.DataAsset` acted upon
|
@@ -74,6 +166,52 @@ class DataCatalogClientCompositeOperations(object):
|
|
74
166
|
except Exception as e:
|
75
167
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
76
168
|
|
169
|
+
def add_metastore_lock_and_wait_for_state(self, metastore_id, add_resource_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
170
|
+
"""
|
171
|
+
Calls :py:func:`~oci.data_catalog.DataCatalogClient.add_metastore_lock` and waits for the :py:class:`~oci.data_catalog.models.Metastore` acted upon
|
172
|
+
to enter the given state(s).
|
173
|
+
|
174
|
+
:param str metastore_id: (required)
|
175
|
+
The metastore's OCID.
|
176
|
+
|
177
|
+
:param oci.data_catalog.models.AddResourceLockDetails add_resource_lock_details: (required)
|
178
|
+
AddResourceLockDetails body parameter
|
179
|
+
|
180
|
+
:param list[str] wait_for_states:
|
181
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_catalog.models.Metastore.lifecycle_state`
|
182
|
+
|
183
|
+
:param dict operation_kwargs:
|
184
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_catalog.DataCatalogClient.add_metastore_lock`
|
185
|
+
|
186
|
+
:param dict waiter_kwargs:
|
187
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
188
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
189
|
+
"""
|
190
|
+
operation_result = self.client.add_metastore_lock(metastore_id, add_resource_lock_details, **operation_kwargs)
|
191
|
+
if not wait_for_states:
|
192
|
+
return operation_result
|
193
|
+
|
194
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
195
|
+
metastore_id = operation_result.data.id
|
196
|
+
|
197
|
+
try:
|
198
|
+
waiter_result = oci.wait_until(
|
199
|
+
self.client,
|
200
|
+
self.client.get_metastore(metastore_id), # noqa: F821
|
201
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
202
|
+
**waiter_kwargs
|
203
|
+
)
|
204
|
+
result_to_return = waiter_result
|
205
|
+
|
206
|
+
return result_to_return
|
207
|
+
except (NameError, TypeError) as e:
|
208
|
+
if not e.args:
|
209
|
+
e.args = ('',)
|
210
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
211
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
212
|
+
except Exception as e:
|
213
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
214
|
+
|
77
215
|
def associate_custom_property_and_wait_for_state(self, catalog_id, type_key, associate_custom_property_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
78
216
|
"""
|
79
217
|
Calls :py:func:`~oci.data_catalog.DataCatalogClient.associate_custom_property` and waits for the :py:class:`~oci.data_catalog.models.Type` acted upon
|
@@ -1511,6 +1649,98 @@ class DataCatalogClientCompositeOperations(object):
|
|
1511
1649
|
except Exception as e:
|
1512
1650
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1513
1651
|
|
1652
|
+
def remove_catalog_lock_and_wait_for_state(self, catalog_id, remove_resource_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1653
|
+
"""
|
1654
|
+
Calls :py:func:`~oci.data_catalog.DataCatalogClient.remove_catalog_lock` and waits for the :py:class:`~oci.data_catalog.models.Catalog` acted upon
|
1655
|
+
to enter the given state(s).
|
1656
|
+
|
1657
|
+
:param str catalog_id: (required)
|
1658
|
+
Unique catalog identifier.
|
1659
|
+
|
1660
|
+
:param oci.data_catalog.models.RemoveResourceLockDetails remove_resource_lock_details: (required)
|
1661
|
+
RemoveResourceLockDetails body parameter
|
1662
|
+
|
1663
|
+
:param list[str] wait_for_states:
|
1664
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_catalog.models.Catalog.lifecycle_state`
|
1665
|
+
|
1666
|
+
:param dict operation_kwargs:
|
1667
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_catalog.DataCatalogClient.remove_catalog_lock`
|
1668
|
+
|
1669
|
+
:param dict waiter_kwargs:
|
1670
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1671
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1672
|
+
"""
|
1673
|
+
operation_result = self.client.remove_catalog_lock(catalog_id, remove_resource_lock_details, **operation_kwargs)
|
1674
|
+
if not wait_for_states:
|
1675
|
+
return operation_result
|
1676
|
+
|
1677
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1678
|
+
catalog_id = operation_result.data.id
|
1679
|
+
|
1680
|
+
try:
|
1681
|
+
waiter_result = oci.wait_until(
|
1682
|
+
self.client,
|
1683
|
+
self.client.get_catalog(catalog_id), # noqa: F821
|
1684
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
1685
|
+
**waiter_kwargs
|
1686
|
+
)
|
1687
|
+
result_to_return = waiter_result
|
1688
|
+
|
1689
|
+
return result_to_return
|
1690
|
+
except (NameError, TypeError) as e:
|
1691
|
+
if not e.args:
|
1692
|
+
e.args = ('',)
|
1693
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
1694
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1695
|
+
except Exception as e:
|
1696
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1697
|
+
|
1698
|
+
def remove_catalog_private_endpoint_lock_and_wait_for_state(self, catalog_private_endpoint_id, remove_resource_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1699
|
+
"""
|
1700
|
+
Calls :py:func:`~oci.data_catalog.DataCatalogClient.remove_catalog_private_endpoint_lock` and waits for the :py:class:`~oci.data_catalog.models.CatalogPrivateEndpoint` acted upon
|
1701
|
+
to enter the given state(s).
|
1702
|
+
|
1703
|
+
:param str catalog_private_endpoint_id: (required)
|
1704
|
+
Unique private reverse connection identifier.
|
1705
|
+
|
1706
|
+
:param oci.data_catalog.models.RemoveResourceLockDetails remove_resource_lock_details: (required)
|
1707
|
+
RemoveResourceLockDetails body parameter
|
1708
|
+
|
1709
|
+
:param list[str] wait_for_states:
|
1710
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_catalog.models.CatalogPrivateEndpoint.lifecycle_state`
|
1711
|
+
|
1712
|
+
:param dict operation_kwargs:
|
1713
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_catalog.DataCatalogClient.remove_catalog_private_endpoint_lock`
|
1714
|
+
|
1715
|
+
:param dict waiter_kwargs:
|
1716
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1717
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1718
|
+
"""
|
1719
|
+
operation_result = self.client.remove_catalog_private_endpoint_lock(catalog_private_endpoint_id, remove_resource_lock_details, **operation_kwargs)
|
1720
|
+
if not wait_for_states:
|
1721
|
+
return operation_result
|
1722
|
+
|
1723
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1724
|
+
catalog_private_endpoint_id = operation_result.data.id
|
1725
|
+
|
1726
|
+
try:
|
1727
|
+
waiter_result = oci.wait_until(
|
1728
|
+
self.client,
|
1729
|
+
self.client.get_catalog_private_endpoint(catalog_private_endpoint_id), # noqa: F821
|
1730
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
1731
|
+
**waiter_kwargs
|
1732
|
+
)
|
1733
|
+
result_to_return = waiter_result
|
1734
|
+
|
1735
|
+
return result_to_return
|
1736
|
+
except (NameError, TypeError) as e:
|
1737
|
+
if not e.args:
|
1738
|
+
e.args = ('',)
|
1739
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
1740
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1741
|
+
except Exception as e:
|
1742
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1743
|
+
|
1514
1744
|
def remove_data_selector_patterns_and_wait_for_state(self, catalog_id, data_asset_key, data_selector_pattern_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1515
1745
|
"""
|
1516
1746
|
Calls :py:func:`~oci.data_catalog.DataCatalogClient.remove_data_selector_patterns` and waits for the :py:class:`~oci.data_catalog.models.DataAsset` acted upon
|
@@ -1560,6 +1790,52 @@ class DataCatalogClientCompositeOperations(object):
|
|
1560
1790
|
except Exception as e:
|
1561
1791
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1562
1792
|
|
1793
|
+
def remove_metastore_lock_and_wait_for_state(self, metastore_id, remove_resource_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1794
|
+
"""
|
1795
|
+
Calls :py:func:`~oci.data_catalog.DataCatalogClient.remove_metastore_lock` and waits for the :py:class:`~oci.data_catalog.models.Metastore` acted upon
|
1796
|
+
to enter the given state(s).
|
1797
|
+
|
1798
|
+
:param str metastore_id: (required)
|
1799
|
+
The metastore's OCID.
|
1800
|
+
|
1801
|
+
:param oci.data_catalog.models.RemoveResourceLockDetails remove_resource_lock_details: (required)
|
1802
|
+
RemoveResourceLockDetails body parameter
|
1803
|
+
|
1804
|
+
:param list[str] wait_for_states:
|
1805
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_catalog.models.Metastore.lifecycle_state`
|
1806
|
+
|
1807
|
+
:param dict operation_kwargs:
|
1808
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_catalog.DataCatalogClient.remove_metastore_lock`
|
1809
|
+
|
1810
|
+
:param dict waiter_kwargs:
|
1811
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1812
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1813
|
+
"""
|
1814
|
+
operation_result = self.client.remove_metastore_lock(metastore_id, remove_resource_lock_details, **operation_kwargs)
|
1815
|
+
if not wait_for_states:
|
1816
|
+
return operation_result
|
1817
|
+
|
1818
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1819
|
+
metastore_id = operation_result.data.id
|
1820
|
+
|
1821
|
+
try:
|
1822
|
+
waiter_result = oci.wait_until(
|
1823
|
+
self.client,
|
1824
|
+
self.client.get_metastore(metastore_id), # noqa: F821
|
1825
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
1826
|
+
**waiter_kwargs
|
1827
|
+
)
|
1828
|
+
result_to_return = waiter_result
|
1829
|
+
|
1830
|
+
return result_to_return
|
1831
|
+
except (NameError, TypeError) as e:
|
1832
|
+
if not e.args:
|
1833
|
+
e.args = ('',)
|
1834
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
1835
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1836
|
+
except Exception as e:
|
1837
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1838
|
+
|
1563
1839
|
def update_attribute_and_wait_for_state(self, catalog_id, data_asset_key, entity_key, attribute_key, update_attribute_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1564
1840
|
"""
|
1565
1841
|
Calls :py:func:`~oci.data_catalog.DataCatalogClient.update_attribute` and waits for the :py:class:`~oci.data_catalog.models.Attribute` acted upon
|
@@ -6,6 +6,7 @@
|
|
6
6
|
|
7
7
|
from __future__ import absolute_import
|
8
8
|
|
9
|
+
from .add_resource_lock_details import AddResourceLockDetails
|
9
10
|
from .asynchronous_export_glossary_details import AsynchronousExportGlossaryDetails
|
10
11
|
from .asynchronous_export_glossary_result import AsynchronousExportGlossaryResult
|
11
12
|
from .asynchronous_export_request_details import AsynchronousExportRequestDetails
|
@@ -134,6 +135,8 @@ from .process_recommendation_details import ProcessRecommendationDetails
|
|
134
135
|
from .property_definition import PropertyDefinition
|
135
136
|
from .recommendation_collection import RecommendationCollection
|
136
137
|
from .recommendation_details import RecommendationDetails
|
138
|
+
from .remove_resource_lock_details import RemoveResourceLockDetails
|
139
|
+
from .resource_lock import ResourceLock
|
137
140
|
from .rule_attribute import RuleAttribute
|
138
141
|
from .rule_collection import RuleCollection
|
139
142
|
from .rule_summary import RuleSummary
|
@@ -183,6 +186,7 @@ from .work_request_resource import WorkRequestResource
|
|
183
186
|
|
184
187
|
# Maps type names to classes for data_catalog services.
|
185
188
|
data_catalog_type_mapping = {
|
189
|
+
"AddResourceLockDetails": AddResourceLockDetails,
|
186
190
|
"AsynchronousExportGlossaryDetails": AsynchronousExportGlossaryDetails,
|
187
191
|
"AsynchronousExportGlossaryResult": AsynchronousExportGlossaryResult,
|
188
192
|
"AsynchronousExportRequestDetails": AsynchronousExportRequestDetails,
|
@@ -311,6 +315,8 @@ data_catalog_type_mapping = {
|
|
311
315
|
"PropertyDefinition": PropertyDefinition,
|
312
316
|
"RecommendationCollection": RecommendationCollection,
|
313
317
|
"RecommendationDetails": RecommendationDetails,
|
318
|
+
"RemoveResourceLockDetails": RemoveResourceLockDetails,
|
319
|
+
"ResourceLock": ResourceLock,
|
314
320
|
"RuleAttribute": RuleAttribute,
|
315
321
|
"RuleCollection": RuleCollection,
|
316
322
|
"RuleSummary": RuleSummary,
|
@@ -0,0 +1,183 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2023, 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
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190325
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class AddResourceLockDetails(object):
|
14
|
+
"""
|
15
|
+
AddResourceLockDetails model.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the type property of a AddResourceLockDetails.
|
19
|
+
#: This constant has a value of "FULL"
|
20
|
+
TYPE_FULL = "FULL"
|
21
|
+
|
22
|
+
#: A constant which can be used with the type property of a AddResourceLockDetails.
|
23
|
+
#: This constant has a value of "DELETE"
|
24
|
+
TYPE_DELETE = "DELETE"
|
25
|
+
|
26
|
+
def __init__(self, **kwargs):
|
27
|
+
"""
|
28
|
+
Initializes a new AddResourceLockDetails object with values from keyword arguments.
|
29
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
30
|
+
|
31
|
+
:param type:
|
32
|
+
The value to assign to the type property of this AddResourceLockDetails.
|
33
|
+
Allowed values for this property are: "FULL", "DELETE"
|
34
|
+
:type type: str
|
35
|
+
|
36
|
+
:param related_resource_id:
|
37
|
+
The value to assign to the related_resource_id property of this AddResourceLockDetails.
|
38
|
+
:type related_resource_id: str
|
39
|
+
|
40
|
+
:param message:
|
41
|
+
The value to assign to the message property of this AddResourceLockDetails.
|
42
|
+
:type message: str
|
43
|
+
|
44
|
+
:param time_created:
|
45
|
+
The value to assign to the time_created property of this AddResourceLockDetails.
|
46
|
+
:type time_created: datetime
|
47
|
+
|
48
|
+
"""
|
49
|
+
self.swagger_types = {
|
50
|
+
'type': 'str',
|
51
|
+
'related_resource_id': 'str',
|
52
|
+
'message': 'str',
|
53
|
+
'time_created': 'datetime'
|
54
|
+
}
|
55
|
+
|
56
|
+
self.attribute_map = {
|
57
|
+
'type': 'type',
|
58
|
+
'related_resource_id': 'relatedResourceId',
|
59
|
+
'message': 'message',
|
60
|
+
'time_created': 'timeCreated'
|
61
|
+
}
|
62
|
+
|
63
|
+
self._type = None
|
64
|
+
self._related_resource_id = None
|
65
|
+
self._message = None
|
66
|
+
self._time_created = None
|
67
|
+
|
68
|
+
@property
|
69
|
+
def type(self):
|
70
|
+
"""
|
71
|
+
**[Required]** Gets the type of this AddResourceLockDetails.
|
72
|
+
Type of the lock.
|
73
|
+
|
74
|
+
Allowed values for this property are: "FULL", "DELETE"
|
75
|
+
|
76
|
+
|
77
|
+
:return: The type of this AddResourceLockDetails.
|
78
|
+
:rtype: str
|
79
|
+
"""
|
80
|
+
return self._type
|
81
|
+
|
82
|
+
@type.setter
|
83
|
+
def type(self, type):
|
84
|
+
"""
|
85
|
+
Sets the type of this AddResourceLockDetails.
|
86
|
+
Type of the lock.
|
87
|
+
|
88
|
+
|
89
|
+
:param type: The type of this AddResourceLockDetails.
|
90
|
+
:type: str
|
91
|
+
"""
|
92
|
+
allowed_values = ["FULL", "DELETE"]
|
93
|
+
if not value_allowed_none_or_none_sentinel(type, allowed_values):
|
94
|
+
raise ValueError(
|
95
|
+
f"Invalid value for `type`, must be None or one of {allowed_values}"
|
96
|
+
)
|
97
|
+
self._type = type
|
98
|
+
|
99
|
+
@property
|
100
|
+
def related_resource_id(self):
|
101
|
+
"""
|
102
|
+
Gets the related_resource_id of this AddResourceLockDetails.
|
103
|
+
The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
|
104
|
+
|
105
|
+
|
106
|
+
:return: The related_resource_id of this AddResourceLockDetails.
|
107
|
+
:rtype: str
|
108
|
+
"""
|
109
|
+
return self._related_resource_id
|
110
|
+
|
111
|
+
@related_resource_id.setter
|
112
|
+
def related_resource_id(self, related_resource_id):
|
113
|
+
"""
|
114
|
+
Sets the related_resource_id of this AddResourceLockDetails.
|
115
|
+
The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
|
116
|
+
|
117
|
+
|
118
|
+
:param related_resource_id: The related_resource_id of this AddResourceLockDetails.
|
119
|
+
:type: str
|
120
|
+
"""
|
121
|
+
self._related_resource_id = related_resource_id
|
122
|
+
|
123
|
+
@property
|
124
|
+
def message(self):
|
125
|
+
"""
|
126
|
+
Gets the message of this AddResourceLockDetails.
|
127
|
+
A message added by the creator of the lock. This is typically used to give an
|
128
|
+
indication of why the resource is locked.
|
129
|
+
|
130
|
+
|
131
|
+
:return: The message of this AddResourceLockDetails.
|
132
|
+
:rtype: str
|
133
|
+
"""
|
134
|
+
return self._message
|
135
|
+
|
136
|
+
@message.setter
|
137
|
+
def message(self, message):
|
138
|
+
"""
|
139
|
+
Sets the message of this AddResourceLockDetails.
|
140
|
+
A message added by the creator of the lock. This is typically used to give an
|
141
|
+
indication of why the resource is locked.
|
142
|
+
|
143
|
+
|
144
|
+
:param message: The message of this AddResourceLockDetails.
|
145
|
+
:type: str
|
146
|
+
"""
|
147
|
+
self._message = message
|
148
|
+
|
149
|
+
@property
|
150
|
+
def time_created(self):
|
151
|
+
"""
|
152
|
+
Gets the time_created of this AddResourceLockDetails.
|
153
|
+
When the lock was created.
|
154
|
+
|
155
|
+
|
156
|
+
:return: The time_created of this AddResourceLockDetails.
|
157
|
+
:rtype: datetime
|
158
|
+
"""
|
159
|
+
return self._time_created
|
160
|
+
|
161
|
+
@time_created.setter
|
162
|
+
def time_created(self, time_created):
|
163
|
+
"""
|
164
|
+
Sets the time_created of this AddResourceLockDetails.
|
165
|
+
When the lock was created.
|
166
|
+
|
167
|
+
|
168
|
+
:param time_created: The time_created of this AddResourceLockDetails.
|
169
|
+
:type: datetime
|
170
|
+
"""
|
171
|
+
self._time_created = time_created
|
172
|
+
|
173
|
+
def __repr__(self):
|
174
|
+
return formatted_flat_dict(self)
|
175
|
+
|
176
|
+
def __eq__(self, other):
|
177
|
+
if other is None:
|
178
|
+
return False
|
179
|
+
|
180
|
+
return self.__dict__ == other.__dict__
|
181
|
+
|
182
|
+
def __ne__(self, other):
|
183
|
+
return not self == other
|
@@ -98,6 +98,10 @@ class Catalog(object):
|
|
98
98
|
The value to assign to the freeform_tags property of this Catalog.
|
99
99
|
:type freeform_tags: dict(str, str)
|
100
100
|
|
101
|
+
:param system_tags:
|
102
|
+
The value to assign to the system_tags property of this Catalog.
|
103
|
+
:type system_tags: dict(str, dict(str, object))
|
104
|
+
|
101
105
|
:param defined_tags:
|
102
106
|
The value to assign to the defined_tags property of this Catalog.
|
103
107
|
:type defined_tags: dict(str, dict(str, object))
|
@@ -106,6 +110,10 @@ class Catalog(object):
|
|
106
110
|
The value to assign to the attached_catalog_private_endpoints property of this Catalog.
|
107
111
|
:type attached_catalog_private_endpoints: list[str]
|
108
112
|
|
113
|
+
:param locks:
|
114
|
+
The value to assign to the locks property of this Catalog.
|
115
|
+
:type locks: list[oci.data_catalog.models.ResourceLock]
|
116
|
+
|
109
117
|
"""
|
110
118
|
self.swagger_types = {
|
111
119
|
'id': 'str',
|
@@ -119,8 +127,10 @@ class Catalog(object):
|
|
119
127
|
'lifecycle_state': 'str',
|
120
128
|
'lifecycle_details': 'str',
|
121
129
|
'freeform_tags': 'dict(str, str)',
|
130
|
+
'system_tags': 'dict(str, dict(str, object))',
|
122
131
|
'defined_tags': 'dict(str, dict(str, object))',
|
123
|
-
'attached_catalog_private_endpoints': 'list[str]'
|
132
|
+
'attached_catalog_private_endpoints': 'list[str]',
|
133
|
+
'locks': 'list[ResourceLock]'
|
124
134
|
}
|
125
135
|
|
126
136
|
self.attribute_map = {
|
@@ -135,8 +145,10 @@ class Catalog(object):
|
|
135
145
|
'lifecycle_state': 'lifecycleState',
|
136
146
|
'lifecycle_details': 'lifecycleDetails',
|
137
147
|
'freeform_tags': 'freeformTags',
|
148
|
+
'system_tags': 'systemTags',
|
138
149
|
'defined_tags': 'definedTags',
|
139
|
-
'attached_catalog_private_endpoints': 'attachedCatalogPrivateEndpoints'
|
150
|
+
'attached_catalog_private_endpoints': 'attachedCatalogPrivateEndpoints',
|
151
|
+
'locks': 'locks'
|
140
152
|
}
|
141
153
|
|
142
154
|
self._id = None
|
@@ -150,8 +162,10 @@ class Catalog(object):
|
|
150
162
|
self._lifecycle_state = None
|
151
163
|
self._lifecycle_details = None
|
152
164
|
self._freeform_tags = None
|
165
|
+
self._system_tags = None
|
153
166
|
self._defined_tags = None
|
154
167
|
self._attached_catalog_private_endpoints = None
|
168
|
+
self._locks = None
|
155
169
|
|
156
170
|
@property
|
157
171
|
def id(self):
|
@@ -437,6 +451,42 @@ class Catalog(object):
|
|
437
451
|
"""
|
438
452
|
self._freeform_tags = freeform_tags
|
439
453
|
|
454
|
+
@property
|
455
|
+
def system_tags(self):
|
456
|
+
"""
|
457
|
+
Gets the system_tags of this Catalog.
|
458
|
+
System tags for this resource. Each key is predefined and scoped to a namespace.
|
459
|
+
For more information, see `Resource Tags`__.
|
460
|
+
System tags can be viewed by users, but can only be created by the system.
|
461
|
+
|
462
|
+
Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
463
|
+
|
464
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
465
|
+
|
466
|
+
|
467
|
+
:return: The system_tags of this Catalog.
|
468
|
+
:rtype: dict(str, dict(str, object))
|
469
|
+
"""
|
470
|
+
return self._system_tags
|
471
|
+
|
472
|
+
@system_tags.setter
|
473
|
+
def system_tags(self, system_tags):
|
474
|
+
"""
|
475
|
+
Sets the system_tags of this Catalog.
|
476
|
+
System tags for this resource. Each key is predefined and scoped to a namespace.
|
477
|
+
For more information, see `Resource Tags`__.
|
478
|
+
System tags can be viewed by users, but can only be created by the system.
|
479
|
+
|
480
|
+
Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
481
|
+
|
482
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
483
|
+
|
484
|
+
|
485
|
+
:param system_tags: The system_tags of this Catalog.
|
486
|
+
:type: dict(str, dict(str, object))
|
487
|
+
"""
|
488
|
+
self._system_tags = system_tags
|
489
|
+
|
440
490
|
@property
|
441
491
|
def defined_tags(self):
|
442
492
|
"""
|
@@ -487,6 +537,30 @@ class Catalog(object):
|
|
487
537
|
"""
|
488
538
|
self._attached_catalog_private_endpoints = attached_catalog_private_endpoints
|
489
539
|
|
540
|
+
@property
|
541
|
+
def locks(self):
|
542
|
+
"""
|
543
|
+
Gets the locks of this Catalog.
|
544
|
+
Locks associated with this resource.
|
545
|
+
|
546
|
+
|
547
|
+
:return: The locks of this Catalog.
|
548
|
+
:rtype: list[oci.data_catalog.models.ResourceLock]
|
549
|
+
"""
|
550
|
+
return self._locks
|
551
|
+
|
552
|
+
@locks.setter
|
553
|
+
def locks(self, locks):
|
554
|
+
"""
|
555
|
+
Sets the locks of this Catalog.
|
556
|
+
Locks associated with this resource.
|
557
|
+
|
558
|
+
|
559
|
+
:param locks: The locks of this Catalog.
|
560
|
+
:type: list[oci.data_catalog.models.ResourceLock]
|
561
|
+
"""
|
562
|
+
self._locks = locks
|
563
|
+
|
490
564
|
def __repr__(self):
|
491
565
|
return formatted_flat_dict(self)
|
492
566
|
|