oci 2.100.0__py3-none-any.whl → 2.102.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/__init__.py +2 -2
- oci/access_governance_cp/__init__.py +12 -0
- oci/access_governance_cp/access_governance_cp_client.py +999 -0
- oci/access_governance_cp/access_governance_cp_client_composite_operations.py +165 -0
- oci/access_governance_cp/models/__init__.py +30 -0
- oci/{data_connectivity/models/change_endpoint_compartment_details.py → access_governance_cp/models/change_governance_instance_compartment_details.py} +10 -10
- oci/access_governance_cp/models/create_governance_instance_details.py +349 -0
- oci/access_governance_cp/models/governance_instance.py +500 -0
- oci/{data_connectivity/models/work_request_summary_collection.py → access_governance_cp/models/governance_instance_collection.py} +14 -14
- oci/{data_connectivity/models/types_summary_collection.py → access_governance_cp/models/governance_instance_configuration.py} +20 -24
- oci/access_governance_cp/models/governance_instance_summary.py +469 -0
- oci/access_governance_cp/models/sender_config.py +194 -0
- oci/access_governance_cp/models/update_governance_instance_configuration_details.py +66 -0
- oci/access_governance_cp/models/update_governance_instance_details.py +223 -0
- oci/access_governance_cp/models/update_sender_config.py +163 -0
- oci/adm/application_dependency_management_client.py +18 -18
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +3 -3
- oci/ai_language/ai_service_language_client.py +35 -35
- 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 +30 -30
- 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 +40 -40
- 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 +7 -7
- 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_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 +36 -36
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +89 -89
- oci/core/compute_management_client.py +145 -31
- oci/core/compute_management_client_composite_operations.py +45 -0
- oci/core/models/__init__.py +2 -0
- oci/core/models/instance_configuration_availability_config.py +35 -0
- oci/core/models/instance_configuration_block_volume_replica_details.py +107 -0
- oci/core/models/instance_configuration_create_volume_details.py +66 -0
- oci/core/models/instance_configuration_instance_source_via_image_details.py +31 -0
- oci/core/virtual_network_client.py +241 -241
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +139 -139
- oci/data_flow/data_flow_client.py +28 -28
- oci/data_integration/data_integration_client.py +152 -152
- oci/data_labeling_service/data_labeling_management_client.py +16 -16
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +214 -214
- oci/data_science/data_science_client.py +85 -85
- oci/database/database_client.py +1130 -340
- oci/database/database_client_composite_operations.py +203 -0
- oci/database/models/__init__.py +10 -0
- oci/database/models/change_disaster_recovery_configuration_details.py +64 -2
- oci/database/models/create_oneoff_patch_details.py +280 -0
- oci/database/models/db_backup_config.py +189 -0
- oci/database/models/disaster_recovery_configuration.py +64 -2
- oci/database/models/download_oneoff_patch.py +132 -0
- oci/database/models/oneoff_patch.py +580 -0
- oci/database/models/oneoff_patch_summary.py +586 -0
- oci/database/models/update_oneoff_patch_details.py +117 -0
- oci/database_management/db_management_client.py +157 -157
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/sql_tuning_client.py +10 -10
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +19 -19
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +51 -51
- 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 +35 -35
- 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 +357 -36
- oci/fusion_apps/fusion_applications_client_composite_operations.py +90 -0
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/models/__init__.py +2 -12
- oci/fusion_apps/models/create_service_attachment_details.py +45 -52
- oci/fusion_apps/models/service_attachment.py +0 -31
- oci/fusion_apps/models/verify_service_attachment_details.py +101 -0
- 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 +53 -53
- 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 +1 -1
- oci/identity_domains/identity_domains_client.py +134 -134
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +44 -44
- 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 +22 -22
- oci/log_analytics/log_analytics_client.py +184 -184
- oci/logging/logging_management_client.py +32 -32
- 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 +25 -25
- 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 +26 -26
- 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 +17 -17
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +22 -22
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/ocvp/esxi_host_client.py +5 -5
- oci/ocvp/models/__init__.py +4 -0
- oci/ocvp/models/create_esxi_host_details.py +8 -6
- oci/ocvp/models/create_sddc_details.py +37 -2
- oci/ocvp/models/datastore_info.py +122 -0
- oci/ocvp/models/datastore_summary.py +152 -0
- oci/ocvp/models/esxi_host.py +2 -2
- oci/ocvp/models/esxi_host_summary.py +2 -2
- oci/ocvp/models/sddc.py +37 -6
- oci/ocvp/models/supported_host_shape_summary.py +33 -2
- oci/ocvp/sddc_client.py +21 -15
- 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 +151 -151
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- 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/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +7 -7
- oci/recovery/database_recovery_client.py +23 -23
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_cluster_client.py +7 -7
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +10 -10
- oci/rover/shape_client.py +1 -1
- 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/stack_monitoring_client.py +22 -22
- 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 +9 -9
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/rewards_client.py +6 -6
- oci/usage_api/usageapi_client.py +19 -19
- 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.100.0.dist-info → oci-2.102.0.dist-info}/METADATA +1 -1
- {oci-2.100.0.dist-info → oci-2.102.0.dist-info}/RECORD +256 -467
- oci/data_connectivity/__init__.py +0 -14
- oci/data_connectivity/data_connectivity_management_client.py +0 -7456
- oci/data_connectivity/data_connectivity_management_client_composite_operations.py +0 -394
- oci/data_connectivity/models/__init__.py +0 -464
- oci/data_connectivity/models/abstract_call_attribute.py +0 -108
- oci/data_connectivity/models/abstract_data_operation_config.py +0 -139
- oci/data_connectivity/models/abstract_format_attribute.py +0 -127
- oci/data_connectivity/models/abstract_operation_attributes.py +0 -99
- oci/data_connectivity/models/abstract_read_attribute.py +0 -116
- oci/data_connectivity/models/abstract_write_attribute.py +0 -132
- oci/data_connectivity/models/aggregator_summary.py +0 -194
- oci/data_connectivity/models/attach_data_asset_info.py +0 -70
- oci/data_connectivity/models/attribute.py +0 -256
- oci/data_connectivity/models/attribute_profile_result.py +0 -319
- oci/data_connectivity/models/avro_format_attribute.py +0 -80
- oci/data_connectivity/models/base_type.py +0 -313
- oci/data_connectivity/models/bicc_read_attributes.py +0 -217
- oci/data_connectivity/models/bip_call_attribute.py +0 -223
- oci/data_connectivity/models/call_operation_config.py +0 -159
- oci/data_connectivity/models/change_registry_compartment_details.py +0 -70
- oci/data_connectivity/models/column.py +0 -101
- oci/data_connectivity/models/composite_type.py +0 -176
- oci/data_connectivity/models/compression.py +0 -106
- oci/data_connectivity/models/config_definition.py +0 -283
- oci/data_connectivity/models/config_details.py +0 -70
- oci/data_connectivity/models/config_parameter_definition.py +0 -252
- oci/data_connectivity/models/config_parameter_value.py +0 -194
- oci/data_connectivity/models/config_values.py +0 -97
- oci/data_connectivity/models/configured_type.py +0 -172
- oci/data_connectivity/models/connection.py +0 -492
- oci/data_connectivity/models/connection_property.py +0 -101
- oci/data_connectivity/models/connection_summary.py +0 -492
- oci/data_connectivity/models/connection_summary_collection.py +0 -70
- oci/data_connectivity/models/connection_validation.py +0 -449
- oci/data_connectivity/models/connection_validation_summary.py +0 -449
- oci/data_connectivity/models/connection_validation_summary_collection.py +0 -70
- oci/data_connectivity/models/connectivity_usage.py +0 -118
- oci/data_connectivity/models/connectivity_usage_details.py +0 -132
- oci/data_connectivity/models/connectivity_validation.py +0 -194
- oci/data_connectivity/models/connector_attribute.py +0 -100
- oci/data_connectivity/models/create_attach_data_asset_details.py +0 -70
- oci/data_connectivity/models/create_connection_details.py +0 -492
- oci/data_connectivity/models/create_connection_validation_details.py +0 -120
- oci/data_connectivity/models/create_connectivity_validation_details.py +0 -472
- oci/data_connectivity/models/create_data_asset_details.py +0 -550
- oci/data_connectivity/models/create_data_preview_details.py +0 -174
- oci/data_connectivity/models/create_data_profile_details.py +0 -201
- oci/data_connectivity/models/create_de_reference_artifact_details.py +0 -70
- oci/data_connectivity/models/create_detach_data_asset_details.py +0 -70
- oci/data_connectivity/models/create_dp_endpoint_details.py +0 -383
- oci/data_connectivity/models/create_dp_endpoint_from_private.py +0 -346
- oci/data_connectivity/models/create_dp_endpoint_from_public.py +0 -112
- oci/data_connectivity/models/create_endpoint_details.py +0 -355
- oci/data_connectivity/models/create_entity_shape_details.py +0 -688
- oci/data_connectivity/models/create_entity_shape_from_data_store.py +0 -169
- oci/data_connectivity/models/create_entity_shape_from_file.py +0 -196
- oci/data_connectivity/models/create_entity_shape_from_message.py +0 -196
- oci/data_connectivity/models/create_entity_shape_from_sql.py +0 -200
- oci/data_connectivity/models/create_entity_shape_from_table.py +0 -169
- oci/data_connectivity/models/create_entity_shape_from_view.py +0 -169
- oci/data_connectivity/models/create_execute_operation_job_details.py +0 -124
- oci/data_connectivity/models/create_folder_details.py +0 -345
- oci/data_connectivity/models/create_full_push_down_task_details.py +0 -124
- oci/data_connectivity/models/create_reference_artifact_details.py +0 -70
- oci/data_connectivity/models/create_registry_details.py +0 -198
- oci/data_connectivity/models/create_test_network_connectivity_details.py +0 -70
- oci/data_connectivity/models/csv_format_attribute.py +0 -359
- oci/data_connectivity/models/data_asset.py +0 -550
- oci/data_connectivity/models/data_asset_summary.py +0 -550
- oci/data_connectivity/models/data_asset_summary_collection.py +0 -70
- oci/data_connectivity/models/data_entity.py +0 -201
- oci/data_connectivity/models/data_entity_details.py +0 -144
- oci/data_connectivity/models/data_entity_from_data_store.py +0 -739
- oci/data_connectivity/models/data_entity_from_data_store_entity_details.py +0 -725
- oci/data_connectivity/models/data_entity_from_file.py +0 -611
- oci/data_connectivity/models/data_entity_from_file_entity_details.py +0 -597
- oci/data_connectivity/models/data_entity_from_message_entity_details.py +0 -597
- oci/data_connectivity/models/data_entity_from_sql.py +0 -615
- oci/data_connectivity/models/data_entity_from_sql_entity_details.py +0 -601
- oci/data_connectivity/models/data_entity_from_table.py +0 -584
- oci/data_connectivity/models/data_entity_from_table_entity_details.py +0 -570
- oci/data_connectivity/models/data_entity_from_view.py +0 -584
- oci/data_connectivity/models/data_entity_from_view_entity_details.py +0 -570
- oci/data_connectivity/models/data_entity_summary.py +0 -166
- oci/data_connectivity/models/data_entity_summary_collection.py +0 -70
- oci/data_connectivity/models/data_entity_summary_from_data_store.py +0 -732
- oci/data_connectivity/models/data_entity_summary_from_file.py +0 -604
- oci/data_connectivity/models/data_entity_summary_from_sql.py +0 -608
- oci/data_connectivity/models/data_entity_summary_from_table.py +0 -577
- oci/data_connectivity/models/data_entity_summary_from_view.py +0 -577
- oci/data_connectivity/models/data_format.py +0 -148
- oci/data_connectivity/models/data_preview.py +0 -163
- oci/data_connectivity/models/data_profile.py +0 -128
- oci/data_connectivity/models/data_type.py +0 -197
- oci/data_connectivity/models/data_type_stat.py +0 -163
- oci/data_connectivity/models/date_attribute.py +0 -104
- oci/data_connectivity/models/de_reference_info.py +0 -434
- oci/data_connectivity/models/derive_entities.py +0 -70
- oci/data_connectivity/models/derive_entities_details.py +0 -70
- oci/data_connectivity/models/derive_entities_item.py +0 -145
- oci/data_connectivity/models/derived_entity.py +0 -471
- oci/data_connectivity/models/derived_type.py +0 -91
- oci/data_connectivity/models/detach_data_asset_info.py +0 -70
- oci/data_connectivity/models/dp_endpoint.py +0 -382
- oci/data_connectivity/models/dp_endpoint_details.py +0 -383
- oci/data_connectivity/models/dp_endpoint_from_private.py +0 -346
- oci/data_connectivity/models/dp_endpoint_from_private_details.py +0 -346
- oci/data_connectivity/models/dp_endpoint_from_public.py +0 -112
- oci/data_connectivity/models/dp_endpoint_from_public_details.py +0 -112
- oci/data_connectivity/models/dp_endpoint_summary.py +0 -383
- oci/data_connectivity/models/dp_endpoint_summary_from_private.py +0 -346
- oci/data_connectivity/models/dp_endpoint_summary_from_public.py +0 -112
- oci/data_connectivity/models/endpoint.py +0 -562
- oci/data_connectivity/models/endpoint_summary.py +0 -353
- oci/data_connectivity/models/endpoint_summary_collection.py +0 -70
- oci/data_connectivity/models/entity_profile_result.py +0 -132
- oci/data_connectivity/models/entity_shape.py +0 -166
- oci/data_connectivity/models/entity_shape_from_data_store.py +0 -635
- oci/data_connectivity/models/entity_shape_from_file.py +0 -635
- oci/data_connectivity/models/entity_shape_from_message.py +0 -604
- oci/data_connectivity/models/entity_shape_from_sql.py +0 -635
- oci/data_connectivity/models/entity_shape_from_table.py +0 -635
- oci/data_connectivity/models/entity_shape_from_view.py +0 -635
- oci/data_connectivity/models/error_details.py +0 -107
- oci/data_connectivity/models/excel_format_attribute.py +0 -142
- oci/data_connectivity/models/execute_operation_job.py +0 -194
- oci/data_connectivity/models/execute_operation_job_details.py +0 -148
- oci/data_connectivity/models/external_storage.py +0 -235
- oci/data_connectivity/models/filter_push.py +0 -80
- oci/data_connectivity/models/folder.py +0 -345
- oci/data_connectivity/models/folder_summary.py +0 -345
- oci/data_connectivity/models/folder_summary_collection.py +0 -70
- oci/data_connectivity/models/foreign_key.py +0 -321
- oci/data_connectivity/models/full_push_down_task_response.py +0 -132
- oci/data_connectivity/models/generic_rest_api_attributes.py +0 -80
- oci/data_connectivity/models/generic_rest_call_attribute.py +0 -49
- oci/data_connectivity/models/hdfs_write_attributes.py +0 -80
- oci/data_connectivity/models/histogram.py +0 -101
- oci/data_connectivity/models/input_port.py +0 -181
- oci/data_connectivity/models/join.py +0 -136
- oci/data_connectivity/models/json_format_attribute.py +0 -80
- oci/data_connectivity/models/key.py +0 -100
- oci/data_connectivity/models/key_attribute.py +0 -97
- oci/data_connectivity/models/key_range.py +0 -97
- oci/data_connectivity/models/key_range_partition_config.py +0 -107
- oci/data_connectivity/models/message.py +0 -152
- oci/data_connectivity/models/native_shape_field.py +0 -222
- oci/data_connectivity/models/network_connectivity_status.py +0 -214
- oci/data_connectivity/models/network_connectivity_status_collection.py +0 -70
- oci/data_connectivity/models/numeric_attribute.py +0 -297
- oci/data_connectivity/models/object_freq_stat.py +0 -163
- oci/data_connectivity/models/object_metadata.py +0 -438
- oci/data_connectivity/models/object_storage_write_attributes.py +0 -80
- oci/data_connectivity/models/operation.py +0 -161
- oci/data_connectivity/models/operation_exec_result.py +0 -218
- oci/data_connectivity/models/operation_from_api.py +0 -334
- oci/data_connectivity/models/operation_from_procedure.py +0 -334
- oci/data_connectivity/models/operation_input_record.py +0 -70
- oci/data_connectivity/models/operation_summary.py +0 -134
- oci/data_connectivity/models/operation_summary_collection.py +0 -70
- oci/data_connectivity/models/operation_summary_from_api.py +0 -300
- oci/data_connectivity/models/operation_summary_from_procedure.py +0 -300
- oci/data_connectivity/models/oracle_adwc_write_attributes.py +0 -161
- oci/data_connectivity/models/oracle_atp_write_attributes.py +0 -161
- oci/data_connectivity/models/oracle_read_attribute.py +0 -80
- oci/data_connectivity/models/oracle_read_attributes.py +0 -80
- oci/data_connectivity/models/oracle_write_attributes.py +0 -142
- oci/data_connectivity/models/outlier.py +0 -163
- oci/data_connectivity/models/output_port.py +0 -181
- oci/data_connectivity/models/parameter.py +0 -336
- oci/data_connectivity/models/parent_reference.py +0 -70
- oci/data_connectivity/models/parquet_format_attribute.py +0 -80
- oci/data_connectivity/models/partition_config.py +0 -100
- oci/data_connectivity/models/primary_key.py +0 -91
- oci/data_connectivity/models/profile_config.py +0 -286
- oci/data_connectivity/models/profile_stat.py +0 -101
- oci/data_connectivity/models/push_down_operation.py +0 -132
- oci/data_connectivity/models/query.py +0 -80
- oci/data_connectivity/models/read_operation_config.py +0 -319
- oci/data_connectivity/models/reference_artifact_summary.py +0 -434
- oci/data_connectivity/models/reference_artifact_summary_collection.py +0 -70
- oci/data_connectivity/models/reference_info.py +0 -434
- oci/data_connectivity/models/referenced_data_object.py +0 -320
- oci/data_connectivity/models/referenced_data_object_from_api.py +0 -129
- oci/data_connectivity/models/referenced_data_object_from_procedure.py +0 -129
- oci/data_connectivity/models/registry.py +0 -436
- oci/data_connectivity/models/registry_metadata.py +0 -380
- oci/data_connectivity/models/registry_summary.py +0 -384
- oci/data_connectivity/models/registry_summary_collection.py +0 -70
- oci/data_connectivity/models/row.py +0 -70
- oci/data_connectivity/models/schema.py +0 -465
- oci/data_connectivity/models/schema_drift_config.py +0 -226
- oci/data_connectivity/models/schema_summary.py +0 -465
- oci/data_connectivity/models/schema_summary_collection.py +0 -70
- oci/data_connectivity/models/select.py +0 -111
- oci/data_connectivity/models/shape.py +0 -126
- oci/data_connectivity/models/shape_field.py +0 -187
- oci/data_connectivity/models/sort.py +0 -80
- oci/data_connectivity/models/sort_clause.py +0 -114
- oci/data_connectivity/models/source.py +0 -334
- oci/data_connectivity/models/string_attribute.py +0 -247
- oci/data_connectivity/models/structured_type.py +0 -118
- oci/data_connectivity/models/target.py +0 -398
- oci/data_connectivity/models/test_network_connectivity.py +0 -132
- oci/data_connectivity/models/type.py +0 -101
- oci/data_connectivity/models/type_library.py +0 -345
- oci/data_connectivity/models/type_summary.py +0 -132
- oci/data_connectivity/models/type_system.py +0 -407
- oci/data_connectivity/models/typed_object.py +0 -337
- oci/data_connectivity/models/unique_key.py +0 -285
- oci/data_connectivity/models/update_connection_details.py +0 -461
- oci/data_connectivity/models/update_data_asset_details.py +0 -519
- oci/data_connectivity/models/update_dp_endpoint_details.py +0 -383
- oci/data_connectivity/models/update_dp_endpoint_from_private.py +0 -346
- oci/data_connectivity/models/update_dp_endpoint_from_public.py +0 -112
- oci/data_connectivity/models/update_endpoint_details.py +0 -262
- oci/data_connectivity/models/update_folder_details.py +0 -345
- oci/data_connectivity/models/update_registry_details.py +0 -175
- oci/data_connectivity/models/validation_message.py +0 -101
- oci/data_connectivity/models/validation_result.py +0 -117
- oci/data_connectivity/models/work_request.py +0 -396
- oci/data_connectivity/models/work_request_error.py +0 -134
- oci/data_connectivity/models/work_request_error_collection.py +0 -70
- oci/data_connectivity/models/work_request_error_summary.py +0 -134
- oci/data_connectivity/models/work_request_log.py +0 -101
- oci/data_connectivity/models/work_request_log_collection.py +0 -70
- oci/data_connectivity/models/work_request_resource.py +0 -209
- oci/data_connectivity/models/work_request_summary.py +0 -396
- oci/data_connectivity/models/write_operation_config.py +0 -406
- oci/data_connectivity/network_validation_client.py +0 -268
- oci/data_connectivity/network_validation_client_composite_operations.py +0 -24
- {oci-2.100.0.dist-info → oci-2.102.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.100.0.dist-info → oci-2.102.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.100.0.dist-info → oci-2.102.0.dist-info}/WHEEL +0 -0
- {oci-2.100.0.dist-info → oci-2.102.0.dist-info}/top_level.txt +0 -0
@@ -1,394 +0,0 @@
|
|
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
|
-
import oci # noqa: F401
|
6
|
-
from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
|
7
|
-
|
8
|
-
|
9
|
-
class DataConnectivityManagementClientCompositeOperations(object):
|
10
|
-
"""
|
11
|
-
This class provides a wrapper around :py:class:`~oci.data_connectivity.DataConnectivityManagementClient` and offers convenience methods
|
12
|
-
for operations that would otherwise need to be chained together. For example, instead of performing an action
|
13
|
-
on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
|
14
|
-
to enter a given state, you can call a single method in this class to accomplish the same functionality
|
15
|
-
"""
|
16
|
-
|
17
|
-
def __init__(self, client, **kwargs):
|
18
|
-
"""
|
19
|
-
Creates a new DataConnectivityManagementClientCompositeOperations object
|
20
|
-
|
21
|
-
:param DataConnectivityManagementClient client:
|
22
|
-
The service client which will be wrapped by this object
|
23
|
-
"""
|
24
|
-
self.client = client
|
25
|
-
|
26
|
-
def change_endpoint_compartment_and_wait_for_state(self, endpoint_id, change_endpoint_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
27
|
-
"""
|
28
|
-
Calls :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.change_endpoint_compartment` and waits for the :py:class:`~oci.data_connectivity.models.WorkRequest`
|
29
|
-
to enter the given state(s).
|
30
|
-
|
31
|
-
:param str endpoint_id: (required)
|
32
|
-
DCMS endpoint ID.
|
33
|
-
|
34
|
-
:param oci.data_connectivity.models.ChangeEndpointCompartmentDetails change_endpoint_compartment_details: (required)
|
35
|
-
The details of the change compartment action.
|
36
|
-
|
37
|
-
:param list[str] wait_for_states:
|
38
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_connectivity.models.WorkRequest.status`
|
39
|
-
|
40
|
-
:param dict operation_kwargs:
|
41
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.change_endpoint_compartment`
|
42
|
-
|
43
|
-
:param dict waiter_kwargs:
|
44
|
-
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``
|
45
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
46
|
-
"""
|
47
|
-
operation_result = self.client.change_endpoint_compartment(endpoint_id, change_endpoint_compartment_details, **operation_kwargs)
|
48
|
-
if not wait_for_states:
|
49
|
-
return operation_result
|
50
|
-
|
51
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
52
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
53
|
-
|
54
|
-
try:
|
55
|
-
waiter_result = oci.wait_until(
|
56
|
-
self.client,
|
57
|
-
self.client.get_work_request(wait_for_resource_id),
|
58
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
59
|
-
**waiter_kwargs
|
60
|
-
)
|
61
|
-
result_to_return = waiter_result
|
62
|
-
|
63
|
-
return result_to_return
|
64
|
-
except Exception as e:
|
65
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
66
|
-
|
67
|
-
def change_registry_compartment_and_wait_for_state(self, registry_id, change_registry_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
68
|
-
"""
|
69
|
-
Calls :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.change_registry_compartment` and waits for the :py:class:`~oci.data_connectivity.models.WorkRequest`
|
70
|
-
to enter the given state(s).
|
71
|
-
|
72
|
-
:param str registry_id: (required)
|
73
|
-
The registry OCID.
|
74
|
-
|
75
|
-
:param oci.data_connectivity.models.ChangeRegistryCompartmentDetails change_registry_compartment_details: (required)
|
76
|
-
The details of the change compartment action.
|
77
|
-
|
78
|
-
:param list[str] wait_for_states:
|
79
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_connectivity.models.WorkRequest.status`
|
80
|
-
|
81
|
-
:param dict operation_kwargs:
|
82
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.change_registry_compartment`
|
83
|
-
|
84
|
-
:param dict waiter_kwargs:
|
85
|
-
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``
|
86
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
87
|
-
"""
|
88
|
-
operation_result = self.client.change_registry_compartment(registry_id, change_registry_compartment_details, **operation_kwargs)
|
89
|
-
if not wait_for_states:
|
90
|
-
return operation_result
|
91
|
-
|
92
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
93
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
94
|
-
|
95
|
-
try:
|
96
|
-
waiter_result = oci.wait_until(
|
97
|
-
self.client,
|
98
|
-
self.client.get_work_request(wait_for_resource_id),
|
99
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
100
|
-
**waiter_kwargs
|
101
|
-
)
|
102
|
-
result_to_return = waiter_result
|
103
|
-
|
104
|
-
return result_to_return
|
105
|
-
except Exception as e:
|
106
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
107
|
-
|
108
|
-
def create_endpoint_and_wait_for_state(self, create_endpoint_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
109
|
-
"""
|
110
|
-
Calls :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.create_endpoint` and waits for the :py:class:`~oci.data_connectivity.models.WorkRequest`
|
111
|
-
to enter the given state(s).
|
112
|
-
|
113
|
-
:param oci.data_connectivity.models.CreateEndpointDetails create_endpoint_details: (required)
|
114
|
-
Details of the new Data Connectivity Management endpoint.
|
115
|
-
|
116
|
-
:param list[str] wait_for_states:
|
117
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_connectivity.models.WorkRequest.status`
|
118
|
-
|
119
|
-
:param dict operation_kwargs:
|
120
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.create_endpoint`
|
121
|
-
|
122
|
-
:param dict waiter_kwargs:
|
123
|
-
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``
|
124
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
125
|
-
"""
|
126
|
-
operation_result = self.client.create_endpoint(create_endpoint_details, **operation_kwargs)
|
127
|
-
if not wait_for_states:
|
128
|
-
return operation_result
|
129
|
-
|
130
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
131
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
132
|
-
|
133
|
-
try:
|
134
|
-
waiter_result = oci.wait_until(
|
135
|
-
self.client,
|
136
|
-
self.client.get_work_request(wait_for_resource_id),
|
137
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
138
|
-
**waiter_kwargs
|
139
|
-
)
|
140
|
-
result_to_return = waiter_result
|
141
|
-
|
142
|
-
return result_to_return
|
143
|
-
except Exception as e:
|
144
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
145
|
-
|
146
|
-
def create_registry_and_wait_for_state(self, create_registry_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
147
|
-
"""
|
148
|
-
Calls :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.create_registry` and waits for the :py:class:`~oci.data_connectivity.models.WorkRequest`
|
149
|
-
to enter the given state(s).
|
150
|
-
|
151
|
-
:param oci.data_connectivity.models.CreateRegistryDetails create_registry_details: (required)
|
152
|
-
Details for the new Data Connectivity Management Registry.
|
153
|
-
|
154
|
-
:param list[str] wait_for_states:
|
155
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_connectivity.models.WorkRequest.status`
|
156
|
-
|
157
|
-
:param dict operation_kwargs:
|
158
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.create_registry`
|
159
|
-
|
160
|
-
:param dict waiter_kwargs:
|
161
|
-
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``
|
162
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
163
|
-
"""
|
164
|
-
operation_result = self.client.create_registry(create_registry_details, **operation_kwargs)
|
165
|
-
if not wait_for_states:
|
166
|
-
return operation_result
|
167
|
-
|
168
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
169
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
170
|
-
|
171
|
-
try:
|
172
|
-
waiter_result = oci.wait_until(
|
173
|
-
self.client,
|
174
|
-
self.client.get_work_request(wait_for_resource_id),
|
175
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
176
|
-
**waiter_kwargs
|
177
|
-
)
|
178
|
-
result_to_return = waiter_result
|
179
|
-
|
180
|
-
return result_to_return
|
181
|
-
except Exception as e:
|
182
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
183
|
-
|
184
|
-
def delete_endpoint_and_wait_for_state(self, endpoint_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
185
|
-
"""
|
186
|
-
Calls :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.delete_endpoint` and waits for the :py:class:`~oci.data_connectivity.models.WorkRequest`
|
187
|
-
to enter the given state(s).
|
188
|
-
|
189
|
-
:param str endpoint_id: (required)
|
190
|
-
DCMS endpoint ID.
|
191
|
-
|
192
|
-
:param list[str] wait_for_states:
|
193
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_connectivity.models.WorkRequest.status`
|
194
|
-
|
195
|
-
:param dict operation_kwargs:
|
196
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.delete_endpoint`
|
197
|
-
|
198
|
-
:param dict waiter_kwargs:
|
199
|
-
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``
|
200
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
201
|
-
"""
|
202
|
-
operation_result = None
|
203
|
-
try:
|
204
|
-
operation_result = self.client.delete_endpoint(endpoint_id, **operation_kwargs)
|
205
|
-
except oci.exceptions.ServiceError as e:
|
206
|
-
if e.status == 404:
|
207
|
-
return WAIT_RESOURCE_NOT_FOUND
|
208
|
-
else:
|
209
|
-
raise e
|
210
|
-
|
211
|
-
if not wait_for_states:
|
212
|
-
return operation_result
|
213
|
-
|
214
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
215
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
216
|
-
|
217
|
-
try:
|
218
|
-
waiter_result = oci.wait_until(
|
219
|
-
self.client,
|
220
|
-
self.client.get_work_request(wait_for_resource_id),
|
221
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
222
|
-
**waiter_kwargs
|
223
|
-
)
|
224
|
-
result_to_return = waiter_result
|
225
|
-
|
226
|
-
return result_to_return
|
227
|
-
except Exception as e:
|
228
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
229
|
-
|
230
|
-
def delete_registry_and_wait_for_state(self, registry_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
231
|
-
"""
|
232
|
-
Calls :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.delete_registry` and waits for the :py:class:`~oci.data_connectivity.models.WorkRequest`
|
233
|
-
to enter the given state(s).
|
234
|
-
|
235
|
-
:param str registry_id: (required)
|
236
|
-
The registry OCID.
|
237
|
-
|
238
|
-
:param list[str] wait_for_states:
|
239
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_connectivity.models.WorkRequest.status`
|
240
|
-
|
241
|
-
:param dict operation_kwargs:
|
242
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.delete_registry`
|
243
|
-
|
244
|
-
:param dict waiter_kwargs:
|
245
|
-
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``
|
246
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
247
|
-
"""
|
248
|
-
operation_result = None
|
249
|
-
try:
|
250
|
-
operation_result = self.client.delete_registry(registry_id, **operation_kwargs)
|
251
|
-
except oci.exceptions.ServiceError as e:
|
252
|
-
if e.status == 404:
|
253
|
-
return WAIT_RESOURCE_NOT_FOUND
|
254
|
-
else:
|
255
|
-
raise e
|
256
|
-
|
257
|
-
if not wait_for_states:
|
258
|
-
return operation_result
|
259
|
-
|
260
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
261
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
262
|
-
|
263
|
-
try:
|
264
|
-
waiter_result = oci.wait_until(
|
265
|
-
self.client,
|
266
|
-
self.client.get_work_request(wait_for_resource_id),
|
267
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
268
|
-
**waiter_kwargs
|
269
|
-
)
|
270
|
-
result_to_return = waiter_result
|
271
|
-
|
272
|
-
return result_to_return
|
273
|
-
except Exception as e:
|
274
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
275
|
-
|
276
|
-
def update_endpoint_and_wait_for_state(self, endpoint_id, update_endpoint_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
277
|
-
"""
|
278
|
-
Calls :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.update_endpoint` and waits for the :py:class:`~oci.data_connectivity.models.WorkRequest`
|
279
|
-
to enter the given state(s).
|
280
|
-
|
281
|
-
:param str endpoint_id: (required)
|
282
|
-
DCMS endpoint ID.
|
283
|
-
|
284
|
-
:param oci.data_connectivity.models.UpdateEndpointDetails update_endpoint_details: (required)
|
285
|
-
The information to be updated.
|
286
|
-
|
287
|
-
:param list[str] wait_for_states:
|
288
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_connectivity.models.WorkRequest.status`
|
289
|
-
|
290
|
-
:param dict operation_kwargs:
|
291
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.update_endpoint`
|
292
|
-
|
293
|
-
:param dict waiter_kwargs:
|
294
|
-
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``
|
295
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
296
|
-
"""
|
297
|
-
operation_result = self.client.update_endpoint(endpoint_id, update_endpoint_details, **operation_kwargs)
|
298
|
-
if not wait_for_states:
|
299
|
-
return operation_result
|
300
|
-
|
301
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
302
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
303
|
-
|
304
|
-
try:
|
305
|
-
waiter_result = oci.wait_until(
|
306
|
-
self.client,
|
307
|
-
self.client.get_work_request(wait_for_resource_id),
|
308
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
309
|
-
**waiter_kwargs
|
310
|
-
)
|
311
|
-
result_to_return = waiter_result
|
312
|
-
|
313
|
-
return result_to_return
|
314
|
-
except Exception as e:
|
315
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
316
|
-
|
317
|
-
def update_registry_and_wait_for_state(self, registry_id, update_registry_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
318
|
-
"""
|
319
|
-
Calls :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.update_registry` and waits for the :py:class:`~oci.data_connectivity.models.WorkRequest`
|
320
|
-
to enter the given state(s).
|
321
|
-
|
322
|
-
:param str registry_id: (required)
|
323
|
-
The registry OCID.
|
324
|
-
|
325
|
-
:param oci.data_connectivity.models.UpdateRegistryDetails update_registry_details: (required)
|
326
|
-
The information to be updated.
|
327
|
-
|
328
|
-
:param list[str] wait_for_states:
|
329
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_connectivity.models.WorkRequest.status`
|
330
|
-
|
331
|
-
:param dict operation_kwargs:
|
332
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.update_registry`
|
333
|
-
|
334
|
-
:param dict waiter_kwargs:
|
335
|
-
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``
|
336
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
337
|
-
"""
|
338
|
-
operation_result = self.client.update_registry(registry_id, update_registry_details, **operation_kwargs)
|
339
|
-
if not wait_for_states:
|
340
|
-
return operation_result
|
341
|
-
|
342
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
343
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
344
|
-
|
345
|
-
try:
|
346
|
-
waiter_result = oci.wait_until(
|
347
|
-
self.client,
|
348
|
-
self.client.get_work_request(wait_for_resource_id),
|
349
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
350
|
-
**waiter_kwargs
|
351
|
-
)
|
352
|
-
result_to_return = waiter_result
|
353
|
-
|
354
|
-
return result_to_return
|
355
|
-
except Exception as e:
|
356
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
357
|
-
|
358
|
-
def validate_data_asset_network_reachablity_and_wait_for_state(self, endpoint_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
359
|
-
"""
|
360
|
-
Calls :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.validate_data_asset_network_reachablity` and waits for the :py:class:`~oci.data_connectivity.models.WorkRequest`
|
361
|
-
to enter the given state(s).
|
362
|
-
|
363
|
-
:param str endpoint_id: (required)
|
364
|
-
DCMS endpoint ID.
|
365
|
-
|
366
|
-
:param list[str] wait_for_states:
|
367
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_connectivity.models.WorkRequest.status`
|
368
|
-
|
369
|
-
:param dict operation_kwargs:
|
370
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.data_connectivity.DataConnectivityManagementClient.validate_data_asset_network_reachablity`
|
371
|
-
|
372
|
-
:param dict waiter_kwargs:
|
373
|
-
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``
|
374
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
375
|
-
"""
|
376
|
-
operation_result = self.client.validate_data_asset_network_reachablity(endpoint_id, **operation_kwargs)
|
377
|
-
if not wait_for_states:
|
378
|
-
return operation_result
|
379
|
-
|
380
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
381
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
382
|
-
|
383
|
-
try:
|
384
|
-
waiter_result = oci.wait_until(
|
385
|
-
self.client,
|
386
|
-
self.client.get_work_request(wait_for_resource_id),
|
387
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
388
|
-
**waiter_kwargs
|
389
|
-
)
|
390
|
-
result_to_return = waiter_result
|
391
|
-
|
392
|
-
return result_to_return
|
393
|
-
except Exception as e:
|
394
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|