oci 2.135.2__py3-none-any.whl → 2.137.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/_vendor/jwt/__init__.py +65 -26
- oci/_vendor/jwt/algorithms.py +404 -130
- oci/_vendor/jwt/api_jwk.py +108 -0
- oci/_vendor/jwt/api_jws.py +153 -106
- oci/_vendor/jwt/api_jwt.py +146 -137
- oci/_vendor/jwt/exceptions.py +13 -6
- oci/_vendor/jwt/help.py +16 -15
- oci/_vendor/jwt/jwks_client.py +64 -0
- oci/_vendor/jwt/utils.py +101 -54
- 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 +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- 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 +9 -9
- 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/auth/security_token_container.py +1 -1
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +72 -72
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +160 -14
- oci/cloud_bridge/inventory_client.py +20 -20
- oci/cloud_bridge/models/__init__.py +48 -2
- oci/cloud_bridge/models/asset.py +19 -3
- oci/cloud_bridge/models/asset_source.py +11 -3
- oci/cloud_bridge/models/asset_source_credentials.py +17 -7
- oci/cloud_bridge/models/asset_source_summary.py +11 -3
- oci/cloud_bridge/models/asset_summary.py +11 -3
- oci/cloud_bridge/models/aws_asset_source.py +359 -0
- oci/cloud_bridge/models/aws_asset_source_summary.py +205 -0
- oci/cloud_bridge/models/aws_ebs_asset.py +170 -0
- oci/cloud_bridge/models/aws_ebs_properties.py +382 -0
- oci/cloud_bridge/models/aws_ec2_asset.py +278 -0
- oci/cloud_bridge/models/aws_ec2_properties.py +1056 -0
- oci/cloud_bridge/models/create_asset_details.py +19 -3
- oci/cloud_bridge/models/create_asset_source_details.py +11 -3
- oci/cloud_bridge/models/create_aws_asset_source_details.py +323 -0
- oci/cloud_bridge/models/create_aws_ebs_asset_details.py +134 -0
- oci/cloud_bridge/models/create_aws_ec2_asset_details.py +242 -0
- oci/cloud_bridge/models/create_vm_ware_asset_source_details.py +2 -2
- oci/cloud_bridge/models/create_vmware_vm_asset_details.py +5 -5
- oci/cloud_bridge/models/group_identifier.py +103 -0
- oci/cloud_bridge/models/import_inventory_via_assets_details.py +13 -5
- oci/cloud_bridge/models/instance_network_interface.py +498 -0
- oci/cloud_bridge/models/instance_network_interface_association.py +196 -0
- oci/cloud_bridge/models/instance_network_interface_attachment.py +227 -0
- oci/cloud_bridge/models/instance_private_ip_address.py +161 -0
- oci/cloud_bridge/models/instance_state.py +103 -0
- oci/cloud_bridge/models/monthly_cost_summary.py +103 -0
- oci/cloud_bridge/models/placement.py +289 -0
- oci/{ocvp/models/supported_sku_summary_collection.py → cloud_bridge/models/supported_cloud_region_collection.py} +15 -15
- oci/cloud_bridge/models/supported_cloud_region_summary.py +244 -0
- oci/cloud_bridge/models/tag.py +103 -0
- oci/cloud_bridge/models/update_asset_details.py +19 -3
- oci/cloud_bridge/models/update_asset_source_details.py +47 -4
- oci/cloud_bridge/models/update_aws_asset_source_details.py +240 -0
- oci/cloud_bridge/models/update_aws_ebs_asset_details.py +106 -0
- oci/cloud_bridge/models/update_aws_ec2_asset_details.py +214 -0
- oci/cloud_bridge/models/update_vm_asset_details.py +1 -1
- oci/cloud_bridge/models/update_vm_ware_asset_source_details.py +11 -39
- oci/cloud_bridge/models/update_vmware_vm_asset_details.py +1 -1
- oci/cloud_bridge/models/vm_asset.py +3 -3
- oci/cloud_bridge/models/vm_ware_asset_source.py +2 -2
- oci/cloud_bridge/models/vm_ware_asset_source_summary.py +2 -2
- oci/cloud_bridge/models/vmware_vm_asset.py +5 -5
- oci/cloud_bridge/models/volume_attachment.py +196 -0
- oci/cloud_bridge/models/work_request.py +15 -3
- oci/cloud_bridge/models/work_request_summary.py +15 -3
- oci/cloud_bridge/ocb_agent_svc_client.py +22 -138
- oci/cloud_bridge/ocb_agent_svc_client_composite_operations.py +0 -48
- 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 +88 -88
- oci/container_engine/models/__init__.py +4 -0
- oci/container_engine/models/cluster.py +33 -2
- oci/container_engine/models/cluster_create_options.py +56 -2
- oci/container_engine/models/open_id_connect_discovery.py +72 -0
- oci/container_engine/models/open_id_connect_token_authentication_config.py +370 -0
- oci/container_engine/models/update_cluster_options_details.py +56 -2
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +6 -0
- oci/core/models/block_volume_replica.py +43 -2
- oci/core/models/block_volume_replica_details.py +45 -2
- oci/core/models/block_volume_replica_info.py +43 -2
- oci/core/models/boot_volume_replica.py +43 -2
- oci/core/models/boot_volume_replica_details.py +45 -2
- oci/core/models/boot_volume_replica_info.py +43 -2
- oci/core/models/boot_volume_source_details.py +4 -0
- oci/core/models/boot_volume_source_from_boot_volume_backup_delta_details.py +143 -0
- oci/core/models/create_boot_volume_details.py +45 -2
- oci/core/models/create_volume_backup_policy_assignment_details.py +45 -2
- oci/core/models/create_volume_details.py +45 -2
- oci/core/models/create_volume_group_details.py +45 -2
- oci/core/models/instance_configuration_create_volume_details.py +45 -2
- oci/core/models/virtual_circuit.py +29 -2
- oci/core/models/virtual_circuit_redundancy_metadata.py +202 -0
- oci/core/models/volume_backup_policy_assignment.py +45 -2
- oci/core/models/volume_group_replica_details.py +45 -2
- oci/core/models/volume_group_replica_info.py +43 -2
- oci/core/models/volume_source_details.py +4 -0
- oci/core/models/volume_source_from_volume_backup_delta_details.py +143 -0
- oci/core/virtual_network_client.py +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- 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 +292 -292
- oci/data_science/data_science_client.py +217 -93
- oci/data_science/data_science_client_composite_operations.py +41 -0
- oci/data_science/models/__init__.py +8 -0
- oci/data_science/models/backup_operation_details.py +154 -0
- oci/data_science/models/backup_setting.py +158 -0
- oci/data_science/models/create_model_details.py +56 -2
- oci/data_science/models/model.py +141 -2
- oci/data_science/models/model_summary.py +31 -0
- oci/data_science/models/retention_operation_details.py +267 -0
- oci/data_science/models/retention_setting.py +158 -0
- oci/data_science/models/update_model_details.py +56 -2
- oci/data_science/models/work_request.py +7 -3
- oci/data_science/models/work_request_summary.py +7 -3
- oci/database/database_client.py +396 -396
- oci/database/models/__init__.py +14 -0
- oci/database/models/autonomous_database.py +58 -0
- oci/database/models/autonomous_database_encryption_key_details.py +133 -0
- oci/database/models/autonomous_database_encryption_key_history_entry.py +99 -0
- oci/database/models/autonomous_database_summary.py +58 -0
- oci/database/models/aws_key_details.py +175 -0
- oci/database/models/azure_key_details.py +113 -0
- oci/database/models/create_autonomous_database_base.py +27 -0
- oci/database/models/create_autonomous_database_clone_details.py +7 -0
- oci/database/models/create_autonomous_database_details.py +7 -0
- oci/database/models/create_autonomous_database_from_backup_details.py +7 -0
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +7 -0
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +7 -0
- oci/database/models/create_cross_region_disaster_recovery_details.py +7 -0
- oci/database/models/create_cross_tenancy_disaster_recovery_details.py +7 -0
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +7 -0
- oci/database/models/oci_key_details.py +119 -0
- oci/database/models/okv_key_details.py +206 -0
- oci/{log_analytics/models/agent_upload.py → database/models/oracle_managed_key_details.py} +14 -33
- oci/database/models/undelete_autonomous_database_details.py +7 -0
- oci/database/models/update_autonomous_database_details.py +29 -2
- oci/database_management/db_management_client.py +211 -211
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +389 -54
- oci/dns/dns_client_composite_operations.py +886 -193
- oci/dns/models/__init__.py +13 -1
- oci/dns/models/create_zone_details.py +101 -2
- oci/dns/models/dnssec_config.py +105 -0
- oci/dns/models/dnssec_key_version_ds_data.py +121 -0
- oci/dns/models/ksk_dnssec_key_version.py +550 -0
- oci/dns/models/promote_zone_dnssec_key_version_details.py +72 -0
- oci/dns/models/stage_zone_dnssec_key_version_details.py +72 -0
- oci/dns/models/update_zone_details.py +99 -0
- oci/dns/models/zone.py +126 -0
- oci/dns/models/zone_summary.py +128 -2
- oci/dns/models/zsk_dnssec_key_version.py +517 -0
- 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_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +3599 -1776
- oci/file_storage/file_storage_client_composite_operations.py +881 -223
- oci/file_storage/models/__init__.py +2 -0
- oci/file_storage/models/create_export_details.py +31 -0
- oci/file_storage/models/create_file_system_details.py +31 -0
- oci/file_storage/models/create_filesystem_snapshot_policy_details.py +33 -2
- oci/file_storage/models/create_ldap_bind_account_details.py +7 -0
- oci/file_storage/models/create_mount_target_details.py +31 -0
- oci/file_storage/models/create_outbound_connector_details.py +33 -2
- oci/file_storage/models/create_replication_details.py +33 -2
- oci/file_storage/models/create_snapshot_details.py +33 -2
- oci/file_storage/models/export.py +33 -2
- oci/file_storage/models/export_summary.py +33 -2
- oci/file_storage/models/file_system.py +31 -0
- oci/file_storage/models/file_system_summary.py +31 -0
- oci/file_storage/models/filesystem_snapshot_policy.py +31 -0
- oci/file_storage/models/filesystem_snapshot_policy_summary.py +31 -0
- oci/file_storage/models/ldap_bind_account.py +7 -0
- oci/file_storage/models/ldap_bind_account_summary.py +7 -0
- oci/file_storage/models/mount_target.py +31 -0
- oci/file_storage/models/mount_target_summary.py +31 -0
- oci/file_storage/models/outbound_connector.py +31 -0
- oci/file_storage/models/outbound_connector_summary.py +31 -0
- oci/file_storage/models/replication.py +31 -0
- oci/file_storage/models/replication_summary.py +31 -0
- oci/file_storage/models/resource_lock.py +185 -0
- oci/file_storage/models/snapshot.py +31 -0
- oci/file_storage/models/snapshot_summary.py +31 -0
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +2261 -294
- oci/fleet_apps_management/fleet_apps_management_admin_client_composite_operations.py +349 -1
- oci/fleet_apps_management/fleet_apps_management_client.py +141 -127
- oci/fleet_apps_management/fleet_apps_management_client_composite_operations.py +19 -19
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +19 -15
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client_composite_operations.py +1 -1
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +2058 -363
- oci/fleet_apps_management/fleet_apps_management_operations_client_composite_operations.py +173 -0
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +1097 -260
- oci/fleet_apps_management/fleet_apps_management_runbooks_client_composite_operations.py +298 -0
- oci/fleet_apps_management/models/__init__.py +168 -0
- oci/fleet_apps_management/models/action_group.py +2 -2
- oci/fleet_apps_management/models/action_group_based_user_action_details.py +90 -0
- oci/fleet_apps_management/models/action_group_details.py +20 -16
- oci/fleet_apps_management/models/activity_resource_target.py +44 -7
- oci/fleet_apps_management/models/announcement_collection.py +1 -1
- oci/fleet_apps_management/models/announcement_summary.py +13 -13
- oci/fleet_apps_management/models/api_based_execution_details.py +1 -1
- oci/fleet_apps_management/models/artifact_details.py +109 -0
- oci/fleet_apps_management/models/associated_fleet_credential_details.py +1 -1
- oci/fleet_apps_management/models/associated_fleet_property_details.py +5 -5
- oci/fleet_apps_management/models/associated_fleet_resource_details.py +6 -6
- oci/fleet_apps_management/models/associated_local_task_details.py +64 -1
- oci/fleet_apps_management/models/associated_scheduler_definition.py +3 -3
- oci/fleet_apps_management/models/associated_shared_task_details.py +2 -1
- oci/fleet_apps_management/models/associations.py +32 -5
- oci/fleet_apps_management/models/check_resource_tagging_details.py +5 -5
- oci/fleet_apps_management/models/compliance_detail_policy.py +223 -0
- oci/fleet_apps_management/models/compliance_detail_product.py +134 -0
- oci/fleet_apps_management/models/compliance_detail_resource.py +196 -0
- oci/fleet_apps_management/models/compliance_detail_target.py +134 -0
- oci/fleet_apps_management/models/compliance_patch_detail.py +278 -0
- oci/{database_migration/models/agent.py → fleet_apps_management/models/compliance_policy.py} +120 -167
- oci/fleet_apps_management/models/compliance_policy_collection.py +72 -0
- oci/fleet_apps_management/models/compliance_policy_rule.py +618 -0
- oci/{media_services/models/media_workflow_job_fact_collection.py → fleet_apps_management/models/compliance_policy_rule_collection.py} +15 -15
- oci/fleet_apps_management/models/compliance_policy_rule_summary.py +585 -0
- oci/{database_migration/models/agent_summary.py → fleet_apps_management/models/compliance_policy_summary.py} +110 -159
- oci/fleet_apps_management/models/compliance_record.py +457 -0
- oci/fleet_apps_management/models/compliance_record_aggregation.py +99 -0
- oci/fleet_apps_management/models/compliance_record_aggregation_collection.py +72 -0
- oci/fleet_apps_management/models/compliance_record_collection.py +72 -0
- oci/fleet_apps_management/models/compliance_record_dimension.py +143 -0
- oci/fleet_apps_management/models/compliance_record_summary.py +437 -0
- oci/fleet_apps_management/models/compliance_report.py +5 -5
- oci/fleet_apps_management/models/compliance_report_patch_detail.py +9 -9
- oci/fleet_apps_management/models/compliance_report_product.py +3 -3
- oci/fleet_apps_management/models/compliance_report_resource.py +8 -6
- oci/fleet_apps_management/models/compliance_report_target.py +7 -7
- oci/fleet_apps_management/models/component_properties.py +69 -9
- oci/fleet_apps_management/models/condition.py +12 -6
- oci/{os_management/models/managed_instance_update_details.py → fleet_apps_management/models/config_association_details.py} +43 -35
- oci/fleet_apps_management/models/config_category_details.py +133 -0
- oci/fleet_apps_management/models/confirm_targets_details.py +1 -1
- oci/fleet_apps_management/models/content_details.py +3 -3
- oci/fleet_apps_management/models/create_compliance_policy_rule_details.py +382 -0
- oci/fleet_apps_management/models/create_fleet_details.py +63 -16
- oci/fleet_apps_management/models/create_fleet_property_details.py +5 -5
- oci/fleet_apps_management/models/create_fleet_resource_details.py +1 -1
- oci/fleet_apps_management/models/create_maintenance_window_details.py +19 -11
- oci/fleet_apps_management/models/create_onboarding_details.py +8 -4
- oci/fleet_apps_management/models/create_patch_details.py +402 -0
- oci/fleet_apps_management/models/create_platform_configuration_details.py +169 -0
- oci/fleet_apps_management/models/create_property_details.py +6 -6
- oci/fleet_apps_management/models/create_runbook_details.py +441 -0
- oci/{database_migration/models/create_agent_details.py → fleet_apps_management/models/create_task_record_details.py} +81 -106
- oci/fleet_apps_management/models/credential_config_category_details.py +52 -0
- oci/fleet_apps_management/models/credential_details.py +3 -3
- oci/fleet_apps_management/models/credential_entity_specific_details.py +22 -6
- oci/{log_analytics/models/log_analytics_collection_warning.py → fleet_apps_management/models/dependent_patch_details.py} +12 -10
- oci/fleet_apps_management/models/details.py +67 -3
- oci/fleet_apps_management/models/discovered_target.py +6 -6
- oci/fleet_apps_management/models/enable_latest_policy_details.py +72 -0
- oci/fleet_apps_management/models/entity_execution_details.py +22 -16
- oci/fleet_apps_management/models/environment_config_category_details.py +53 -0
- oci/fleet_apps_management/models/execution.py +122 -21
- oci/fleet_apps_management/models/execution_collection.py +1 -1
- oci/fleet_apps_management/models/execution_details.py +1 -1
- oci/fleet_apps_management/models/execution_summary.py +123 -22
- oci/fleet_apps_management/models/execution_workflow_details.py +1 -1
- oci/fleet_apps_management/models/export_compliance_report_details.py +251 -0
- oci/fleet_apps_management/models/fleet.py +37 -19
- oci/fleet_apps_management/models/fleet_credential.py +1 -1
- oci/fleet_apps_management/models/fleet_credential_entity_specific_details.py +82 -0
- oci/fleet_apps_management/models/fleet_product_summary.py +3 -3
- oci/fleet_apps_management/models/fleet_property.py +11 -11
- oci/fleet_apps_management/models/fleet_property_collection.py +3 -3
- oci/fleet_apps_management/models/fleet_property_summary.py +6 -6
- oci/fleet_apps_management/models/fleet_resource.py +21 -15
- oci/fleet_apps_management/models/fleet_resource_collection.py +1 -1
- oci/fleet_apps_management/models/fleet_resource_summary.py +20 -14
- oci/fleet_apps_management/models/fleet_summary.py +15 -5
- oci/fleet_apps_management/models/fleet_target.py +98 -5
- oci/fleet_apps_management/models/fleet_target_summary.py +98 -5
- oci/fleet_apps_management/models/generate_compliance_report_details.py +5 -3
- oci/fleet_apps_management/models/generic_artifact.py +68 -0
- oci/fleet_apps_management/models/generic_artifact_details.py +78 -0
- oci/fleet_apps_management/models/group.py +11 -5
- oci/fleet_apps_management/models/input_argument.py +2 -2
- oci/fleet_apps_management/models/inventory_resource_summary.py +6 -6
- oci/fleet_apps_management/models/job_activity.py +57 -18
- oci/fleet_apps_management/models/key_encryption_credential_details.py +5 -5
- oci/fleet_apps_management/models/maintenance_window.py +19 -11
- oci/fleet_apps_management/models/maintenance_window_collection.py +1 -1
- oci/fleet_apps_management/models/maintenance_window_summary.py +18 -10
- oci/fleet_apps_management/models/manage_job_execution_details.py +68 -0
- oci/{database_migration/models/change_agent_compartment_details.py → fleet_apps_management/models/manage_settings_details.py} +21 -21
- oci/fleet_apps_management/models/managed_entity_aggregation.py +99 -0
- oci/fleet_apps_management/models/managed_entity_aggregation_collection.py +72 -0
- oci/fleet_apps_management/models/managed_entity_dimension.py +88 -0
- oci/fleet_apps_management/models/model_property.py +9 -9
- oci/fleet_apps_management/models/notification_preferences.py +7 -5
- oci/fleet_apps_management/models/object_storage_bucket_content_details.py +3 -3
- oci/fleet_apps_management/models/onboarding.py +70 -7
- oci/fleet_apps_management/models/onboarding_collection.py +3 -3
- oci/fleet_apps_management/models/onboarding_policy_collection.py +3 -3
- oci/fleet_apps_management/models/onboarding_policy_summary.py +1 -1
- oci/fleet_apps_management/models/onboarding_summary.py +69 -7
- oci/fleet_apps_management/models/outcome.py +7 -7
- oci/fleet_apps_management/models/output_variable_details.py +2 -2
- oci/fleet_apps_management/models/output_variable_input_argument.py +1 -1
- oci/fleet_apps_management/models/output_variable_mapping.py +4 -3
- oci/fleet_apps_management/models/patch.py +704 -0
- oci/{logging/models/log_included_search_summary_collection.py → fleet_apps_management/models/patch_collection.py} +16 -14
- oci/fleet_apps_management/models/patch_level_selection_details.py +106 -0
- oci/fleet_apps_management/models/patch_name_selection_details.py +83 -0
- oci/{database_migration/models/agent_image_summary.py → fleet_apps_management/models/patch_product.py} +36 -36
- oci/fleet_apps_management/models/patch_release_date_selection_details.py +83 -0
- oci/fleet_apps_management/models/patch_selection_details.py +117 -0
- oci/fleet_apps_management/models/patch_summary.py +625 -0
- oci/fleet_apps_management/models/patch_type.py +72 -0
- oci/fleet_apps_management/models/patch_type_config_category_details.py +52 -0
- oci/fleet_apps_management/models/pause_details.py +109 -0
- oci/fleet_apps_management/models/plain_text_credential_details.py +2 -2
- oci/fleet_apps_management/models/platform_configuration.py +529 -0
- oci/fleet_apps_management/models/platform_configuration_collection.py +72 -0
- oci/fleet_apps_management/models/platform_configuration_summary.py +485 -0
- oci/fleet_apps_management/models/platform_specific_artifact.py +162 -0
- oci/fleet_apps_management/models/platform_specific_artifact_details.py +82 -0
- oci/fleet_apps_management/models/preferences.py +3 -3
- oci/fleet_apps_management/models/product_config_category_details.py +215 -0
- oci/fleet_apps_management/models/product_stack_as_product_sub_category_details.py +182 -0
- oci/fleet_apps_management/models/product_stack_config_category_details.py +112 -0
- oci/{database_migration/models/par_link.py → fleet_apps_management/models/product_stack_generic_sub_category_details.py} +14 -33
- oci/fleet_apps_management/models/product_stack_sub_category_details.py +109 -0
- oci/fleet_apps_management/models/product_version_details.py +105 -0
- oci/fleet_apps_management/models/property_collection.py +3 -3
- oci/fleet_apps_management/models/property_summary.py +8 -8
- oci/{cloud_bridge/models/update_plugin_details.py → fleet_apps_management/models/publish_runbook_details.py} +21 -21
- oci/fleet_apps_management/models/request_resource_validation_details.py +5 -5
- oci/fleet_apps_management/models/request_target_discovery_details.py +5 -5
- oci/{database_migration/models/agent_image_collection.py → fleet_apps_management/models/resource_collection.py} +15 -15
- oci/fleet_apps_management/models/resource_credential_entity_specific_details.py +82 -0
- oci/fleet_apps_management/models/resource_summary.py +347 -0
- oci/fleet_apps_management/models/resource_tag_check_details.py +3 -3
- oci/fleet_apps_management/models/resource_tag_enablement_info.py +3 -3
- oci/fleet_apps_management/models/rollback_workflow_details.py +119 -0
- oci/fleet_apps_management/models/rule.py +15 -7
- oci/fleet_apps_management/models/runbook.py +28 -9
- oci/fleet_apps_management/models/runbook_collection.py +1 -1
- oci/fleet_apps_management/models/runbook_summary.py +6 -4
- oci/fleet_apps_management/models/scheduler_definition.py +16 -16
- oci/fleet_apps_management/models/scheduler_job.py +24 -20
- oci/fleet_apps_management/models/scheduler_job_aggregation.py +99 -0
- oci/{usage_api/models/schedule_report_collection.py → fleet_apps_management/models/scheduler_job_aggregation_collection.py} +16 -14
- oci/fleet_apps_management/models/scheduler_job_collection.py +1 -1
- oci/fleet_apps_management/models/scheduler_job_dimension.py +72 -0
- oci/fleet_apps_management/models/scheduler_job_summary.py +20 -16
- oci/fleet_apps_management/models/script_based_execution_details.py +38 -5
- oci/fleet_apps_management/models/selection_criteria.py +6 -3
- oci/{log_analytics/models/query_work_request_resource.py → fleet_apps_management/models/set_default_runbook_details.py} +22 -20
- oci/fleet_apps_management/models/step_based_user_action_details.py +183 -0
- oci/{database_migration/models/agent_collection.py → fleet_apps_management/models/step_collection.py} +15 -15
- oci/fleet_apps_management/models/step_summary.py +378 -0
- oci/fleet_apps_management/models/target_credential_entity_specific_details.py +6 -6
- oci/fleet_apps_management/models/target_resource.py +1 -1
- oci/fleet_apps_management/models/task_notification_preferences.py +134 -0
- oci/fleet_apps_management/models/task_record.py +1 -1
- oci/fleet_apps_management/models/task_variable.py +2 -1
- oci/fleet_apps_management/models/time_based_pause_details.py +82 -0
- oci/fleet_apps_management/models/update_compliance_policy_rule_details.py +283 -0
- oci/fleet_apps_management/models/update_fleet_details.py +4 -2
- oci/fleet_apps_management/models/update_fleet_property_details.py +3 -3
- oci/fleet_apps_management/models/update_fleet_resource_details.py +1 -1
- oci/fleet_apps_management/models/update_maintenance_window_details.py +18 -10
- oci/fleet_apps_management/models/update_onboarding_details.py +103 -0
- oci/fleet_apps_management/models/update_patch_details.py +369 -0
- oci/fleet_apps_management/models/update_platform_configuration_details.py +138 -0
- oci/fleet_apps_management/models/update_property_details.py +6 -6
- oci/fleet_apps_management/models/update_runbook_details.py +410 -0
- oci/fleet_apps_management/models/update_scheduler_job_details.py +3 -3
- oci/{database_migration/models/update_agent_details.py → fleet_apps_management/models/update_task_record_details.py} +63 -90
- oci/{log_analytics/models/string_list_details.py → fleet_apps_management/models/user_action_based_pause_details.py} +14 -33
- oci/fleet_apps_management/models/user_action_details.py +157 -0
- oci/{os_management/models/errata_id.py → fleet_apps_management/models/variable.py} +29 -27
- oci/fleet_apps_management/models/work_request.py +67 -3
- oci/fleet_apps_management/models/work_request_summary.py +67 -3
- oci/fleet_apps_management/models/workflow_group.py +2 -2
- oci/fleet_apps_management/models/workflow_group_component.py +4 -4
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
- 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 +30 -30
- oci/golden_gate/golden_gate_client.py +211 -70
- oci/golden_gate/models/__init__.py +8 -0
- oci/golden_gate/models/create_database_registration_details.py +4 -4
- oci/golden_gate/models/create_deployment_details.py +47 -0
- oci/golden_gate/models/create_ogg_deployment_details.py +29 -2
- oci/golden_gate/models/create_oracle_connection_details.py +4 -4
- oci/golden_gate/models/deployment.py +102 -0
- oci/golden_gate/models/deployment_environment_collection.py +72 -0
- oci/golden_gate/models/deployment_environment_summary.py +389 -0
- oci/golden_gate/models/deployment_summary.py +103 -1
- oci/golden_gate/models/deployment_type_summary.py +3 -0
- oci/golden_gate/models/group_to_roles_mapping_details.py +197 -0
- oci/golden_gate/models/ogg_deployment.py +29 -2
- oci/golden_gate/models/test_connection_assignment_result.py +34 -2
- oci/golden_gate/models/update_database_registration_details.py +4 -4
- oci/golden_gate/models/update_deployment_details.py +47 -0
- oci/golden_gate/models/update_group_to_roles_mapping_details.py +197 -0
- oci/golden_gate/models/update_ogg_deployment_details.py +29 -2
- oci/golden_gate/models/update_oracle_connection_details.py +4 -4
- 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 +307 -307
- oci/identity_domains/models/auth_token.py +51 -0
- oci/identity_domains/models/customer_secret_key.py +45 -0
- oci/identity_domains/models/o_auth2_client_credential.py +49 -0
- oci/identity_domains/models/smtp_credential.py +47 -0
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +75 -75
- 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 +61 -61
- 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_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- 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 +7 -7
- 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 +86 -86
- 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 +55 -55
- 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/models/__init__.py +8 -0
- oci/opsi/models/host_configuration_metric_group.py +11 -3
- oci/opsi/models/host_containers.py +65 -3
- oci/opsi/models/host_cpu_hardware_configuration.py +1 -1
- oci/opsi/models/host_cpu_statistics.py +1 -1
- oci/opsi/models/host_cpu_usage.py +1 -1
- oci/opsi/models/host_entities.py +1 -1
- oci/opsi/models/host_filesystem_configuration.py +1 -1
- oci/opsi/models/host_filesystem_usage.py +1 -1
- oci/opsi/models/host_gpu_configuration.py +1 -1
- oci/opsi/models/host_gpu_processes.py +1 -1
- oci/opsi/models/host_gpu_usage.py +1 -1
- oci/opsi/models/host_hardware_configuration.py +1 -1
- oci/opsi/models/host_io_statistics.py +160 -0
- oci/opsi/models/host_io_usage.py +1 -1
- oci/opsi/models/host_memory_configuration.py +1 -1
- oci/opsi/models/host_memory_statistics.py +1 -1
- oci/opsi/models/host_memory_usage.py +1 -1
- oci/opsi/models/host_network_activity_summary.py +1 -1
- oci/opsi/models/host_network_configuration.py +1 -1
- oci/opsi/models/host_network_statistics.py +1 -1
- oci/opsi/models/host_performance_metric_group.py +3 -11
- oci/opsi/models/host_product.py +1 -1
- oci/opsi/models/host_resource_allocation.py +1 -1
- oci/opsi/models/host_resource_statistics.py +11 -3
- oci/opsi/models/host_storage_statistics.py +1 -1
- oci/opsi/models/host_top_processes.py +1 -1
- oci/opsi/models/io_usage_trend.py +227 -0
- oci/opsi/models/io_usage_trend_aggregation.py +103 -0
- oci/opsi/models/summarize_host_insight_host_recommendation_aggregation.py +7 -3
- oci/opsi/models/summarize_host_insight_io_usage_trend_aggregation_collection.py +165 -0
- oci/opsi/models/summarize_host_insight_resource_capacity_trend_aggregation_collection.py +7 -3
- oci/opsi/models/summarize_host_insight_resource_forecast_trend_aggregation.py +7 -3
- oci/opsi/models/summarize_host_insight_resource_statistics_aggregation_collection.py +7 -3
- oci/opsi/models/summarize_host_insight_resource_usage_aggregation.py +7 -3
- oci/opsi/models/summarize_host_insight_resource_usage_trend_aggregation_collection.py +7 -3
- oci/opsi/models/summarize_host_insight_resource_utilization_insight_aggregation.py +7 -3
- oci/opsi/operations_insights_client.py +362 -179
- 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 +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- 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/security_attribute/security_attribute_client.py +36 -36
- 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 +71 -71
- 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/util.py +2 -1
- 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/zpr/zpr_client.py +30 -30
- {oci-2.135.2.dist-info → oci-2.137.0.dist-info}/METADATA +1 -1
- {oci-2.135.2.dist-info → oci-2.137.0.dist-info}/RECORD +668 -686
- oci/_vendor/jwt/__main__.py +0 -173
- oci/_vendor/jwt/compat.py +0 -73
- oci/_vendor/jwt/contrib/__init__.py +0 -0
- oci/_vendor/jwt/contrib/algorithms/__init__.py +0 -0
- oci/_vendor/jwt/contrib/algorithms/py_ecdsa.py +0 -60
- oci/_vendor/jwt/contrib/algorithms/pycrypto.py +0 -46
- oci/ai_language/models/entity_document.py +0 -136
- oci/ai_language/models/key_phrase_document.py +0 -136
- oci/ai_language/models/pre_trained_phi_model_details.py +0 -91
- oci/ai_language/models/sentiments_document.py +0 -136
- oci/ai_language/models/text_classification_document.py +0 -136
- oci/capacity_management/models/occ_capacity_request_compute_details.py +0 -148
- oci/cims/user_client.py +0 -207
- oci/cims/user_client_composite_operations.py +0 -26
- oci/compute_instance_agent/models/instance_agent_command_content_info.py +0 -252
- oci/data_integration/models/connection_from_lakehouse.py +0 -140
- oci/data_integration/models/connection_from_lakehouse_details.py +0 -133
- oci/data_integration/models/connection_summary_from_lakehouse.py +0 -140
- oci/data_integration/models/create_connection_from_lakehouse.py +0 -112
- oci/data_integration/models/create_data_asset_from_lakehouse.py +0 -232
- oci/data_integration/models/data_asset_from_lakehouse_details.py +0 -260
- oci/data_integration/models/data_asset_summary_from_lakehouse.py +0 -253
- oci/data_integration/models/update_connection_from_lakehouse.py +0 -119
- oci/data_integration/models/update_data_asset_from_lakehouse.py +0 -239
- oci/database_migration/models/advisor_settings.py +0 -103
- oci/database_migration/models/aws_s3_data_transfer_medium_details.py +0 -211
- oci/database_migration/models/aws_s3_details.py +0 -108
- oci/database_migration/models/connect_descriptor.py +0 -165
- oci/database_migration/models/create_advisor_settings.py +0 -103
- oci/database_migration/models/create_aws_s3_details.py +0 -174
- oci/database_migration/models/create_connect_descriptor.py +0 -174
- oci/database_migration/models/create_data_pump_settings.py +0 -251
- oci/database_migration/models/create_data_transfer_medium_details.py +0 -124
- oci/database_migration/models/create_database_link_details.py +0 -99
- oci/database_migration/models/create_dump_transfer_details.py +0 -126
- oci/database_migration/models/create_golden_gate_details.py +0 -95
- oci/database_migration/models/create_golden_gate_hub.py +0 -275
- oci/database_migration/models/create_golden_gate_service_details.py +0 -149
- oci/database_migration/models/create_golden_gate_settings.py +0 -126
- oci/database_migration/models/create_private_endpoint.py +0 -151
- oci/database_migration/models/create_ssh_details.py +0 -166
- oci/database_migration/models/create_vault_details.py +0 -134
- oci/database_migration/models/data_pump_settings.py +0 -251
- oci/database_migration/models/data_transfer_medium_details.py +0 -122
- oci/database_migration/models/data_transfer_medium_details_v2.py +0 -125
- oci/database_migration/models/database_credentials.py +0 -103
- oci/database_migration/models/database_link_details.py +0 -99
- oci/database_migration/models/database_object.py +0 -167
- oci/database_migration/models/db_link_data_transfer_medium_details.py +0 -109
- oci/database_migration/models/dump_transfer_details.py +0 -126
- oci/database_migration/models/generate_token.py +0 -70
- oci/database_migration/models/golden_gate_details.py +0 -95
- oci/database_migration/models/golden_gate_hub.py +0 -275
- oci/database_migration/models/golden_gate_service_details.py +0 -95
- oci/database_migration/models/golden_gate_settings.py +0 -126
- oci/database_migration/models/migration_object_summary.py +0 -214
- oci/database_migration/models/nfs_data_transfer_medium_details.py +0 -78
- oci/database_migration/models/object_storage_data_transfer_medium_details.py +0 -78
- oci/database_migration/models/private_endpoint_details.py +0 -185
- oci/database_migration/models/ssh_details.py +0 -134
- oci/database_migration/models/update_advisor_settings.py +0 -103
- oci/database_migration/models/update_aws_s3_details.py +0 -174
- oci/database_migration/models/update_connect_descriptor.py +0 -173
- oci/database_migration/models/update_data_pump_settings.py +0 -253
- oci/database_migration/models/update_data_transfer_medium_details.py +0 -125
- oci/database_migration/models/update_database_link_details.py +0 -99
- oci/database_migration/models/update_dump_transfer_details.py +0 -126
- oci/database_migration/models/update_golden_gate_details.py +0 -95
- oci/database_migration/models/update_golden_gate_hub.py +0 -275
- oci/database_migration/models/update_golden_gate_service_details.py +0 -149
- oci/database_migration/models/update_golden_gate_settings.py +0 -127
- oci/database_migration/models/update_private_endpoint.py +0 -151
- oci/database_migration/models/update_ssh_details.py +0 -165
- oci/database_migration/models/update_vault_details.py +0 -134
- oci/database_migration/models/vault_details.py +0 -134
- oci/database_tools/models/database_tools_allowed_network_sources.py +0 -107
- oci/database_tools/models/database_tools_virtual_source.py +0 -107
- oci/devops/models/run_pipeline_deploy_stage_execution_progress.py +0 -98
- oci/devops/models/run_validation_test_on_compute_instance_deploy_stage_execution_progress.py +0 -98
- oci/em_warehouse/em_data_lake_client.py +0 -1610
- oci/em_warehouse/em_data_lake_client_composite_operations.py +0 -190
- oci/fusion_apps/data_masking_activity_client.py +0 -456
- oci/fusion_apps/data_masking_activity_client_composite_operations.py +0 -65
- oci/fusion_apps/fusion_environment_client.py +0 -1772
- oci/fusion_apps/fusion_environment_client_composite_operations.py +0 -324
- oci/fusion_apps/fusion_environment_family_client.py +0 -943
- oci/fusion_apps/fusion_environment_family_client_composite_operations.py +0 -190
- oci/fusion_apps/models/attach_existing_instance_details.py +0 -194
- oci/fusion_apps/models/create_new_instance_details.py +0 -142
- oci/fusion_apps/models/create_oax_service_instance_details.py +0 -152
- oci/fusion_apps/models/create_oic_service_instance_details.py +0 -142
- oci/fusion_apps/models/create_service_instance_details.py +0 -170
- oci/fusion_apps/models/faw_admin_info_details.py +0 -132
- oci/fusion_apps/refresh_activity_client.py +0 -607
- oci/fusion_apps/refresh_activity_client_composite_operations.py +0 -65
- oci/fusion_apps/scheduled_activity_client.py +0 -380
- oci/fusion_apps/scheduled_activity_client_composite_operations.py +0 -24
- oci/fusion_apps/service_attachment_client.py +0 -370
- oci/fusion_apps/service_attachment_client_composite_operations.py +0 -24
- oci/jms/models/request_summarized_application_usage_details.py +0 -504
- oci/jms/models/request_summarized_installation_usage_details.py +0 -448
- oci/jms/models/request_summarized_jre_usage_details.py +0 -421
- oci/jms/models/request_summarized_managed_instance_usage_details.py +0 -480
- oci/log_analytics/models/attribute.py +0 -602
- oci/log_analytics/models/create_namespace_details.py +0 -70
- oci/log_analytics/models/field_map.py +0 -101
- oci/log_analytics/models/generate_agent_object_name_details.py +0 -163
- oci/log_analytics/models/log_analytics.py +0 -370
- oci/log_analytics/models/log_analytics_summary.py +0 -304
- oci/log_analytics/models/out_of_box_entity_type_details.py +0 -211
- oci/log_analytics/models/query.py +0 -70
- oci/log_analytics/models/register_entity_types_details.py +0 -70
- oci/log_analytics/models/service_tenancy.py +0 -70
- oci/logging/models/log_included_search.py +0 -307
- oci/logging/models/log_included_search_summary.py +0 -165
- oci/media_services/models/media_workflow_job_fact.py +0 -198
- oci/media_services/models/media_workflow_job_fact_summary.py +0 -165
- oci/mysql/models/add_analytics_cluster_details.py +0 -108
- oci/mysql/models/analytics_cluster.py +0 -338
- oci/mysql/models/analytics_cluster_memory_estimate.py +0 -241
- oci/mysql/models/analytics_cluster_node.py +0 -210
- oci/mysql/models/analytics_cluster_schema_memory_estimate.py +0 -107
- oci/mysql/models/analytics_cluster_summary.py +0 -209
- oci/mysql/models/analytics_cluster_table_memory_estimate.py +0 -239
- oci/mysql/models/update_analytics_cluster_details.py +0 -120
- oci/network_firewall/models/tcp_application.py +0 -112
- oci/network_firewall/models/udp_application.py +0 -112
- oci/oce/models/delete_oce_instance_details.py +0 -70
- oci/ocvp/models/datastore_summary.py +0 -154
- oci/ocvp/models/supported_sku_summary.py +0 -96
- oci/os_management/models/updatable_package_summary.py +0 -287
- oci/osp_gateway/models/billing_address.py +0 -382
- oci/service_mesh/models/create_ingress_gateway_mutual_transport_layer_security_details.py +0 -76
- oci/service_mesh/models/create_mutual_transport_layer_security_details.py +0 -111
- oci/usage_api/models/create_schedule_report_details.py +0 -128
- oci/usage_api/models/saved_schedule_report.py +0 -145
- oci/usage_api/models/schedule_report.py +0 -159
- oci/usage_api/models/schedule_report_summary.py +0 -97
- oci/usage_api/models/update_schedule_report_details.py +0 -66
- {oci-2.135.2.dist-info → oci-2.137.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.135.2.dist-info → oci-2.137.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.135.2.dist-info → oci-2.137.0.dist-info}/WHEEL +0 -0
- {oci-2.135.2.dist-info → oci-2.137.0.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,202 @@ class DnsClientCompositeOperations(object):
|
|
25
25
|
"""
|
26
26
|
self.client = client
|
27
27
|
|
28
|
+
def change_resolver_compartment_and_wait_for_work_request(self, resolver_id, change_resolver_compartment_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
|
+
"""
|
30
|
+
Calls :py:func:`~oci.dns.DnsClient.change_resolver_compartment` and waits for the oci.work_requests.models.WorkRequest
|
31
|
+
to enter the given state(s).
|
32
|
+
|
33
|
+
:param str resolver_id: (required)
|
34
|
+
The OCID of the target resolver.
|
35
|
+
|
36
|
+
:param oci.dns.models.ChangeResolverCompartmentDetails change_resolver_compartment_details: (required)
|
37
|
+
Details for moving a resolver, along with its protected default view and endpoints, into a
|
38
|
+
different compartment.
|
39
|
+
|
40
|
+
:param list[str] work_request_states: (optional)
|
41
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
42
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
43
|
+
|
44
|
+
:param dict operation_kwargs:
|
45
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.change_resolver_compartment`
|
46
|
+
|
47
|
+
:param dict waiter_kwargs:
|
48
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
49
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
50
|
+
"""
|
51
|
+
operation_result = self.client.change_resolver_compartment(resolver_id, change_resolver_compartment_details, **operation_kwargs)
|
52
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
53
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
54
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
55
|
+
return operation_result
|
56
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
57
|
+
try:
|
58
|
+
waiter_result = oci.wait_until(
|
59
|
+
self._work_request_client,
|
60
|
+
self._work_request_client.get_work_request(work_request_id),
|
61
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
62
|
+
**waiter_kwargs
|
63
|
+
)
|
64
|
+
return waiter_result
|
65
|
+
except Exception as e:
|
66
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
67
|
+
|
68
|
+
def change_steering_policy_compartment_and_wait_for_work_request(self, steering_policy_id, change_steering_policy_compartment_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
69
|
+
"""
|
70
|
+
Calls :py:func:`~oci.dns.DnsClient.change_steering_policy_compartment` and waits for the oci.work_requests.models.WorkRequest
|
71
|
+
to enter the given state(s).
|
72
|
+
|
73
|
+
:param str steering_policy_id: (required)
|
74
|
+
The OCID of the target steering policy.
|
75
|
+
|
76
|
+
:param oci.dns.models.ChangeSteeringPolicyCompartmentDetails change_steering_policy_compartment_details: (required)
|
77
|
+
Details for moving a steering policy into a different compartment.
|
78
|
+
|
79
|
+
:param list[str] work_request_states: (optional)
|
80
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
81
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
82
|
+
|
83
|
+
:param dict operation_kwargs:
|
84
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.change_steering_policy_compartment`
|
85
|
+
|
86
|
+
:param dict waiter_kwargs:
|
87
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
88
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
89
|
+
"""
|
90
|
+
operation_result = self.client.change_steering_policy_compartment(steering_policy_id, change_steering_policy_compartment_details, **operation_kwargs)
|
91
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
92
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
93
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
94
|
+
return operation_result
|
95
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
96
|
+
try:
|
97
|
+
waiter_result = oci.wait_until(
|
98
|
+
self._work_request_client,
|
99
|
+
self._work_request_client.get_work_request(work_request_id),
|
100
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
101
|
+
**waiter_kwargs
|
102
|
+
)
|
103
|
+
return waiter_result
|
104
|
+
except Exception as e:
|
105
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
106
|
+
|
107
|
+
def change_view_compartment_and_wait_for_work_request(self, view_id, change_view_compartment_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
108
|
+
"""
|
109
|
+
Calls :py:func:`~oci.dns.DnsClient.change_view_compartment` and waits for the oci.work_requests.models.WorkRequest
|
110
|
+
to enter the given state(s).
|
111
|
+
|
112
|
+
:param str view_id: (required)
|
113
|
+
The OCID of the target view.
|
114
|
+
|
115
|
+
:param oci.dns.models.ChangeViewCompartmentDetails change_view_compartment_details: (required)
|
116
|
+
Details for moving a view into a different compartment.
|
117
|
+
|
118
|
+
:param list[str] work_request_states: (optional)
|
119
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
120
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
121
|
+
|
122
|
+
:param dict operation_kwargs:
|
123
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.change_view_compartment`
|
124
|
+
|
125
|
+
:param dict waiter_kwargs:
|
126
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
127
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
128
|
+
"""
|
129
|
+
operation_result = self.client.change_view_compartment(view_id, change_view_compartment_details, **operation_kwargs)
|
130
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
131
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
132
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
133
|
+
return operation_result
|
134
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
135
|
+
try:
|
136
|
+
waiter_result = oci.wait_until(
|
137
|
+
self._work_request_client,
|
138
|
+
self._work_request_client.get_work_request(work_request_id),
|
139
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
140
|
+
**waiter_kwargs
|
141
|
+
)
|
142
|
+
return waiter_result
|
143
|
+
except Exception as e:
|
144
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
145
|
+
|
146
|
+
def change_zone_compartment_and_wait_for_work_request(self, zone_id, change_zone_compartment_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
147
|
+
"""
|
148
|
+
Calls :py:func:`~oci.dns.DnsClient.change_zone_compartment` and waits for the oci.work_requests.models.WorkRequest
|
149
|
+
to enter the given state(s).
|
150
|
+
|
151
|
+
:param str zone_id: (required)
|
152
|
+
The OCID of the target zone.
|
153
|
+
|
154
|
+
:param oci.dns.models.ChangeZoneCompartmentDetails change_zone_compartment_details: (required)
|
155
|
+
Details for moving a zone into a different compartment.
|
156
|
+
|
157
|
+
:param list[str] work_request_states: (optional)
|
158
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
159
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
160
|
+
|
161
|
+
:param dict operation_kwargs:
|
162
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.change_zone_compartment`
|
163
|
+
|
164
|
+
:param dict waiter_kwargs:
|
165
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
166
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
167
|
+
"""
|
168
|
+
operation_result = self.client.change_zone_compartment(zone_id, change_zone_compartment_details, **operation_kwargs)
|
169
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
170
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
171
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
172
|
+
return operation_result
|
173
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
174
|
+
try:
|
175
|
+
waiter_result = oci.wait_until(
|
176
|
+
self._work_request_client,
|
177
|
+
self._work_request_client.get_work_request(work_request_id),
|
178
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
179
|
+
**waiter_kwargs
|
180
|
+
)
|
181
|
+
return waiter_result
|
182
|
+
except Exception as e:
|
183
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
184
|
+
|
185
|
+
def create_resolver_endpoint_and_wait_for_work_request(self, resolver_id, create_resolver_endpoint_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
186
|
+
"""
|
187
|
+
Calls :py:func:`~oci.dns.DnsClient.create_resolver_endpoint` and waits for the oci.work_requests.models.WorkRequest
|
188
|
+
to enter the given state(s).
|
189
|
+
|
190
|
+
:param str resolver_id: (required)
|
191
|
+
The OCID of the target resolver.
|
192
|
+
|
193
|
+
:param oci.dns.models.CreateResolverEndpointDetails create_resolver_endpoint_details: (required)
|
194
|
+
Details for creating a new resolver endpoint.
|
195
|
+
|
196
|
+
:param list[str] work_request_states: (optional)
|
197
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
198
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
199
|
+
|
200
|
+
:param dict operation_kwargs:
|
201
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.create_resolver_endpoint`
|
202
|
+
|
203
|
+
:param dict waiter_kwargs:
|
204
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
205
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
206
|
+
"""
|
207
|
+
operation_result = self.client.create_resolver_endpoint(resolver_id, create_resolver_endpoint_details, **operation_kwargs)
|
208
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
209
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
210
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
211
|
+
return operation_result
|
212
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
213
|
+
try:
|
214
|
+
waiter_result = oci.wait_until(
|
215
|
+
self._work_request_client,
|
216
|
+
self._work_request_client.get_work_request(work_request_id),
|
217
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
218
|
+
**waiter_kwargs
|
219
|
+
)
|
220
|
+
return waiter_result
|
221
|
+
except Exception as e:
|
222
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
223
|
+
|
28
224
|
def create_resolver_endpoint_and_wait_for_state(self, resolver_id, create_resolver_endpoint_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
225
|
"""
|
30
226
|
Calls :py:func:`~oci.dns.DnsClient.create_resolver_endpoint` and waits for the :py:class:`~oci.dns.models.ResolverEndpoint` acted upon
|
@@ -70,6 +266,42 @@ class DnsClientCompositeOperations(object):
|
|
70
266
|
except Exception as e:
|
71
267
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
72
268
|
|
269
|
+
def create_steering_policy_and_wait_for_work_request(self, create_steering_policy_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
270
|
+
"""
|
271
|
+
Calls :py:func:`~oci.dns.DnsClient.create_steering_policy` and waits for the oci.work_requests.models.WorkRequest
|
272
|
+
to enter the given state(s).
|
273
|
+
|
274
|
+
:param oci.dns.models.CreateSteeringPolicyDetails create_steering_policy_details: (required)
|
275
|
+
Details for creating a new steering policy.
|
276
|
+
|
277
|
+
:param list[str] work_request_states: (optional)
|
278
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
279
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
280
|
+
|
281
|
+
:param dict operation_kwargs:
|
282
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.create_steering_policy`
|
283
|
+
|
284
|
+
:param dict waiter_kwargs:
|
285
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
286
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
287
|
+
"""
|
288
|
+
operation_result = self.client.create_steering_policy(create_steering_policy_details, **operation_kwargs)
|
289
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
290
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
291
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
292
|
+
return operation_result
|
293
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
294
|
+
try:
|
295
|
+
waiter_result = oci.wait_until(
|
296
|
+
self._work_request_client,
|
297
|
+
self._work_request_client.get_work_request(work_request_id),
|
298
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
299
|
+
**waiter_kwargs
|
300
|
+
)
|
301
|
+
return waiter_result
|
302
|
+
except Exception as e:
|
303
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
304
|
+
|
73
305
|
def create_steering_policy_and_wait_for_state(self, create_steering_policy_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
74
306
|
"""
|
75
307
|
Calls :py:func:`~oci.dns.DnsClient.create_steering_policy` and waits for the :py:class:`~oci.dns.models.SteeringPolicy` acted upon
|
@@ -112,6 +344,42 @@ class DnsClientCompositeOperations(object):
|
|
112
344
|
except Exception as e:
|
113
345
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
114
346
|
|
347
|
+
def create_steering_policy_attachment_and_wait_for_work_request(self, create_steering_policy_attachment_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
348
|
+
"""
|
349
|
+
Calls :py:func:`~oci.dns.DnsClient.create_steering_policy_attachment` and waits for the oci.work_requests.models.WorkRequest
|
350
|
+
to enter the given state(s).
|
351
|
+
|
352
|
+
:param oci.dns.models.CreateSteeringPolicyAttachmentDetails create_steering_policy_attachment_details: (required)
|
353
|
+
Details for creating a new steering policy attachment.
|
354
|
+
|
355
|
+
:param list[str] work_request_states: (optional)
|
356
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
357
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
358
|
+
|
359
|
+
:param dict operation_kwargs:
|
360
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.create_steering_policy_attachment`
|
361
|
+
|
362
|
+
:param dict waiter_kwargs:
|
363
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
364
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
365
|
+
"""
|
366
|
+
operation_result = self.client.create_steering_policy_attachment(create_steering_policy_attachment_details, **operation_kwargs)
|
367
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
368
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
369
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
370
|
+
return operation_result
|
371
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
372
|
+
try:
|
373
|
+
waiter_result = oci.wait_until(
|
374
|
+
self._work_request_client,
|
375
|
+
self._work_request_client.get_work_request(work_request_id),
|
376
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
377
|
+
**waiter_kwargs
|
378
|
+
)
|
379
|
+
return waiter_result
|
380
|
+
except Exception as e:
|
381
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
382
|
+
|
115
383
|
def create_steering_policy_attachment_and_wait_for_state(self, create_steering_policy_attachment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
116
384
|
"""
|
117
385
|
Calls :py:func:`~oci.dns.DnsClient.create_steering_policy_attachment` and waits for the :py:class:`~oci.dns.models.SteeringPolicyAttachment` acted upon
|
@@ -154,6 +422,42 @@ class DnsClientCompositeOperations(object):
|
|
154
422
|
except Exception as e:
|
155
423
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
156
424
|
|
425
|
+
def create_tsig_key_and_wait_for_work_request(self, create_tsig_key_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
426
|
+
"""
|
427
|
+
Calls :py:func:`~oci.dns.DnsClient.create_tsig_key` and waits for the oci.work_requests.models.WorkRequest
|
428
|
+
to enter the given state(s).
|
429
|
+
|
430
|
+
:param oci.dns.models.CreateTsigKeyDetails create_tsig_key_details: (required)
|
431
|
+
Details for creating a new TSIG key.
|
432
|
+
|
433
|
+
:param list[str] work_request_states: (optional)
|
434
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
435
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
436
|
+
|
437
|
+
:param dict operation_kwargs:
|
438
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.create_tsig_key`
|
439
|
+
|
440
|
+
:param dict waiter_kwargs:
|
441
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
442
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
443
|
+
"""
|
444
|
+
operation_result = self.client.create_tsig_key(create_tsig_key_details, **operation_kwargs)
|
445
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
446
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
447
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
448
|
+
return operation_result
|
449
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
450
|
+
try:
|
451
|
+
waiter_result = oci.wait_until(
|
452
|
+
self._work_request_client,
|
453
|
+
self._work_request_client.get_work_request(work_request_id),
|
454
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
455
|
+
**waiter_kwargs
|
456
|
+
)
|
457
|
+
return waiter_result
|
458
|
+
except Exception as e:
|
459
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
460
|
+
|
157
461
|
def create_tsig_key_and_wait_for_state(self, create_tsig_key_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
158
462
|
"""
|
159
463
|
Calls :py:func:`~oci.dns.DnsClient.create_tsig_key` and waits for the :py:class:`~oci.dns.models.TsigKey` acted upon
|
@@ -196,6 +500,42 @@ class DnsClientCompositeOperations(object):
|
|
196
500
|
except Exception as e:
|
197
501
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
198
502
|
|
503
|
+
def create_view_and_wait_for_work_request(self, create_view_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
504
|
+
"""
|
505
|
+
Calls :py:func:`~oci.dns.DnsClient.create_view` and waits for the oci.work_requests.models.WorkRequest
|
506
|
+
to enter the given state(s).
|
507
|
+
|
508
|
+
:param oci.dns.models.CreateViewDetails create_view_details: (required)
|
509
|
+
Details for creating a new view.
|
510
|
+
|
511
|
+
:param list[str] work_request_states: (optional)
|
512
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
513
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
514
|
+
|
515
|
+
:param dict operation_kwargs:
|
516
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.create_view`
|
517
|
+
|
518
|
+
:param dict waiter_kwargs:
|
519
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
520
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
521
|
+
"""
|
522
|
+
operation_result = self.client.create_view(create_view_details, **operation_kwargs)
|
523
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
524
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
525
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
526
|
+
return operation_result
|
527
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
528
|
+
try:
|
529
|
+
waiter_result = oci.wait_until(
|
530
|
+
self._work_request_client,
|
531
|
+
self._work_request_client.get_work_request(work_request_id),
|
532
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
533
|
+
**waiter_kwargs
|
534
|
+
)
|
535
|
+
return waiter_result
|
536
|
+
except Exception as e:
|
537
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
538
|
+
|
199
539
|
def create_view_and_wait_for_state(self, create_view_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
200
540
|
"""
|
201
541
|
Calls :py:func:`~oci.dns.DnsClient.create_view` and waits for the :py:class:`~oci.dns.models.View` acted upon
|
@@ -238,6 +578,42 @@ class DnsClientCompositeOperations(object):
|
|
238
578
|
except Exception as e:
|
239
579
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
240
580
|
|
581
|
+
def create_zone_and_wait_for_work_request(self, create_zone_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
582
|
+
"""
|
583
|
+
Calls :py:func:`~oci.dns.DnsClient.create_zone` and waits for the oci.work_requests.models.WorkRequest
|
584
|
+
to enter the given state(s).
|
585
|
+
|
586
|
+
:param oci.dns.models.CreateZoneBaseDetails create_zone_details: (required)
|
587
|
+
Details for creating a new zone.
|
588
|
+
|
589
|
+
:param list[str] work_request_states: (optional)
|
590
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
591
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
592
|
+
|
593
|
+
:param dict operation_kwargs:
|
594
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.create_zone`
|
595
|
+
|
596
|
+
:param dict waiter_kwargs:
|
597
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
598
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
599
|
+
"""
|
600
|
+
operation_result = self.client.create_zone(create_zone_details, **operation_kwargs)
|
601
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
602
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
603
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
604
|
+
return operation_result
|
605
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
606
|
+
try:
|
607
|
+
waiter_result = oci.wait_until(
|
608
|
+
self._work_request_client,
|
609
|
+
self._work_request_client.get_work_request(work_request_id),
|
610
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
611
|
+
**waiter_kwargs
|
612
|
+
)
|
613
|
+
return waiter_result
|
614
|
+
except Exception as e:
|
615
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
616
|
+
|
241
617
|
def create_zone_and_wait_for_state(self, create_zone_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
242
618
|
"""
|
243
619
|
Calls :py:func:`~oci.dns.DnsClient.create_zone` and waits for the :py:class:`~oci.dns.models.Zone` acted upon
|
@@ -280,16 +656,95 @@ class DnsClientCompositeOperations(object):
|
|
280
656
|
except Exception as e:
|
281
657
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
282
658
|
|
283
|
-
def
|
659
|
+
def create_zone_from_zone_file_and_wait_for_work_request(self, compartment_id, create_zone_from_zone_file_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
660
|
+
"""
|
661
|
+
Calls :py:func:`~oci.dns.DnsClient.create_zone_from_zone_file` and waits for the oci.work_requests.models.WorkRequest
|
662
|
+
to enter the given state(s).
|
663
|
+
|
664
|
+
:param str compartment_id: (required)
|
665
|
+
The OCID of the compartment the resource belongs to.
|
666
|
+
|
667
|
+
:param stream create_zone_from_zone_file_details: (required)
|
668
|
+
The zone file contents.
|
669
|
+
|
670
|
+
:param list[str] work_request_states: (optional)
|
671
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
672
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
673
|
+
|
674
|
+
:param dict operation_kwargs:
|
675
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.create_zone_from_zone_file`
|
676
|
+
|
677
|
+
:param dict waiter_kwargs:
|
678
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
679
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
680
|
+
"""
|
681
|
+
operation_result = self.client.create_zone_from_zone_file(compartment_id, create_zone_from_zone_file_details, **operation_kwargs)
|
682
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
683
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
684
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
685
|
+
return operation_result
|
686
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
687
|
+
try:
|
688
|
+
waiter_result = oci.wait_until(
|
689
|
+
self._work_request_client,
|
690
|
+
self._work_request_client.get_work_request(work_request_id),
|
691
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
692
|
+
**waiter_kwargs
|
693
|
+
)
|
694
|
+
return waiter_result
|
695
|
+
except Exception as e:
|
696
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
697
|
+
|
698
|
+
def delete_resolver_endpoint_and_wait_for_work_request(self, resolver_id, resolver_endpoint_name, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
699
|
+
"""
|
700
|
+
Calls :py:func:`~oci.dns.DnsClient.delete_resolver_endpoint` and waits for the oci.work_requests.models.WorkRequest
|
701
|
+
to enter the given state(s).
|
702
|
+
|
703
|
+
:param str resolver_id: (required)
|
704
|
+
The OCID of the target resolver.
|
705
|
+
|
706
|
+
:param str resolver_endpoint_name: (required)
|
707
|
+
The name of the target resolver endpoint.
|
708
|
+
|
709
|
+
:param list[str] work_request_states: (optional)
|
710
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
711
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
712
|
+
|
713
|
+
:param dict operation_kwargs:
|
714
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.delete_resolver_endpoint`
|
715
|
+
|
716
|
+
:param dict waiter_kwargs:
|
717
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
718
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
719
|
+
"""
|
720
|
+
operation_result = self.client.delete_resolver_endpoint(resolver_id, resolver_endpoint_name, **operation_kwargs)
|
721
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
722
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
723
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
724
|
+
return operation_result
|
725
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
726
|
+
try:
|
727
|
+
waiter_result = oci.wait_until(
|
728
|
+
self._work_request_client,
|
729
|
+
self._work_request_client.get_work_request(work_request_id),
|
730
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
731
|
+
**waiter_kwargs
|
732
|
+
)
|
733
|
+
return waiter_result
|
734
|
+
except Exception as e:
|
735
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
736
|
+
|
737
|
+
def delete_steering_policy_and_wait_for_work_request(self, steering_policy_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
284
738
|
"""
|
285
|
-
Calls :py:func:`~oci.dns.DnsClient.delete_steering_policy` and waits for the
|
739
|
+
Calls :py:func:`~oci.dns.DnsClient.delete_steering_policy` and waits for the oci.work_requests.models.WorkRequest
|
286
740
|
to enter the given state(s).
|
287
741
|
|
288
742
|
:param str steering_policy_id: (required)
|
289
743
|
The OCID of the target steering policy.
|
290
744
|
|
291
|
-
:param list[str]
|
292
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.
|
745
|
+
:param list[str] work_request_states: (optional)
|
746
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
747
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
293
748
|
|
294
749
|
:param dict operation_kwargs:
|
295
750
|
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.delete_steering_policy`
|
@@ -298,280 +753,281 @@ class DnsClientCompositeOperations(object):
|
|
298
753
|
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
299
754
|
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
300
755
|
"""
|
301
|
-
|
302
|
-
|
756
|
+
operation_result = self.client.delete_steering_policy(steering_policy_id, **operation_kwargs)
|
757
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
758
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
759
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
760
|
+
return operation_result
|
761
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
303
762
|
try:
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
763
|
+
waiter_result = oci.wait_until(
|
764
|
+
self._work_request_client,
|
765
|
+
self._work_request_client.get_work_request(work_request_id),
|
766
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
767
|
+
**waiter_kwargs
|
768
|
+
)
|
769
|
+
return waiter_result
|
770
|
+
except Exception as e:
|
771
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
310
772
|
|
311
|
-
|
312
|
-
|
313
|
-
|
773
|
+
def delete_steering_policy_attachment_and_wait_for_work_request(self, steering_policy_attachment_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
774
|
+
"""
|
775
|
+
Calls :py:func:`~oci.dns.DnsClient.delete_steering_policy_attachment` and waits for the oci.work_requests.models.WorkRequest
|
776
|
+
to enter the given state(s).
|
314
777
|
|
778
|
+
:param str steering_policy_attachment_id: (required)
|
779
|
+
The OCID of the target steering policy attachment.
|
780
|
+
|
781
|
+
:param list[str] work_request_states: (optional)
|
782
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
783
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
784
|
+
|
785
|
+
:param dict operation_kwargs:
|
786
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.delete_steering_policy_attachment`
|
787
|
+
|
788
|
+
:param dict waiter_kwargs:
|
789
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
790
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
791
|
+
"""
|
792
|
+
operation_result = self.client.delete_steering_policy_attachment(steering_policy_attachment_id, **operation_kwargs)
|
793
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
794
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
795
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
796
|
+
return operation_result
|
797
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
315
798
|
try:
|
316
|
-
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
317
|
-
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_steering_policy, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
318
|
-
else:
|
319
|
-
"""
|
320
|
-
If the user does not send in this value, we set it to True by default.
|
321
|
-
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
322
|
-
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
323
|
-
"""
|
324
|
-
waiter_kwargs["succeed_on_not_found"] = True
|
325
799
|
waiter_result = oci.wait_until(
|
326
|
-
self.
|
327
|
-
|
328
|
-
evaluate_response=lambda r: getattr(r.data, '
|
800
|
+
self._work_request_client,
|
801
|
+
self._work_request_client.get_work_request(work_request_id),
|
802
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
329
803
|
**waiter_kwargs
|
330
804
|
)
|
331
|
-
|
805
|
+
return waiter_result
|
806
|
+
except Exception as e:
|
807
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
332
808
|
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
809
|
+
def delete_tsig_key_and_wait_for_work_request(self, tsig_key_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
810
|
+
"""
|
811
|
+
Calls :py:func:`~oci.dns.DnsClient.delete_tsig_key` and waits for the oci.work_requests.models.WorkRequest
|
812
|
+
to enter the given state(s).
|
813
|
+
|
814
|
+
:param str tsig_key_id: (required)
|
815
|
+
The OCID of the target TSIG key.
|
816
|
+
|
817
|
+
:param list[str] work_request_states: (optional)
|
818
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
819
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
820
|
+
|
821
|
+
:param dict operation_kwargs:
|
822
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.delete_tsig_key`
|
823
|
+
|
824
|
+
:param dict waiter_kwargs:
|
825
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
826
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
827
|
+
"""
|
828
|
+
operation_result = self.client.delete_tsig_key(tsig_key_id, **operation_kwargs)
|
829
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
830
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
831
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
832
|
+
return operation_result
|
833
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
834
|
+
try:
|
835
|
+
waiter_result = oci.wait_until(
|
836
|
+
self._work_request_client,
|
837
|
+
self._work_request_client.get_work_request(work_request_id),
|
838
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
839
|
+
**waiter_kwargs
|
840
|
+
)
|
841
|
+
return waiter_result
|
842
|
+
except Exception as e:
|
338
843
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
844
|
+
|
845
|
+
def delete_view_and_wait_for_work_request(self, view_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
846
|
+
"""
|
847
|
+
Calls :py:func:`~oci.dns.DnsClient.delete_view` and waits for the oci.work_requests.models.WorkRequest
|
848
|
+
to enter the given state(s).
|
849
|
+
|
850
|
+
:param str view_id: (required)
|
851
|
+
The OCID of the target view.
|
852
|
+
|
853
|
+
:param list[str] work_request_states: (optional)
|
854
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
855
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
856
|
+
|
857
|
+
:param dict operation_kwargs:
|
858
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.delete_view`
|
859
|
+
|
860
|
+
:param dict waiter_kwargs:
|
861
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
862
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
863
|
+
"""
|
864
|
+
operation_result = self.client.delete_view(view_id, **operation_kwargs)
|
865
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
866
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
867
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
868
|
+
return operation_result
|
869
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
870
|
+
try:
|
871
|
+
waiter_result = oci.wait_until(
|
872
|
+
self._work_request_client,
|
873
|
+
self._work_request_client.get_work_request(work_request_id),
|
874
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
875
|
+
**waiter_kwargs
|
876
|
+
)
|
877
|
+
return waiter_result
|
339
878
|
except Exception as e:
|
340
879
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
341
880
|
|
342
|
-
def
|
881
|
+
def delete_zone_and_wait_for_work_request(self, zone_name_or_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
343
882
|
"""
|
344
|
-
Calls :py:func:`~oci.dns.DnsClient.
|
883
|
+
Calls :py:func:`~oci.dns.DnsClient.delete_zone` and waits for the oci.work_requests.models.WorkRequest
|
345
884
|
to enter the given state(s).
|
346
885
|
|
347
|
-
:param str
|
348
|
-
The OCID of the target
|
886
|
+
:param str zone_name_or_id: (required)
|
887
|
+
The name or OCID of the target zone.
|
349
888
|
|
350
|
-
:param list[str]
|
351
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.
|
889
|
+
:param list[str] work_request_states: (optional)
|
890
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
891
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
352
892
|
|
353
893
|
:param dict operation_kwargs:
|
354
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.
|
894
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.delete_zone`
|
355
895
|
|
356
896
|
:param dict waiter_kwargs:
|
357
897
|
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
358
898
|
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
359
899
|
"""
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
except oci.exceptions.ServiceError as e:
|
365
|
-
if e.status == 404:
|
366
|
-
return WAIT_RESOURCE_NOT_FOUND
|
367
|
-
else:
|
368
|
-
raise e
|
369
|
-
|
370
|
-
if not wait_for_states:
|
900
|
+
operation_result = self.client.delete_zone(zone_name_or_id, **operation_kwargs)
|
901
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
902
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
903
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
371
904
|
return operation_result
|
372
|
-
|
373
|
-
|
905
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
374
906
|
try:
|
375
|
-
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
376
|
-
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_steering_policy_attachment, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
377
|
-
else:
|
378
|
-
"""
|
379
|
-
If the user does not send in this value, we set it to True by default.
|
380
|
-
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
381
|
-
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
382
|
-
"""
|
383
|
-
waiter_kwargs["succeed_on_not_found"] = True
|
384
907
|
waiter_result = oci.wait_until(
|
385
|
-
self.
|
386
|
-
|
387
|
-
evaluate_response=lambda r: getattr(r.data, '
|
908
|
+
self._work_request_client,
|
909
|
+
self._work_request_client.get_work_request(work_request_id),
|
910
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
388
911
|
**waiter_kwargs
|
389
912
|
)
|
390
|
-
|
391
|
-
|
392
|
-
return result_to_return
|
393
|
-
except (NameError, TypeError) as e:
|
394
|
-
if not e.args:
|
395
|
-
e.args = ('',)
|
396
|
-
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
397
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
913
|
+
return waiter_result
|
398
914
|
except Exception as e:
|
399
915
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
400
916
|
|
401
|
-
def
|
917
|
+
def promote_zone_dnssec_key_version_and_wait_for_work_request(self, zone_id, promote_zone_dnssec_key_version_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
402
918
|
"""
|
403
|
-
Calls :py:func:`~oci.dns.DnsClient.
|
919
|
+
Calls :py:func:`~oci.dns.DnsClient.promote_zone_dnssec_key_version` and waits for the oci.work_requests.models.WorkRequest
|
404
920
|
to enter the given state(s).
|
405
921
|
|
406
|
-
:param str
|
407
|
-
The OCID of the target
|
922
|
+
:param str zone_id: (required)
|
923
|
+
The OCID of the target zone.
|
408
924
|
|
409
|
-
:param
|
410
|
-
|
925
|
+
:param oci.dns.models.PromoteZoneDnssecKeyVersionDetails promote_zone_dnssec_key_version_details: (required)
|
926
|
+
Details for promoting a `DnssecKeyVersion`.
|
927
|
+
|
928
|
+
:param list[str] work_request_states: (optional)
|
929
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
930
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
411
931
|
|
412
932
|
:param dict operation_kwargs:
|
413
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.
|
933
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.promote_zone_dnssec_key_version`
|
414
934
|
|
415
935
|
:param dict waiter_kwargs:
|
416
936
|
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
417
937
|
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
418
938
|
"""
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
except oci.exceptions.ServiceError as e:
|
424
|
-
if e.status == 404:
|
425
|
-
return WAIT_RESOURCE_NOT_FOUND
|
426
|
-
else:
|
427
|
-
raise e
|
428
|
-
|
429
|
-
if not wait_for_states:
|
939
|
+
operation_result = self.client.promote_zone_dnssec_key_version(zone_id, promote_zone_dnssec_key_version_details, **operation_kwargs)
|
940
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
941
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
942
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
430
943
|
return operation_result
|
431
|
-
|
432
|
-
|
944
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
433
945
|
try:
|
434
|
-
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
435
|
-
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_tsig_key, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
436
|
-
else:
|
437
|
-
"""
|
438
|
-
If the user does not send in this value, we set it to True by default.
|
439
|
-
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
440
|
-
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
441
|
-
"""
|
442
|
-
waiter_kwargs["succeed_on_not_found"] = True
|
443
946
|
waiter_result = oci.wait_until(
|
444
|
-
self.
|
445
|
-
|
446
|
-
evaluate_response=lambda r: getattr(r.data, '
|
947
|
+
self._work_request_client,
|
948
|
+
self._work_request_client.get_work_request(work_request_id),
|
949
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
447
950
|
**waiter_kwargs
|
448
951
|
)
|
449
|
-
|
450
|
-
|
451
|
-
return result_to_return
|
452
|
-
except (NameError, TypeError) as e:
|
453
|
-
if not e.args:
|
454
|
-
e.args = ('',)
|
455
|
-
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
456
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
952
|
+
return waiter_result
|
457
953
|
except Exception as e:
|
458
954
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
459
955
|
|
460
|
-
def
|
956
|
+
def stage_zone_dnssec_key_version_and_wait_for_work_request(self, zone_id, stage_zone_dnssec_key_version_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
461
957
|
"""
|
462
|
-
Calls :py:func:`~oci.dns.DnsClient.
|
958
|
+
Calls :py:func:`~oci.dns.DnsClient.stage_zone_dnssec_key_version` and waits for the oci.work_requests.models.WorkRequest
|
463
959
|
to enter the given state(s).
|
464
960
|
|
465
|
-
:param str
|
466
|
-
The OCID of the target
|
961
|
+
:param str zone_id: (required)
|
962
|
+
The OCID of the target zone.
|
467
963
|
|
468
|
-
:param
|
469
|
-
|
964
|
+
:param oci.dns.models.StageZoneDnssecKeyVersionDetails stage_zone_dnssec_key_version_details: (required)
|
965
|
+
Details for staging a DnssecKeyVersion.
|
966
|
+
|
967
|
+
:param list[str] work_request_states: (optional)
|
968
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
969
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
470
970
|
|
471
971
|
:param dict operation_kwargs:
|
472
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.
|
972
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.stage_zone_dnssec_key_version`
|
473
973
|
|
474
974
|
:param dict waiter_kwargs:
|
475
975
|
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
476
976
|
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
477
977
|
"""
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
except oci.exceptions.ServiceError as e:
|
483
|
-
if e.status == 404:
|
484
|
-
return WAIT_RESOURCE_NOT_FOUND
|
485
|
-
else:
|
486
|
-
raise e
|
487
|
-
|
488
|
-
if not wait_for_states:
|
978
|
+
operation_result = self.client.stage_zone_dnssec_key_version(zone_id, stage_zone_dnssec_key_version_details, **operation_kwargs)
|
979
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
980
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
981
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
489
982
|
return operation_result
|
490
|
-
|
491
|
-
|
983
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
492
984
|
try:
|
493
|
-
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
494
|
-
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_view, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
495
|
-
else:
|
496
|
-
"""
|
497
|
-
If the user does not send in this value, we set it to True by default.
|
498
|
-
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
499
|
-
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
500
|
-
"""
|
501
|
-
waiter_kwargs["succeed_on_not_found"] = True
|
502
985
|
waiter_result = oci.wait_until(
|
503
|
-
self.
|
504
|
-
|
505
|
-
evaluate_response=lambda r: getattr(r.data, '
|
986
|
+
self._work_request_client,
|
987
|
+
self._work_request_client.get_work_request(work_request_id),
|
988
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
506
989
|
**waiter_kwargs
|
507
990
|
)
|
508
|
-
|
509
|
-
|
510
|
-
return result_to_return
|
511
|
-
except (NameError, TypeError) as e:
|
512
|
-
if not e.args:
|
513
|
-
e.args = ('',)
|
514
|
-
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
515
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
991
|
+
return waiter_result
|
516
992
|
except Exception as e:
|
517
993
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
518
994
|
|
519
|
-
def
|
995
|
+
def update_resolver_and_wait_for_work_request(self, resolver_id, update_resolver_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
520
996
|
"""
|
521
|
-
Calls :py:func:`~oci.dns.DnsClient.
|
997
|
+
Calls :py:func:`~oci.dns.DnsClient.update_resolver` and waits for the oci.work_requests.models.WorkRequest
|
522
998
|
to enter the given state(s).
|
523
999
|
|
524
|
-
:param str
|
525
|
-
The
|
1000
|
+
:param str resolver_id: (required)
|
1001
|
+
The OCID of the target resolver.
|
526
1002
|
|
527
|
-
:param
|
528
|
-
|
1003
|
+
:param oci.dns.models.UpdateResolverDetails update_resolver_details: (required)
|
1004
|
+
New data for the resolver.
|
1005
|
+
|
1006
|
+
:param list[str] work_request_states: (optional)
|
1007
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
1008
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
529
1009
|
|
530
1010
|
:param dict operation_kwargs:
|
531
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.
|
1011
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.update_resolver`
|
532
1012
|
|
533
1013
|
:param dict waiter_kwargs:
|
534
1014
|
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
535
1015
|
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
536
1016
|
"""
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
except oci.exceptions.ServiceError as e:
|
542
|
-
if e.status == 404:
|
543
|
-
return WAIT_RESOURCE_NOT_FOUND
|
544
|
-
else:
|
545
|
-
raise e
|
546
|
-
|
547
|
-
if not wait_for_states:
|
1017
|
+
operation_result = self.client.update_resolver(resolver_id, update_resolver_details, **operation_kwargs)
|
1018
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
1019
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
1020
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
548
1021
|
return operation_result
|
549
|
-
|
550
|
-
|
1022
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
551
1023
|
try:
|
552
|
-
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
553
|
-
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_zone, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
554
|
-
else:
|
555
|
-
"""
|
556
|
-
If the user does not send in this value, we set it to True by default.
|
557
|
-
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
558
|
-
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
559
|
-
"""
|
560
|
-
waiter_kwargs["succeed_on_not_found"] = True
|
561
1024
|
waiter_result = oci.wait_until(
|
562
|
-
self.
|
563
|
-
|
564
|
-
evaluate_response=lambda r: getattr(r.data, '
|
1025
|
+
self._work_request_client,
|
1026
|
+
self._work_request_client.get_work_request(work_request_id),
|
1027
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
565
1028
|
**waiter_kwargs
|
566
1029
|
)
|
567
|
-
|
568
|
-
|
569
|
-
return result_to_return
|
570
|
-
except (NameError, TypeError) as e:
|
571
|
-
if not e.args:
|
572
|
-
e.args = ('',)
|
573
|
-
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
574
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1030
|
+
return waiter_result
|
575
1031
|
except Exception as e:
|
576
1032
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
577
1033
|
|
@@ -620,6 +1076,48 @@ class DnsClientCompositeOperations(object):
|
|
620
1076
|
except Exception as e:
|
621
1077
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
622
1078
|
|
1079
|
+
def update_resolver_endpoint_and_wait_for_work_request(self, resolver_id, resolver_endpoint_name, update_resolver_endpoint_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1080
|
+
"""
|
1081
|
+
Calls :py:func:`~oci.dns.DnsClient.update_resolver_endpoint` and waits for the oci.work_requests.models.WorkRequest
|
1082
|
+
to enter the given state(s).
|
1083
|
+
|
1084
|
+
:param str resolver_id: (required)
|
1085
|
+
The OCID of the target resolver.
|
1086
|
+
|
1087
|
+
:param str resolver_endpoint_name: (required)
|
1088
|
+
The name of the target resolver endpoint.
|
1089
|
+
|
1090
|
+
:param oci.dns.models.UpdateResolverEndpointDetails update_resolver_endpoint_details: (required)
|
1091
|
+
New data for the resolver endpoint.
|
1092
|
+
|
1093
|
+
:param list[str] work_request_states: (optional)
|
1094
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
1095
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
1096
|
+
|
1097
|
+
:param dict operation_kwargs:
|
1098
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.update_resolver_endpoint`
|
1099
|
+
|
1100
|
+
:param dict waiter_kwargs:
|
1101
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1102
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1103
|
+
"""
|
1104
|
+
operation_result = self.client.update_resolver_endpoint(resolver_id, resolver_endpoint_name, update_resolver_endpoint_details, **operation_kwargs)
|
1105
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
1106
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
1107
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1108
|
+
return operation_result
|
1109
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
1110
|
+
try:
|
1111
|
+
waiter_result = oci.wait_until(
|
1112
|
+
self._work_request_client,
|
1113
|
+
self._work_request_client.get_work_request(work_request_id),
|
1114
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
1115
|
+
**waiter_kwargs
|
1116
|
+
)
|
1117
|
+
return waiter_result
|
1118
|
+
except Exception as e:
|
1119
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1120
|
+
|
623
1121
|
def update_resolver_endpoint_and_wait_for_state(self, resolver_id, resolver_endpoint_name, update_resolver_endpoint_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
624
1122
|
"""
|
625
1123
|
Calls :py:func:`~oci.dns.DnsClient.update_resolver_endpoint` and waits for the :py:class:`~oci.dns.models.ResolverEndpoint` acted upon
|
@@ -668,6 +1166,45 @@ class DnsClientCompositeOperations(object):
|
|
668
1166
|
except Exception as e:
|
669
1167
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
670
1168
|
|
1169
|
+
def update_steering_policy_and_wait_for_work_request(self, steering_policy_id, update_steering_policy_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1170
|
+
"""
|
1171
|
+
Calls :py:func:`~oci.dns.DnsClient.update_steering_policy` and waits for the oci.work_requests.models.WorkRequest
|
1172
|
+
to enter the given state(s).
|
1173
|
+
|
1174
|
+
:param str steering_policy_id: (required)
|
1175
|
+
The OCID of the target steering policy.
|
1176
|
+
|
1177
|
+
:param oci.dns.models.UpdateSteeringPolicyDetails update_steering_policy_details: (required)
|
1178
|
+
New data for the steering policy.
|
1179
|
+
|
1180
|
+
:param list[str] work_request_states: (optional)
|
1181
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
1182
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
1183
|
+
|
1184
|
+
:param dict operation_kwargs:
|
1185
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.update_steering_policy`
|
1186
|
+
|
1187
|
+
:param dict waiter_kwargs:
|
1188
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1189
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1190
|
+
"""
|
1191
|
+
operation_result = self.client.update_steering_policy(steering_policy_id, update_steering_policy_details, **operation_kwargs)
|
1192
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
1193
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
1194
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1195
|
+
return operation_result
|
1196
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
1197
|
+
try:
|
1198
|
+
waiter_result = oci.wait_until(
|
1199
|
+
self._work_request_client,
|
1200
|
+
self._work_request_client.get_work_request(work_request_id),
|
1201
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
1202
|
+
**waiter_kwargs
|
1203
|
+
)
|
1204
|
+
return waiter_result
|
1205
|
+
except Exception as e:
|
1206
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1207
|
+
|
671
1208
|
def update_steering_policy_and_wait_for_state(self, steering_policy_id, update_steering_policy_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
672
1209
|
"""
|
673
1210
|
Calls :py:func:`~oci.dns.DnsClient.update_steering_policy` and waits for the :py:class:`~oci.dns.models.SteeringPolicy` acted upon
|
@@ -713,6 +1250,45 @@ class DnsClientCompositeOperations(object):
|
|
713
1250
|
except Exception as e:
|
714
1251
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
715
1252
|
|
1253
|
+
def update_steering_policy_attachment_and_wait_for_work_request(self, steering_policy_attachment_id, update_steering_policy_attachment_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1254
|
+
"""
|
1255
|
+
Calls :py:func:`~oci.dns.DnsClient.update_steering_policy_attachment` and waits for the oci.work_requests.models.WorkRequest
|
1256
|
+
to enter the given state(s).
|
1257
|
+
|
1258
|
+
:param str steering_policy_attachment_id: (required)
|
1259
|
+
The OCID of the target steering policy attachment.
|
1260
|
+
|
1261
|
+
:param oci.dns.models.UpdateSteeringPolicyAttachmentDetails update_steering_policy_attachment_details: (required)
|
1262
|
+
New data for the steering policy attachment.
|
1263
|
+
|
1264
|
+
:param list[str] work_request_states: (optional)
|
1265
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
1266
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
1267
|
+
|
1268
|
+
:param dict operation_kwargs:
|
1269
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.update_steering_policy_attachment`
|
1270
|
+
|
1271
|
+
:param dict waiter_kwargs:
|
1272
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1273
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1274
|
+
"""
|
1275
|
+
operation_result = self.client.update_steering_policy_attachment(steering_policy_attachment_id, update_steering_policy_attachment_details, **operation_kwargs)
|
1276
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
1277
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
1278
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1279
|
+
return operation_result
|
1280
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
1281
|
+
try:
|
1282
|
+
waiter_result = oci.wait_until(
|
1283
|
+
self._work_request_client,
|
1284
|
+
self._work_request_client.get_work_request(work_request_id),
|
1285
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
1286
|
+
**waiter_kwargs
|
1287
|
+
)
|
1288
|
+
return waiter_result
|
1289
|
+
except Exception as e:
|
1290
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1291
|
+
|
716
1292
|
def update_steering_policy_attachment_and_wait_for_state(self, steering_policy_attachment_id, update_steering_policy_attachment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
717
1293
|
"""
|
718
1294
|
Calls :py:func:`~oci.dns.DnsClient.update_steering_policy_attachment` and waits for the :py:class:`~oci.dns.models.SteeringPolicyAttachment` acted upon
|
@@ -758,6 +1334,45 @@ class DnsClientCompositeOperations(object):
|
|
758
1334
|
except Exception as e:
|
759
1335
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
760
1336
|
|
1337
|
+
def update_tsig_key_and_wait_for_work_request(self, tsig_key_id, update_tsig_key_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1338
|
+
"""
|
1339
|
+
Calls :py:func:`~oci.dns.DnsClient.update_tsig_key` and waits for the oci.work_requests.models.WorkRequest
|
1340
|
+
to enter the given state(s).
|
1341
|
+
|
1342
|
+
:param str tsig_key_id: (required)
|
1343
|
+
The OCID of the target TSIG key.
|
1344
|
+
|
1345
|
+
:param oci.dns.models.UpdateTsigKeyDetails update_tsig_key_details: (required)
|
1346
|
+
New data for the TSIG key.
|
1347
|
+
|
1348
|
+
:param list[str] work_request_states: (optional)
|
1349
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
1350
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
1351
|
+
|
1352
|
+
:param dict operation_kwargs:
|
1353
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.update_tsig_key`
|
1354
|
+
|
1355
|
+
:param dict waiter_kwargs:
|
1356
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1357
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1358
|
+
"""
|
1359
|
+
operation_result = self.client.update_tsig_key(tsig_key_id, update_tsig_key_details, **operation_kwargs)
|
1360
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
1361
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
1362
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1363
|
+
return operation_result
|
1364
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
1365
|
+
try:
|
1366
|
+
waiter_result = oci.wait_until(
|
1367
|
+
self._work_request_client,
|
1368
|
+
self._work_request_client.get_work_request(work_request_id),
|
1369
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
1370
|
+
**waiter_kwargs
|
1371
|
+
)
|
1372
|
+
return waiter_result
|
1373
|
+
except Exception as e:
|
1374
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1375
|
+
|
761
1376
|
def update_tsig_key_and_wait_for_state(self, tsig_key_id, update_tsig_key_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
762
1377
|
"""
|
763
1378
|
Calls :py:func:`~oci.dns.DnsClient.update_tsig_key` and waits for the :py:class:`~oci.dns.models.TsigKey` acted upon
|
@@ -803,6 +1418,45 @@ class DnsClientCompositeOperations(object):
|
|
803
1418
|
except Exception as e:
|
804
1419
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
805
1420
|
|
1421
|
+
def update_view_and_wait_for_work_request(self, view_id, update_view_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1422
|
+
"""
|
1423
|
+
Calls :py:func:`~oci.dns.DnsClient.update_view` and waits for the oci.work_requests.models.WorkRequest
|
1424
|
+
to enter the given state(s).
|
1425
|
+
|
1426
|
+
:param str view_id: (required)
|
1427
|
+
The OCID of the target view.
|
1428
|
+
|
1429
|
+
:param oci.dns.models.UpdateViewDetails update_view_details: (required)
|
1430
|
+
New data for the view.
|
1431
|
+
|
1432
|
+
:param list[str] work_request_states: (optional)
|
1433
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
1434
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
1435
|
+
|
1436
|
+
:param dict operation_kwargs:
|
1437
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.update_view`
|
1438
|
+
|
1439
|
+
:param dict waiter_kwargs:
|
1440
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1441
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1442
|
+
"""
|
1443
|
+
operation_result = self.client.update_view(view_id, update_view_details, **operation_kwargs)
|
1444
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
1445
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
1446
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1447
|
+
return operation_result
|
1448
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
1449
|
+
try:
|
1450
|
+
waiter_result = oci.wait_until(
|
1451
|
+
self._work_request_client,
|
1452
|
+
self._work_request_client.get_work_request(work_request_id),
|
1453
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
1454
|
+
**waiter_kwargs
|
1455
|
+
)
|
1456
|
+
return waiter_result
|
1457
|
+
except Exception as e:
|
1458
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1459
|
+
|
806
1460
|
def update_view_and_wait_for_state(self, view_id, update_view_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
807
1461
|
"""
|
808
1462
|
Calls :py:func:`~oci.dns.DnsClient.update_view` and waits for the :py:class:`~oci.dns.models.View` acted upon
|
@@ -848,6 +1502,45 @@ class DnsClientCompositeOperations(object):
|
|
848
1502
|
except Exception as e:
|
849
1503
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
850
1504
|
|
1505
|
+
def update_zone_and_wait_for_work_request(self, zone_name_or_id, update_zone_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1506
|
+
"""
|
1507
|
+
Calls :py:func:`~oci.dns.DnsClient.update_zone` and waits for the oci.work_requests.models.WorkRequest
|
1508
|
+
to enter the given state(s).
|
1509
|
+
|
1510
|
+
:param str zone_name_or_id: (required)
|
1511
|
+
The name or OCID of the target zone.
|
1512
|
+
|
1513
|
+
:param oci.dns.models.UpdateZoneDetails update_zone_details: (required)
|
1514
|
+
New data for the zone.
|
1515
|
+
|
1516
|
+
:param list[str] work_request_states: (optional)
|
1517
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
1518
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
1519
|
+
|
1520
|
+
:param dict operation_kwargs:
|
1521
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.dns.DnsClient.update_zone`
|
1522
|
+
|
1523
|
+
:param dict waiter_kwargs:
|
1524
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1525
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1526
|
+
"""
|
1527
|
+
operation_result = self.client.update_zone(zone_name_or_id, update_zone_details, **operation_kwargs)
|
1528
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
1529
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
1530
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1531
|
+
return operation_result
|
1532
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
1533
|
+
try:
|
1534
|
+
waiter_result = oci.wait_until(
|
1535
|
+
self._work_request_client,
|
1536
|
+
self._work_request_client.get_work_request(work_request_id),
|
1537
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
1538
|
+
**waiter_kwargs
|
1539
|
+
)
|
1540
|
+
return waiter_result
|
1541
|
+
except Exception as e:
|
1542
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1543
|
+
|
851
1544
|
def update_zone_and_wait_for_state(self, zone_name_or_id, update_zone_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
852
1545
|
"""
|
853
1546
|
Calls :py:func:`~oci.dns.DnsClient.update_zone` and waits for the :py:class:`~oci.dns.models.Zone` acted upon
|