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
@@ -22,8 +22,7 @@ missing = Sentinel("Missing")
|
|
22
22
|
|
23
23
|
class FleetAppsManagementAdminClient(object):
|
24
24
|
"""
|
25
|
-
Fleet Application Management
|
26
|
-
To manage fleets,view complaince report for the Fleet,scedule patches and other lifecycle activities
|
25
|
+
Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise.
|
27
26
|
"""
|
28
27
|
|
29
28
|
def __init__(self, config, **kwargs):
|
@@ -117,13 +116,13 @@ class FleetAppsManagementAdminClient(object):
|
|
117
116
|
self.retry_strategy = kwargs.get('retry_strategy')
|
118
117
|
self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
|
119
118
|
|
120
|
-
def
|
119
|
+
def create_compliance_policy_rule(self, create_compliance_policy_rule_details, **kwargs):
|
121
120
|
"""
|
122
|
-
|
121
|
+
Creates a CompliancePolicyRule.
|
123
122
|
|
124
123
|
|
125
|
-
:param oci.fleet_apps_management.models.
|
126
|
-
Details for
|
124
|
+
:param oci.fleet_apps_management.models.CreateCompliancePolicyRuleDetails create_compliance_policy_rule_details: (required)
|
125
|
+
Details for the new CompliancePolicyRule.
|
127
126
|
|
128
127
|
:param str opc_retry_token: (optional)
|
129
128
|
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
@@ -147,18 +146,18 @@ class FleetAppsManagementAdminClient(object):
|
|
147
146
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
148
147
|
By default, the response will not allow control characters in strings
|
149
148
|
|
150
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.
|
149
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.CompliancePolicyRule`
|
151
150
|
:rtype: :class:`~oci.response.Response`
|
152
151
|
|
153
152
|
:example:
|
154
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
153
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/create_compliance_policy_rule.py.html>`__ to see an example of how to use create_compliance_policy_rule API.
|
155
154
|
"""
|
156
155
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
157
156
|
required_arguments = []
|
158
|
-
resource_path = "/
|
157
|
+
resource_path = "/compliancePolicyRules"
|
159
158
|
method = "POST"
|
160
|
-
operation_name = "
|
161
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/
|
159
|
+
operation_name = "create_compliance_policy_rule"
|
160
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/CompliancePolicyRule/CreateCompliancePolicyRule"
|
162
161
|
|
163
162
|
# Don't accept unknown kwargs
|
164
163
|
expected_kwargs = [
|
@@ -170,7 +169,7 @@ class FleetAppsManagementAdminClient(object):
|
|
170
169
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
171
170
|
if extra_kwargs:
|
172
171
|
raise ValueError(
|
173
|
-
f"
|
172
|
+
f"create_compliance_policy_rule got unknown kwargs: {extra_kwargs!r}")
|
174
173
|
|
175
174
|
header_params = {
|
176
175
|
"accept": "application/json",
|
@@ -197,8 +196,8 @@ class FleetAppsManagementAdminClient(object):
|
|
197
196
|
resource_path=resource_path,
|
198
197
|
method=method,
|
199
198
|
header_params=header_params,
|
200
|
-
body=
|
201
|
-
response_type="
|
199
|
+
body=create_compliance_policy_rule_details,
|
200
|
+
response_type="CompliancePolicyRule",
|
202
201
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
203
202
|
operation_name=operation_name,
|
204
203
|
api_reference_link=api_reference_link,
|
@@ -208,20 +207,21 @@ class FleetAppsManagementAdminClient(object):
|
|
208
207
|
resource_path=resource_path,
|
209
208
|
method=method,
|
210
209
|
header_params=header_params,
|
211
|
-
body=
|
212
|
-
response_type="
|
210
|
+
body=create_compliance_policy_rule_details,
|
211
|
+
response_type="CompliancePolicyRule",
|
213
212
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
214
213
|
operation_name=operation_name,
|
215
214
|
api_reference_link=api_reference_link,
|
216
215
|
required_arguments=required_arguments)
|
217
216
|
|
218
|
-
def
|
217
|
+
def create_onboarding(self, create_onboarding_details, **kwargs):
|
219
218
|
"""
|
220
|
-
|
219
|
+
Onboard a tenant to Fleet Application Management.
|
220
|
+
The onboarding process lets Fleet Application Management create a few required policies that you need to start using it and its features.
|
221
221
|
|
222
222
|
|
223
|
-
:param oci.fleet_apps_management.models.
|
224
|
-
Details for
|
223
|
+
:param oci.fleet_apps_management.models.CreateOnboardingDetails create_onboarding_details: (required)
|
224
|
+
Details for onboarding Fleet Application Management.
|
225
225
|
|
226
226
|
:param str opc_retry_token: (optional)
|
227
227
|
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
@@ -245,18 +245,18 @@ class FleetAppsManagementAdminClient(object):
|
|
245
245
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
246
246
|
By default, the response will not allow control characters in strings
|
247
247
|
|
248
|
-
:return: A :class:`~oci.response.Response` object with data of type
|
248
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.Onboarding`
|
249
249
|
:rtype: :class:`~oci.response.Response`
|
250
250
|
|
251
251
|
:example:
|
252
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
252
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/create_onboarding.py.html>`__ to see an example of how to use create_onboarding API.
|
253
253
|
"""
|
254
254
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
255
255
|
required_arguments = []
|
256
|
-
resource_path = "/
|
256
|
+
resource_path = "/Onboardings"
|
257
257
|
method = "POST"
|
258
|
-
operation_name = "
|
259
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/
|
258
|
+
operation_name = "create_onboarding"
|
259
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Onboarding/CreateOnboarding"
|
260
260
|
|
261
261
|
# Don't accept unknown kwargs
|
262
262
|
expected_kwargs = [
|
@@ -268,7 +268,7 @@ class FleetAppsManagementAdminClient(object):
|
|
268
268
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
269
269
|
if extra_kwargs:
|
270
270
|
raise ValueError(
|
271
|
-
f"
|
271
|
+
f"create_onboarding got unknown kwargs: {extra_kwargs!r}")
|
272
272
|
|
273
273
|
header_params = {
|
274
274
|
"accept": "application/json",
|
@@ -295,8 +295,8 @@ class FleetAppsManagementAdminClient(object):
|
|
295
295
|
resource_path=resource_path,
|
296
296
|
method=method,
|
297
297
|
header_params=header_params,
|
298
|
-
body=
|
299
|
-
response_type="
|
298
|
+
body=create_onboarding_details,
|
299
|
+
response_type="Onboarding",
|
300
300
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
301
301
|
operation_name=operation_name,
|
302
302
|
api_reference_link=api_reference_link,
|
@@ -306,27 +306,27 @@ class FleetAppsManagementAdminClient(object):
|
|
306
306
|
resource_path=resource_path,
|
307
307
|
method=method,
|
308
308
|
header_params=header_params,
|
309
|
-
body=
|
310
|
-
response_type="
|
309
|
+
body=create_onboarding_details,
|
310
|
+
response_type="Onboarding",
|
311
311
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
312
312
|
operation_name=operation_name,
|
313
313
|
api_reference_link=api_reference_link,
|
314
314
|
required_arguments=required_arguments)
|
315
315
|
|
316
|
-
def
|
316
|
+
def create_platform_configuration(self, create_platform_configuration_details, **kwargs):
|
317
317
|
"""
|
318
|
-
|
318
|
+
Creates a new PlatformConfiguration.
|
319
319
|
|
320
320
|
|
321
|
-
:param
|
322
|
-
|
321
|
+
:param oci.fleet_apps_management.models.CreatePlatformConfigurationDetails create_platform_configuration_details: (required)
|
322
|
+
Details for the new PlatformConfiguration.
|
323
323
|
|
324
|
-
:param str
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
324
|
+
:param str opc_retry_token: (optional)
|
325
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
326
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
327
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
328
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
329
|
+
might be rejected.
|
330
330
|
|
331
331
|
:param str opc_request_id: (optional)
|
332
332
|
The client request ID for tracing.
|
@@ -343,45 +343,35 @@ class FleetAppsManagementAdminClient(object):
|
|
343
343
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
344
344
|
By default, the response will not allow control characters in strings
|
345
345
|
|
346
|
-
:return: A :class:`~oci.response.Response` object with data of type
|
346
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.PlatformConfiguration`
|
347
347
|
:rtype: :class:`~oci.response.Response`
|
348
348
|
|
349
349
|
:example:
|
350
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
350
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/create_platform_configuration.py.html>`__ to see an example of how to use create_platform_configuration API.
|
351
351
|
"""
|
352
352
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
353
|
-
required_arguments = [
|
354
|
-
resource_path = "/
|
355
|
-
method = "
|
356
|
-
operation_name = "
|
357
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/
|
353
|
+
required_arguments = []
|
354
|
+
resource_path = "/platformConfigurations"
|
355
|
+
method = "POST"
|
356
|
+
operation_name = "create_platform_configuration"
|
357
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/PlatformConfiguration/CreatePlatformConfiguration"
|
358
358
|
|
359
359
|
# Don't accept unknown kwargs
|
360
360
|
expected_kwargs = [
|
361
361
|
"allow_control_chars",
|
362
362
|
"retry_strategy",
|
363
|
-
"
|
363
|
+
"opc_retry_token",
|
364
364
|
"opc_request_id"
|
365
365
|
]
|
366
366
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
367
367
|
if extra_kwargs:
|
368
368
|
raise ValueError(
|
369
|
-
f"
|
370
|
-
|
371
|
-
path_params = {
|
372
|
-
"propertyId": property_id
|
373
|
-
}
|
374
|
-
|
375
|
-
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
376
|
-
|
377
|
-
for (k, v) in six.iteritems(path_params):
|
378
|
-
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
379
|
-
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
369
|
+
f"create_platform_configuration got unknown kwargs: {extra_kwargs!r}")
|
380
370
|
|
381
371
|
header_params = {
|
382
372
|
"accept": "application/json",
|
383
373
|
"content-type": "application/json",
|
384
|
-
"
|
374
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
385
375
|
"opc-request-id": kwargs.get("opc_request_id", missing)
|
386
376
|
}
|
387
377
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -395,14 +385,16 @@ class FleetAppsManagementAdminClient(object):
|
|
395
385
|
|
396
386
|
if retry_strategy:
|
397
387
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
388
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
398
389
|
self.base_client.add_opc_client_retries_header(header_params)
|
399
390
|
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
400
391
|
return retry_strategy.make_retrying_call(
|
401
392
|
self.base_client.call_api,
|
402
393
|
resource_path=resource_path,
|
403
394
|
method=method,
|
404
|
-
path_params=path_params,
|
405
395
|
header_params=header_params,
|
396
|
+
body=create_platform_configuration_details,
|
397
|
+
response_type="PlatformConfiguration",
|
406
398
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
407
399
|
operation_name=operation_name,
|
408
400
|
api_reference_link=api_reference_link,
|
@@ -411,20 +403,28 @@ class FleetAppsManagementAdminClient(object):
|
|
411
403
|
return self.base_client.call_api(
|
412
404
|
resource_path=resource_path,
|
413
405
|
method=method,
|
414
|
-
path_params=path_params,
|
415
406
|
header_params=header_params,
|
407
|
+
body=create_platform_configuration_details,
|
408
|
+
response_type="PlatformConfiguration",
|
416
409
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
417
410
|
operation_name=operation_name,
|
418
411
|
api_reference_link=api_reference_link,
|
419
412
|
required_arguments=required_arguments)
|
420
413
|
|
421
|
-
def
|
414
|
+
def create_property(self, create_property_details, **kwargs):
|
422
415
|
"""
|
423
|
-
|
416
|
+
Create a business-specific metadata property in Fleet Application Management and capture the business metadata classifications.
|
424
417
|
|
425
418
|
|
426
|
-
:param
|
427
|
-
|
419
|
+
:param oci.fleet_apps_management.models.CreatePropertyDetails create_property_details: (required)
|
420
|
+
Details for the new Property.
|
421
|
+
|
422
|
+
:param str opc_retry_token: (optional)
|
423
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
424
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
425
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
426
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
427
|
+
might be rejected.
|
428
428
|
|
429
429
|
:param str opc_request_id: (optional)
|
430
430
|
The client request ID for tracing.
|
@@ -445,39 +445,31 @@ class FleetAppsManagementAdminClient(object):
|
|
445
445
|
:rtype: :class:`~oci.response.Response`
|
446
446
|
|
447
447
|
:example:
|
448
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
448
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/create_property.py.html>`__ to see an example of how to use create_property API.
|
449
449
|
"""
|
450
450
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
451
|
-
required_arguments = [
|
452
|
-
resource_path = "/properties
|
453
|
-
method = "
|
454
|
-
operation_name = "
|
455
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Property/
|
451
|
+
required_arguments = []
|
452
|
+
resource_path = "/properties"
|
453
|
+
method = "POST"
|
454
|
+
operation_name = "create_property"
|
455
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Property/CreateProperty"
|
456
456
|
|
457
457
|
# Don't accept unknown kwargs
|
458
458
|
expected_kwargs = [
|
459
459
|
"allow_control_chars",
|
460
460
|
"retry_strategy",
|
461
|
+
"opc_retry_token",
|
461
462
|
"opc_request_id"
|
462
463
|
]
|
463
464
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
464
465
|
if extra_kwargs:
|
465
466
|
raise ValueError(
|
466
|
-
f"
|
467
|
-
|
468
|
-
path_params = {
|
469
|
-
"propertyId": property_id
|
470
|
-
}
|
471
|
-
|
472
|
-
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
473
|
-
|
474
|
-
for (k, v) in six.iteritems(path_params):
|
475
|
-
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
476
|
-
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
467
|
+
f"create_property got unknown kwargs: {extra_kwargs!r}")
|
477
468
|
|
478
469
|
header_params = {
|
479
470
|
"accept": "application/json",
|
480
471
|
"content-type": "application/json",
|
472
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
481
473
|
"opc-request-id": kwargs.get("opc_request_id", missing)
|
482
474
|
}
|
483
475
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -491,14 +483,15 @@ class FleetAppsManagementAdminClient(object):
|
|
491
483
|
|
492
484
|
if retry_strategy:
|
493
485
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
486
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
494
487
|
self.base_client.add_opc_client_retries_header(header_params)
|
495
488
|
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
496
489
|
return retry_strategy.make_retrying_call(
|
497
490
|
self.base_client.call_api,
|
498
491
|
resource_path=resource_path,
|
499
492
|
method=method,
|
500
|
-
path_params=path_params,
|
501
493
|
header_params=header_params,
|
494
|
+
body=create_property_details,
|
502
495
|
response_type="ModelProperty",
|
503
496
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
504
497
|
operation_name=operation_name,
|
@@ -508,34 +501,28 @@ class FleetAppsManagementAdminClient(object):
|
|
508
501
|
return self.base_client.call_api(
|
509
502
|
resource_path=resource_path,
|
510
503
|
method=method,
|
511
|
-
path_params=path_params,
|
512
504
|
header_params=header_params,
|
505
|
+
body=create_property_details,
|
513
506
|
response_type="ModelProperty",
|
514
507
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
515
508
|
operation_name=operation_name,
|
516
509
|
api_reference_link=api_reference_link,
|
517
510
|
required_arguments=required_arguments)
|
518
511
|
|
519
|
-
def
|
512
|
+
def delete_compliance_policy_rule(self, compliance_policy_rule_id, **kwargs):
|
520
513
|
"""
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
:param int limit: (optional)
|
525
|
-
The maximum number of items to return.
|
526
|
-
|
527
|
-
:param str page: (optional)
|
528
|
-
A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
|
529
|
-
|
530
|
-
:param str sort_order: (optional)
|
531
|
-
The sort order to use, either 'ASC' or 'DESC'.
|
514
|
+
Deletes a CompliancePolicyRule.
|
532
515
|
|
533
|
-
Allowed values are: "ASC", "DESC"
|
534
516
|
|
535
|
-
:param str
|
536
|
-
|
517
|
+
:param str compliance_policy_rule_id: (required)
|
518
|
+
unique CompliancePolicyRule identifier.
|
537
519
|
|
538
|
-
|
520
|
+
:param str if_match: (optional)
|
521
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
522
|
+
for a resource, set the `if-match` parameter to the value of the
|
523
|
+
etag from a previous GET or POST response for that resource.
|
524
|
+
The resource will be updated or deleted only if the etag you
|
525
|
+
provide matches the resource's current etag value.
|
539
526
|
|
540
527
|
:param str opc_request_id: (optional)
|
541
528
|
The client request ID for tracing.
|
@@ -552,59 +539,45 @@ class FleetAppsManagementAdminClient(object):
|
|
552
539
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
553
540
|
By default, the response will not allow control characters in strings
|
554
541
|
|
555
|
-
:return: A :class:`~oci.response.Response` object with data of type
|
542
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
556
543
|
:rtype: :class:`~oci.response.Response`
|
557
544
|
|
558
545
|
:example:
|
559
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
546
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/delete_compliance_policy_rule.py.html>`__ to see an example of how to use delete_compliance_policy_rule API.
|
560
547
|
"""
|
561
548
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
562
|
-
required_arguments = []
|
563
|
-
resource_path = "/
|
564
|
-
method = "
|
565
|
-
operation_name = "
|
566
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/
|
549
|
+
required_arguments = ['compliancePolicyRuleId']
|
550
|
+
resource_path = "/compliancePolicyRules/{compliancePolicyRuleId}"
|
551
|
+
method = "DELETE"
|
552
|
+
operation_name = "delete_compliance_policy_rule"
|
553
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/CompliancePolicyRule/DeleteCompliancePolicyRule"
|
567
554
|
|
568
555
|
# Don't accept unknown kwargs
|
569
556
|
expected_kwargs = [
|
570
557
|
"allow_control_chars",
|
571
558
|
"retry_strategy",
|
572
|
-
"
|
573
|
-
"page",
|
574
|
-
"sort_order",
|
575
|
-
"sort_by",
|
559
|
+
"if_match",
|
576
560
|
"opc_request_id"
|
577
561
|
]
|
578
562
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
579
563
|
if extra_kwargs:
|
580
564
|
raise ValueError(
|
581
|
-
f"
|
565
|
+
f"delete_compliance_policy_rule got unknown kwargs: {extra_kwargs!r}")
|
582
566
|
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
raise ValueError(
|
587
|
-
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
588
|
-
)
|
567
|
+
path_params = {
|
568
|
+
"compliancePolicyRuleId": compliance_policy_rule_id
|
569
|
+
}
|
589
570
|
|
590
|
-
|
591
|
-
sort_by_allowed_values = ["timeCreated"]
|
592
|
-
if kwargs['sort_by'] not in sort_by_allowed_values:
|
593
|
-
raise ValueError(
|
594
|
-
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
595
|
-
)
|
571
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
596
572
|
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
"sortOrder": kwargs.get("sort_order", missing),
|
601
|
-
"sortBy": kwargs.get("sort_by", missing)
|
602
|
-
}
|
603
|
-
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
573
|
+
for (k, v) in six.iteritems(path_params):
|
574
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
575
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
604
576
|
|
605
577
|
header_params = {
|
606
578
|
"accept": "application/json",
|
607
579
|
"content-type": "application/json",
|
580
|
+
"if-match": kwargs.get("if_match", missing),
|
608
581
|
"opc-request-id": kwargs.get("opc_request_id", missing)
|
609
582
|
}
|
610
583
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -624,9 +597,8 @@ class FleetAppsManagementAdminClient(object):
|
|
624
597
|
self.base_client.call_api,
|
625
598
|
resource_path=resource_path,
|
626
599
|
method=method,
|
627
|
-
|
600
|
+
path_params=path_params,
|
628
601
|
header_params=header_params,
|
629
|
-
response_type="OnboardingPolicyCollection",
|
630
602
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
631
603
|
operation_name=operation_name,
|
632
604
|
api_reference_link=api_reference_link,
|
@@ -635,45 +607,27 @@ class FleetAppsManagementAdminClient(object):
|
|
635
607
|
return self.base_client.call_api(
|
636
608
|
resource_path=resource_path,
|
637
609
|
method=method,
|
638
|
-
|
610
|
+
path_params=path_params,
|
639
611
|
header_params=header_params,
|
640
|
-
response_type="OnboardingPolicyCollection",
|
641
612
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
642
613
|
operation_name=operation_name,
|
643
614
|
api_reference_link=api_reference_link,
|
644
615
|
required_arguments=required_arguments)
|
645
616
|
|
646
|
-
def
|
617
|
+
def delete_onboarding(self, onboarding_id, **kwargs):
|
647
618
|
"""
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
:param str compartment_id: (optional)
|
652
|
-
The ID of the compartment in which to list resources.
|
653
|
-
|
654
|
-
:param str lifecycle_state: (optional)
|
655
|
-
A filter to return only resources their lifecycleState matches the given lifecycleState.
|
656
|
-
|
657
|
-
Allowed values are: "ACTIVE", "INACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "UPDATING", "NEEDS_ATTENTION"
|
658
|
-
|
659
|
-
:param str id: (optional)
|
660
|
-
unique onboarding identifier
|
661
|
-
|
662
|
-
:param int limit: (optional)
|
663
|
-
The maximum number of items to return.
|
664
|
-
|
665
|
-
:param str page: (optional)
|
666
|
-
A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
|
667
|
-
|
668
|
-
:param str sort_order: (optional)
|
669
|
-
The sort order to use, either 'ASC' or 'DESC'.
|
619
|
+
Deletes Fleet Application Management onboarding resource by identifier
|
670
620
|
|
671
|
-
Allowed values are: "ASC", "DESC"
|
672
621
|
|
673
|
-
:param str
|
674
|
-
|
622
|
+
:param str onboarding_id: (required)
|
623
|
+
A filter to return resources whose Onboarding identifier matches the given identifier.
|
675
624
|
|
676
|
-
|
625
|
+
:param str if_match: (optional)
|
626
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
627
|
+
for a resource, set the `if-match` parameter to the value of the
|
628
|
+
etag from a previous GET or POST response for that resource.
|
629
|
+
The resource will be updated or deleted only if the etag you
|
630
|
+
provide matches the resource's current etag value.
|
677
631
|
|
678
632
|
:param str opc_request_id: (optional)
|
679
633
|
The client request ID for tracing.
|
@@ -690,72 +644,2035 @@ class FleetAppsManagementAdminClient(object):
|
|
690
644
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
691
645
|
By default, the response will not allow control characters in strings
|
692
646
|
|
693
|
-
:return: A :class:`~oci.response.Response` object with data of type
|
647
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
694
648
|
:rtype: :class:`~oci.response.Response`
|
695
649
|
|
696
650
|
:example:
|
697
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
651
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/delete_onboarding.py.html>`__ to see an example of how to use delete_onboarding API.
|
698
652
|
"""
|
699
653
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
700
|
-
required_arguments = []
|
701
|
-
resource_path = "/Onboardings"
|
702
|
-
method = "
|
703
|
-
operation_name = "
|
704
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/
|
654
|
+
required_arguments = ['onboardingId']
|
655
|
+
resource_path = "/Onboardings/{onboardingId}"
|
656
|
+
method = "DELETE"
|
657
|
+
operation_name = "delete_onboarding"
|
658
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Onboarding/DeleteOnboarding"
|
705
659
|
|
706
660
|
# Don't accept unknown kwargs
|
707
661
|
expected_kwargs = [
|
708
662
|
"allow_control_chars",
|
709
663
|
"retry_strategy",
|
710
|
-
"
|
711
|
-
"lifecycle_state",
|
712
|
-
"id",
|
713
|
-
"limit",
|
714
|
-
"page",
|
715
|
-
"sort_order",
|
716
|
-
"sort_by",
|
664
|
+
"if_match",
|
717
665
|
"opc_request_id"
|
718
666
|
]
|
719
667
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
720
668
|
if extra_kwargs:
|
721
669
|
raise ValueError(
|
722
|
-
f"
|
670
|
+
f"delete_onboarding got unknown kwargs: {extra_kwargs!r}")
|
723
671
|
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
raise ValueError(
|
728
|
-
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
729
|
-
)
|
672
|
+
path_params = {
|
673
|
+
"onboardingId": onboarding_id
|
674
|
+
}
|
730
675
|
|
731
|
-
|
732
|
-
sort_order_allowed_values = ["ASC", "DESC"]
|
733
|
-
if kwargs['sort_order'] not in sort_order_allowed_values:
|
734
|
-
raise ValueError(
|
735
|
-
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
736
|
-
)
|
676
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
737
677
|
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
678
|
+
for (k, v) in six.iteritems(path_params):
|
679
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
680
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
681
|
+
|
682
|
+
header_params = {
|
683
|
+
"accept": "application/json",
|
684
|
+
"content-type": "application/json",
|
685
|
+
"if-match": kwargs.get("if_match", missing),
|
686
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
687
|
+
}
|
688
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
689
|
+
|
690
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
691
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
692
|
+
client_retry_strategy=self.retry_strategy
|
693
|
+
)
|
694
|
+
if retry_strategy is None:
|
695
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
696
|
+
|
697
|
+
if retry_strategy:
|
698
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
699
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
700
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
701
|
+
return retry_strategy.make_retrying_call(
|
702
|
+
self.base_client.call_api,
|
703
|
+
resource_path=resource_path,
|
704
|
+
method=method,
|
705
|
+
path_params=path_params,
|
706
|
+
header_params=header_params,
|
707
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
708
|
+
operation_name=operation_name,
|
709
|
+
api_reference_link=api_reference_link,
|
710
|
+
required_arguments=required_arguments)
|
711
|
+
else:
|
712
|
+
return self.base_client.call_api(
|
713
|
+
resource_path=resource_path,
|
714
|
+
method=method,
|
715
|
+
path_params=path_params,
|
716
|
+
header_params=header_params,
|
717
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
718
|
+
operation_name=operation_name,
|
719
|
+
api_reference_link=api_reference_link,
|
720
|
+
required_arguments=required_arguments)
|
721
|
+
|
722
|
+
def delete_platform_configuration(self, platform_configuration_id, **kwargs):
|
723
|
+
"""
|
724
|
+
Deletes a PlatformConfiguration resource by identifier
|
725
|
+
|
726
|
+
|
727
|
+
:param str platform_configuration_id: (required)
|
728
|
+
unique PlatformConfiguration identifier
|
729
|
+
|
730
|
+
:param str if_match: (optional)
|
731
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
732
|
+
for a resource, set the `if-match` parameter to the value of the
|
733
|
+
etag from a previous GET or POST response for that resource.
|
734
|
+
The resource will be updated or deleted only if the etag you
|
735
|
+
provide matches the resource's current etag value.
|
736
|
+
|
737
|
+
:param str opc_request_id: (optional)
|
738
|
+
The client request ID for tracing.
|
739
|
+
|
740
|
+
:param obj retry_strategy: (optional)
|
741
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
742
|
+
|
743
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
744
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
745
|
+
|
746
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
747
|
+
|
748
|
+
:param bool allow_control_chars: (optional)
|
749
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
750
|
+
By default, the response will not allow control characters in strings
|
751
|
+
|
752
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
753
|
+
:rtype: :class:`~oci.response.Response`
|
754
|
+
|
755
|
+
:example:
|
756
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/delete_platform_configuration.py.html>`__ to see an example of how to use delete_platform_configuration API.
|
757
|
+
"""
|
758
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
759
|
+
required_arguments = ['platformConfigurationId']
|
760
|
+
resource_path = "/platformConfigurations/{platformConfigurationId}"
|
761
|
+
method = "DELETE"
|
762
|
+
operation_name = "delete_platform_configuration"
|
763
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/PlatformConfiguration/DeletePlatformConfiguration"
|
764
|
+
|
765
|
+
# Don't accept unknown kwargs
|
766
|
+
expected_kwargs = [
|
767
|
+
"allow_control_chars",
|
768
|
+
"retry_strategy",
|
769
|
+
"if_match",
|
770
|
+
"opc_request_id"
|
771
|
+
]
|
772
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
773
|
+
if extra_kwargs:
|
774
|
+
raise ValueError(
|
775
|
+
f"delete_platform_configuration got unknown kwargs: {extra_kwargs!r}")
|
776
|
+
|
777
|
+
path_params = {
|
778
|
+
"platformConfigurationId": platform_configuration_id
|
779
|
+
}
|
780
|
+
|
781
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
782
|
+
|
783
|
+
for (k, v) in six.iteritems(path_params):
|
784
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
785
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
786
|
+
|
787
|
+
header_params = {
|
788
|
+
"accept": "application/json",
|
789
|
+
"content-type": "application/json",
|
790
|
+
"if-match": kwargs.get("if_match", missing),
|
791
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
792
|
+
}
|
793
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
794
|
+
|
795
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
796
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
797
|
+
client_retry_strategy=self.retry_strategy
|
798
|
+
)
|
799
|
+
if retry_strategy is None:
|
800
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
801
|
+
|
802
|
+
if retry_strategy:
|
803
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
804
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
805
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
806
|
+
return retry_strategy.make_retrying_call(
|
807
|
+
self.base_client.call_api,
|
808
|
+
resource_path=resource_path,
|
809
|
+
method=method,
|
810
|
+
path_params=path_params,
|
811
|
+
header_params=header_params,
|
812
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
813
|
+
operation_name=operation_name,
|
814
|
+
api_reference_link=api_reference_link,
|
815
|
+
required_arguments=required_arguments)
|
816
|
+
else:
|
817
|
+
return self.base_client.call_api(
|
818
|
+
resource_path=resource_path,
|
819
|
+
method=method,
|
820
|
+
path_params=path_params,
|
821
|
+
header_params=header_params,
|
822
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
823
|
+
operation_name=operation_name,
|
824
|
+
api_reference_link=api_reference_link,
|
825
|
+
required_arguments=required_arguments)
|
826
|
+
|
827
|
+
def delete_property(self, property_id, **kwargs):
|
828
|
+
"""
|
829
|
+
Delete a property in Fleet Application Management.
|
830
|
+
|
831
|
+
|
832
|
+
:param str property_id: (required)
|
833
|
+
unique Property identifier
|
834
|
+
|
835
|
+
:param str if_match: (optional)
|
836
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
837
|
+
for a resource, set the `if-match` parameter to the value of the
|
838
|
+
etag from a previous GET or POST response for that resource.
|
839
|
+
The resource will be updated or deleted only if the etag you
|
840
|
+
provide matches the resource's current etag value.
|
841
|
+
|
842
|
+
:param str opc_request_id: (optional)
|
843
|
+
The client request ID for tracing.
|
844
|
+
|
845
|
+
:param obj retry_strategy: (optional)
|
846
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
847
|
+
|
848
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
849
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
850
|
+
|
851
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
852
|
+
|
853
|
+
:param bool allow_control_chars: (optional)
|
854
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
855
|
+
By default, the response will not allow control characters in strings
|
856
|
+
|
857
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
858
|
+
:rtype: :class:`~oci.response.Response`
|
859
|
+
|
860
|
+
:example:
|
861
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/delete_property.py.html>`__ to see an example of how to use delete_property API.
|
862
|
+
"""
|
863
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
864
|
+
required_arguments = ['propertyId']
|
865
|
+
resource_path = "/properties/{propertyId}"
|
866
|
+
method = "DELETE"
|
867
|
+
operation_name = "delete_property"
|
868
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Property/DeleteProperty"
|
869
|
+
|
870
|
+
# Don't accept unknown kwargs
|
871
|
+
expected_kwargs = [
|
872
|
+
"allow_control_chars",
|
873
|
+
"retry_strategy",
|
874
|
+
"if_match",
|
875
|
+
"opc_request_id"
|
876
|
+
]
|
877
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
878
|
+
if extra_kwargs:
|
879
|
+
raise ValueError(
|
880
|
+
f"delete_property got unknown kwargs: {extra_kwargs!r}")
|
881
|
+
|
882
|
+
path_params = {
|
883
|
+
"propertyId": property_id
|
884
|
+
}
|
885
|
+
|
886
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
887
|
+
|
888
|
+
for (k, v) in six.iteritems(path_params):
|
889
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
890
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
891
|
+
|
892
|
+
header_params = {
|
893
|
+
"accept": "application/json",
|
894
|
+
"content-type": "application/json",
|
895
|
+
"if-match": kwargs.get("if_match", missing),
|
896
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
897
|
+
}
|
898
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
899
|
+
|
900
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
901
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
902
|
+
client_retry_strategy=self.retry_strategy
|
903
|
+
)
|
904
|
+
if retry_strategy is None:
|
905
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
906
|
+
|
907
|
+
if retry_strategy:
|
908
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
909
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
910
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
911
|
+
return retry_strategy.make_retrying_call(
|
912
|
+
self.base_client.call_api,
|
913
|
+
resource_path=resource_path,
|
914
|
+
method=method,
|
915
|
+
path_params=path_params,
|
916
|
+
header_params=header_params,
|
917
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
918
|
+
operation_name=operation_name,
|
919
|
+
api_reference_link=api_reference_link,
|
920
|
+
required_arguments=required_arguments)
|
921
|
+
else:
|
922
|
+
return self.base_client.call_api(
|
923
|
+
resource_path=resource_path,
|
924
|
+
method=method,
|
925
|
+
path_params=path_params,
|
926
|
+
header_params=header_params,
|
927
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
928
|
+
operation_name=operation_name,
|
929
|
+
api_reference_link=api_reference_link,
|
930
|
+
required_arguments=required_arguments)
|
931
|
+
|
932
|
+
def enable_latest_policy(self, onboarding_id, enable_latest_policy_details, **kwargs):
|
933
|
+
"""
|
934
|
+
Enable Policies for a newer version of Fleet Application Management
|
935
|
+
|
936
|
+
|
937
|
+
:param str onboarding_id: (required)
|
938
|
+
A filter to return resources whose Onboarding identifier matches the given identifier.
|
939
|
+
|
940
|
+
:param oci.fleet_apps_management.models.EnableLatestPolicyDetails enable_latest_policy_details: (required)
|
941
|
+
The information to be updated.
|
942
|
+
|
943
|
+
:param str if_match: (optional)
|
944
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
945
|
+
for a resource, set the `if-match` parameter to the value of the
|
946
|
+
etag from a previous GET or POST response for that resource.
|
947
|
+
The resource will be updated or deleted only if the etag you
|
948
|
+
provide matches the resource's current etag value.
|
949
|
+
|
950
|
+
:param str opc_request_id: (optional)
|
951
|
+
The client request ID for tracing.
|
952
|
+
|
953
|
+
:param str opc_retry_token: (optional)
|
954
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
955
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
956
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
957
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
958
|
+
might be rejected.
|
959
|
+
|
960
|
+
:param obj retry_strategy: (optional)
|
961
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
962
|
+
|
963
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
964
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
965
|
+
|
966
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
967
|
+
|
968
|
+
:param bool allow_control_chars: (optional)
|
969
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
970
|
+
By default, the response will not allow control characters in strings
|
971
|
+
|
972
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
973
|
+
:rtype: :class:`~oci.response.Response`
|
974
|
+
|
975
|
+
:example:
|
976
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/enable_latest_policy.py.html>`__ to see an example of how to use enable_latest_policy API.
|
977
|
+
"""
|
978
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
979
|
+
required_arguments = ['onboardingId']
|
980
|
+
resource_path = "/Onboardings/{onboardingId}/actions/enableLatestPolicy"
|
981
|
+
method = "POST"
|
982
|
+
operation_name = "enable_latest_policy"
|
983
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Onboarding/EnableLatestPolicy"
|
984
|
+
|
985
|
+
# Don't accept unknown kwargs
|
986
|
+
expected_kwargs = [
|
987
|
+
"allow_control_chars",
|
988
|
+
"retry_strategy",
|
989
|
+
"if_match",
|
990
|
+
"opc_request_id",
|
991
|
+
"opc_retry_token"
|
992
|
+
]
|
993
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
994
|
+
if extra_kwargs:
|
995
|
+
raise ValueError(
|
996
|
+
f"enable_latest_policy got unknown kwargs: {extra_kwargs!r}")
|
997
|
+
|
998
|
+
path_params = {
|
999
|
+
"onboardingId": onboarding_id
|
1000
|
+
}
|
1001
|
+
|
1002
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1003
|
+
|
1004
|
+
for (k, v) in six.iteritems(path_params):
|
1005
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1006
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1007
|
+
|
1008
|
+
header_params = {
|
1009
|
+
"accept": "application/json",
|
1010
|
+
"content-type": "application/json",
|
1011
|
+
"if-match": kwargs.get("if_match", missing),
|
1012
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
1013
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
1014
|
+
}
|
1015
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1016
|
+
|
1017
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1018
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1019
|
+
client_retry_strategy=self.retry_strategy
|
1020
|
+
)
|
1021
|
+
if retry_strategy is None:
|
1022
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1023
|
+
|
1024
|
+
if retry_strategy:
|
1025
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1026
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1027
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1028
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1029
|
+
return retry_strategy.make_retrying_call(
|
1030
|
+
self.base_client.call_api,
|
1031
|
+
resource_path=resource_path,
|
1032
|
+
method=method,
|
1033
|
+
path_params=path_params,
|
1034
|
+
header_params=header_params,
|
1035
|
+
body=enable_latest_policy_details,
|
1036
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1037
|
+
operation_name=operation_name,
|
1038
|
+
api_reference_link=api_reference_link,
|
1039
|
+
required_arguments=required_arguments)
|
1040
|
+
else:
|
1041
|
+
return self.base_client.call_api(
|
1042
|
+
resource_path=resource_path,
|
1043
|
+
method=method,
|
1044
|
+
path_params=path_params,
|
1045
|
+
header_params=header_params,
|
1046
|
+
body=enable_latest_policy_details,
|
1047
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1048
|
+
operation_name=operation_name,
|
1049
|
+
api_reference_link=api_reference_link,
|
1050
|
+
required_arguments=required_arguments)
|
1051
|
+
|
1052
|
+
def get_compliance_policy(self, compliance_policy_id, **kwargs):
|
1053
|
+
"""
|
1054
|
+
Gets information about a CompliancePolicy.
|
1055
|
+
|
1056
|
+
|
1057
|
+
:param str compliance_policy_id: (required)
|
1058
|
+
unique CompliancePolicy identifier.
|
1059
|
+
|
1060
|
+
:param str opc_request_id: (optional)
|
1061
|
+
The client request ID for tracing.
|
1062
|
+
|
1063
|
+
:param obj retry_strategy: (optional)
|
1064
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1065
|
+
|
1066
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
1067
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1068
|
+
|
1069
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1070
|
+
|
1071
|
+
:param bool allow_control_chars: (optional)
|
1072
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1073
|
+
By default, the response will not allow control characters in strings
|
1074
|
+
|
1075
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.CompliancePolicy`
|
1076
|
+
:rtype: :class:`~oci.response.Response`
|
1077
|
+
|
1078
|
+
:example:
|
1079
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/get_compliance_policy.py.html>`__ to see an example of how to use get_compliance_policy API.
|
1080
|
+
"""
|
1081
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1082
|
+
required_arguments = ['compliancePolicyId']
|
1083
|
+
resource_path = "/compliancePolicies/{compliancePolicyId}"
|
1084
|
+
method = "GET"
|
1085
|
+
operation_name = "get_compliance_policy"
|
1086
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/CompliancePolicy/GetCompliancePolicy"
|
1087
|
+
|
1088
|
+
# Don't accept unknown kwargs
|
1089
|
+
expected_kwargs = [
|
1090
|
+
"allow_control_chars",
|
1091
|
+
"retry_strategy",
|
1092
|
+
"opc_request_id"
|
1093
|
+
]
|
1094
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1095
|
+
if extra_kwargs:
|
1096
|
+
raise ValueError(
|
1097
|
+
f"get_compliance_policy got unknown kwargs: {extra_kwargs!r}")
|
1098
|
+
|
1099
|
+
path_params = {
|
1100
|
+
"compliancePolicyId": compliance_policy_id
|
1101
|
+
}
|
1102
|
+
|
1103
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1104
|
+
|
1105
|
+
for (k, v) in six.iteritems(path_params):
|
1106
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1107
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1108
|
+
|
1109
|
+
header_params = {
|
1110
|
+
"accept": "application/json",
|
1111
|
+
"content-type": "application/json",
|
1112
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1113
|
+
}
|
1114
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1115
|
+
|
1116
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1117
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1118
|
+
client_retry_strategy=self.retry_strategy
|
1119
|
+
)
|
1120
|
+
if retry_strategy is None:
|
1121
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1122
|
+
|
1123
|
+
if retry_strategy:
|
1124
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1125
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1126
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1127
|
+
return retry_strategy.make_retrying_call(
|
1128
|
+
self.base_client.call_api,
|
1129
|
+
resource_path=resource_path,
|
1130
|
+
method=method,
|
1131
|
+
path_params=path_params,
|
1132
|
+
header_params=header_params,
|
1133
|
+
response_type="CompliancePolicy",
|
1134
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1135
|
+
operation_name=operation_name,
|
1136
|
+
api_reference_link=api_reference_link,
|
1137
|
+
required_arguments=required_arguments)
|
1138
|
+
else:
|
1139
|
+
return self.base_client.call_api(
|
1140
|
+
resource_path=resource_path,
|
1141
|
+
method=method,
|
1142
|
+
path_params=path_params,
|
1143
|
+
header_params=header_params,
|
1144
|
+
response_type="CompliancePolicy",
|
1145
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1146
|
+
operation_name=operation_name,
|
1147
|
+
api_reference_link=api_reference_link,
|
1148
|
+
required_arguments=required_arguments)
|
1149
|
+
|
1150
|
+
def get_compliance_policy_rule(self, compliance_policy_rule_id, **kwargs):
|
1151
|
+
"""
|
1152
|
+
Gets information about a CompliancePolicyRule.
|
1153
|
+
|
1154
|
+
|
1155
|
+
:param str compliance_policy_rule_id: (required)
|
1156
|
+
unique CompliancePolicyRule identifier.
|
1157
|
+
|
1158
|
+
:param str opc_request_id: (optional)
|
1159
|
+
The client request ID for tracing.
|
1160
|
+
|
1161
|
+
:param obj retry_strategy: (optional)
|
1162
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1163
|
+
|
1164
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
1165
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1166
|
+
|
1167
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1168
|
+
|
1169
|
+
:param bool allow_control_chars: (optional)
|
1170
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1171
|
+
By default, the response will not allow control characters in strings
|
1172
|
+
|
1173
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.CompliancePolicyRule`
|
1174
|
+
:rtype: :class:`~oci.response.Response`
|
1175
|
+
|
1176
|
+
:example:
|
1177
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/get_compliance_policy_rule.py.html>`__ to see an example of how to use get_compliance_policy_rule API.
|
1178
|
+
"""
|
1179
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1180
|
+
required_arguments = ['compliancePolicyRuleId']
|
1181
|
+
resource_path = "/compliancePolicyRules/{compliancePolicyRuleId}"
|
1182
|
+
method = "GET"
|
1183
|
+
operation_name = "get_compliance_policy_rule"
|
1184
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/CompliancePolicyRule/GetCompliancePolicyRule"
|
1185
|
+
|
1186
|
+
# Don't accept unknown kwargs
|
1187
|
+
expected_kwargs = [
|
1188
|
+
"allow_control_chars",
|
1189
|
+
"retry_strategy",
|
1190
|
+
"opc_request_id"
|
1191
|
+
]
|
1192
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1193
|
+
if extra_kwargs:
|
1194
|
+
raise ValueError(
|
1195
|
+
f"get_compliance_policy_rule got unknown kwargs: {extra_kwargs!r}")
|
1196
|
+
|
1197
|
+
path_params = {
|
1198
|
+
"compliancePolicyRuleId": compliance_policy_rule_id
|
1199
|
+
}
|
1200
|
+
|
1201
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1202
|
+
|
1203
|
+
for (k, v) in six.iteritems(path_params):
|
1204
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1205
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1206
|
+
|
1207
|
+
header_params = {
|
1208
|
+
"accept": "application/json",
|
1209
|
+
"content-type": "application/json",
|
1210
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1211
|
+
}
|
1212
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1213
|
+
|
1214
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1215
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1216
|
+
client_retry_strategy=self.retry_strategy
|
1217
|
+
)
|
1218
|
+
if retry_strategy is None:
|
1219
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1220
|
+
|
1221
|
+
if retry_strategy:
|
1222
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1223
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1224
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1225
|
+
return retry_strategy.make_retrying_call(
|
1226
|
+
self.base_client.call_api,
|
1227
|
+
resource_path=resource_path,
|
1228
|
+
method=method,
|
1229
|
+
path_params=path_params,
|
1230
|
+
header_params=header_params,
|
1231
|
+
response_type="CompliancePolicyRule",
|
1232
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1233
|
+
operation_name=operation_name,
|
1234
|
+
api_reference_link=api_reference_link,
|
1235
|
+
required_arguments=required_arguments)
|
1236
|
+
else:
|
1237
|
+
return self.base_client.call_api(
|
1238
|
+
resource_path=resource_path,
|
1239
|
+
method=method,
|
1240
|
+
path_params=path_params,
|
1241
|
+
header_params=header_params,
|
1242
|
+
response_type="CompliancePolicyRule",
|
1243
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1244
|
+
operation_name=operation_name,
|
1245
|
+
api_reference_link=api_reference_link,
|
1246
|
+
required_arguments=required_arguments)
|
1247
|
+
|
1248
|
+
def get_onboarding(self, onboarding_id, **kwargs):
|
1249
|
+
"""
|
1250
|
+
Gets a Fleet Application Management Onboarding by identifier.
|
1251
|
+
|
1252
|
+
|
1253
|
+
:param str onboarding_id: (required)
|
1254
|
+
A filter to return resources whose Onboarding identifier matches the given identifier.
|
1255
|
+
|
1256
|
+
:param str opc_request_id: (optional)
|
1257
|
+
The client request ID for tracing.
|
1258
|
+
|
1259
|
+
:param obj retry_strategy: (optional)
|
1260
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1261
|
+
|
1262
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
1263
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1264
|
+
|
1265
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1266
|
+
|
1267
|
+
:param bool allow_control_chars: (optional)
|
1268
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1269
|
+
By default, the response will not allow control characters in strings
|
1270
|
+
|
1271
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.Onboarding`
|
1272
|
+
:rtype: :class:`~oci.response.Response`
|
1273
|
+
|
1274
|
+
:example:
|
1275
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/get_onboarding.py.html>`__ to see an example of how to use get_onboarding API.
|
1276
|
+
"""
|
1277
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1278
|
+
required_arguments = ['onboardingId']
|
1279
|
+
resource_path = "/Onboardings/{onboardingId}"
|
1280
|
+
method = "GET"
|
1281
|
+
operation_name = "get_onboarding"
|
1282
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Onboarding/GetOnboarding"
|
1283
|
+
|
1284
|
+
# Don't accept unknown kwargs
|
1285
|
+
expected_kwargs = [
|
1286
|
+
"allow_control_chars",
|
1287
|
+
"retry_strategy",
|
1288
|
+
"opc_request_id"
|
1289
|
+
]
|
1290
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1291
|
+
if extra_kwargs:
|
1292
|
+
raise ValueError(
|
1293
|
+
f"get_onboarding got unknown kwargs: {extra_kwargs!r}")
|
1294
|
+
|
1295
|
+
path_params = {
|
1296
|
+
"onboardingId": onboarding_id
|
1297
|
+
}
|
1298
|
+
|
1299
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1300
|
+
|
1301
|
+
for (k, v) in six.iteritems(path_params):
|
1302
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1303
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1304
|
+
|
1305
|
+
header_params = {
|
1306
|
+
"accept": "application/json",
|
1307
|
+
"content-type": "application/json",
|
1308
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1309
|
+
}
|
1310
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1311
|
+
|
1312
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1313
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1314
|
+
client_retry_strategy=self.retry_strategy
|
1315
|
+
)
|
1316
|
+
if retry_strategy is None:
|
1317
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1318
|
+
|
1319
|
+
if retry_strategy:
|
1320
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1321
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1322
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1323
|
+
return retry_strategy.make_retrying_call(
|
1324
|
+
self.base_client.call_api,
|
1325
|
+
resource_path=resource_path,
|
1326
|
+
method=method,
|
1327
|
+
path_params=path_params,
|
1328
|
+
header_params=header_params,
|
1329
|
+
response_type="Onboarding",
|
1330
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1331
|
+
operation_name=operation_name,
|
1332
|
+
api_reference_link=api_reference_link,
|
1333
|
+
required_arguments=required_arguments)
|
1334
|
+
else:
|
1335
|
+
return self.base_client.call_api(
|
1336
|
+
resource_path=resource_path,
|
1337
|
+
method=method,
|
1338
|
+
path_params=path_params,
|
1339
|
+
header_params=header_params,
|
1340
|
+
response_type="Onboarding",
|
1341
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1342
|
+
operation_name=operation_name,
|
1343
|
+
api_reference_link=api_reference_link,
|
1344
|
+
required_arguments=required_arguments)
|
1345
|
+
|
1346
|
+
def get_platform_configuration(self, platform_configuration_id, **kwargs):
|
1347
|
+
"""
|
1348
|
+
Gets a PlatformConfiguration by identifier
|
1349
|
+
|
1350
|
+
|
1351
|
+
:param str platform_configuration_id: (required)
|
1352
|
+
unique PlatformConfiguration identifier
|
1353
|
+
|
1354
|
+
:param str opc_request_id: (optional)
|
1355
|
+
The client request ID for tracing.
|
1356
|
+
|
1357
|
+
:param obj retry_strategy: (optional)
|
1358
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1359
|
+
|
1360
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
1361
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1362
|
+
|
1363
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1364
|
+
|
1365
|
+
:param bool allow_control_chars: (optional)
|
1366
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1367
|
+
By default, the response will not allow control characters in strings
|
1368
|
+
|
1369
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.PlatformConfiguration`
|
1370
|
+
:rtype: :class:`~oci.response.Response`
|
1371
|
+
|
1372
|
+
:example:
|
1373
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/get_platform_configuration.py.html>`__ to see an example of how to use get_platform_configuration API.
|
1374
|
+
"""
|
1375
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1376
|
+
required_arguments = ['platformConfigurationId']
|
1377
|
+
resource_path = "/platformConfigurations/{platformConfigurationId}"
|
1378
|
+
method = "GET"
|
1379
|
+
operation_name = "get_platform_configuration"
|
1380
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/PlatformConfiguration/GetPlatformConfiguration"
|
1381
|
+
|
1382
|
+
# Don't accept unknown kwargs
|
1383
|
+
expected_kwargs = [
|
1384
|
+
"allow_control_chars",
|
1385
|
+
"retry_strategy",
|
1386
|
+
"opc_request_id"
|
1387
|
+
]
|
1388
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1389
|
+
if extra_kwargs:
|
1390
|
+
raise ValueError(
|
1391
|
+
f"get_platform_configuration got unknown kwargs: {extra_kwargs!r}")
|
1392
|
+
|
1393
|
+
path_params = {
|
1394
|
+
"platformConfigurationId": platform_configuration_id
|
1395
|
+
}
|
1396
|
+
|
1397
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1398
|
+
|
1399
|
+
for (k, v) in six.iteritems(path_params):
|
1400
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1401
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1402
|
+
|
1403
|
+
header_params = {
|
1404
|
+
"accept": "application/json",
|
1405
|
+
"content-type": "application/json",
|
1406
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1407
|
+
}
|
1408
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1409
|
+
|
1410
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1411
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1412
|
+
client_retry_strategy=self.retry_strategy
|
1413
|
+
)
|
1414
|
+
if retry_strategy is None:
|
1415
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1416
|
+
|
1417
|
+
if retry_strategy:
|
1418
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1419
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1420
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1421
|
+
return retry_strategy.make_retrying_call(
|
1422
|
+
self.base_client.call_api,
|
1423
|
+
resource_path=resource_path,
|
1424
|
+
method=method,
|
1425
|
+
path_params=path_params,
|
1426
|
+
header_params=header_params,
|
1427
|
+
response_type="PlatformConfiguration",
|
1428
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1429
|
+
operation_name=operation_name,
|
1430
|
+
api_reference_link=api_reference_link,
|
1431
|
+
required_arguments=required_arguments)
|
1432
|
+
else:
|
1433
|
+
return self.base_client.call_api(
|
1434
|
+
resource_path=resource_path,
|
1435
|
+
method=method,
|
1436
|
+
path_params=path_params,
|
1437
|
+
header_params=header_params,
|
1438
|
+
response_type="PlatformConfiguration",
|
1439
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1440
|
+
operation_name=operation_name,
|
1441
|
+
api_reference_link=api_reference_link,
|
1442
|
+
required_arguments=required_arguments)
|
1443
|
+
|
1444
|
+
def get_property(self, property_id, **kwargs):
|
1445
|
+
"""
|
1446
|
+
Gets a Property by identifier
|
1447
|
+
|
1448
|
+
|
1449
|
+
:param str property_id: (required)
|
1450
|
+
unique Property identifier
|
1451
|
+
|
1452
|
+
:param str opc_request_id: (optional)
|
1453
|
+
The client request ID for tracing.
|
1454
|
+
|
1455
|
+
:param obj retry_strategy: (optional)
|
1456
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1457
|
+
|
1458
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
1459
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1460
|
+
|
1461
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1462
|
+
|
1463
|
+
:param bool allow_control_chars: (optional)
|
1464
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1465
|
+
By default, the response will not allow control characters in strings
|
1466
|
+
|
1467
|
+
:return: A :class:`~oci.response.Response` object with data of type ModelProperty
|
1468
|
+
:rtype: :class:`~oci.response.Response`
|
1469
|
+
|
1470
|
+
:example:
|
1471
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/get_property.py.html>`__ to see an example of how to use get_property API.
|
1472
|
+
"""
|
1473
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1474
|
+
required_arguments = ['propertyId']
|
1475
|
+
resource_path = "/properties/{propertyId}"
|
1476
|
+
method = "GET"
|
1477
|
+
operation_name = "get_property"
|
1478
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Property/GetProperty"
|
1479
|
+
|
1480
|
+
# Don't accept unknown kwargs
|
1481
|
+
expected_kwargs = [
|
1482
|
+
"allow_control_chars",
|
1483
|
+
"retry_strategy",
|
1484
|
+
"opc_request_id"
|
1485
|
+
]
|
1486
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1487
|
+
if extra_kwargs:
|
1488
|
+
raise ValueError(
|
1489
|
+
f"get_property got unknown kwargs: {extra_kwargs!r}")
|
1490
|
+
|
1491
|
+
path_params = {
|
1492
|
+
"propertyId": property_id
|
1493
|
+
}
|
1494
|
+
|
1495
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1496
|
+
|
1497
|
+
for (k, v) in six.iteritems(path_params):
|
1498
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1499
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1500
|
+
|
1501
|
+
header_params = {
|
1502
|
+
"accept": "application/json",
|
1503
|
+
"content-type": "application/json",
|
1504
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1505
|
+
}
|
1506
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1507
|
+
|
1508
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1509
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1510
|
+
client_retry_strategy=self.retry_strategy
|
1511
|
+
)
|
1512
|
+
if retry_strategy is None:
|
1513
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1514
|
+
|
1515
|
+
if retry_strategy:
|
1516
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1517
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1518
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1519
|
+
return retry_strategy.make_retrying_call(
|
1520
|
+
self.base_client.call_api,
|
1521
|
+
resource_path=resource_path,
|
1522
|
+
method=method,
|
1523
|
+
path_params=path_params,
|
1524
|
+
header_params=header_params,
|
1525
|
+
response_type="ModelProperty",
|
1526
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1527
|
+
operation_name=operation_name,
|
1528
|
+
api_reference_link=api_reference_link,
|
1529
|
+
required_arguments=required_arguments)
|
1530
|
+
else:
|
1531
|
+
return self.base_client.call_api(
|
1532
|
+
resource_path=resource_path,
|
1533
|
+
method=method,
|
1534
|
+
path_params=path_params,
|
1535
|
+
header_params=header_params,
|
1536
|
+
response_type="ModelProperty",
|
1537
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1538
|
+
operation_name=operation_name,
|
1539
|
+
api_reference_link=api_reference_link,
|
1540
|
+
required_arguments=required_arguments)
|
1541
|
+
|
1542
|
+
def list_compliance_policies(self, **kwargs):
|
1543
|
+
"""
|
1544
|
+
Gets a list of compliancePolicies.
|
1545
|
+
|
1546
|
+
|
1547
|
+
:param str compartment_id: (optional)
|
1548
|
+
The ID of the compartment in which to list resources.
|
1549
|
+
|
1550
|
+
:param str lifecycle_state: (optional)
|
1551
|
+
A filter to return only resources that match the given lifecycle state. The
|
1552
|
+
state value is case-insensitive.
|
1553
|
+
|
1554
|
+
Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
|
1555
|
+
|
1556
|
+
:param str display_name: (optional)
|
1557
|
+
A filter to return only resources that match the entire display name given.
|
1558
|
+
|
1559
|
+
:param str id: (optional)
|
1560
|
+
unique CompliancePolicy identifier.
|
1561
|
+
|
1562
|
+
:param int limit: (optional)
|
1563
|
+
The maximum number of items to return.
|
1564
|
+
|
1565
|
+
:param str page: (optional)
|
1566
|
+
A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
|
1567
|
+
|
1568
|
+
:param str sort_order: (optional)
|
1569
|
+
The sort order to use, either 'ASC' or 'DESC'.
|
1570
|
+
|
1571
|
+
Allowed values are: "ASC", "DESC"
|
1572
|
+
|
1573
|
+
:param str sort_by: (optional)
|
1574
|
+
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
|
1575
|
+
|
1576
|
+
Allowed values are: "timeCreated", "displayName"
|
1577
|
+
|
1578
|
+
:param str opc_request_id: (optional)
|
1579
|
+
The client request ID for tracing.
|
1580
|
+
|
1581
|
+
:param obj retry_strategy: (optional)
|
1582
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1583
|
+
|
1584
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
1585
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1586
|
+
|
1587
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1588
|
+
|
1589
|
+
:param bool allow_control_chars: (optional)
|
1590
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1591
|
+
By default, the response will not allow control characters in strings
|
1592
|
+
|
1593
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.CompliancePolicyCollection`
|
1594
|
+
:rtype: :class:`~oci.response.Response`
|
1595
|
+
|
1596
|
+
:example:
|
1597
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/list_compliance_policies.py.html>`__ to see an example of how to use list_compliance_policies API.
|
1598
|
+
"""
|
1599
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1600
|
+
required_arguments = []
|
1601
|
+
resource_path = "/compliancePolicies"
|
1602
|
+
method = "GET"
|
1603
|
+
operation_name = "list_compliance_policies"
|
1604
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/CompliancePolicyCollection/ListCompliancePolicies"
|
1605
|
+
|
1606
|
+
# Don't accept unknown kwargs
|
1607
|
+
expected_kwargs = [
|
1608
|
+
"allow_control_chars",
|
1609
|
+
"retry_strategy",
|
1610
|
+
"compartment_id",
|
1611
|
+
"lifecycle_state",
|
1612
|
+
"display_name",
|
1613
|
+
"id",
|
1614
|
+
"limit",
|
1615
|
+
"page",
|
1616
|
+
"sort_order",
|
1617
|
+
"sort_by",
|
1618
|
+
"opc_request_id"
|
1619
|
+
]
|
1620
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1621
|
+
if extra_kwargs:
|
1622
|
+
raise ValueError(
|
1623
|
+
f"list_compliance_policies got unknown kwargs: {extra_kwargs!r}")
|
1624
|
+
|
1625
|
+
if 'lifecycle_state' in kwargs:
|
1626
|
+
lifecycle_state_allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
|
1627
|
+
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
1628
|
+
raise ValueError(
|
1629
|
+
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
1630
|
+
)
|
1631
|
+
|
1632
|
+
if 'sort_order' in kwargs:
|
1633
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
1634
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
1635
|
+
raise ValueError(
|
1636
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
1637
|
+
)
|
1638
|
+
|
1639
|
+
if 'sort_by' in kwargs:
|
1640
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
1641
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
1642
|
+
raise ValueError(
|
1643
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
1644
|
+
)
|
1645
|
+
|
1646
|
+
query_params = {
|
1647
|
+
"compartmentId": kwargs.get("compartment_id", missing),
|
1648
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
1649
|
+
"displayName": kwargs.get("display_name", missing),
|
1650
|
+
"id": kwargs.get("id", missing),
|
1651
|
+
"limit": kwargs.get("limit", missing),
|
1652
|
+
"page": kwargs.get("page", missing),
|
1653
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
1654
|
+
"sortBy": kwargs.get("sort_by", missing)
|
1655
|
+
}
|
1656
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1657
|
+
|
1658
|
+
header_params = {
|
1659
|
+
"accept": "application/json",
|
1660
|
+
"content-type": "application/json",
|
1661
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1662
|
+
}
|
1663
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1664
|
+
|
1665
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1666
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1667
|
+
client_retry_strategy=self.retry_strategy
|
1668
|
+
)
|
1669
|
+
if retry_strategy is None:
|
1670
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1671
|
+
|
1672
|
+
if retry_strategy:
|
1673
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1674
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1675
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1676
|
+
return retry_strategy.make_retrying_call(
|
1677
|
+
self.base_client.call_api,
|
1678
|
+
resource_path=resource_path,
|
1679
|
+
method=method,
|
1680
|
+
query_params=query_params,
|
1681
|
+
header_params=header_params,
|
1682
|
+
response_type="CompliancePolicyCollection",
|
1683
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1684
|
+
operation_name=operation_name,
|
1685
|
+
api_reference_link=api_reference_link,
|
1686
|
+
required_arguments=required_arguments)
|
1687
|
+
else:
|
1688
|
+
return self.base_client.call_api(
|
1689
|
+
resource_path=resource_path,
|
1690
|
+
method=method,
|
1691
|
+
query_params=query_params,
|
1692
|
+
header_params=header_params,
|
1693
|
+
response_type="CompliancePolicyCollection",
|
1694
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1695
|
+
operation_name=operation_name,
|
1696
|
+
api_reference_link=api_reference_link,
|
1697
|
+
required_arguments=required_arguments)
|
1698
|
+
|
1699
|
+
def list_compliance_policy_rules(self, **kwargs):
|
1700
|
+
"""
|
1701
|
+
Gets a list of CompliancePolicyRules.
|
1702
|
+
|
1703
|
+
|
1704
|
+
:param str compartment_id: (optional)
|
1705
|
+
The ID of the compartment in which to list resources.
|
1706
|
+
|
1707
|
+
:param str display_name: (optional)
|
1708
|
+
A filter to return only resources that match the entire display name given.
|
1709
|
+
|
1710
|
+
:param str lifecycle_state: (optional)
|
1711
|
+
A filter to return only resources that match the given lifecycle state. The
|
1712
|
+
state value is case-insensitive.
|
1713
|
+
|
1714
|
+
Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
|
1715
|
+
|
1716
|
+
:param str patch_name: (optional)
|
1717
|
+
A filter to return only resources that match the patch selection against the given patch name.
|
1718
|
+
|
1719
|
+
:param str compliance_policy_id: (optional)
|
1720
|
+
unique CompliancePolicy identifier.
|
1721
|
+
|
1722
|
+
:param str id: (optional)
|
1723
|
+
unique CompliancePolicyRule identifier.
|
1724
|
+
|
1725
|
+
:param int limit: (optional)
|
1726
|
+
The maximum number of items to return.
|
1727
|
+
|
1728
|
+
:param str page: (optional)
|
1729
|
+
A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
|
1730
|
+
|
1731
|
+
:param str sort_order: (optional)
|
1732
|
+
The sort order to use, either 'ASC' or 'DESC'.
|
1733
|
+
|
1734
|
+
Allowed values are: "ASC", "DESC"
|
1735
|
+
|
1736
|
+
:param str sort_by: (optional)
|
1737
|
+
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
|
1738
|
+
|
1739
|
+
Allowed values are: "timeCreated", "displayName"
|
1740
|
+
|
1741
|
+
:param str opc_request_id: (optional)
|
1742
|
+
The client request ID for tracing.
|
1743
|
+
|
1744
|
+
:param obj retry_strategy: (optional)
|
1745
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1746
|
+
|
1747
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
1748
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1749
|
+
|
1750
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1751
|
+
|
1752
|
+
:param bool allow_control_chars: (optional)
|
1753
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1754
|
+
By default, the response will not allow control characters in strings
|
1755
|
+
|
1756
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.CompliancePolicyRuleCollection`
|
1757
|
+
:rtype: :class:`~oci.response.Response`
|
1758
|
+
|
1759
|
+
:example:
|
1760
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/list_compliance_policy_rules.py.html>`__ to see an example of how to use list_compliance_policy_rules API.
|
1761
|
+
"""
|
1762
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1763
|
+
required_arguments = []
|
1764
|
+
resource_path = "/compliancePolicyRules"
|
1765
|
+
method = "GET"
|
1766
|
+
operation_name = "list_compliance_policy_rules"
|
1767
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/CompliancePolicyRuleCollection/ListCompliancePolicyRules"
|
1768
|
+
|
1769
|
+
# Don't accept unknown kwargs
|
1770
|
+
expected_kwargs = [
|
1771
|
+
"allow_control_chars",
|
1772
|
+
"retry_strategy",
|
1773
|
+
"compartment_id",
|
1774
|
+
"display_name",
|
1775
|
+
"lifecycle_state",
|
1776
|
+
"patch_name",
|
1777
|
+
"compliance_policy_id",
|
1778
|
+
"id",
|
1779
|
+
"limit",
|
1780
|
+
"page",
|
1781
|
+
"sort_order",
|
1782
|
+
"sort_by",
|
1783
|
+
"opc_request_id"
|
1784
|
+
]
|
1785
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1786
|
+
if extra_kwargs:
|
1787
|
+
raise ValueError(
|
1788
|
+
f"list_compliance_policy_rules got unknown kwargs: {extra_kwargs!r}")
|
1789
|
+
|
1790
|
+
if 'lifecycle_state' in kwargs:
|
1791
|
+
lifecycle_state_allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
|
1792
|
+
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
1793
|
+
raise ValueError(
|
1794
|
+
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
1795
|
+
)
|
1796
|
+
|
1797
|
+
if 'sort_order' in kwargs:
|
1798
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
1799
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
1800
|
+
raise ValueError(
|
1801
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
1802
|
+
)
|
1803
|
+
|
1804
|
+
if 'sort_by' in kwargs:
|
1805
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
1806
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
1807
|
+
raise ValueError(
|
1808
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
1809
|
+
)
|
1810
|
+
|
1811
|
+
query_params = {
|
1812
|
+
"compartmentId": kwargs.get("compartment_id", missing),
|
1813
|
+
"displayName": kwargs.get("display_name", missing),
|
1814
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
1815
|
+
"patchName": kwargs.get("patch_name", missing),
|
1816
|
+
"compliancePolicyId": kwargs.get("compliance_policy_id", missing),
|
1817
|
+
"id": kwargs.get("id", missing),
|
1818
|
+
"limit": kwargs.get("limit", missing),
|
1819
|
+
"page": kwargs.get("page", missing),
|
1820
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
1821
|
+
"sortBy": kwargs.get("sort_by", missing)
|
1822
|
+
}
|
1823
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1824
|
+
|
1825
|
+
header_params = {
|
1826
|
+
"accept": "application/json",
|
1827
|
+
"content-type": "application/json",
|
1828
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1829
|
+
}
|
1830
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1831
|
+
|
1832
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1833
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1834
|
+
client_retry_strategy=self.retry_strategy
|
1835
|
+
)
|
1836
|
+
if retry_strategy is None:
|
1837
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1838
|
+
|
1839
|
+
if retry_strategy:
|
1840
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1841
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1842
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1843
|
+
return retry_strategy.make_retrying_call(
|
1844
|
+
self.base_client.call_api,
|
1845
|
+
resource_path=resource_path,
|
1846
|
+
method=method,
|
1847
|
+
query_params=query_params,
|
1848
|
+
header_params=header_params,
|
1849
|
+
response_type="CompliancePolicyRuleCollection",
|
1850
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1851
|
+
operation_name=operation_name,
|
1852
|
+
api_reference_link=api_reference_link,
|
1853
|
+
required_arguments=required_arguments)
|
1854
|
+
else:
|
1855
|
+
return self.base_client.call_api(
|
1856
|
+
resource_path=resource_path,
|
1857
|
+
method=method,
|
1858
|
+
query_params=query_params,
|
1859
|
+
header_params=header_params,
|
1860
|
+
response_type="CompliancePolicyRuleCollection",
|
1861
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1862
|
+
operation_name=operation_name,
|
1863
|
+
api_reference_link=api_reference_link,
|
1864
|
+
required_arguments=required_arguments)
|
1865
|
+
|
1866
|
+
def list_onboarding_policies(self, **kwargs):
|
1867
|
+
"""
|
1868
|
+
Returns a list of onboarding policy information for Fleet Application Management.
|
1869
|
+
|
1870
|
+
|
1871
|
+
:param int limit: (optional)
|
1872
|
+
The maximum number of items to return.
|
1873
|
+
|
1874
|
+
:param str page: (optional)
|
1875
|
+
A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
|
1876
|
+
|
1877
|
+
:param str sort_order: (optional)
|
1878
|
+
The sort order to use, either 'ASC' or 'DESC'.
|
1879
|
+
|
1880
|
+
Allowed values are: "ASC", "DESC"
|
1881
|
+
|
1882
|
+
:param str sort_by: (optional)
|
1883
|
+
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
|
1884
|
+
|
1885
|
+
Allowed values are: "timeCreated"
|
1886
|
+
|
1887
|
+
:param str opc_request_id: (optional)
|
1888
|
+
The client request ID for tracing.
|
1889
|
+
|
1890
|
+
:param obj retry_strategy: (optional)
|
1891
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1892
|
+
|
1893
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
1894
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1895
|
+
|
1896
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1897
|
+
|
1898
|
+
:param bool allow_control_chars: (optional)
|
1899
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1900
|
+
By default, the response will not allow control characters in strings
|
1901
|
+
|
1902
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.OnboardingPolicyCollection`
|
1903
|
+
:rtype: :class:`~oci.response.Response`
|
1904
|
+
|
1905
|
+
:example:
|
1906
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/list_onboarding_policies.py.html>`__ to see an example of how to use list_onboarding_policies API.
|
1907
|
+
"""
|
1908
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1909
|
+
required_arguments = []
|
1910
|
+
resource_path = "/OnboardingPolicies"
|
1911
|
+
method = "GET"
|
1912
|
+
operation_name = "list_onboarding_policies"
|
1913
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/OnboardingPolicyCollection/ListOnboardingPolicies"
|
1914
|
+
|
1915
|
+
# Don't accept unknown kwargs
|
1916
|
+
expected_kwargs = [
|
1917
|
+
"allow_control_chars",
|
1918
|
+
"retry_strategy",
|
1919
|
+
"limit",
|
1920
|
+
"page",
|
1921
|
+
"sort_order",
|
1922
|
+
"sort_by",
|
1923
|
+
"opc_request_id"
|
1924
|
+
]
|
1925
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1926
|
+
if extra_kwargs:
|
1927
|
+
raise ValueError(
|
1928
|
+
f"list_onboarding_policies got unknown kwargs: {extra_kwargs!r}")
|
1929
|
+
|
1930
|
+
if 'sort_order' in kwargs:
|
1931
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
1932
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
1933
|
+
raise ValueError(
|
1934
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
1935
|
+
)
|
1936
|
+
|
1937
|
+
if 'sort_by' in kwargs:
|
1938
|
+
sort_by_allowed_values = ["timeCreated"]
|
1939
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
1940
|
+
raise ValueError(
|
1941
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
1942
|
+
)
|
1943
|
+
|
1944
|
+
query_params = {
|
1945
|
+
"limit": kwargs.get("limit", missing),
|
1946
|
+
"page": kwargs.get("page", missing),
|
1947
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
1948
|
+
"sortBy": kwargs.get("sort_by", missing)
|
1949
|
+
}
|
1950
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1951
|
+
|
1952
|
+
header_params = {
|
1953
|
+
"accept": "application/json",
|
1954
|
+
"content-type": "application/json",
|
1955
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1956
|
+
}
|
1957
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1958
|
+
|
1959
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1960
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1961
|
+
client_retry_strategy=self.retry_strategy
|
1962
|
+
)
|
1963
|
+
if retry_strategy is None:
|
1964
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1965
|
+
|
1966
|
+
if retry_strategy:
|
1967
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1968
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1969
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1970
|
+
return retry_strategy.make_retrying_call(
|
1971
|
+
self.base_client.call_api,
|
1972
|
+
resource_path=resource_path,
|
1973
|
+
method=method,
|
1974
|
+
query_params=query_params,
|
1975
|
+
header_params=header_params,
|
1976
|
+
response_type="OnboardingPolicyCollection",
|
1977
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1978
|
+
operation_name=operation_name,
|
1979
|
+
api_reference_link=api_reference_link,
|
1980
|
+
required_arguments=required_arguments)
|
1981
|
+
else:
|
1982
|
+
return self.base_client.call_api(
|
1983
|
+
resource_path=resource_path,
|
1984
|
+
method=method,
|
1985
|
+
query_params=query_params,
|
1986
|
+
header_params=header_params,
|
1987
|
+
response_type="OnboardingPolicyCollection",
|
1988
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1989
|
+
operation_name=operation_name,
|
1990
|
+
api_reference_link=api_reference_link,
|
1991
|
+
required_arguments=required_arguments)
|
1992
|
+
|
1993
|
+
def list_onboardings(self, **kwargs):
|
1994
|
+
"""
|
1995
|
+
Returns a list of onboarding information for the Tenancy.
|
1996
|
+
|
1997
|
+
|
1998
|
+
:param str compartment_id: (optional)
|
1999
|
+
The ID of the compartment in which to list resources.
|
2000
|
+
|
2001
|
+
:param str lifecycle_state: (optional)
|
2002
|
+
A filter to return only resources whose lifecycleState matches the given lifecycleState.
|
2003
|
+
|
2004
|
+
Allowed values are: "ACTIVE", "INACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "UPDATING", "NEEDS_ATTENTION"
|
2005
|
+
|
2006
|
+
:param str id: (optional)
|
2007
|
+
unique onboarding identifier
|
2008
|
+
|
2009
|
+
:param int limit: (optional)
|
2010
|
+
The maximum number of items to return.
|
2011
|
+
|
2012
|
+
:param str page: (optional)
|
2013
|
+
A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
|
2014
|
+
|
2015
|
+
:param str sort_order: (optional)
|
2016
|
+
The sort order to use, either 'ASC' or 'DESC'.
|
2017
|
+
|
2018
|
+
Allowed values are: "ASC", "DESC"
|
2019
|
+
|
2020
|
+
:param str sort_by: (optional)
|
2021
|
+
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
|
2022
|
+
|
2023
|
+
Allowed values are: "timeCreated", "displayName"
|
2024
|
+
|
2025
|
+
:param str opc_request_id: (optional)
|
2026
|
+
The client request ID for tracing.
|
2027
|
+
|
2028
|
+
:param obj retry_strategy: (optional)
|
2029
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2030
|
+
|
2031
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
2032
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2033
|
+
|
2034
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2035
|
+
|
2036
|
+
:param bool allow_control_chars: (optional)
|
2037
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2038
|
+
By default, the response will not allow control characters in strings
|
2039
|
+
|
2040
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.OnboardingCollection`
|
2041
|
+
:rtype: :class:`~oci.response.Response`
|
2042
|
+
|
2043
|
+
:example:
|
2044
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/list_onboardings.py.html>`__ to see an example of how to use list_onboardings API.
|
2045
|
+
"""
|
2046
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2047
|
+
required_arguments = []
|
2048
|
+
resource_path = "/Onboardings"
|
2049
|
+
method = "GET"
|
2050
|
+
operation_name = "list_onboardings"
|
2051
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/OnboardingCollection/ListOnboardings"
|
2052
|
+
|
2053
|
+
# Don't accept unknown kwargs
|
2054
|
+
expected_kwargs = [
|
2055
|
+
"allow_control_chars",
|
2056
|
+
"retry_strategy",
|
2057
|
+
"compartment_id",
|
2058
|
+
"lifecycle_state",
|
2059
|
+
"id",
|
2060
|
+
"limit",
|
2061
|
+
"page",
|
2062
|
+
"sort_order",
|
2063
|
+
"sort_by",
|
2064
|
+
"opc_request_id"
|
2065
|
+
]
|
2066
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2067
|
+
if extra_kwargs:
|
2068
|
+
raise ValueError(
|
2069
|
+
f"list_onboardings got unknown kwargs: {extra_kwargs!r}")
|
2070
|
+
|
2071
|
+
if 'lifecycle_state' in kwargs:
|
2072
|
+
lifecycle_state_allowed_values = ["ACTIVE", "INACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "UPDATING", "NEEDS_ATTENTION"]
|
2073
|
+
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
2074
|
+
raise ValueError(
|
2075
|
+
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
2076
|
+
)
|
2077
|
+
|
2078
|
+
if 'sort_order' in kwargs:
|
2079
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
2080
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
2081
|
+
raise ValueError(
|
2082
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
2083
|
+
)
|
2084
|
+
|
2085
|
+
if 'sort_by' in kwargs:
|
2086
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
2087
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
2088
|
+
raise ValueError(
|
2089
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
2090
|
+
)
|
2091
|
+
|
2092
|
+
query_params = {
|
2093
|
+
"compartmentId": kwargs.get("compartment_id", missing),
|
2094
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
2095
|
+
"id": kwargs.get("id", missing),
|
2096
|
+
"limit": kwargs.get("limit", missing),
|
2097
|
+
"page": kwargs.get("page", missing),
|
2098
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
2099
|
+
"sortBy": kwargs.get("sort_by", missing)
|
2100
|
+
}
|
2101
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
2102
|
+
|
2103
|
+
header_params = {
|
2104
|
+
"accept": "application/json",
|
2105
|
+
"content-type": "application/json",
|
2106
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
2107
|
+
}
|
2108
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2109
|
+
|
2110
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2111
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2112
|
+
client_retry_strategy=self.retry_strategy
|
2113
|
+
)
|
2114
|
+
if retry_strategy is None:
|
2115
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
2116
|
+
|
2117
|
+
if retry_strategy:
|
2118
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2119
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
2120
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
2121
|
+
return retry_strategy.make_retrying_call(
|
2122
|
+
self.base_client.call_api,
|
2123
|
+
resource_path=resource_path,
|
2124
|
+
method=method,
|
2125
|
+
query_params=query_params,
|
2126
|
+
header_params=header_params,
|
2127
|
+
response_type="OnboardingCollection",
|
2128
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2129
|
+
operation_name=operation_name,
|
2130
|
+
api_reference_link=api_reference_link,
|
2131
|
+
required_arguments=required_arguments)
|
2132
|
+
else:
|
2133
|
+
return self.base_client.call_api(
|
2134
|
+
resource_path=resource_path,
|
2135
|
+
method=method,
|
2136
|
+
query_params=query_params,
|
2137
|
+
header_params=header_params,
|
2138
|
+
response_type="OnboardingCollection",
|
2139
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2140
|
+
operation_name=operation_name,
|
2141
|
+
api_reference_link=api_reference_link,
|
2142
|
+
required_arguments=required_arguments)
|
2143
|
+
|
2144
|
+
def list_platform_configurations(self, **kwargs):
|
2145
|
+
"""
|
2146
|
+
Returns a list of PlatformConfiguration for Tenancy.
|
2147
|
+
|
2148
|
+
|
2149
|
+
:param str compartment_id: (optional)
|
2150
|
+
The ID of the compartment in which to list resources.
|
2151
|
+
|
2152
|
+
:param str lifecycle_state: (optional)
|
2153
|
+
A filter to return only resources their lifecycleState matches the given lifecycleState.
|
2154
|
+
|
2155
|
+
Allowed values are: "ACTIVE", "DELETED", "FAILED", "DELETING", "UPDATING"
|
2156
|
+
|
2157
|
+
:param str display_name: (optional)
|
2158
|
+
A filter to return only resources that match the entire display name given.
|
2159
|
+
|
2160
|
+
:param str id: (optional)
|
2161
|
+
unique PlatformConfiguration identifier
|
2162
|
+
|
2163
|
+
:param str config_category: (optional)
|
2164
|
+
Config Category
|
2165
|
+
|
2166
|
+
Allowed values are: "PRODUCT", "PRODUCT_STACK", "ENVIRONMENT", "PATCH_TYPE", "CREDENTIAL"
|
2167
|
+
|
2168
|
+
:param int limit: (optional)
|
2169
|
+
The maximum number of items to return.
|
2170
|
+
|
2171
|
+
:param str page: (optional)
|
2172
|
+
A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
|
2173
|
+
|
2174
|
+
:param str sort_order: (optional)
|
2175
|
+
The sort order to use, either 'ASC' or 'DESC'.
|
2176
|
+
|
2177
|
+
Allowed values are: "ASC", "DESC"
|
2178
|
+
|
2179
|
+
:param str sort_by: (optional)
|
2180
|
+
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
|
2181
|
+
|
2182
|
+
Allowed values are: "timeCreated", "displayName"
|
2183
|
+
|
2184
|
+
:param str opc_request_id: (optional)
|
2185
|
+
The client request ID for tracing.
|
2186
|
+
|
2187
|
+
:param obj retry_strategy: (optional)
|
2188
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2189
|
+
|
2190
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
2191
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2192
|
+
|
2193
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2194
|
+
|
2195
|
+
:param bool allow_control_chars: (optional)
|
2196
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2197
|
+
By default, the response will not allow control characters in strings
|
2198
|
+
|
2199
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.PlatformConfigurationCollection`
|
2200
|
+
:rtype: :class:`~oci.response.Response`
|
2201
|
+
|
2202
|
+
:example:
|
2203
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/list_platform_configurations.py.html>`__ to see an example of how to use list_platform_configurations API.
|
2204
|
+
"""
|
2205
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2206
|
+
required_arguments = []
|
2207
|
+
resource_path = "/platformConfigurations"
|
2208
|
+
method = "GET"
|
2209
|
+
operation_name = "list_platform_configurations"
|
2210
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/PlatformConfigurationCollection/ListPlatformConfigurations"
|
2211
|
+
|
2212
|
+
# Don't accept unknown kwargs
|
2213
|
+
expected_kwargs = [
|
2214
|
+
"allow_control_chars",
|
2215
|
+
"retry_strategy",
|
2216
|
+
"compartment_id",
|
2217
|
+
"lifecycle_state",
|
2218
|
+
"display_name",
|
2219
|
+
"id",
|
2220
|
+
"config_category",
|
2221
|
+
"limit",
|
2222
|
+
"page",
|
2223
|
+
"sort_order",
|
2224
|
+
"sort_by",
|
2225
|
+
"opc_request_id"
|
2226
|
+
]
|
2227
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2228
|
+
if extra_kwargs:
|
2229
|
+
raise ValueError(
|
2230
|
+
f"list_platform_configurations got unknown kwargs: {extra_kwargs!r}")
|
2231
|
+
|
2232
|
+
if 'lifecycle_state' in kwargs:
|
2233
|
+
lifecycle_state_allowed_values = ["ACTIVE", "DELETED", "FAILED", "DELETING", "UPDATING"]
|
2234
|
+
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
2235
|
+
raise ValueError(
|
2236
|
+
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
2237
|
+
)
|
2238
|
+
|
2239
|
+
if 'config_category' in kwargs:
|
2240
|
+
config_category_allowed_values = ["PRODUCT", "PRODUCT_STACK", "ENVIRONMENT", "PATCH_TYPE", "CREDENTIAL"]
|
2241
|
+
if kwargs['config_category'] not in config_category_allowed_values:
|
2242
|
+
raise ValueError(
|
2243
|
+
f"Invalid value for `config_category`, must be one of { config_category_allowed_values }"
|
2244
|
+
)
|
2245
|
+
|
2246
|
+
if 'sort_order' in kwargs:
|
2247
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
2248
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
2249
|
+
raise ValueError(
|
2250
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
2251
|
+
)
|
2252
|
+
|
2253
|
+
if 'sort_by' in kwargs:
|
2254
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
2255
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
2256
|
+
raise ValueError(
|
2257
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
2258
|
+
)
|
2259
|
+
|
2260
|
+
query_params = {
|
2261
|
+
"compartmentId": kwargs.get("compartment_id", missing),
|
2262
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
2263
|
+
"displayName": kwargs.get("display_name", missing),
|
2264
|
+
"id": kwargs.get("id", missing),
|
2265
|
+
"configCategory": kwargs.get("config_category", missing),
|
2266
|
+
"limit": kwargs.get("limit", missing),
|
2267
|
+
"page": kwargs.get("page", missing),
|
2268
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
2269
|
+
"sortBy": kwargs.get("sort_by", missing)
|
2270
|
+
}
|
2271
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
2272
|
+
|
2273
|
+
header_params = {
|
2274
|
+
"accept": "application/json",
|
2275
|
+
"content-type": "application/json",
|
2276
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
2277
|
+
}
|
2278
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2279
|
+
|
2280
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2281
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2282
|
+
client_retry_strategy=self.retry_strategy
|
2283
|
+
)
|
2284
|
+
if retry_strategy is None:
|
2285
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
2286
|
+
|
2287
|
+
if retry_strategy:
|
2288
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2289
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
2290
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
2291
|
+
return retry_strategy.make_retrying_call(
|
2292
|
+
self.base_client.call_api,
|
2293
|
+
resource_path=resource_path,
|
2294
|
+
method=method,
|
2295
|
+
query_params=query_params,
|
2296
|
+
header_params=header_params,
|
2297
|
+
response_type="PlatformConfigurationCollection",
|
2298
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2299
|
+
operation_name=operation_name,
|
2300
|
+
api_reference_link=api_reference_link,
|
2301
|
+
required_arguments=required_arguments)
|
2302
|
+
else:
|
2303
|
+
return self.base_client.call_api(
|
2304
|
+
resource_path=resource_path,
|
2305
|
+
method=method,
|
2306
|
+
query_params=query_params,
|
2307
|
+
header_params=header_params,
|
2308
|
+
response_type="PlatformConfigurationCollection",
|
2309
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2310
|
+
operation_name=operation_name,
|
2311
|
+
api_reference_link=api_reference_link,
|
2312
|
+
required_arguments=required_arguments)
|
2313
|
+
|
2314
|
+
def list_properties(self, **kwargs):
|
2315
|
+
"""
|
2316
|
+
List properties and their values for a tenancy in Fleet Application Management.
|
2317
|
+
|
2318
|
+
|
2319
|
+
:param str compartment_id: (optional)
|
2320
|
+
The ID of the compartment in which to list resources.
|
2321
|
+
|
2322
|
+
:param str lifecycle_state: (optional)
|
2323
|
+
A filter to return only resources whose lifecycleState matches the given lifecycleState.
|
2324
|
+
|
2325
|
+
Allowed values are: "ACTIVE", "DELETED", "FAILED"
|
2326
|
+
|
2327
|
+
:param str display_name: (optional)
|
2328
|
+
A filter to return only resources that match the entire display name given.
|
2329
|
+
|
2330
|
+
:param str id: (optional)
|
2331
|
+
A filter to return only resources whose Property identifier matches the given identifier.
|
2332
|
+
|
2333
|
+
:param str scope: (optional)
|
2334
|
+
A filter to return only resources their scope matches the given scope.
|
2335
|
+
|
2336
|
+
Allowed values are: "TAXONOMY", "PLATFORM_CONFIG"
|
2337
|
+
|
2338
|
+
:param int limit: (optional)
|
2339
|
+
The maximum number of items to return.
|
2340
|
+
|
2341
|
+
:param str page: (optional)
|
2342
|
+
A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
|
2343
|
+
|
2344
|
+
:param str sort_order: (optional)
|
2345
|
+
The sort order to use, either 'ASC' or 'DESC'.
|
2346
|
+
|
2347
|
+
Allowed values are: "ASC", "DESC"
|
2348
|
+
|
2349
|
+
:param str sort_by: (optional)
|
2350
|
+
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
|
2351
|
+
|
2352
|
+
Allowed values are: "timeCreated", "displayName"
|
2353
|
+
|
2354
|
+
:param str opc_request_id: (optional)
|
2355
|
+
The client request ID for tracing.
|
2356
|
+
|
2357
|
+
:param obj retry_strategy: (optional)
|
2358
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2359
|
+
|
2360
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
2361
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2362
|
+
|
2363
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2364
|
+
|
2365
|
+
:param bool allow_control_chars: (optional)
|
2366
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2367
|
+
By default, the response will not allow control characters in strings
|
2368
|
+
|
2369
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.fleet_apps_management.models.PropertyCollection`
|
2370
|
+
:rtype: :class:`~oci.response.Response`
|
2371
|
+
|
2372
|
+
:example:
|
2373
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/list_properties.py.html>`__ to see an example of how to use list_properties API.
|
2374
|
+
"""
|
2375
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2376
|
+
required_arguments = []
|
2377
|
+
resource_path = "/properties"
|
2378
|
+
method = "GET"
|
2379
|
+
operation_name = "list_properties"
|
2380
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/PropertyCollection/ListProperties"
|
2381
|
+
|
2382
|
+
# Don't accept unknown kwargs
|
2383
|
+
expected_kwargs = [
|
2384
|
+
"allow_control_chars",
|
2385
|
+
"retry_strategy",
|
2386
|
+
"compartment_id",
|
2387
|
+
"lifecycle_state",
|
2388
|
+
"display_name",
|
2389
|
+
"id",
|
2390
|
+
"scope",
|
2391
|
+
"limit",
|
2392
|
+
"page",
|
2393
|
+
"sort_order",
|
2394
|
+
"sort_by",
|
2395
|
+
"opc_request_id"
|
2396
|
+
]
|
2397
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2398
|
+
if extra_kwargs:
|
2399
|
+
raise ValueError(
|
2400
|
+
f"list_properties got unknown kwargs: {extra_kwargs!r}")
|
2401
|
+
|
2402
|
+
if 'lifecycle_state' in kwargs:
|
2403
|
+
lifecycle_state_allowed_values = ["ACTIVE", "DELETED", "FAILED"]
|
2404
|
+
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
2405
|
+
raise ValueError(
|
2406
|
+
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
2407
|
+
)
|
2408
|
+
|
2409
|
+
if 'scope' in kwargs:
|
2410
|
+
scope_allowed_values = ["TAXONOMY", "PLATFORM_CONFIG"]
|
2411
|
+
if kwargs['scope'] not in scope_allowed_values:
|
2412
|
+
raise ValueError(
|
2413
|
+
f"Invalid value for `scope`, must be one of { scope_allowed_values }"
|
2414
|
+
)
|
2415
|
+
|
2416
|
+
if 'sort_order' in kwargs:
|
2417
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
2418
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
2419
|
+
raise ValueError(
|
2420
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
2421
|
+
)
|
2422
|
+
|
2423
|
+
if 'sort_by' in kwargs:
|
2424
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
2425
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
2426
|
+
raise ValueError(
|
2427
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
2428
|
+
)
|
2429
|
+
|
2430
|
+
query_params = {
|
2431
|
+
"compartmentId": kwargs.get("compartment_id", missing),
|
2432
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
2433
|
+
"displayName": kwargs.get("display_name", missing),
|
2434
|
+
"id": kwargs.get("id", missing),
|
2435
|
+
"scope": kwargs.get("scope", missing),
|
2436
|
+
"limit": kwargs.get("limit", missing),
|
2437
|
+
"page": kwargs.get("page", missing),
|
2438
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
2439
|
+
"sortBy": kwargs.get("sort_by", missing)
|
2440
|
+
}
|
2441
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
2442
|
+
|
2443
|
+
header_params = {
|
2444
|
+
"accept": "application/json",
|
2445
|
+
"content-type": "application/json",
|
2446
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
2447
|
+
}
|
2448
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2449
|
+
|
2450
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2451
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2452
|
+
client_retry_strategy=self.retry_strategy
|
2453
|
+
)
|
2454
|
+
if retry_strategy is None:
|
2455
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
2456
|
+
|
2457
|
+
if retry_strategy:
|
2458
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2459
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
2460
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
2461
|
+
return retry_strategy.make_retrying_call(
|
2462
|
+
self.base_client.call_api,
|
2463
|
+
resource_path=resource_path,
|
2464
|
+
method=method,
|
2465
|
+
query_params=query_params,
|
2466
|
+
header_params=header_params,
|
2467
|
+
response_type="PropertyCollection",
|
2468
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2469
|
+
operation_name=operation_name,
|
2470
|
+
api_reference_link=api_reference_link,
|
2471
|
+
required_arguments=required_arguments)
|
2472
|
+
else:
|
2473
|
+
return self.base_client.call_api(
|
2474
|
+
resource_path=resource_path,
|
2475
|
+
method=method,
|
2476
|
+
query_params=query_params,
|
2477
|
+
header_params=header_params,
|
2478
|
+
response_type="PropertyCollection",
|
2479
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2480
|
+
operation_name=operation_name,
|
2481
|
+
api_reference_link=api_reference_link,
|
2482
|
+
required_arguments=required_arguments)
|
2483
|
+
|
2484
|
+
def manage_settings(self, onboarding_id, manage_settings_details, **kwargs):
|
2485
|
+
"""
|
2486
|
+
Updates the Onboarding setting
|
2487
|
+
|
2488
|
+
|
2489
|
+
:param str onboarding_id: (required)
|
2490
|
+
A filter to return resources whose Onboarding identifier matches the given identifier.
|
2491
|
+
|
2492
|
+
:param oci.fleet_apps_management.models.ManageSettingsDetails manage_settings_details: (required)
|
2493
|
+
The information to be updated.
|
2494
|
+
|
2495
|
+
:param str if_match: (optional)
|
2496
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
2497
|
+
for a resource, set the `if-match` parameter to the value of the
|
2498
|
+
etag from a previous GET or POST response for that resource.
|
2499
|
+
The resource will be updated or deleted only if the etag you
|
2500
|
+
provide matches the resource's current etag value.
|
2501
|
+
|
2502
|
+
:param str opc_request_id: (optional)
|
2503
|
+
The client request ID for tracing.
|
2504
|
+
|
2505
|
+
:param str opc_retry_token: (optional)
|
2506
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
2507
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
2508
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
2509
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
2510
|
+
might be rejected.
|
2511
|
+
|
2512
|
+
:param obj retry_strategy: (optional)
|
2513
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2514
|
+
|
2515
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
2516
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2517
|
+
|
2518
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2519
|
+
|
2520
|
+
:param bool allow_control_chars: (optional)
|
2521
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2522
|
+
By default, the response will not allow control characters in strings
|
2523
|
+
|
2524
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
2525
|
+
:rtype: :class:`~oci.response.Response`
|
2526
|
+
|
2527
|
+
:example:
|
2528
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/manage_settings.py.html>`__ to see an example of how to use manage_settings API.
|
2529
|
+
"""
|
2530
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2531
|
+
required_arguments = ['onboardingId']
|
2532
|
+
resource_path = "/Onboardings/{onboardingId}/actions/manageSettings"
|
2533
|
+
method = "POST"
|
2534
|
+
operation_name = "manage_settings"
|
2535
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Onboarding/ManageSettings"
|
2536
|
+
|
2537
|
+
# Don't accept unknown kwargs
|
2538
|
+
expected_kwargs = [
|
2539
|
+
"allow_control_chars",
|
2540
|
+
"retry_strategy",
|
2541
|
+
"if_match",
|
2542
|
+
"opc_request_id",
|
2543
|
+
"opc_retry_token"
|
2544
|
+
]
|
2545
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2546
|
+
if extra_kwargs:
|
2547
|
+
raise ValueError(
|
2548
|
+
f"manage_settings got unknown kwargs: {extra_kwargs!r}")
|
2549
|
+
|
2550
|
+
path_params = {
|
2551
|
+
"onboardingId": onboarding_id
|
2552
|
+
}
|
2553
|
+
|
2554
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
2555
|
+
|
2556
|
+
for (k, v) in six.iteritems(path_params):
|
2557
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
2558
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
2559
|
+
|
2560
|
+
header_params = {
|
2561
|
+
"accept": "application/json",
|
2562
|
+
"content-type": "application/json",
|
2563
|
+
"if-match": kwargs.get("if_match", missing),
|
2564
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
2565
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
2566
|
+
}
|
2567
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2568
|
+
|
2569
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2570
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2571
|
+
client_retry_strategy=self.retry_strategy
|
2572
|
+
)
|
2573
|
+
if retry_strategy is None:
|
2574
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
2575
|
+
|
2576
|
+
if retry_strategy:
|
2577
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2578
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
2579
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
2580
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
2581
|
+
return retry_strategy.make_retrying_call(
|
2582
|
+
self.base_client.call_api,
|
2583
|
+
resource_path=resource_path,
|
2584
|
+
method=method,
|
2585
|
+
path_params=path_params,
|
2586
|
+
header_params=header_params,
|
2587
|
+
body=manage_settings_details,
|
2588
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2589
|
+
operation_name=operation_name,
|
2590
|
+
api_reference_link=api_reference_link,
|
2591
|
+
required_arguments=required_arguments)
|
2592
|
+
else:
|
2593
|
+
return self.base_client.call_api(
|
2594
|
+
resource_path=resource_path,
|
2595
|
+
method=method,
|
2596
|
+
path_params=path_params,
|
2597
|
+
header_params=header_params,
|
2598
|
+
body=manage_settings_details,
|
2599
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2600
|
+
operation_name=operation_name,
|
2601
|
+
api_reference_link=api_reference_link,
|
2602
|
+
required_arguments=required_arguments)
|
744
2603
|
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
2604
|
+
def update_compliance_policy_rule(self, compliance_policy_rule_id, update_compliance_policy_rule_details, **kwargs):
|
2605
|
+
"""
|
2606
|
+
Updates a CompliancePolicyRule.
|
2607
|
+
|
2608
|
+
|
2609
|
+
:param str compliance_policy_rule_id: (required)
|
2610
|
+
unique CompliancePolicyRule identifier.
|
2611
|
+
|
2612
|
+
:param oci.fleet_apps_management.models.UpdateCompliancePolicyRuleDetails update_compliance_policy_rule_details: (required)
|
2613
|
+
The information to be updated.
|
2614
|
+
|
2615
|
+
:param str if_match: (optional)
|
2616
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
2617
|
+
for a resource, set the `if-match` parameter to the value of the
|
2618
|
+
etag from a previous GET or POST response for that resource.
|
2619
|
+
The resource will be updated or deleted only if the etag you
|
2620
|
+
provide matches the resource's current etag value.
|
2621
|
+
|
2622
|
+
:param str opc_request_id: (optional)
|
2623
|
+
The client request ID for tracing.
|
2624
|
+
|
2625
|
+
:param obj retry_strategy: (optional)
|
2626
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2627
|
+
|
2628
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
2629
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2630
|
+
|
2631
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2632
|
+
|
2633
|
+
:param bool allow_control_chars: (optional)
|
2634
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2635
|
+
By default, the response will not allow control characters in strings
|
2636
|
+
|
2637
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
2638
|
+
:rtype: :class:`~oci.response.Response`
|
2639
|
+
|
2640
|
+
:example:
|
2641
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/update_compliance_policy_rule.py.html>`__ to see an example of how to use update_compliance_policy_rule API.
|
2642
|
+
"""
|
2643
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2644
|
+
required_arguments = ['compliancePolicyRuleId']
|
2645
|
+
resource_path = "/compliancePolicyRules/{compliancePolicyRuleId}"
|
2646
|
+
method = "PUT"
|
2647
|
+
operation_name = "update_compliance_policy_rule"
|
2648
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/CompliancePolicyRule/UpdateCompliancePolicyRule"
|
2649
|
+
|
2650
|
+
# Don't accept unknown kwargs
|
2651
|
+
expected_kwargs = [
|
2652
|
+
"allow_control_chars",
|
2653
|
+
"retry_strategy",
|
2654
|
+
"if_match",
|
2655
|
+
"opc_request_id"
|
2656
|
+
]
|
2657
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2658
|
+
if extra_kwargs:
|
2659
|
+
raise ValueError(
|
2660
|
+
f"update_compliance_policy_rule got unknown kwargs: {extra_kwargs!r}")
|
2661
|
+
|
2662
|
+
path_params = {
|
2663
|
+
"compliancePolicyRuleId": compliance_policy_rule_id
|
753
2664
|
}
|
754
|
-
|
2665
|
+
|
2666
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
2667
|
+
|
2668
|
+
for (k, v) in six.iteritems(path_params):
|
2669
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
2670
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
755
2671
|
|
756
2672
|
header_params = {
|
757
2673
|
"accept": "application/json",
|
758
2674
|
"content-type": "application/json",
|
2675
|
+
"if-match": kwargs.get("if_match", missing),
|
759
2676
|
"opc-request-id": kwargs.get("opc_request_id", missing)
|
760
2677
|
}
|
761
2678
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -775,9 +2692,9 @@ class FleetAppsManagementAdminClient(object):
|
|
775
2692
|
self.base_client.call_api,
|
776
2693
|
resource_path=resource_path,
|
777
2694
|
method=method,
|
778
|
-
|
2695
|
+
path_params=path_params,
|
779
2696
|
header_params=header_params,
|
780
|
-
|
2697
|
+
body=update_compliance_policy_rule_details,
|
781
2698
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
782
2699
|
operation_name=operation_name,
|
783
2700
|
api_reference_link=api_reference_link,
|
@@ -786,53 +2703,141 @@ class FleetAppsManagementAdminClient(object):
|
|
786
2703
|
return self.base_client.call_api(
|
787
2704
|
resource_path=resource_path,
|
788
2705
|
method=method,
|
789
|
-
|
2706
|
+
path_params=path_params,
|
790
2707
|
header_params=header_params,
|
791
|
-
|
2708
|
+
body=update_compliance_policy_rule_details,
|
792
2709
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
793
2710
|
operation_name=operation_name,
|
794
2711
|
api_reference_link=api_reference_link,
|
795
2712
|
required_arguments=required_arguments)
|
796
2713
|
|
797
|
-
def
|
2714
|
+
def update_onboarding(self, onboarding_id, update_onboarding_details, **kwargs):
|
798
2715
|
"""
|
799
|
-
|
2716
|
+
Updates the Onboarding
|
800
2717
|
|
801
2718
|
|
802
|
-
:param str
|
803
|
-
|
2719
|
+
:param str onboarding_id: (required)
|
2720
|
+
A filter to return resources whose Onboarding identifier matches the given identifier.
|
804
2721
|
|
805
|
-
:param
|
806
|
-
|
2722
|
+
:param oci.fleet_apps_management.models.UpdateOnboardingDetails update_onboarding_details: (required)
|
2723
|
+
The information to be updated.
|
807
2724
|
|
808
|
-
|
2725
|
+
:param str if_match: (optional)
|
2726
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
2727
|
+
for a resource, set the `if-match` parameter to the value of the
|
2728
|
+
etag from a previous GET or POST response for that resource.
|
2729
|
+
The resource will be updated or deleted only if the etag you
|
2730
|
+
provide matches the resource's current etag value.
|
809
2731
|
|
810
|
-
:param str
|
811
|
-
|
2732
|
+
:param str opc_request_id: (optional)
|
2733
|
+
The client request ID for tracing.
|
812
2734
|
|
813
|
-
:param
|
814
|
-
|
2735
|
+
:param obj retry_strategy: (optional)
|
2736
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
815
2737
|
|
816
|
-
|
817
|
-
|
2738
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
2739
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
818
2740
|
|
819
|
-
|
2741
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
820
2742
|
|
821
|
-
:param
|
822
|
-
|
2743
|
+
:param bool allow_control_chars: (optional)
|
2744
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2745
|
+
By default, the response will not allow control characters in strings
|
823
2746
|
|
824
|
-
:
|
825
|
-
|
2747
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
2748
|
+
:rtype: :class:`~oci.response.Response`
|
826
2749
|
|
827
|
-
:
|
828
|
-
|
2750
|
+
:example:
|
2751
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/update_onboarding.py.html>`__ to see an example of how to use update_onboarding API.
|
2752
|
+
"""
|
2753
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2754
|
+
required_arguments = ['onboardingId']
|
2755
|
+
resource_path = "/Onboardings/{onboardingId}"
|
2756
|
+
method = "PUT"
|
2757
|
+
operation_name = "update_onboarding"
|
2758
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/Onboarding/UpdateOnboarding"
|
829
2759
|
|
830
|
-
|
2760
|
+
# Don't accept unknown kwargs
|
2761
|
+
expected_kwargs = [
|
2762
|
+
"allow_control_chars",
|
2763
|
+
"retry_strategy",
|
2764
|
+
"if_match",
|
2765
|
+
"opc_request_id"
|
2766
|
+
]
|
2767
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2768
|
+
if extra_kwargs:
|
2769
|
+
raise ValueError(
|
2770
|
+
f"update_onboarding got unknown kwargs: {extra_kwargs!r}")
|
831
2771
|
|
832
|
-
|
833
|
-
|
2772
|
+
path_params = {
|
2773
|
+
"onboardingId": onboarding_id
|
2774
|
+
}
|
2775
|
+
|
2776
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
2777
|
+
|
2778
|
+
for (k, v) in six.iteritems(path_params):
|
2779
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
2780
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
2781
|
+
|
2782
|
+
header_params = {
|
2783
|
+
"accept": "application/json",
|
2784
|
+
"content-type": "application/json",
|
2785
|
+
"if-match": kwargs.get("if_match", missing),
|
2786
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
2787
|
+
}
|
2788
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2789
|
+
|
2790
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2791
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2792
|
+
client_retry_strategy=self.retry_strategy
|
2793
|
+
)
|
2794
|
+
if retry_strategy is None:
|
2795
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
2796
|
+
|
2797
|
+
if retry_strategy:
|
2798
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2799
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
2800
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
2801
|
+
return retry_strategy.make_retrying_call(
|
2802
|
+
self.base_client.call_api,
|
2803
|
+
resource_path=resource_path,
|
2804
|
+
method=method,
|
2805
|
+
path_params=path_params,
|
2806
|
+
header_params=header_params,
|
2807
|
+
body=update_onboarding_details,
|
2808
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2809
|
+
operation_name=operation_name,
|
2810
|
+
api_reference_link=api_reference_link,
|
2811
|
+
required_arguments=required_arguments)
|
2812
|
+
else:
|
2813
|
+
return self.base_client.call_api(
|
2814
|
+
resource_path=resource_path,
|
2815
|
+
method=method,
|
2816
|
+
path_params=path_params,
|
2817
|
+
header_params=header_params,
|
2818
|
+
body=update_onboarding_details,
|
2819
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2820
|
+
operation_name=operation_name,
|
2821
|
+
api_reference_link=api_reference_link,
|
2822
|
+
required_arguments=required_arguments)
|
2823
|
+
|
2824
|
+
def update_platform_configuration(self, platform_configuration_id, update_platform_configuration_details, **kwargs):
|
2825
|
+
"""
|
2826
|
+
Updates the PlatformConfiguration
|
834
2827
|
|
835
|
-
|
2828
|
+
|
2829
|
+
:param str platform_configuration_id: (required)
|
2830
|
+
unique PlatformConfiguration identifier
|
2831
|
+
|
2832
|
+
:param oci.fleet_apps_management.models.UpdatePlatformConfigurationDetails update_platform_configuration_details: (required)
|
2833
|
+
The information to be updated.
|
2834
|
+
|
2835
|
+
:param str if_match: (optional)
|
2836
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
2837
|
+
for a resource, set the `if-match` parameter to the value of the
|
2838
|
+
etag from a previous GET or POST response for that resource.
|
2839
|
+
The resource will be updated or deleted only if the etag you
|
2840
|
+
provide matches the resource's current etag value.
|
836
2841
|
|
837
2842
|
:param str opc_request_id: (optional)
|
838
2843
|
The client request ID for tracing.
|
@@ -849,83 +2854,45 @@ class FleetAppsManagementAdminClient(object):
|
|
849
2854
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
850
2855
|
By default, the response will not allow control characters in strings
|
851
2856
|
|
852
|
-
:return: A :class:`~oci.response.Response` object with data of type
|
2857
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
853
2858
|
:rtype: :class:`~oci.response.Response`
|
854
2859
|
|
855
2860
|
:example:
|
856
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2861
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/update_platform_configuration.py.html>`__ to see an example of how to use update_platform_configuration API.
|
857
2862
|
"""
|
858
2863
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
859
|
-
required_arguments = []
|
860
|
-
resource_path = "/
|
861
|
-
method = "
|
862
|
-
operation_name = "
|
863
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/
|
2864
|
+
required_arguments = ['platformConfigurationId']
|
2865
|
+
resource_path = "/platformConfigurations/{platformConfigurationId}"
|
2866
|
+
method = "PUT"
|
2867
|
+
operation_name = "update_platform_configuration"
|
2868
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/fleet-management/20230831/PlatformConfiguration/UpdatePlatformConfiguration"
|
864
2869
|
|
865
2870
|
# Don't accept unknown kwargs
|
866
2871
|
expected_kwargs = [
|
867
2872
|
"allow_control_chars",
|
868
2873
|
"retry_strategy",
|
869
|
-
"
|
870
|
-
"lifecycle_state",
|
871
|
-
"display_name",
|
872
|
-
"id",
|
873
|
-
"scope",
|
874
|
-
"limit",
|
875
|
-
"page",
|
876
|
-
"sort_order",
|
877
|
-
"sort_by",
|
2874
|
+
"if_match",
|
878
2875
|
"opc_request_id"
|
879
2876
|
]
|
880
2877
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
881
2878
|
if extra_kwargs:
|
882
2879
|
raise ValueError(
|
883
|
-
f"
|
884
|
-
|
885
|
-
if 'lifecycle_state' in kwargs:
|
886
|
-
lifecycle_state_allowed_values = ["ACTIVE", "DELETED", "FAILED"]
|
887
|
-
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
888
|
-
raise ValueError(
|
889
|
-
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
890
|
-
)
|
891
|
-
|
892
|
-
if 'scope' in kwargs:
|
893
|
-
scope_allowed_values = ["TAXONOMY", "PLATFORM_CONFIG"]
|
894
|
-
if kwargs['scope'] not in scope_allowed_values:
|
895
|
-
raise ValueError(
|
896
|
-
f"Invalid value for `scope`, must be one of { scope_allowed_values }"
|
897
|
-
)
|
2880
|
+
f"update_platform_configuration got unknown kwargs: {extra_kwargs!r}")
|
898
2881
|
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
raise ValueError(
|
903
|
-
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
904
|
-
)
|
2882
|
+
path_params = {
|
2883
|
+
"platformConfigurationId": platform_configuration_id
|
2884
|
+
}
|
905
2885
|
|
906
|
-
|
907
|
-
sort_by_allowed_values = ["timeCreated", "displayName"]
|
908
|
-
if kwargs['sort_by'] not in sort_by_allowed_values:
|
909
|
-
raise ValueError(
|
910
|
-
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
911
|
-
)
|
2886
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
912
2887
|
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
"displayName": kwargs.get("display_name", missing),
|
917
|
-
"id": kwargs.get("id", missing),
|
918
|
-
"scope": kwargs.get("scope", missing),
|
919
|
-
"limit": kwargs.get("limit", missing),
|
920
|
-
"page": kwargs.get("page", missing),
|
921
|
-
"sortOrder": kwargs.get("sort_order", missing),
|
922
|
-
"sortBy": kwargs.get("sort_by", missing)
|
923
|
-
}
|
924
|
-
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
2888
|
+
for (k, v) in six.iteritems(path_params):
|
2889
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
2890
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
925
2891
|
|
926
2892
|
header_params = {
|
927
2893
|
"accept": "application/json",
|
928
2894
|
"content-type": "application/json",
|
2895
|
+
"if-match": kwargs.get("if_match", missing),
|
929
2896
|
"opc-request-id": kwargs.get("opc_request_id", missing)
|
930
2897
|
}
|
931
2898
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -945,9 +2912,9 @@ class FleetAppsManagementAdminClient(object):
|
|
945
2912
|
self.base_client.call_api,
|
946
2913
|
resource_path=resource_path,
|
947
2914
|
method=method,
|
948
|
-
|
2915
|
+
path_params=path_params,
|
949
2916
|
header_params=header_params,
|
950
|
-
|
2917
|
+
body=update_platform_configuration_details,
|
951
2918
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
952
2919
|
operation_name=operation_name,
|
953
2920
|
api_reference_link=api_reference_link,
|
@@ -956,9 +2923,9 @@ class FleetAppsManagementAdminClient(object):
|
|
956
2923
|
return self.base_client.call_api(
|
957
2924
|
resource_path=resource_path,
|
958
2925
|
method=method,
|
959
|
-
|
2926
|
+
path_params=path_params,
|
960
2927
|
header_params=header_params,
|
961
|
-
|
2928
|
+
body=update_platform_configuration_details,
|
962
2929
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
963
2930
|
operation_name=operation_name,
|
964
2931
|
api_reference_link=api_reference_link,
|
@@ -966,7 +2933,7 @@ class FleetAppsManagementAdminClient(object):
|
|
966
2933
|
|
967
2934
|
def update_property(self, property_id, update_property_details, **kwargs):
|
968
2935
|
"""
|
969
|
-
|
2936
|
+
Update a property in Fleet Application Management.
|
970
2937
|
|
971
2938
|
|
972
2939
|
:param str property_id: (required)
|
@@ -1001,7 +2968,7 @@ class FleetAppsManagementAdminClient(object):
|
|
1001
2968
|
:rtype: :class:`~oci.response.Response`
|
1002
2969
|
|
1003
2970
|
:example:
|
1004
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2971
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.137.0/fleetappsmanagement/update_property.py.html>`__ to see an example of how to use update_property API.
|
1005
2972
|
"""
|
1006
2973
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1007
2974
|
required_arguments = ['propertyId']
|