oci 2.126.0__py3-none-any.whl → 2.126.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +10 -10
- 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 +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +56 -56
- oci/bds/models/__init__.py +6 -0
- oci/bds/models/batching_based_patching_configs.py +144 -0
- oci/bds/models/downtime_based_patching_configs.py +51 -0
- oci/bds/models/install_os_patch_details.py +29 -2
- oci/bds/models/node.py +64 -2
- oci/bds/models/patching_configs.py +109 -0
- oci/bds/models/work_request_error.py +4 -4
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +19 -19
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +32 -0
- oci/core/models/get_ip_inventory_vcn_overlap_details.py +107 -0
- oci/core/models/inventory_ip_address_summary.py +169 -0
- oci/core/models/inventory_resource_summary.py +212 -0
- oci/core/models/inventory_subnet_cidr_block_summary.py +103 -0
- oci/core/models/inventory_subnet_summary.py +309 -0
- oci/core/models/inventory_vcn_cidr_block_summary.py +103 -0
- oci/core/models/inventory_vcn_summary.py +309 -0
- oci/core/models/ip_inventory_cidr_utilization_collection.py +202 -0
- oci/core/models/ip_inventory_cidr_utilization_summary.py +134 -0
- oci/core/models/ip_inventory_collection.py +202 -0
- oci/core/models/ip_inventory_subnet_resource_collection.py +202 -0
- oci/core/models/ip_inventory_subnet_resource_summary.py +477 -0
- oci/core/models/ip_inventory_vcn_overlap_collection.py +171 -0
- oci/core/models/ip_inventory_vcn_overlap_summary.py +169 -0
- oci/core/models/ipam.py +73 -0
- oci/core/models/list_ip_inventory_details.py +494 -0
- oci/core/virtual_network_client.py +744 -242
- oci/core/virtual_network_client_composite_operations.py +77 -0
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +272 -150
- oci/data_catalog/models/__init__.py +4 -0
- oci/data_catalog/models/import_lineage_details.py +72 -0
- oci/data_catalog/models/import_lineage_job_result.py +232 -0
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_integration/models/create_workspace_details.py +33 -2
- oci/data_integration/models/update_workspace_details.py +33 -2
- oci/data_integration/models/workspace.py +33 -2
- oci/data_integration/models/workspace_summary.py +33 -2
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +1181 -397
- oci/data_safe/data_safe_client_composite_operations.py +89 -0
- oci/data_safe/models/__init__.py +14 -0
- oci/data_safe/models/change_masking_policy_health_report_compartment_details.py +72 -0
- oci/data_safe/models/generate_health_report_details.py +261 -0
- oci/data_safe/models/masking_policy_health_report.py +434 -0
- oci/data_safe/models/masking_policy_health_report_collection.py +72 -0
- oci/data_safe/models/masking_policy_health_report_log_collection.py +72 -0
- oci/data_safe/models/masking_policy_health_report_log_summary.py +220 -0
- oci/data_safe/models/masking_policy_health_report_summary.py +371 -0
- oci/data_safe/models/work_request.py +7 -3
- oci/data_safe/models/work_request_summary.py +7 -3
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +343 -337
- oci/database/models/__init__.py +4 -0
- oci/database/models/autonomous_container_database.py +6 -6
- oci/database/models/autonomous_container_database_summary.py +6 -6
- oci/database/models/autonomous_database.py +10 -6
- oci/database/models/autonomous_database_summary.py +10 -6
- oci/database/models/cloud_exadata_infrastructure.py +33 -2
- oci/database/models/cloud_exadata_infrastructure_summary.py +33 -2
- oci/database/models/cloud_vm_cluster.py +68 -2
- oci/database/models/cloud_vm_cluster_summary.py +68 -2
- oci/database/models/create_autonomous_container_database_details.py +6 -6
- oci/database/models/create_autonomous_database_base.py +8 -4
- oci/database/models/create_cloud_vm_cluster_details.py +33 -2
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +2 -26
- oci/database/models/create_cross_region_disaster_recovery_details.py +2 -23
- oci/database/models/create_db_home_base.py +33 -2
- oci/database/models/create_db_home_with_db_system_id_details.py +7 -0
- oci/database/models/create_db_home_with_db_system_id_from_backup_details.py +7 -0
- oci/database/models/create_db_home_with_db_system_id_from_database_details.py +7 -0
- oci/database/models/create_db_home_with_vm_cluster_id_details.py +7 -0
- oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.py +7 -0
- oci/database/models/db_home.py +33 -2
- oci/database/models/db_home_from_agent_resource_id.py +33 -2
- oci/database/models/db_home_summary.py +33 -2
- oci/database/models/db_system.py +35 -0
- oci/database/models/db_system_summary.py +35 -0
- oci/database/models/defined_file_system_configuration.py +165 -0
- oci/database/models/file_system_configuration_detail.py +103 -0
- oci/database/models/update_autonomous_database_details.py +8 -4
- oci/database/models/update_cloud_vm_cluster_details.py +33 -2
- oci/database/models/update_details.py +37 -2
- oci/database/models/vm_cluster.py +37 -2
- oci/database/models/vm_cluster_summary.py +37 -2
- oci/database/models/vm_cluster_update_details.py +37 -2
- oci/database_management/db_management_client.py +1965 -494
- oci/database_management/db_management_client_composite_operations.py +528 -0
- oci/database_management/diagnosability_client.py +7 -7
- oci/database_management/managed_my_sql_databases_client.py +10 -10
- oci/database_management/models/__init__.py +54 -0
- oci/database_management/models/basic_database_connection_string_details.py +160 -0
- oci/database_management/models/child_database.py +45 -2
- oci/database_management/models/connector_details.py +123 -0
- oci/database_management/models/database_connection_details.py +95 -0
- oci/database_management/models/database_connection_string_details.py +103 -0
- oci/database_management/models/database_diagnostics_and_management_feature_configuration.py +120 -0
- oci/database_management/models/database_diagnostics_and_management_feature_details.py +143 -0
- oci/database_management/models/database_feature_configuration.py +234 -0
- oci/database_management/models/database_feature_details.py +155 -0
- oci/database_management/models/db_management_private_endpoint.py +45 -2
- oci/database_management/models/db_management_private_endpoint_summary.py +45 -2
- oci/database_management/models/disable_database_management_feature_details.py +84 -0
- oci/database_management/models/disable_external_container_database_management_feature_details.py +84 -0
- oci/database_management/models/disable_external_non_container_database_management_feature_details.py +84 -0
- oci/database_management/models/disable_external_pluggable_database_management_feature_details.py +84 -0
- oci/database_management/models/disable_pluggable_database_management_feature_details.py +84 -0
- oci/database_management/models/enable_database_management_feature_details.py +68 -0
- oci/database_management/models/enable_external_container_database_management_feature_details.py +68 -0
- oci/database_management/models/enable_external_non_container_database_management_feature_details.py +68 -0
- oci/database_management/models/enable_external_pluggable_database_management_feature_details.py +68 -0
- oci/database_management/models/enable_pluggable_database_management_feature_details.py +68 -0
- oci/database_management/models/external_asm.py +45 -2
- oci/database_management/models/external_asm_instance.py +45 -2
- oci/database_management/models/external_asm_instance_summary.py +45 -2
- oci/database_management/models/external_asm_summary.py +45 -2
- oci/database_management/models/external_cluster.py +45 -2
- oci/database_management/models/external_cluster_instance.py +45 -2
- oci/database_management/models/external_cluster_instance_summary.py +45 -2
- oci/database_management/models/external_cluster_summary.py +45 -2
- oci/database_management/models/external_connector_details.py +86 -0
- oci/database_management/models/external_database_diagnostics_and_management_feature_details.py +105 -0
- oci/database_management/models/external_database_feature_details.py +128 -0
- oci/database_management/models/external_database_summary.py +45 -2
- oci/database_management/models/external_db_home.py +45 -2
- oci/database_management/models/external_db_home_summary.py +45 -2
- oci/database_management/models/external_db_node.py +45 -2
- oci/database_management/models/external_db_node_summary.py +45 -2
- oci/database_management/models/external_db_system.py +45 -2
- oci/database_management/models/external_db_system_connector_summary.py +45 -2
- oci/database_management/models/external_db_system_discovery.py +45 -2
- oci/database_management/models/external_db_system_discovery_summary.py +45 -2
- oci/database_management/models/external_db_system_macs_connector.py +45 -2
- oci/database_management/models/external_db_system_summary.py +45 -2
- oci/database_management/models/external_exadata_infrastructure.py +45 -2
- oci/database_management/models/external_exadata_infrastructure_summary.py +45 -2
- oci/database_management/models/external_exadata_storage_connector.py +45 -2
- oci/database_management/models/external_exadata_storage_connector_summary.py +45 -2
- oci/database_management/models/external_exadata_storage_grid.py +45 -2
- oci/database_management/models/external_exadata_storage_server.py +45 -2
- oci/database_management/models/external_exadata_storage_server_summary.py +45 -2
- oci/database_management/models/external_listener.py +45 -2
- oci/database_management/models/external_listener_summary.py +45 -2
- oci/database_management/models/external_pluggable_database_diagnostics_and_management_feature_details.py +58 -0
- oci/database_management/models/external_pluggable_database_feature_details.py +128 -0
- oci/database_management/models/heat_wave_cluster_usage_metrics.py +12 -12
- oci/database_management/models/heat_wave_fleet_metrics.py +2 -2
- oci/database_management/models/heat_wave_fleet_summary.py +5 -5
- oci/database_management/models/heat_wave_node.py +2 -2
- oci/database_management/models/job_summary.py +45 -2
- oci/database_management/models/load_sql_tuning_set_details.py +7 -3
- oci/database_management/models/macs_connector_details.py +86 -0
- oci/database_management/models/managed_database.py +45 -2
- oci/database_management/models/managed_database_group.py +45 -2
- oci/database_management/models/managed_database_group_summary.py +45 -2
- oci/database_management/models/managed_database_summary.py +45 -2
- oci/database_management/models/managed_my_sql_database.py +10 -10
- oci/database_management/models/modify_database_management_feature_details.py +68 -0
- oci/database_management/models/modify_pluggable_database_management_feature_details.py +68 -0
- oci/database_management/models/my_sql_database_usage_metrics.py +2 -2
- oci/database_management/models/my_sql_fleet_metric_definition.py +31 -0
- oci/database_management/models/named_credential.py +45 -2
- oci/database_management/models/named_credential_summary.py +45 -2
- oci/database_management/models/private_end_point_connector_details.py +86 -0
- oci/database_management/models/save_sql_tuning_set_as_details.py +7 -3
- oci/database_management/models/sql_job.py +45 -2
- oci/database_management/models/sql_plan_baseline.py +96 -0
- oci/database_management/models/sql_plan_baseline_summary.py +96 -0
- oci/database_management/models/sql_tuning_set.py +16 -0
- oci/database_management/models/work_request.py +39 -3
- oci/database_management/models/work_request_summary.py +39 -3
- oci/database_management/perfhub_client.py +4 -4
- oci/database_management/sql_tuning_client.py +20 -20
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/disaster_recovery/models/dr_plan_group.py +44 -3
- oci/disaster_recovery/models/dr_plan_group_execution.py +7 -3
- oci/disaster_recovery/models/update_dr_plan_group_details.py +44 -3
- oci/disaster_recovery/models/update_dr_plan_step_details.py +6 -0
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +26 -26
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +29 -29
- oci/golden_gate/golden_gate_client.py +61 -61
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- 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 +62 -61
- oci/load_balancer/models/__init__.py +4 -0
- oci/load_balancer/models/add_http_request_header_rule.py +1 -1
- oci/load_balancer/models/add_http_response_header_rule.py +1 -1
- oci/load_balancer/models/allow_rule.py +1 -1
- oci/load_balancer/models/backend.py +35 -0
- oci/load_balancer/models/backend_details.py +35 -0
- oci/load_balancer/models/backend_set.py +37 -0
- oci/load_balancer/models/backend_set_details.py +37 -0
- oci/load_balancer/models/control_access_using_http_methods_rule.py +1 -1
- oci/load_balancer/models/create_backend_details.py +35 -0
- oci/load_balancer/models/create_backend_set_details.py +37 -0
- oci/load_balancer/models/create_load_balancer_details.py +47 -2
- oci/load_balancer/models/create_ssl_cipher_suite_details.py +25 -25
- oci/load_balancer/models/extend_http_request_header_value_rule.py +1 -1
- oci/load_balancer/models/extend_http_response_header_value_rule.py +1 -1
- oci/load_balancer/models/http_header_rule.py +1 -1
- oci/load_balancer/models/ip_based_max_connections_rule.py +118 -0
- oci/load_balancer/models/ip_max_connections.py +105 -0
- oci/load_balancer/models/load_balancer.py +45 -0
- oci/load_balancer/models/redirect_rule.py +1 -1
- oci/load_balancer/models/remove_http_request_header_rule.py +1 -1
- oci/load_balancer/models/remove_http_response_header_rule.py +1 -1
- oci/load_balancer/models/reserved_ip.py +22 -0
- oci/load_balancer/models/rule.py +11 -3
- oci/load_balancer/models/ssl_cipher_suite.py +25 -25
- oci/load_balancer/models/ssl_cipher_suite_details.py +25 -25
- oci/load_balancer/models/update_backend_details.py +35 -0
- oci/load_balancer/models/update_backend_set_details.py +37 -0
- oci/load_balancer/models/update_load_balancer_details.py +47 -0
- oci/load_balancer/models/update_load_balancer_shape_details.py +2 -2
- oci/load_balancer/models/update_ssl_cipher_suite_details.py +10 -10
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- 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 +13 -13
- 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 +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +175 -175
- 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/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +298 -40
- oci/recovery/database_recovery_client_composite_operations.py +39 -0
- oci/recovery/models/__init__.py +2 -0
- oci/recovery/models/create_protection_policy_details.py +45 -0
- oci/recovery/models/create_recovery_service_subnet_details.py +72 -4
- oci/recovery/models/fetch_protected_database_configuration_details.py +7 -3
- oci/recovery/models/metrics.py +33 -2
- oci/recovery/models/metrics_summary.py +33 -2
- oci/recovery/models/protected_database.py +48 -13
- oci/recovery/models/protected_database_summary.py +44 -3
- oci/recovery/models/protection_policy.py +41 -18
- oci/recovery/models/protection_policy_summary.py +38 -3
- oci/recovery/models/recovery_service_subnet.py +78 -20
- oci/recovery/models/recovery_service_subnet_details.py +7 -3
- oci/recovery/models/recovery_service_subnet_summary.py +78 -20
- oci/recovery/models/schedule_protected_database_deletion_details.py +92 -0
- oci/recovery/models/update_protection_policy_details.py +45 -0
- oci/recovery/models/update_recovery_service_subnet_details.py +68 -0
- oci/recovery/models/work_request.py +7 -3
- oci/recovery/models/work_request_summary.py +7 -3
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- 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 +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- 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.126.0.dist-info → oci-2.126.2.dist-info}/METADATA +1 -1
- {oci-2.126.0.dist-info → oci-2.126.2.dist-info}/RECORD +460 -400
- {oci-2.126.0.dist-info → oci-2.126.2.dist-info}/LICENSE.txt +0 -0
- {oci-2.126.0.dist-info → oci-2.126.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.126.0.dist-info → oci-2.126.2.dist-info}/WHEEL +0 -0
- {oci-2.126.0.dist-info → oci-2.126.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,144 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
|
6
|
+
|
7
|
+
from .patching_configs import PatchingConfigs
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class BatchingBasedPatchingConfigs(PatchingConfigs):
|
14
|
+
"""
|
15
|
+
Patching configurations which allows patch the nodes batch by batch.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new BatchingBasedPatchingConfigs object with values from keyword arguments. The default value of the :py:attr:`~oci.bds.models.BatchingBasedPatchingConfigs.patching_config_strategy` attribute
|
21
|
+
of this class is ``BATCHING_BASED`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param patching_config_strategy:
|
25
|
+
The value to assign to the patching_config_strategy property of this BatchingBasedPatchingConfigs.
|
26
|
+
Allowed values for this property are: "DOWNTIME_BASED", "BATCHING_BASED"
|
27
|
+
:type patching_config_strategy: str
|
28
|
+
|
29
|
+
:param batch_size:
|
30
|
+
The value to assign to the batch_size property of this BatchingBasedPatchingConfigs.
|
31
|
+
:type batch_size: int
|
32
|
+
|
33
|
+
:param wait_time_between_batch_in_seconds:
|
34
|
+
The value to assign to the wait_time_between_batch_in_seconds property of this BatchingBasedPatchingConfigs.
|
35
|
+
:type wait_time_between_batch_in_seconds: int
|
36
|
+
|
37
|
+
:param tolerance_threshold_per_batch:
|
38
|
+
The value to assign to the tolerance_threshold_per_batch property of this BatchingBasedPatchingConfigs.
|
39
|
+
:type tolerance_threshold_per_batch: int
|
40
|
+
|
41
|
+
"""
|
42
|
+
self.swagger_types = {
|
43
|
+
'patching_config_strategy': 'str',
|
44
|
+
'batch_size': 'int',
|
45
|
+
'wait_time_between_batch_in_seconds': 'int',
|
46
|
+
'tolerance_threshold_per_batch': 'int'
|
47
|
+
}
|
48
|
+
|
49
|
+
self.attribute_map = {
|
50
|
+
'patching_config_strategy': 'patchingConfigStrategy',
|
51
|
+
'batch_size': 'batchSize',
|
52
|
+
'wait_time_between_batch_in_seconds': 'waitTimeBetweenBatchInSeconds',
|
53
|
+
'tolerance_threshold_per_batch': 'toleranceThresholdPerBatch'
|
54
|
+
}
|
55
|
+
|
56
|
+
self._patching_config_strategy = None
|
57
|
+
self._batch_size = None
|
58
|
+
self._wait_time_between_batch_in_seconds = None
|
59
|
+
self._tolerance_threshold_per_batch = None
|
60
|
+
self._patching_config_strategy = 'BATCHING_BASED'
|
61
|
+
|
62
|
+
@property
|
63
|
+
def batch_size(self):
|
64
|
+
"""
|
65
|
+
**[Required]** Gets the batch_size of this BatchingBasedPatchingConfigs.
|
66
|
+
How many nodes to be patched and rebooted in each iteration.
|
67
|
+
|
68
|
+
|
69
|
+
:return: The batch_size of this BatchingBasedPatchingConfigs.
|
70
|
+
:rtype: int
|
71
|
+
"""
|
72
|
+
return self._batch_size
|
73
|
+
|
74
|
+
@batch_size.setter
|
75
|
+
def batch_size(self, batch_size):
|
76
|
+
"""
|
77
|
+
Sets the batch_size of this BatchingBasedPatchingConfigs.
|
78
|
+
How many nodes to be patched and rebooted in each iteration.
|
79
|
+
|
80
|
+
|
81
|
+
:param batch_size: The batch_size of this BatchingBasedPatchingConfigs.
|
82
|
+
:type: int
|
83
|
+
"""
|
84
|
+
self._batch_size = batch_size
|
85
|
+
|
86
|
+
@property
|
87
|
+
def wait_time_between_batch_in_seconds(self):
|
88
|
+
"""
|
89
|
+
**[Required]** Gets the wait_time_between_batch_in_seconds of this BatchingBasedPatchingConfigs.
|
90
|
+
The wait time between batches in seconds.
|
91
|
+
|
92
|
+
|
93
|
+
:return: The wait_time_between_batch_in_seconds of this BatchingBasedPatchingConfigs.
|
94
|
+
:rtype: int
|
95
|
+
"""
|
96
|
+
return self._wait_time_between_batch_in_seconds
|
97
|
+
|
98
|
+
@wait_time_between_batch_in_seconds.setter
|
99
|
+
def wait_time_between_batch_in_seconds(self, wait_time_between_batch_in_seconds):
|
100
|
+
"""
|
101
|
+
Sets the wait_time_between_batch_in_seconds of this BatchingBasedPatchingConfigs.
|
102
|
+
The wait time between batches in seconds.
|
103
|
+
|
104
|
+
|
105
|
+
:param wait_time_between_batch_in_seconds: The wait_time_between_batch_in_seconds of this BatchingBasedPatchingConfigs.
|
106
|
+
:type: int
|
107
|
+
"""
|
108
|
+
self._wait_time_between_batch_in_seconds = wait_time_between_batch_in_seconds
|
109
|
+
|
110
|
+
@property
|
111
|
+
def tolerance_threshold_per_batch(self):
|
112
|
+
"""
|
113
|
+
**[Required]** Gets the tolerance_threshold_per_batch of this BatchingBasedPatchingConfigs.
|
114
|
+
Acceptable number of failed-to-be-patched nodes in each batch. The maximum number of failed-to-patch nodes cannot exceed 20% of the number of nodes.
|
115
|
+
|
116
|
+
|
117
|
+
:return: The tolerance_threshold_per_batch of this BatchingBasedPatchingConfigs.
|
118
|
+
:rtype: int
|
119
|
+
"""
|
120
|
+
return self._tolerance_threshold_per_batch
|
121
|
+
|
122
|
+
@tolerance_threshold_per_batch.setter
|
123
|
+
def tolerance_threshold_per_batch(self, tolerance_threshold_per_batch):
|
124
|
+
"""
|
125
|
+
Sets the tolerance_threshold_per_batch of this BatchingBasedPatchingConfigs.
|
126
|
+
Acceptable number of failed-to-be-patched nodes in each batch. The maximum number of failed-to-patch nodes cannot exceed 20% of the number of nodes.
|
127
|
+
|
128
|
+
|
129
|
+
:param tolerance_threshold_per_batch: The tolerance_threshold_per_batch of this BatchingBasedPatchingConfigs.
|
130
|
+
:type: int
|
131
|
+
"""
|
132
|
+
self._tolerance_threshold_per_batch = tolerance_threshold_per_batch
|
133
|
+
|
134
|
+
def __repr__(self):
|
135
|
+
return formatted_flat_dict(self)
|
136
|
+
|
137
|
+
def __eq__(self, other):
|
138
|
+
if other is None:
|
139
|
+
return False
|
140
|
+
|
141
|
+
return self.__dict__ == other.__dict__
|
142
|
+
|
143
|
+
def __ne__(self, other):
|
144
|
+
return not self == other
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
|
6
|
+
|
7
|
+
from .patching_configs import PatchingConfigs
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class DowntimeBasedPatchingConfigs(PatchingConfigs):
|
14
|
+
"""
|
15
|
+
Patching configurations which allows downtime. This patching config will patch and reboot all the nodes in parallel.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new DowntimeBasedPatchingConfigs object with values from keyword arguments. The default value of the :py:attr:`~oci.bds.models.DowntimeBasedPatchingConfigs.patching_config_strategy` attribute
|
21
|
+
of this class is ``DOWNTIME_BASED`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param patching_config_strategy:
|
25
|
+
The value to assign to the patching_config_strategy property of this DowntimeBasedPatchingConfigs.
|
26
|
+
Allowed values for this property are: "DOWNTIME_BASED", "BATCHING_BASED"
|
27
|
+
:type patching_config_strategy: str
|
28
|
+
|
29
|
+
"""
|
30
|
+
self.swagger_types = {
|
31
|
+
'patching_config_strategy': 'str'
|
32
|
+
}
|
33
|
+
|
34
|
+
self.attribute_map = {
|
35
|
+
'patching_config_strategy': 'patchingConfigStrategy'
|
36
|
+
}
|
37
|
+
|
38
|
+
self._patching_config_strategy = None
|
39
|
+
self._patching_config_strategy = 'DOWNTIME_BASED'
|
40
|
+
|
41
|
+
def __repr__(self):
|
42
|
+
return formatted_flat_dict(self)
|
43
|
+
|
44
|
+
def __eq__(self, other):
|
45
|
+
if other is None:
|
46
|
+
return False
|
47
|
+
|
48
|
+
return self.__dict__ == other.__dict__
|
49
|
+
|
50
|
+
def __ne__(self, other):
|
51
|
+
return not self == other
|
@@ -28,19 +28,26 @@ class InstallOsPatchDetails(object):
|
|
28
28
|
The value to assign to the cluster_admin_password property of this InstallOsPatchDetails.
|
29
29
|
:type cluster_admin_password: str
|
30
30
|
|
31
|
+
:param patching_configs:
|
32
|
+
The value to assign to the patching_configs property of this InstallOsPatchDetails.
|
33
|
+
:type patching_configs: oci.bds.models.PatchingConfigs
|
34
|
+
|
31
35
|
"""
|
32
36
|
self.swagger_types = {
|
33
37
|
'os_patch_version': 'str',
|
34
|
-
'cluster_admin_password': 'str'
|
38
|
+
'cluster_admin_password': 'str',
|
39
|
+
'patching_configs': 'PatchingConfigs'
|
35
40
|
}
|
36
41
|
|
37
42
|
self.attribute_map = {
|
38
43
|
'os_patch_version': 'osPatchVersion',
|
39
|
-
'cluster_admin_password': 'clusterAdminPassword'
|
44
|
+
'cluster_admin_password': 'clusterAdminPassword',
|
45
|
+
'patching_configs': 'patchingConfigs'
|
40
46
|
}
|
41
47
|
|
42
48
|
self._os_patch_version = None
|
43
49
|
self._cluster_admin_password = None
|
50
|
+
self._patching_configs = None
|
44
51
|
|
45
52
|
@property
|
46
53
|
def os_patch_version(self):
|
@@ -90,6 +97,26 @@ class InstallOsPatchDetails(object):
|
|
90
97
|
"""
|
91
98
|
self._cluster_admin_password = cluster_admin_password
|
92
99
|
|
100
|
+
@property
|
101
|
+
def patching_configs(self):
|
102
|
+
"""
|
103
|
+
Gets the patching_configs of this InstallOsPatchDetails.
|
104
|
+
|
105
|
+
:return: The patching_configs of this InstallOsPatchDetails.
|
106
|
+
:rtype: oci.bds.models.PatchingConfigs
|
107
|
+
"""
|
108
|
+
return self._patching_configs
|
109
|
+
|
110
|
+
@patching_configs.setter
|
111
|
+
def patching_configs(self, patching_configs):
|
112
|
+
"""
|
113
|
+
Sets the patching_configs of this InstallOsPatchDetails.
|
114
|
+
|
115
|
+
:param patching_configs: The patching_configs of this InstallOsPatchDetails.
|
116
|
+
:type: oci.bds.models.PatchingConfigs
|
117
|
+
"""
|
118
|
+
self._patching_configs = patching_configs
|
119
|
+
|
93
120
|
def __repr__(self):
|
94
121
|
return formatted_flat_dict(self)
|
95
122
|
|
oci/bds/models/node.py
CHANGED
@@ -176,6 +176,14 @@ class Node(object):
|
|
176
176
|
The value to assign to the time_maintenance_reboot_due property of this Node.
|
177
177
|
:type time_maintenance_reboot_due: datetime
|
178
178
|
|
179
|
+
:param os_version:
|
180
|
+
The value to assign to the os_version property of this Node.
|
181
|
+
:type os_version: str
|
182
|
+
|
183
|
+
:param is_reboot_required:
|
184
|
+
The value to assign to the is_reboot_required property of this Node.
|
185
|
+
:type is_reboot_required: bool
|
186
|
+
|
179
187
|
"""
|
180
188
|
self.swagger_types = {
|
181
189
|
'instance_id': 'str',
|
@@ -197,7 +205,9 @@ class Node(object):
|
|
197
205
|
'memory_in_gbs': 'int',
|
198
206
|
'nvmes': 'int',
|
199
207
|
'local_disks_total_size_in_gbs': 'float',
|
200
|
-
'time_maintenance_reboot_due': 'datetime'
|
208
|
+
'time_maintenance_reboot_due': 'datetime',
|
209
|
+
'os_version': 'str',
|
210
|
+
'is_reboot_required': 'bool'
|
201
211
|
}
|
202
212
|
|
203
213
|
self.attribute_map = {
|
@@ -220,7 +230,9 @@ class Node(object):
|
|
220
230
|
'memory_in_gbs': 'memoryInGBs',
|
221
231
|
'nvmes': 'nvmes',
|
222
232
|
'local_disks_total_size_in_gbs': 'localDisksTotalSizeInGBs',
|
223
|
-
'time_maintenance_reboot_due': 'timeMaintenanceRebootDue'
|
233
|
+
'time_maintenance_reboot_due': 'timeMaintenanceRebootDue',
|
234
|
+
'os_version': 'osVersion',
|
235
|
+
'is_reboot_required': 'isRebootRequired'
|
224
236
|
}
|
225
237
|
|
226
238
|
self._instance_id = None
|
@@ -243,6 +255,8 @@ class Node(object):
|
|
243
255
|
self._nvmes = None
|
244
256
|
self._local_disks_total_size_in_gbs = None
|
245
257
|
self._time_maintenance_reboot_due = None
|
258
|
+
self._os_version = None
|
259
|
+
self._is_reboot_required = None
|
246
260
|
|
247
261
|
@property
|
248
262
|
def instance_id(self):
|
@@ -736,6 +750,54 @@ class Node(object):
|
|
736
750
|
"""
|
737
751
|
self._time_maintenance_reboot_due = time_maintenance_reboot_due
|
738
752
|
|
753
|
+
@property
|
754
|
+
def os_version(self):
|
755
|
+
"""
|
756
|
+
Gets the os_version of this Node.
|
757
|
+
BDS-assigned Operating System version for the node.
|
758
|
+
|
759
|
+
|
760
|
+
:return: The os_version of this Node.
|
761
|
+
:rtype: str
|
762
|
+
"""
|
763
|
+
return self._os_version
|
764
|
+
|
765
|
+
@os_version.setter
|
766
|
+
def os_version(self, os_version):
|
767
|
+
"""
|
768
|
+
Sets the os_version of this Node.
|
769
|
+
BDS-assigned Operating System version for the node.
|
770
|
+
|
771
|
+
|
772
|
+
:param os_version: The os_version of this Node.
|
773
|
+
:type: str
|
774
|
+
"""
|
775
|
+
self._os_version = os_version
|
776
|
+
|
777
|
+
@property
|
778
|
+
def is_reboot_required(self):
|
779
|
+
"""
|
780
|
+
Gets the is_reboot_required of this Node.
|
781
|
+
Indicates if the node requires a reboot to either reflect the latest os kernel or take actions for maintenance reboot.
|
782
|
+
|
783
|
+
|
784
|
+
:return: The is_reboot_required of this Node.
|
785
|
+
:rtype: bool
|
786
|
+
"""
|
787
|
+
return self._is_reboot_required
|
788
|
+
|
789
|
+
@is_reboot_required.setter
|
790
|
+
def is_reboot_required(self, is_reboot_required):
|
791
|
+
"""
|
792
|
+
Sets the is_reboot_required of this Node.
|
793
|
+
Indicates if the node requires a reboot to either reflect the latest os kernel or take actions for maintenance reboot.
|
794
|
+
|
795
|
+
|
796
|
+
:param is_reboot_required: The is_reboot_required of this Node.
|
797
|
+
:type: bool
|
798
|
+
"""
|
799
|
+
self._is_reboot_required = is_reboot_required
|
800
|
+
|
739
801
|
def __repr__(self):
|
740
802
|
return formatted_flat_dict(self)
|
741
803
|
|
@@ -0,0 +1,109 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class PatchingConfigs(object):
|
14
|
+
"""
|
15
|
+
Detailed configurations for defining the behavior when installing os patches. If not provided, nodes will be patched and rebooted AD/FD by AD/FD.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the patching_config_strategy property of a PatchingConfigs.
|
19
|
+
#: This constant has a value of "DOWNTIME_BASED"
|
20
|
+
PATCHING_CONFIG_STRATEGY_DOWNTIME_BASED = "DOWNTIME_BASED"
|
21
|
+
|
22
|
+
#: A constant which can be used with the patching_config_strategy property of a PatchingConfigs.
|
23
|
+
#: This constant has a value of "BATCHING_BASED"
|
24
|
+
PATCHING_CONFIG_STRATEGY_BATCHING_BASED = "BATCHING_BASED"
|
25
|
+
|
26
|
+
def __init__(self, **kwargs):
|
27
|
+
"""
|
28
|
+
Initializes a new PatchingConfigs object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
29
|
+
to a service operations then you should favor using a subclass over the base class:
|
30
|
+
|
31
|
+
* :class:`~oci.bds.models.BatchingBasedPatchingConfigs`
|
32
|
+
* :class:`~oci.bds.models.DowntimeBasedPatchingConfigs`
|
33
|
+
|
34
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
35
|
+
|
36
|
+
:param patching_config_strategy:
|
37
|
+
The value to assign to the patching_config_strategy property of this PatchingConfigs.
|
38
|
+
Allowed values for this property are: "DOWNTIME_BASED", "BATCHING_BASED"
|
39
|
+
:type patching_config_strategy: str
|
40
|
+
|
41
|
+
"""
|
42
|
+
self.swagger_types = {
|
43
|
+
'patching_config_strategy': 'str'
|
44
|
+
}
|
45
|
+
|
46
|
+
self.attribute_map = {
|
47
|
+
'patching_config_strategy': 'patchingConfigStrategy'
|
48
|
+
}
|
49
|
+
|
50
|
+
self._patching_config_strategy = None
|
51
|
+
|
52
|
+
@staticmethod
|
53
|
+
def get_subtype(object_dictionary):
|
54
|
+
"""
|
55
|
+
Given the hash representation of a subtype of this class,
|
56
|
+
use the info in the hash to return the class of the subtype.
|
57
|
+
"""
|
58
|
+
type = object_dictionary['patchingConfigStrategy']
|
59
|
+
|
60
|
+
if type == 'BATCHING_BASED':
|
61
|
+
return 'BatchingBasedPatchingConfigs'
|
62
|
+
|
63
|
+
if type == 'DOWNTIME_BASED':
|
64
|
+
return 'DowntimeBasedPatchingConfigs'
|
65
|
+
else:
|
66
|
+
return 'PatchingConfigs'
|
67
|
+
|
68
|
+
@property
|
69
|
+
def patching_config_strategy(self):
|
70
|
+
"""
|
71
|
+
**[Required]** Gets the patching_config_strategy of this PatchingConfigs.
|
72
|
+
Type of strategy used for detailed patching configuration
|
73
|
+
|
74
|
+
Allowed values for this property are: "DOWNTIME_BASED", "BATCHING_BASED"
|
75
|
+
|
76
|
+
|
77
|
+
:return: The patching_config_strategy of this PatchingConfigs.
|
78
|
+
:rtype: str
|
79
|
+
"""
|
80
|
+
return self._patching_config_strategy
|
81
|
+
|
82
|
+
@patching_config_strategy.setter
|
83
|
+
def patching_config_strategy(self, patching_config_strategy):
|
84
|
+
"""
|
85
|
+
Sets the patching_config_strategy of this PatchingConfigs.
|
86
|
+
Type of strategy used for detailed patching configuration
|
87
|
+
|
88
|
+
|
89
|
+
:param patching_config_strategy: The patching_config_strategy of this PatchingConfigs.
|
90
|
+
:type: str
|
91
|
+
"""
|
92
|
+
allowed_values = ["DOWNTIME_BASED", "BATCHING_BASED"]
|
93
|
+
if not value_allowed_none_or_none_sentinel(patching_config_strategy, allowed_values):
|
94
|
+
raise ValueError(
|
95
|
+
f"Invalid value for `patching_config_strategy`, must be None or one of {allowed_values}"
|
96
|
+
)
|
97
|
+
self._patching_config_strategy = patching_config_strategy
|
98
|
+
|
99
|
+
def __repr__(self):
|
100
|
+
return formatted_flat_dict(self)
|
101
|
+
|
102
|
+
def __eq__(self, other):
|
103
|
+
if other is None:
|
104
|
+
return False
|
105
|
+
|
106
|
+
return self.__dict__ == other.__dict__
|
107
|
+
|
108
|
+
def __ne__(self, other):
|
109
|
+
return not self == other
|
@@ -53,7 +53,7 @@ class WorkRequestError(object):
|
|
53
53
|
def code(self):
|
54
54
|
"""
|
55
55
|
**[Required]** Gets the code of this WorkRequestError.
|
56
|
-
A machine-usable code for the error that
|
56
|
+
A machine-usable code for the error that occurred. Error codes are listed on (https://docs.oracle.com/en-us/iaas/Content/API/References/apierrors.htm).
|
57
57
|
|
58
58
|
|
59
59
|
:return: The code of this WorkRequestError.
|
@@ -65,7 +65,7 @@ class WorkRequestError(object):
|
|
65
65
|
def code(self, code):
|
66
66
|
"""
|
67
67
|
Sets the code of this WorkRequestError.
|
68
|
-
A machine-usable code for the error that
|
68
|
+
A machine-usable code for the error that occurred. Error codes are listed on (https://docs.oracle.com/en-us/iaas/Content/API/References/apierrors.htm).
|
69
69
|
|
70
70
|
|
71
71
|
:param code: The code of this WorkRequestError.
|
@@ -101,7 +101,7 @@ class WorkRequestError(object):
|
|
101
101
|
def timestamp(self):
|
102
102
|
"""
|
103
103
|
**[Required]** Gets the timestamp of this WorkRequestError.
|
104
|
-
The time the error
|
104
|
+
The time the error occurred, shown as an RFC 3339 formatted datetime string.
|
105
105
|
|
106
106
|
|
107
107
|
:return: The timestamp of this WorkRequestError.
|
@@ -113,7 +113,7 @@ class WorkRequestError(object):
|
|
113
113
|
def timestamp(self, timestamp):
|
114
114
|
"""
|
115
115
|
Sets the timestamp of this WorkRequestError.
|
116
|
-
The time the error
|
116
|
+
The time the error occurred, shown as an RFC 3339 formatted datetime string.
|
117
117
|
|
118
118
|
|
119
119
|
:param timestamp: The timestamp of this WorkRequestError.
|