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,406 +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
|
-
from .abstract_data_operation_config import AbstractDataOperationConfig
|
6
|
-
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
7
|
-
from oci.decorators import init_model_state_from_kwargs
|
8
|
-
|
9
|
-
|
10
|
-
@init_model_state_from_kwargs
|
11
|
-
class WriteOperationConfig(AbstractDataOperationConfig):
|
12
|
-
"""
|
13
|
-
The information about the write operation.
|
14
|
-
"""
|
15
|
-
|
16
|
-
#: A constant which can be used with the write_mode property of a WriteOperationConfig.
|
17
|
-
#: This constant has a value of "OVERWRITE"
|
18
|
-
WRITE_MODE_OVERWRITE = "OVERWRITE"
|
19
|
-
|
20
|
-
#: A constant which can be used with the write_mode property of a WriteOperationConfig.
|
21
|
-
#: This constant has a value of "APPEND"
|
22
|
-
WRITE_MODE_APPEND = "APPEND"
|
23
|
-
|
24
|
-
#: A constant which can be used with the write_mode property of a WriteOperationConfig.
|
25
|
-
#: This constant has a value of "MERGE"
|
26
|
-
WRITE_MODE_MERGE = "MERGE"
|
27
|
-
|
28
|
-
#: A constant which can be used with the write_mode property of a WriteOperationConfig.
|
29
|
-
#: This constant has a value of "IGNORE"
|
30
|
-
WRITE_MODE_IGNORE = "IGNORE"
|
31
|
-
|
32
|
-
#: A constant which can be used with the write_mode property of a WriteOperationConfig.
|
33
|
-
#: This constant has a value of "CREATE"
|
34
|
-
WRITE_MODE_CREATE = "CREATE"
|
35
|
-
|
36
|
-
def __init__(self, **kwargs):
|
37
|
-
"""
|
38
|
-
Initializes a new WriteOperationConfig object with values from keyword arguments. The default value of the :py:attr:`~oci.data_connectivity.models.WriteOperationConfig.model_type` attribute
|
39
|
-
of this class is ``WRITE_OPERATION_CONFIG`` and it should not be changed.
|
40
|
-
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
41
|
-
|
42
|
-
:param model_type:
|
43
|
-
The value to assign to the model_type property of this WriteOperationConfig.
|
44
|
-
Allowed values for this property are: "READ_OPERATION_CONFIG", "WRITE_OPERATION_CONFIG"
|
45
|
-
:type model_type: str
|
46
|
-
|
47
|
-
:param derived_attributes:
|
48
|
-
The value to assign to the derived_attributes property of this WriteOperationConfig.
|
49
|
-
:type derived_attributes: dict(str, str)
|
50
|
-
|
51
|
-
:param key:
|
52
|
-
The value to assign to the key property of this WriteOperationConfig.
|
53
|
-
:type key: str
|
54
|
-
|
55
|
-
:param model_version:
|
56
|
-
The value to assign to the model_version property of this WriteOperationConfig.
|
57
|
-
:type model_version: str
|
58
|
-
|
59
|
-
:param parent_ref:
|
60
|
-
The value to assign to the parent_ref property of this WriteOperationConfig.
|
61
|
-
:type parent_ref: oci.data_connectivity.models.ParentReference
|
62
|
-
|
63
|
-
:param operations:
|
64
|
-
The value to assign to the operations property of this WriteOperationConfig.
|
65
|
-
:type operations: list[oci.data_connectivity.models.PushDownOperation]
|
66
|
-
|
67
|
-
:param data_format:
|
68
|
-
The value to assign to the data_format property of this WriteOperationConfig.
|
69
|
-
:type data_format: oci.data_connectivity.models.DataFormat
|
70
|
-
|
71
|
-
:param partition_config:
|
72
|
-
The value to assign to the partition_config property of this WriteOperationConfig.
|
73
|
-
:type partition_config: oci.data_connectivity.models.PartitionConfig
|
74
|
-
|
75
|
-
:param write_attribute:
|
76
|
-
The value to assign to the write_attribute property of this WriteOperationConfig.
|
77
|
-
:type write_attribute: oci.data_connectivity.models.AbstractWriteAttribute
|
78
|
-
|
79
|
-
:param write_mode:
|
80
|
-
The value to assign to the write_mode property of this WriteOperationConfig.
|
81
|
-
Allowed values for this property are: "OVERWRITE", "APPEND", "MERGE", "IGNORE", "CREATE"
|
82
|
-
:type write_mode: str
|
83
|
-
|
84
|
-
:param merge_key:
|
85
|
-
The value to assign to the merge_key property of this WriteOperationConfig.
|
86
|
-
:type merge_key: oci.data_connectivity.models.UniqueKey
|
87
|
-
|
88
|
-
:param object_status:
|
89
|
-
The value to assign to the object_status property of this WriteOperationConfig.
|
90
|
-
:type object_status: int
|
91
|
-
|
92
|
-
:param reject_limit:
|
93
|
-
The value to assign to the reject_limit property of this WriteOperationConfig.
|
94
|
-
:type reject_limit: int
|
95
|
-
|
96
|
-
"""
|
97
|
-
self.swagger_types = {
|
98
|
-
'model_type': 'str',
|
99
|
-
'derived_attributes': 'dict(str, str)',
|
100
|
-
'key': 'str',
|
101
|
-
'model_version': 'str',
|
102
|
-
'parent_ref': 'ParentReference',
|
103
|
-
'operations': 'list[PushDownOperation]',
|
104
|
-
'data_format': 'DataFormat',
|
105
|
-
'partition_config': 'PartitionConfig',
|
106
|
-
'write_attribute': 'AbstractWriteAttribute',
|
107
|
-
'write_mode': 'str',
|
108
|
-
'merge_key': 'UniqueKey',
|
109
|
-
'object_status': 'int',
|
110
|
-
'reject_limit': 'int'
|
111
|
-
}
|
112
|
-
|
113
|
-
self.attribute_map = {
|
114
|
-
'model_type': 'modelType',
|
115
|
-
'derived_attributes': 'derivedAttributes',
|
116
|
-
'key': 'key',
|
117
|
-
'model_version': 'modelVersion',
|
118
|
-
'parent_ref': 'parentRef',
|
119
|
-
'operations': 'operations',
|
120
|
-
'data_format': 'dataFormat',
|
121
|
-
'partition_config': 'partitionConfig',
|
122
|
-
'write_attribute': 'writeAttribute',
|
123
|
-
'write_mode': 'writeMode',
|
124
|
-
'merge_key': 'mergeKey',
|
125
|
-
'object_status': 'objectStatus',
|
126
|
-
'reject_limit': 'rejectLimit'
|
127
|
-
}
|
128
|
-
|
129
|
-
self._model_type = None
|
130
|
-
self._derived_attributes = None
|
131
|
-
self._key = None
|
132
|
-
self._model_version = None
|
133
|
-
self._parent_ref = None
|
134
|
-
self._operations = None
|
135
|
-
self._data_format = None
|
136
|
-
self._partition_config = None
|
137
|
-
self._write_attribute = None
|
138
|
-
self._write_mode = None
|
139
|
-
self._merge_key = None
|
140
|
-
self._object_status = None
|
141
|
-
self._reject_limit = None
|
142
|
-
self._model_type = 'WRITE_OPERATION_CONFIG'
|
143
|
-
|
144
|
-
@property
|
145
|
-
def key(self):
|
146
|
-
"""
|
147
|
-
Gets the key of this WriteOperationConfig.
|
148
|
-
The object key.
|
149
|
-
|
150
|
-
|
151
|
-
:return: The key of this WriteOperationConfig.
|
152
|
-
:rtype: str
|
153
|
-
"""
|
154
|
-
return self._key
|
155
|
-
|
156
|
-
@key.setter
|
157
|
-
def key(self, key):
|
158
|
-
"""
|
159
|
-
Sets the key of this WriteOperationConfig.
|
160
|
-
The object key.
|
161
|
-
|
162
|
-
|
163
|
-
:param key: The key of this WriteOperationConfig.
|
164
|
-
:type: str
|
165
|
-
"""
|
166
|
-
self._key = key
|
167
|
-
|
168
|
-
@property
|
169
|
-
def model_version(self):
|
170
|
-
"""
|
171
|
-
Gets the model_version of this WriteOperationConfig.
|
172
|
-
The model version of the object.
|
173
|
-
|
174
|
-
|
175
|
-
:return: The model_version of this WriteOperationConfig.
|
176
|
-
:rtype: str
|
177
|
-
"""
|
178
|
-
return self._model_version
|
179
|
-
|
180
|
-
@model_version.setter
|
181
|
-
def model_version(self, model_version):
|
182
|
-
"""
|
183
|
-
Sets the model_version of this WriteOperationConfig.
|
184
|
-
The model version of the object.
|
185
|
-
|
186
|
-
|
187
|
-
:param model_version: The model_version of this WriteOperationConfig.
|
188
|
-
:type: str
|
189
|
-
"""
|
190
|
-
self._model_version = model_version
|
191
|
-
|
192
|
-
@property
|
193
|
-
def parent_ref(self):
|
194
|
-
"""
|
195
|
-
Gets the parent_ref of this WriteOperationConfig.
|
196
|
-
|
197
|
-
:return: The parent_ref of this WriteOperationConfig.
|
198
|
-
:rtype: oci.data_connectivity.models.ParentReference
|
199
|
-
"""
|
200
|
-
return self._parent_ref
|
201
|
-
|
202
|
-
@parent_ref.setter
|
203
|
-
def parent_ref(self, parent_ref):
|
204
|
-
"""
|
205
|
-
Sets the parent_ref of this WriteOperationConfig.
|
206
|
-
|
207
|
-
:param parent_ref: The parent_ref of this WriteOperationConfig.
|
208
|
-
:type: oci.data_connectivity.models.ParentReference
|
209
|
-
"""
|
210
|
-
self._parent_ref = parent_ref
|
211
|
-
|
212
|
-
@property
|
213
|
-
def operations(self):
|
214
|
-
"""
|
215
|
-
Gets the operations of this WriteOperationConfig.
|
216
|
-
An array of operations.
|
217
|
-
|
218
|
-
|
219
|
-
:return: The operations of this WriteOperationConfig.
|
220
|
-
:rtype: list[oci.data_connectivity.models.PushDownOperation]
|
221
|
-
"""
|
222
|
-
return self._operations
|
223
|
-
|
224
|
-
@operations.setter
|
225
|
-
def operations(self, operations):
|
226
|
-
"""
|
227
|
-
Sets the operations of this WriteOperationConfig.
|
228
|
-
An array of operations.
|
229
|
-
|
230
|
-
|
231
|
-
:param operations: The operations of this WriteOperationConfig.
|
232
|
-
:type: list[oci.data_connectivity.models.PushDownOperation]
|
233
|
-
"""
|
234
|
-
self._operations = operations
|
235
|
-
|
236
|
-
@property
|
237
|
-
def data_format(self):
|
238
|
-
"""
|
239
|
-
Gets the data_format of this WriteOperationConfig.
|
240
|
-
|
241
|
-
:return: The data_format of this WriteOperationConfig.
|
242
|
-
:rtype: oci.data_connectivity.models.DataFormat
|
243
|
-
"""
|
244
|
-
return self._data_format
|
245
|
-
|
246
|
-
@data_format.setter
|
247
|
-
def data_format(self, data_format):
|
248
|
-
"""
|
249
|
-
Sets the data_format of this WriteOperationConfig.
|
250
|
-
|
251
|
-
:param data_format: The data_format of this WriteOperationConfig.
|
252
|
-
:type: oci.data_connectivity.models.DataFormat
|
253
|
-
"""
|
254
|
-
self._data_format = data_format
|
255
|
-
|
256
|
-
@property
|
257
|
-
def partition_config(self):
|
258
|
-
"""
|
259
|
-
Gets the partition_config of this WriteOperationConfig.
|
260
|
-
|
261
|
-
:return: The partition_config of this WriteOperationConfig.
|
262
|
-
:rtype: oci.data_connectivity.models.PartitionConfig
|
263
|
-
"""
|
264
|
-
return self._partition_config
|
265
|
-
|
266
|
-
@partition_config.setter
|
267
|
-
def partition_config(self, partition_config):
|
268
|
-
"""
|
269
|
-
Sets the partition_config of this WriteOperationConfig.
|
270
|
-
|
271
|
-
:param partition_config: The partition_config of this WriteOperationConfig.
|
272
|
-
:type: oci.data_connectivity.models.PartitionConfig
|
273
|
-
"""
|
274
|
-
self._partition_config = partition_config
|
275
|
-
|
276
|
-
@property
|
277
|
-
def write_attribute(self):
|
278
|
-
"""
|
279
|
-
Gets the write_attribute of this WriteOperationConfig.
|
280
|
-
|
281
|
-
:return: The write_attribute of this WriteOperationConfig.
|
282
|
-
:rtype: oci.data_connectivity.models.AbstractWriteAttribute
|
283
|
-
"""
|
284
|
-
return self._write_attribute
|
285
|
-
|
286
|
-
@write_attribute.setter
|
287
|
-
def write_attribute(self, write_attribute):
|
288
|
-
"""
|
289
|
-
Sets the write_attribute of this WriteOperationConfig.
|
290
|
-
|
291
|
-
:param write_attribute: The write_attribute of this WriteOperationConfig.
|
292
|
-
:type: oci.data_connectivity.models.AbstractWriteAttribute
|
293
|
-
"""
|
294
|
-
self._write_attribute = write_attribute
|
295
|
-
|
296
|
-
@property
|
297
|
-
def write_mode(self):
|
298
|
-
"""
|
299
|
-
Gets the write_mode of this WriteOperationConfig.
|
300
|
-
The mode for the write operation.
|
301
|
-
|
302
|
-
Allowed values for this property are: "OVERWRITE", "APPEND", "MERGE", "IGNORE", "CREATE"
|
303
|
-
|
304
|
-
|
305
|
-
:return: The write_mode of this WriteOperationConfig.
|
306
|
-
:rtype: str
|
307
|
-
"""
|
308
|
-
return self._write_mode
|
309
|
-
|
310
|
-
@write_mode.setter
|
311
|
-
def write_mode(self, write_mode):
|
312
|
-
"""
|
313
|
-
Sets the write_mode of this WriteOperationConfig.
|
314
|
-
The mode for the write operation.
|
315
|
-
|
316
|
-
|
317
|
-
:param write_mode: The write_mode of this WriteOperationConfig.
|
318
|
-
:type: str
|
319
|
-
"""
|
320
|
-
allowed_values = ["OVERWRITE", "APPEND", "MERGE", "IGNORE", "CREATE"]
|
321
|
-
if not value_allowed_none_or_none_sentinel(write_mode, allowed_values):
|
322
|
-
raise ValueError(
|
323
|
-
"Invalid value for `write_mode`, must be None or one of {0}"
|
324
|
-
.format(allowed_values)
|
325
|
-
)
|
326
|
-
self._write_mode = write_mode
|
327
|
-
|
328
|
-
@property
|
329
|
-
def merge_key(self):
|
330
|
-
"""
|
331
|
-
Gets the merge_key of this WriteOperationConfig.
|
332
|
-
|
333
|
-
:return: The merge_key of this WriteOperationConfig.
|
334
|
-
:rtype: oci.data_connectivity.models.UniqueKey
|
335
|
-
"""
|
336
|
-
return self._merge_key
|
337
|
-
|
338
|
-
@merge_key.setter
|
339
|
-
def merge_key(self, merge_key):
|
340
|
-
"""
|
341
|
-
Sets the merge_key of this WriteOperationConfig.
|
342
|
-
|
343
|
-
:param merge_key: The merge_key of this WriteOperationConfig.
|
344
|
-
:type: oci.data_connectivity.models.UniqueKey
|
345
|
-
"""
|
346
|
-
self._merge_key = merge_key
|
347
|
-
|
348
|
-
@property
|
349
|
-
def object_status(self):
|
350
|
-
"""
|
351
|
-
Gets the object_status of this WriteOperationConfig.
|
352
|
-
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
|
353
|
-
|
354
|
-
|
355
|
-
:return: The object_status of this WriteOperationConfig.
|
356
|
-
:rtype: int
|
357
|
-
"""
|
358
|
-
return self._object_status
|
359
|
-
|
360
|
-
@object_status.setter
|
361
|
-
def object_status(self, object_status):
|
362
|
-
"""
|
363
|
-
Sets the object_status of this WriteOperationConfig.
|
364
|
-
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
|
365
|
-
|
366
|
-
|
367
|
-
:param object_status: The object_status of this WriteOperationConfig.
|
368
|
-
:type: int
|
369
|
-
"""
|
370
|
-
self._object_status = object_status
|
371
|
-
|
372
|
-
@property
|
373
|
-
def reject_limit(self):
|
374
|
-
"""
|
375
|
-
Gets the reject_limit of this WriteOperationConfig.
|
376
|
-
The number of rows are rejected based on the operation that errors out.
|
377
|
-
|
378
|
-
|
379
|
-
:return: The reject_limit of this WriteOperationConfig.
|
380
|
-
:rtype: int
|
381
|
-
"""
|
382
|
-
return self._reject_limit
|
383
|
-
|
384
|
-
@reject_limit.setter
|
385
|
-
def reject_limit(self, reject_limit):
|
386
|
-
"""
|
387
|
-
Sets the reject_limit of this WriteOperationConfig.
|
388
|
-
The number of rows are rejected based on the operation that errors out.
|
389
|
-
|
390
|
-
|
391
|
-
:param reject_limit: The reject_limit of this WriteOperationConfig.
|
392
|
-
:type: int
|
393
|
-
"""
|
394
|
-
self._reject_limit = reject_limit
|
395
|
-
|
396
|
-
def __repr__(self):
|
397
|
-
return formatted_flat_dict(self)
|
398
|
-
|
399
|
-
def __eq__(self, other):
|
400
|
-
if other is None:
|
401
|
-
return False
|
402
|
-
|
403
|
-
return self.__dict__ == other.__dict__
|
404
|
-
|
405
|
-
def __ne__(self, other):
|
406
|
-
return not self == other
|
@@ -1,268 +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
|
-
from __future__ import absolute_import
|
6
|
-
|
7
|
-
from oci._vendor import requests # noqa: F401
|
8
|
-
from oci._vendor import six
|
9
|
-
|
10
|
-
from oci import retry, circuit_breaker # noqa: F401
|
11
|
-
from oci.base_client import BaseClient
|
12
|
-
from oci.config import get_config_value_or_default, validate_config
|
13
|
-
from oci.signer import Signer
|
14
|
-
from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
|
15
|
-
from .models import data_connectivity_type_mapping
|
16
|
-
missing = Sentinel("Missing")
|
17
|
-
|
18
|
-
|
19
|
-
class NetworkValidationClient(object):
|
20
|
-
"""
|
21
|
-
Use the Data Connectivity Management Service APIs to perform common extract, load, and transform (ETL) tasks.
|
22
|
-
"""
|
23
|
-
|
24
|
-
def __init__(self, config, **kwargs):
|
25
|
-
"""
|
26
|
-
Creates a new service client
|
27
|
-
|
28
|
-
:param dict config:
|
29
|
-
Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
|
30
|
-
The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
|
31
|
-
the dict using :py:meth:`~oci.config.validate_config`
|
32
|
-
|
33
|
-
:param str service_endpoint: (optional)
|
34
|
-
The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
|
35
|
-
not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
|
36
|
-
need to specify a service endpoint.
|
37
|
-
|
38
|
-
:param timeout: (optional)
|
39
|
-
The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
|
40
|
-
as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
|
41
|
-
a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
|
42
|
-
:type timeout: float or tuple(float, float)
|
43
|
-
|
44
|
-
:param signer: (optional)
|
45
|
-
The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
|
46
|
-
provided in the config parameter.
|
47
|
-
|
48
|
-
One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
|
49
|
-
by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
|
50
|
-
:type signer: :py:class:`~oci.signer.AbstractBaseSigner`
|
51
|
-
|
52
|
-
:param obj retry_strategy: (optional)
|
53
|
-
A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
|
54
|
-
Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
|
55
|
-
Any value provided at the operation level will override whatever is specified at the client level.
|
56
|
-
|
57
|
-
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
58
|
-
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
59
|
-
|
60
|
-
:param obj circuit_breaker_strategy: (optional)
|
61
|
-
A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level).
|
62
|
-
This client uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided.
|
63
|
-
The specifics of circuit breaker strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/circuit_breakers.html>`__.
|
64
|
-
|
65
|
-
:param function circuit_breaker_callback: (optional)
|
66
|
-
Callback function to receive any exceptions triggerred by the circuit breaker.
|
67
|
-
|
68
|
-
:param bool client_level_realm_specific_endpoint_template_enabled: (optional)
|
69
|
-
A boolean flag to indicate whether or not this client should be created with realm specific endpoint template enabled or disable. By default, this will be set as None.
|
70
|
-
|
71
|
-
:param allow_control_chars: (optional)
|
72
|
-
allow_control_chars is a boolean to indicate whether or not this client should allow control characters in the response object. By default, the client will not
|
73
|
-
allow control characters to be in the response object.
|
74
|
-
"""
|
75
|
-
validate_config(config, signer=kwargs.get('signer'))
|
76
|
-
if 'signer' in kwargs:
|
77
|
-
signer = kwargs['signer']
|
78
|
-
|
79
|
-
elif AUTHENTICATION_TYPE_FIELD_NAME in config:
|
80
|
-
signer = get_signer_from_authentication_type(config)
|
81
|
-
|
82
|
-
else:
|
83
|
-
signer = Signer(
|
84
|
-
tenancy=config["tenancy"],
|
85
|
-
user=config["user"],
|
86
|
-
fingerprint=config["fingerprint"],
|
87
|
-
private_key_file_location=config.get("key_file"),
|
88
|
-
pass_phrase=get_config_value_or_default(config, "pass_phrase"),
|
89
|
-
private_key_content=config.get("key_content")
|
90
|
-
)
|
91
|
-
|
92
|
-
base_client_init_kwargs = {
|
93
|
-
'regional_client': True,
|
94
|
-
'service_endpoint': kwargs.get('service_endpoint'),
|
95
|
-
'base_path': '/20210217',
|
96
|
-
'service_endpoint_template': 'https://dataconnectivity.{region}.oci.{secondLevelDomain}',
|
97
|
-
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
|
98
|
-
'skip_deserialization': kwargs.get('skip_deserialization', False),
|
99
|
-
'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
|
100
|
-
'client_level_realm_specific_endpoint_template_enabled': kwargs.get('client_level_realm_specific_endpoint_template_enabled')
|
101
|
-
}
|
102
|
-
if 'timeout' in kwargs:
|
103
|
-
base_client_init_kwargs['timeout'] = kwargs.get('timeout')
|
104
|
-
if base_client_init_kwargs.get('circuit_breaker_strategy') is None:
|
105
|
-
base_client_init_kwargs['circuit_breaker_strategy'] = circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY
|
106
|
-
if 'allow_control_chars' in kwargs:
|
107
|
-
base_client_init_kwargs['allow_control_chars'] = kwargs.get('allow_control_chars')
|
108
|
-
self.base_client = BaseClient("network_validation", config, signer, data_connectivity_type_mapping, **base_client_init_kwargs)
|
109
|
-
self.retry_strategy = kwargs.get('retry_strategy')
|
110
|
-
self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
|
111
|
-
|
112
|
-
def get_network_connectivity_status_collection(self, registry_id, endpoint_key, **kwargs):
|
113
|
-
"""
|
114
|
-
This API is used to get the network connectivity status fofor all the data assets attached to the provided private endpoint.
|
115
|
-
|
116
|
-
|
117
|
-
:param str registry_id: (required)
|
118
|
-
The registry OCID.
|
119
|
-
|
120
|
-
:param str endpoint_key: (required)
|
121
|
-
The endpoint key.
|
122
|
-
|
123
|
-
:param str opc_request_id: (optional)
|
124
|
-
Unique Oracle-assigned identifier for the request. If
|
125
|
-
you need to contact Oracle about a particular request,
|
126
|
-
please provide the request ID.
|
127
|
-
|
128
|
-
:param str opc_retry_token: (optional)
|
129
|
-
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without the risk of executing that same action again.
|
130
|
-
|
131
|
-
:param str page: (optional)
|
132
|
-
For list pagination. The value for this parameter is the `opc-next-page` or the `opc-prev-page` response header from the previous `List` call. See `List Pagination`__.
|
133
|
-
|
134
|
-
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
135
|
-
|
136
|
-
:param int limit: (optional)
|
137
|
-
Sets the maximum number of results per page, or items to return in a paginated `List` call. See `List Pagination`__.
|
138
|
-
|
139
|
-
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
140
|
-
|
141
|
-
:param str sort_by: (optional)
|
142
|
-
Specifies the field to sort by. Accepts only one field. By default, when you sort by time fields, results are shown in descending order. All other fields default to ascending order. Sorting related parameters are ignored when parameter `query` is present (search operation and sorting order are by relevance score in descending order).
|
143
|
-
|
144
|
-
Allowed values are: "id", "timeCreated", "displayName"
|
145
|
-
|
146
|
-
:param str sort_order: (optional)
|
147
|
-
Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending).
|
148
|
-
|
149
|
-
Allowed values are: "ASC", "DESC"
|
150
|
-
|
151
|
-
:param obj retry_strategy: (optional)
|
152
|
-
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
153
|
-
|
154
|
-
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
155
|
-
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
156
|
-
|
157
|
-
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
158
|
-
|
159
|
-
:param bool allow_control_chars: (optional)
|
160
|
-
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
161
|
-
By default, the response will not allow control characters in strings
|
162
|
-
|
163
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_connectivity.models.NetworkConnectivityStatusCollection`
|
164
|
-
:rtype: :class:`~oci.response.Response`
|
165
|
-
|
166
|
-
:example:
|
167
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.100.0/dataconnectivity/get_network_connectivity_status_collection.py.html>`__ to see an example of how to use get_network_connectivity_status_collection API.
|
168
|
-
"""
|
169
|
-
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
170
|
-
required_arguments = ['registryId', 'endpointKey']
|
171
|
-
resource_path = "/registries/{registryId}/endpoints/{endpointKey}/networkConnectivityStatusCollection"
|
172
|
-
method = "GET"
|
173
|
-
operation_name = "get_network_connectivity_status_collection"
|
174
|
-
api_reference_link = ""
|
175
|
-
|
176
|
-
# Don't accept unknown kwargs
|
177
|
-
expected_kwargs = [
|
178
|
-
"allow_control_chars",
|
179
|
-
"retry_strategy",
|
180
|
-
"opc_request_id",
|
181
|
-
"opc_retry_token",
|
182
|
-
"page",
|
183
|
-
"limit",
|
184
|
-
"sort_by",
|
185
|
-
"sort_order"
|
186
|
-
]
|
187
|
-
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
188
|
-
if extra_kwargs:
|
189
|
-
raise ValueError(
|
190
|
-
"get_network_connectivity_status_collection got unknown kwargs: {!r}".format(extra_kwargs))
|
191
|
-
|
192
|
-
path_params = {
|
193
|
-
"registryId": registry_id,
|
194
|
-
"endpointKey": endpoint_key
|
195
|
-
}
|
196
|
-
|
197
|
-
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
198
|
-
|
199
|
-
for (k, v) in six.iteritems(path_params):
|
200
|
-
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
201
|
-
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
202
|
-
|
203
|
-
if 'sort_by' in kwargs:
|
204
|
-
sort_by_allowed_values = ["id", "timeCreated", "displayName"]
|
205
|
-
if kwargs['sort_by'] not in sort_by_allowed_values:
|
206
|
-
raise ValueError(
|
207
|
-
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
|
208
|
-
)
|
209
|
-
|
210
|
-
if 'sort_order' in kwargs:
|
211
|
-
sort_order_allowed_values = ["ASC", "DESC"]
|
212
|
-
if kwargs['sort_order'] not in sort_order_allowed_values:
|
213
|
-
raise ValueError(
|
214
|
-
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
|
215
|
-
)
|
216
|
-
|
217
|
-
query_params = {
|
218
|
-
"page": kwargs.get("page", missing),
|
219
|
-
"limit": kwargs.get("limit", missing),
|
220
|
-
"sortBy": kwargs.get("sort_by", missing),
|
221
|
-
"sortOrder": kwargs.get("sort_order", missing)
|
222
|
-
}
|
223
|
-
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
224
|
-
|
225
|
-
header_params = {
|
226
|
-
"accept": "application/json",
|
227
|
-
"content-type": "application/json",
|
228
|
-
"opc-request-id": kwargs.get("opc_request_id", missing),
|
229
|
-
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
230
|
-
}
|
231
|
-
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
232
|
-
|
233
|
-
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
234
|
-
operation_retry_strategy=kwargs.get('retry_strategy'),
|
235
|
-
client_retry_strategy=self.retry_strategy
|
236
|
-
)
|
237
|
-
if retry_strategy is None:
|
238
|
-
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
239
|
-
|
240
|
-
if retry_strategy:
|
241
|
-
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
242
|
-
self.base_client.add_opc_retry_token_if_needed(header_params)
|
243
|
-
self.base_client.add_opc_client_retries_header(header_params)
|
244
|
-
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
245
|
-
return retry_strategy.make_retrying_call(
|
246
|
-
self.base_client.call_api,
|
247
|
-
resource_path=resource_path,
|
248
|
-
method=method,
|
249
|
-
path_params=path_params,
|
250
|
-
query_params=query_params,
|
251
|
-
header_params=header_params,
|
252
|
-
response_type="NetworkConnectivityStatusCollection",
|
253
|
-
allow_control_chars=kwargs.get('allow_control_chars'),
|
254
|
-
operation_name=operation_name,
|
255
|
-
api_reference_link=api_reference_link,
|
256
|
-
required_arguments=required_arguments)
|
257
|
-
else:
|
258
|
-
return self.base_client.call_api(
|
259
|
-
resource_path=resource_path,
|
260
|
-
method=method,
|
261
|
-
path_params=path_params,
|
262
|
-
query_params=query_params,
|
263
|
-
header_params=header_params,
|
264
|
-
response_type="NetworkConnectivityStatusCollection",
|
265
|
-
allow_control_chars=kwargs.get('allow_control_chars'),
|
266
|
-
operation_name=operation_name,
|
267
|
-
api_reference_link=api_reference_link,
|
268
|
-
required_arguments=required_arguments)
|