oci 2.124.2__py3-none-any.whl → 2.125.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +43 -43
- oci/ai_speech/ai_service_speech_client.py +10 -10
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +51 -51
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +19 -19
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +176 -177
- oci/cloud_guard/models/activity_problem_aggregation.py +1 -1
- oci/cloud_guard/models/condition_metadata_type.py +1 -1
- oci/cloud_guard/models/configuration.py +1 -1
- oci/cloud_guard/models/create_data_source_details.py +47 -0
- oci/cloud_guard/models/create_managed_list_details.py +11 -3
- oci/cloud_guard/models/data_mask_rule.py +1 -1
- oci/cloud_guard/models/detector.py +1 -1
- oci/cloud_guard/models/detector_recipe.py +1 -1
- oci/cloud_guard/models/detector_recipe_detector_rule.py +12 -4
- oci/cloud_guard/models/detector_recipe_detector_rule_summary.py +11 -3
- oci/cloud_guard/models/detector_rule.py +12 -4
- oci/cloud_guard/models/detector_rule_summary.py +11 -3
- oci/cloud_guard/models/impacted_resource_summary.py +1 -1
- oci/cloud_guard/models/managed_list.py +12 -4
- oci/cloud_guard/models/managed_list_summary.py +11 -3
- oci/cloud_guard/models/managed_list_type_summary.py +1 -1
- oci/cloud_guard/models/policy_summary.py +1 -1
- oci/cloud_guard/models/problem.py +1 -1
- oci/cloud_guard/models/problem_aggregation.py +1 -1
- oci/cloud_guard/models/problem_endpoint_summary.py +1 -1
- oci/cloud_guard/models/problem_trend_aggregation.py +1 -1
- oci/cloud_guard/models/target_detector_recipe_detector_rule.py +11 -3
- oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.py +11 -3
- oci/cloud_migrations/migration_client.py +43 -43
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +242 -242
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +148 -148
- 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 +272 -272
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +327 -327
- oci/database/models/autonomous_database.py +93 -0
- oci/database/models/autonomous_database_summary.py +93 -0
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +146 -2
- oci/database/models/update_autonomous_database_details.py +93 -0
- oci/database_management/db_management_client.py +194 -194
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +148 -8
- oci/database_management/models/__init__.py +14 -0
- oci/database_management/models/heat_wave_cluster_usage_metrics.py +340 -0
- oci/database_management/models/heat_wave_fleet_by_category.py +134 -0
- oci/database_management/models/heat_wave_fleet_metric_definition.py +196 -0
- oci/database_management/models/heat_wave_fleet_metric_summary_definition.py +165 -0
- oci/database_management/models/heat_wave_fleet_metrics.py +165 -0
- oci/database_management/models/heat_wave_fleet_summary.py +103 -0
- oci/database_management/models/heat_wave_node.py +154 -0
- oci/database_management/models/managed_my_sql_database.py +250 -2
- oci/database_management/models/my_sql_data_summary.py +64 -2
- oci/database_management/models/my_sql_database_usage_metrics.py +93 -0
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +92 -92
- oci/devops/models/__init__.py +2 -0
- oci/devops/models/create_oke_helm_chart_deploy_stage_details.py +109 -0
- oci/devops/models/create_repository_details.py +2 -2
- oci/devops/models/deploy_artifact.py +7 -3
- oci/devops/models/deploy_artifact_source.py +4 -0
- oci/devops/models/devops_code_repository_filter.py +2 -2
- oci/devops/models/devops_code_repository_filter_attributes.py +2 -2
- oci/devops/models/diff_summary.py +37 -2
- oci/devops/models/helm_command_spec_artifact_source.py +126 -0
- oci/devops/models/oke_helm_chart_deploy_stage.py +113 -2
- oci/devops/models/oke_helm_chart_deploy_stage_summary.py +109 -0
- oci/devops/models/repository.py +17 -5
- oci/devops/models/repository_author_summary.py +37 -2
- oci/devops/models/repository_branch_summary.py +7 -0
- oci/devops/models/repository_commit_summary.py +37 -2
- oci/devops/models/repository_mirror_record_summary.py +37 -2
- oci/devops/models/repository_path_summary.py +37 -2
- oci/devops/models/repository_ref_summary.py +37 -2
- oci/devops/models/repository_summary.py +2 -2
- oci/devops/models/repository_tag_summary.py +7 -0
- oci/devops/models/update_oke_helm_chart_deploy_stage_details.py +109 -0
- oci/devops/models/update_repository_details.py +2 -2
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +135 -41
- oci/email/models/__init__.py +2 -0
- oci/email/models/configuration.py +138 -0
- oci/email/models/create_dkim_details.py +4 -4
- oci/email/models/create_email_domain_details.py +6 -2
- oci/email/models/dkim.py +8 -8
- oci/email/models/dkim_collection.py +1 -1
- oci/email/models/email_domain.py +6 -6
- oci/email/models/email_domain_collection.py +1 -1
- oci/email/models/email_domain_summary.py +6 -6
- oci/email/models/sender.py +41 -4
- oci/email/models/sender_summary.py +41 -28
- oci/email/models/suppression.py +12 -4
- oci/email/models/suppression_summary.py +6 -2
- oci/email/models/work_request.py +13 -5
- oci/email/models/work_request_error.py +8 -6
- oci/email/models/work_request_resource.py +7 -3
- oci/email/models/work_request_summary.py +13 -5
- oci/email_data_plane/__init__.py +14 -0
- oci/email_data_plane/email_dp_client.py +206 -0
- oci/email_data_plane/email_dp_client_composite_operations.py +26 -0
- oci/email_data_plane/models/__init__.py +22 -0
- oci/email_data_plane/models/email_address.py +107 -0
- oci/email_data_plane/models/email_submitted_response.py +136 -0
- oci/email_data_plane/models/recipients.py +135 -0
- oci/email_data_plane/models/sender.py +103 -0
- oci/email_data_plane/models/submit_email_details.py +297 -0
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +3 -3
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +29 -29
- oci/golden_gate/golden_gate_client.py +61 -61
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/load_balancer/models/create_ssl_cipher_suite_details.py +102 -0
- oci/load_balancer/models/ssl_cipher_suite.py +102 -0
- oci/load_balancer/models/ssl_cipher_suite_details.py +102 -0
- oci/load_balancer/models/ssl_configuration.py +2 -0
- oci/load_balancer/models/ssl_configuration_details.py +2 -0
- oci/load_balancer/models/update_ssl_cipher_suite_details.py +16 -0
- oci/lockbox/lockbox_client.py +23 -23
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/logging/models/__init__.py +52 -0
- oci/logging/models/create_unified_agent_configuration_details.py +2 -2
- oci/logging/models/grep_filter_allow_rule.py +103 -0
- oci/logging/models/grep_filter_deny_rule.py +103 -0
- oci/logging/models/operational_metrics_source.py +1 -1
- oci/logging/models/record_transformer_pair.py +103 -0
- oci/logging/models/unified_agent_apache2_parser.py +1 -1
- oci/logging/models/unified_agent_apache_error_parser.py +1 -1
- oci/logging/models/unified_agent_auditd_parser.py +1 -1
- oci/logging/models/unified_agent_configuration_summary.py +7 -3
- oci/logging/models/unified_agent_cri_parser.py +1 -1
- oci/logging/models/unified_agent_csv_parser.py +1 -1
- oci/logging/models/unified_agent_custom_filter.py +151 -0
- oci/logging/models/unified_agent_custom_plugin_log_source.py +89 -0
- oci/logging/models/unified_agent_custom_section.py +103 -0
- oci/logging/models/unified_agent_grok_parser.py +1 -1
- oci/logging/models/unified_agent_kubernetes_configuration_details.py +132 -0
- oci/logging/models/unified_agent_kubernetes_filter.py +121 -0
- oci/logging/models/unified_agent_kubernetes_scrape_target.py +189 -0
- oci/logging/models/unified_agent_kubernetes_source.py +103 -0
- oci/logging/models/unified_agent_logging_configuration.py +32 -1
- oci/logging/models/unified_agent_logging_filter.py +156 -0
- oci/logging/models/unified_agent_logging_grep_filter.py +121 -0
- oci/logging/models/unified_agent_logging_record_transformer_filter.py +276 -0
- oci/logging/models/unified_agent_logging_source.py +11 -3
- oci/logging/models/unified_agent_monitoring_application_configuration_details.py +117 -0
- oci/logging/models/unified_agent_monitoring_configuration_details.py +82 -0
- oci/logging/models/unified_agent_monitoring_destination.py +103 -0
- oci/logging/models/unified_agent_monitoring_filter.py +140 -0
- oci/logging/models/unified_agent_monitoring_url_source.py +103 -0
- oci/logging/models/unified_agent_msgpack_parser.py +1 -1
- oci/logging/models/unified_agent_multiline_grok_parser.py +1 -1
- oci/logging/models/unified_agent_multiline_parser.py +1 -1
- oci/logging/models/unified_agent_none_parser.py +1 -1
- oci/logging/models/unified_agent_openmetrics_parser.py +127 -0
- oci/logging/models/unified_agent_openmetrics_parser_record.py +134 -0
- oci/logging/models/unified_agent_openmetrics_tail_configuration_details.py +109 -0
- oci/logging/models/unified_agent_parser.py +11 -3
- oci/logging/models/unified_agent_parser_filter.py +338 -0
- oci/logging/models/unified_agent_regex_parser.py +1 -1
- oci/logging/models/unified_agent_service_configuration_details.py +11 -3
- oci/logging/models/unified_agent_syslog_parser.py +1 -1
- oci/logging/models/unified_agent_tail_log_source.py +30 -3
- oci/logging/models/unified_agent_tail_source_advanced_options.py +72 -0
- oci/logging/models/unified_agent_tsv_parser.py +1 -1
- oci/logging/models/unified_agent_url_configuration_details.py +132 -0
- oci/logging/models/unified_agent_url_filter.py +120 -0
- oci/logging/models/unified_agent_url_scrape_target.py +103 -0
- oci/logging/models/unified_agent_windows_event_source.py +1 -1
- oci/logging/models/unified_json_parser.py +65 -3
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/models/__init__.py +2 -0
- oci/monitoring/models/alarm.py +107 -0
- oci/monitoring/models/alarm_dimension_states_entry.py +35 -0
- oci/monitoring/models/alarm_override.py +304 -0
- oci/monitoring/models/alarm_status_summary.py +35 -0
- oci/monitoring/models/alarm_summary.py +109 -2
- oci/monitoring/models/create_alarm_details.py +109 -2
- oci/monitoring/models/update_alarm_details.py +109 -2
- oci/monitoring/monitoring_client.py +23 -22
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/models/backend.py +3 -3
- oci/network_load_balancer/models/backend_details.py +2 -2
- oci/network_load_balancer/models/backend_set.py +1 -1
- oci/network_load_balancer/models/backend_set_details.py +1 -1
- oci/network_load_balancer/models/backend_set_summary.py +1 -1
- oci/network_load_balancer/models/backend_summary.py +3 -3
- oci/network_load_balancer/models/create_backend_details.py +3 -3
- oci/network_load_balancer/models/create_backend_set_details.py +1 -1
- oci/network_load_balancer/models/create_listener_details.py +7 -9
- oci/network_load_balancer/models/create_network_load_balancer_details.py +144 -6
- oci/network_load_balancer/models/health_checker.py +1 -1
- oci/network_load_balancer/models/health_checker_details.py +1 -1
- oci/network_load_balancer/models/listener.py +6 -8
- oci/network_load_balancer/models/listener_details.py +6 -8
- oci/network_load_balancer/models/listener_summary.py +6 -8
- oci/network_load_balancer/models/network_load_balancer.py +43 -6
- oci/network_load_balancer/models/network_load_balancer_summary.py +42 -5
- oci/network_load_balancer/models/update_backend_details.py +4 -4
- oci/network_load_balancer/models/update_backend_set_details.py +1 -1
- oci/network_load_balancer/models/update_listener_details.py +5 -7
- oci/network_load_balancer/models/update_network_load_balancer_details.py +106 -3
- oci/network_load_balancer/models/work_request.py +7 -3
- oci/network_load_balancer/models/work_request_summary.py +7 -3
- oci/network_load_balancer/network_load_balancer_client.py +136 -68
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +11 -11
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +350 -350
- 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/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- 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 +23 -23
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +28 -28
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/METADATA +1 -1
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/RECORD +420 -375
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/WHEEL +0 -0
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/top_level.txt +0 -0
oci/devops/models/__init__.py
CHANGED
@@ -268,6 +268,7 @@ from .gitlab_server_trigger_summary import GitlabServerTriggerSummary
|
|
268
268
|
from .gitlab_trigger import GitlabTrigger
|
269
269
|
from .gitlab_trigger_create_result import GitlabTriggerCreateResult
|
270
270
|
from .gitlab_trigger_summary import GitlabTriggerSummary
|
271
|
+
from .helm_command_spec_artifact_source import HelmCommandSpecArtifactSource
|
271
272
|
from .helm_repository_deploy_artifact_source import HelmRepositoryDeployArtifactSource
|
272
273
|
from .helm_set_value import HelmSetValue
|
273
274
|
from .helm_set_value_collection import HelmSetValueCollection
|
@@ -720,6 +721,7 @@ devops_type_mapping = {
|
|
720
721
|
"GitlabTrigger": GitlabTrigger,
|
721
722
|
"GitlabTriggerCreateResult": GitlabTriggerCreateResult,
|
722
723
|
"GitlabTriggerSummary": GitlabTriggerSummary,
|
724
|
+
"HelmCommandSpecArtifactSource": HelmCommandSpecArtifactSource,
|
723
725
|
"HelmRepositoryDeployArtifactSource": HelmRepositoryDeployArtifactSource,
|
724
726
|
"HelmSetValue": HelmSetValue,
|
725
727
|
"HelmSetValueCollection": HelmSetValueCollection,
|
@@ -15,6 +15,14 @@ class CreateOkeHelmChartDeployStageDetails(CreateDeployStageDetails):
|
|
15
15
|
Specifies the Helm chart deployment to a Kubernetes cluster stage.
|
16
16
|
"""
|
17
17
|
|
18
|
+
#: A constant which can be used with the purpose property of a CreateOkeHelmChartDeployStageDetails.
|
19
|
+
#: This constant has a value of "EXECUTE_HELM_UPGRADE"
|
20
|
+
PURPOSE_EXECUTE_HELM_UPGRADE = "EXECUTE_HELM_UPGRADE"
|
21
|
+
|
22
|
+
#: A constant which can be used with the purpose property of a CreateOkeHelmChartDeployStageDetails.
|
23
|
+
#: This constant has a value of "EXECUTE_HELM_COMMAND"
|
24
|
+
PURPOSE_EXECUTE_HELM_COMMAND = "EXECUTE_HELM_COMMAND"
|
25
|
+
|
18
26
|
def __init__(self, **kwargs):
|
19
27
|
"""
|
20
28
|
Initializes a new CreateOkeHelmChartDeployStageDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.CreateOkeHelmChartDeployStageDetails.deploy_stage_type` attribute
|
@@ -65,6 +73,19 @@ class CreateOkeHelmChartDeployStageDetails(CreateDeployStageDetails):
|
|
65
73
|
The value to assign to the release_name property of this CreateOkeHelmChartDeployStageDetails.
|
66
74
|
:type release_name: str
|
67
75
|
|
76
|
+
:param is_uninstall_on_stage_delete:
|
77
|
+
The value to assign to the is_uninstall_on_stage_delete property of this CreateOkeHelmChartDeployStageDetails.
|
78
|
+
:type is_uninstall_on_stage_delete: bool
|
79
|
+
|
80
|
+
:param helm_command_artifact_ids:
|
81
|
+
The value to assign to the helm_command_artifact_ids property of this CreateOkeHelmChartDeployStageDetails.
|
82
|
+
:type helm_command_artifact_ids: list[str]
|
83
|
+
|
84
|
+
:param purpose:
|
85
|
+
The value to assign to the purpose property of this CreateOkeHelmChartDeployStageDetails.
|
86
|
+
Allowed values for this property are: "EXECUTE_HELM_UPGRADE", "EXECUTE_HELM_COMMAND"
|
87
|
+
:type purpose: str
|
88
|
+
|
68
89
|
:param namespace:
|
69
90
|
The value to assign to the namespace property of this CreateOkeHelmChartDeployStageDetails.
|
70
91
|
:type namespace: str
|
@@ -138,6 +159,9 @@ class CreateOkeHelmChartDeployStageDetails(CreateDeployStageDetails):
|
|
138
159
|
'helm_chart_deploy_artifact_id': 'str',
|
139
160
|
'values_artifact_ids': 'list[str]',
|
140
161
|
'release_name': 'str',
|
162
|
+
'is_uninstall_on_stage_delete': 'bool',
|
163
|
+
'helm_command_artifact_ids': 'list[str]',
|
164
|
+
'purpose': 'str',
|
141
165
|
'namespace': 'str',
|
142
166
|
'timeout_in_seconds': 'int',
|
143
167
|
'rollback_policy': 'DeployStageRollbackPolicy',
|
@@ -167,6 +191,9 @@ class CreateOkeHelmChartDeployStageDetails(CreateDeployStageDetails):
|
|
167
191
|
'helm_chart_deploy_artifact_id': 'helmChartDeployArtifactId',
|
168
192
|
'values_artifact_ids': 'valuesArtifactIds',
|
169
193
|
'release_name': 'releaseName',
|
194
|
+
'is_uninstall_on_stage_delete': 'isUninstallOnStageDelete',
|
195
|
+
'helm_command_artifact_ids': 'helmCommandArtifactIds',
|
196
|
+
'purpose': 'purpose',
|
170
197
|
'namespace': 'namespace',
|
171
198
|
'timeout_in_seconds': 'timeoutInSeconds',
|
172
199
|
'rollback_policy': 'rollbackPolicy',
|
@@ -195,6 +222,9 @@ class CreateOkeHelmChartDeployStageDetails(CreateDeployStageDetails):
|
|
195
222
|
self._helm_chart_deploy_artifact_id = None
|
196
223
|
self._values_artifact_ids = None
|
197
224
|
self._release_name = None
|
225
|
+
self._is_uninstall_on_stage_delete = None
|
226
|
+
self._helm_command_artifact_ids = None
|
227
|
+
self._purpose = None
|
198
228
|
self._namespace = None
|
199
229
|
self._timeout_in_seconds = None
|
200
230
|
self._rollback_policy = None
|
@@ -308,6 +338,85 @@ class CreateOkeHelmChartDeployStageDetails(CreateDeployStageDetails):
|
|
308
338
|
"""
|
309
339
|
self._release_name = release_name
|
310
340
|
|
341
|
+
@property
|
342
|
+
def is_uninstall_on_stage_delete(self):
|
343
|
+
"""
|
344
|
+
Gets the is_uninstall_on_stage_delete of this CreateOkeHelmChartDeployStageDetails.
|
345
|
+
Uninstall the Helm chart release on deleting the stage.
|
346
|
+
|
347
|
+
|
348
|
+
:return: The is_uninstall_on_stage_delete of this CreateOkeHelmChartDeployStageDetails.
|
349
|
+
:rtype: bool
|
350
|
+
"""
|
351
|
+
return self._is_uninstall_on_stage_delete
|
352
|
+
|
353
|
+
@is_uninstall_on_stage_delete.setter
|
354
|
+
def is_uninstall_on_stage_delete(self, is_uninstall_on_stage_delete):
|
355
|
+
"""
|
356
|
+
Sets the is_uninstall_on_stage_delete of this CreateOkeHelmChartDeployStageDetails.
|
357
|
+
Uninstall the Helm chart release on deleting the stage.
|
358
|
+
|
359
|
+
|
360
|
+
:param is_uninstall_on_stage_delete: The is_uninstall_on_stage_delete of this CreateOkeHelmChartDeployStageDetails.
|
361
|
+
:type: bool
|
362
|
+
"""
|
363
|
+
self._is_uninstall_on_stage_delete = is_uninstall_on_stage_delete
|
364
|
+
|
365
|
+
@property
|
366
|
+
def helm_command_artifact_ids(self):
|
367
|
+
"""
|
368
|
+
Gets the helm_command_artifact_ids of this CreateOkeHelmChartDeployStageDetails.
|
369
|
+
List of Helm command artifact OCIDs.
|
370
|
+
|
371
|
+
|
372
|
+
:return: The helm_command_artifact_ids of this CreateOkeHelmChartDeployStageDetails.
|
373
|
+
:rtype: list[str]
|
374
|
+
"""
|
375
|
+
return self._helm_command_artifact_ids
|
376
|
+
|
377
|
+
@helm_command_artifact_ids.setter
|
378
|
+
def helm_command_artifact_ids(self, helm_command_artifact_ids):
|
379
|
+
"""
|
380
|
+
Sets the helm_command_artifact_ids of this CreateOkeHelmChartDeployStageDetails.
|
381
|
+
List of Helm command artifact OCIDs.
|
382
|
+
|
383
|
+
|
384
|
+
:param helm_command_artifact_ids: The helm_command_artifact_ids of this CreateOkeHelmChartDeployStageDetails.
|
385
|
+
:type: list[str]
|
386
|
+
"""
|
387
|
+
self._helm_command_artifact_ids = helm_command_artifact_ids
|
388
|
+
|
389
|
+
@property
|
390
|
+
def purpose(self):
|
391
|
+
"""
|
392
|
+
Gets the purpose of this CreateOkeHelmChartDeployStageDetails.
|
393
|
+
The purpose of running this Helm stage
|
394
|
+
|
395
|
+
Allowed values for this property are: "EXECUTE_HELM_UPGRADE", "EXECUTE_HELM_COMMAND"
|
396
|
+
|
397
|
+
|
398
|
+
:return: The purpose of this CreateOkeHelmChartDeployStageDetails.
|
399
|
+
:rtype: str
|
400
|
+
"""
|
401
|
+
return self._purpose
|
402
|
+
|
403
|
+
@purpose.setter
|
404
|
+
def purpose(self, purpose):
|
405
|
+
"""
|
406
|
+
Sets the purpose of this CreateOkeHelmChartDeployStageDetails.
|
407
|
+
The purpose of running this Helm stage
|
408
|
+
|
409
|
+
|
410
|
+
:param purpose: The purpose of this CreateOkeHelmChartDeployStageDetails.
|
411
|
+
:type: str
|
412
|
+
"""
|
413
|
+
allowed_values = ["EXECUTE_HELM_UPGRADE", "EXECUTE_HELM_COMMAND"]
|
414
|
+
if not value_allowed_none_or_none_sentinel(purpose, allowed_values):
|
415
|
+
raise ValueError(
|
416
|
+
f"Invalid value for `purpose`, must be None or one of {allowed_values}"
|
417
|
+
)
|
418
|
+
self._purpose = purpose
|
419
|
+
|
311
420
|
@property
|
312
421
|
def namespace(self):
|
313
422
|
"""
|
@@ -88,7 +88,7 @@ class CreateRepositoryDetails(object):
|
|
88
88
|
def name(self):
|
89
89
|
"""
|
90
90
|
**[Required]** Gets the name of this CreateRepositoryDetails.
|
91
|
-
|
91
|
+
Name of the repository. Should be unique within the project.
|
92
92
|
|
93
93
|
|
94
94
|
:return: The name of this CreateRepositoryDetails.
|
@@ -100,7 +100,7 @@ class CreateRepositoryDetails(object):
|
|
100
100
|
def name(self, name):
|
101
101
|
"""
|
102
102
|
Sets the name of this CreateRepositoryDetails.
|
103
|
-
|
103
|
+
Name of the repository. Should be unique within the project.
|
104
104
|
|
105
105
|
|
106
106
|
:param name: The name of this CreateRepositoryDetails.
|
@@ -39,6 +39,10 @@ class DeployArtifact(object):
|
|
39
39
|
#: This constant has a value of "HELM_CHART"
|
40
40
|
DEPLOY_ARTIFACT_TYPE_HELM_CHART = "HELM_CHART"
|
41
41
|
|
42
|
+
#: A constant which can be used with the deploy_artifact_type property of a DeployArtifact.
|
43
|
+
#: This constant has a value of "HELM_COMMAND_SPEC"
|
44
|
+
DEPLOY_ARTIFACT_TYPE_HELM_COMMAND_SPEC = "HELM_COMMAND_SPEC"
|
45
|
+
|
42
46
|
#: A constant which can be used with the deploy_artifact_type property of a DeployArtifact.
|
43
47
|
#: This constant has a value of "COMMAND_SPEC"
|
44
48
|
DEPLOY_ARTIFACT_TYPE_COMMAND_SPEC = "COMMAND_SPEC"
|
@@ -102,7 +106,7 @@ class DeployArtifact(object):
|
|
102
106
|
|
103
107
|
:param deploy_artifact_type:
|
104
108
|
The value to assign to the deploy_artifact_type property of this DeployArtifact.
|
105
|
-
Allowed values for this property are: "DEPLOYMENT_SPEC", "JOB_SPEC", "KUBERNETES_MANIFEST", "GENERIC_FILE", "DOCKER_IMAGE", "HELM_CHART", "COMMAND_SPEC", 'UNKNOWN_ENUM_VALUE'.
|
109
|
+
Allowed values for this property are: "DEPLOYMENT_SPEC", "JOB_SPEC", "KUBERNETES_MANIFEST", "GENERIC_FILE", "DOCKER_IMAGE", "HELM_CHART", "HELM_COMMAND_SPEC", "COMMAND_SPEC", 'UNKNOWN_ENUM_VALUE'.
|
106
110
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
107
111
|
:type deploy_artifact_type: str
|
108
112
|
|
@@ -325,7 +329,7 @@ class DeployArtifact(object):
|
|
325
329
|
**[Required]** Gets the deploy_artifact_type of this DeployArtifact.
|
326
330
|
Type of the deployment artifact.
|
327
331
|
|
328
|
-
Allowed values for this property are: "DEPLOYMENT_SPEC", "JOB_SPEC", "KUBERNETES_MANIFEST", "GENERIC_FILE", "DOCKER_IMAGE", "HELM_CHART", "COMMAND_SPEC", 'UNKNOWN_ENUM_VALUE'.
|
332
|
+
Allowed values for this property are: "DEPLOYMENT_SPEC", "JOB_SPEC", "KUBERNETES_MANIFEST", "GENERIC_FILE", "DOCKER_IMAGE", "HELM_CHART", "HELM_COMMAND_SPEC", "COMMAND_SPEC", 'UNKNOWN_ENUM_VALUE'.
|
329
333
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
330
334
|
|
331
335
|
|
@@ -344,7 +348,7 @@ class DeployArtifact(object):
|
|
344
348
|
:param deploy_artifact_type: The deploy_artifact_type of this DeployArtifact.
|
345
349
|
:type: str
|
346
350
|
"""
|
347
|
-
allowed_values = ["DEPLOYMENT_SPEC", "JOB_SPEC", "KUBERNETES_MANIFEST", "GENERIC_FILE", "DOCKER_IMAGE", "HELM_CHART", "COMMAND_SPEC"]
|
351
|
+
allowed_values = ["DEPLOYMENT_SPEC", "JOB_SPEC", "KUBERNETES_MANIFEST", "GENERIC_FILE", "DOCKER_IMAGE", "HELM_CHART", "HELM_COMMAND_SPEC", "COMMAND_SPEC"]
|
348
352
|
if not value_allowed_none_or_none_sentinel(deploy_artifact_type, allowed_values):
|
349
353
|
deploy_artifact_type = 'UNKNOWN_ENUM_VALUE'
|
350
354
|
self._deploy_artifact_type = deploy_artifact_type
|
@@ -39,6 +39,7 @@ class DeployArtifactSource(object):
|
|
39
39
|
* :class:`~oci.devops.models.GenericDeployArtifactSource`
|
40
40
|
* :class:`~oci.devops.models.HelmRepositoryDeployArtifactSource`
|
41
41
|
* :class:`~oci.devops.models.OcirDeployArtifactSource`
|
42
|
+
* :class:`~oci.devops.models.HelmCommandSpecArtifactSource`
|
42
43
|
* :class:`~oci.devops.models.InlineDeployArtifactSource`
|
43
44
|
|
44
45
|
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
@@ -77,6 +78,9 @@ class DeployArtifactSource(object):
|
|
77
78
|
if type == 'OCIR':
|
78
79
|
return 'OcirDeployArtifactSource'
|
79
80
|
|
81
|
+
if type == 'HELM_COMMAND_SPEC':
|
82
|
+
return 'HelmCommandSpecArtifactSource'
|
83
|
+
|
80
84
|
if type == 'INLINE':
|
81
85
|
return 'InlineDeployArtifactSource'
|
82
86
|
else:
|
@@ -68,7 +68,7 @@ class DevopsCodeRepositoryFilter(Filter):
|
|
68
68
|
def events(self):
|
69
69
|
"""
|
70
70
|
Gets the events of this DevopsCodeRepositoryFilter.
|
71
|
-
The events
|
71
|
+
The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
|
72
72
|
|
73
73
|
Allowed values for items in this list are: "PUSH", 'UNKNOWN_ENUM_VALUE'.
|
74
74
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
@@ -83,7 +83,7 @@ class DevopsCodeRepositoryFilter(Filter):
|
|
83
83
|
def events(self, events):
|
84
84
|
"""
|
85
85
|
Sets the events of this DevopsCodeRepositoryFilter.
|
86
|
-
The events
|
86
|
+
The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
|
87
87
|
|
88
88
|
|
89
89
|
:param events: The events of this DevopsCodeRepositoryFilter.
|
@@ -46,7 +46,7 @@ class DevopsCodeRepositoryFilterAttributes(object):
|
|
46
46
|
def head_ref(self):
|
47
47
|
"""
|
48
48
|
Gets the head_ref of this DevopsCodeRepositoryFilterAttributes.
|
49
|
-
Branch for push event
|
49
|
+
Branch for push event; source branch for pull requests
|
50
50
|
|
51
51
|
|
52
52
|
:return: The head_ref of this DevopsCodeRepositoryFilterAttributes.
|
@@ -58,7 +58,7 @@ class DevopsCodeRepositoryFilterAttributes(object):
|
|
58
58
|
def head_ref(self, head_ref):
|
59
59
|
"""
|
60
60
|
Sets the head_ref of this DevopsCodeRepositoryFilterAttributes.
|
61
|
-
Branch for push event
|
61
|
+
Branch for push event; source branch for pull requests
|
62
62
|
|
63
63
|
|
64
64
|
:param head_ref: The head_ref of this DevopsCodeRepositoryFilterAttributes.
|
@@ -60,6 +60,10 @@ class DiffSummary(object):
|
|
60
60
|
The value to assign to the defined_tags property of this DiffSummary.
|
61
61
|
:type defined_tags: dict(str, dict(str, object))
|
62
62
|
|
63
|
+
:param system_tags:
|
64
|
+
The value to assign to the system_tags property of this DiffSummary.
|
65
|
+
:type system_tags: dict(str, dict(str, object))
|
66
|
+
|
63
67
|
"""
|
64
68
|
self.swagger_types = {
|
65
69
|
'old_path': 'str',
|
@@ -71,7 +75,8 @@ class DiffSummary(object):
|
|
71
75
|
'is_binary': 'bool',
|
72
76
|
'changes': 'list[DiffChunk]',
|
73
77
|
'freeform_tags': 'dict(str, str)',
|
74
|
-
'defined_tags': 'dict(str, dict(str, object))'
|
78
|
+
'defined_tags': 'dict(str, dict(str, object))',
|
79
|
+
'system_tags': 'dict(str, dict(str, object))'
|
75
80
|
}
|
76
81
|
|
77
82
|
self.attribute_map = {
|
@@ -84,7 +89,8 @@ class DiffSummary(object):
|
|
84
89
|
'is_binary': 'isBinary',
|
85
90
|
'changes': 'changes',
|
86
91
|
'freeform_tags': 'freeformTags',
|
87
|
-
'defined_tags': 'definedTags'
|
92
|
+
'defined_tags': 'definedTags',
|
93
|
+
'system_tags': 'systemTags'
|
88
94
|
}
|
89
95
|
|
90
96
|
self._old_path = None
|
@@ -97,6 +103,7 @@ class DiffSummary(object):
|
|
97
103
|
self._changes = None
|
98
104
|
self._freeform_tags = None
|
99
105
|
self._defined_tags = None
|
106
|
+
self._system_tags = None
|
100
107
|
|
101
108
|
@property
|
102
109
|
def old_path(self):
|
@@ -346,6 +353,34 @@ class DiffSummary(object):
|
|
346
353
|
"""
|
347
354
|
self._defined_tags = defined_tags
|
348
355
|
|
356
|
+
@property
|
357
|
+
def system_tags(self):
|
358
|
+
"""
|
359
|
+
Gets the system_tags of this DiffSummary.
|
360
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. See `Resource Tags`__. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
361
|
+
|
362
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
363
|
+
|
364
|
+
|
365
|
+
:return: The system_tags of this DiffSummary.
|
366
|
+
:rtype: dict(str, dict(str, object))
|
367
|
+
"""
|
368
|
+
return self._system_tags
|
369
|
+
|
370
|
+
@system_tags.setter
|
371
|
+
def system_tags(self, system_tags):
|
372
|
+
"""
|
373
|
+
Sets the system_tags of this DiffSummary.
|
374
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. See `Resource Tags`__. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
375
|
+
|
376
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
377
|
+
|
378
|
+
|
379
|
+
:param system_tags: The system_tags of this DiffSummary.
|
380
|
+
:type: dict(str, dict(str, object))
|
381
|
+
"""
|
382
|
+
self._system_tags = system_tags
|
383
|
+
|
349
384
|
def __repr__(self):
|
350
385
|
return formatted_flat_dict(self)
|
351
386
|
|
@@ -0,0 +1,126 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210630
|
6
|
+
|
7
|
+
from .deploy_artifact_source import DeployArtifactSource
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class HelmCommandSpecArtifactSource(DeployArtifactSource):
|
14
|
+
"""
|
15
|
+
Specifies Helm command spec details
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the helm_artifact_source_type property of a HelmCommandSpecArtifactSource.
|
19
|
+
#: This constant has a value of "INLINE"
|
20
|
+
HELM_ARTIFACT_SOURCE_TYPE_INLINE = "INLINE"
|
21
|
+
|
22
|
+
def __init__(self, **kwargs):
|
23
|
+
"""
|
24
|
+
Initializes a new HelmCommandSpecArtifactSource object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.HelmCommandSpecArtifactSource.deploy_artifact_source_type` attribute
|
25
|
+
of this class is ``HELM_COMMAND_SPEC`` and it should not be changed.
|
26
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
27
|
+
|
28
|
+
:param deploy_artifact_source_type:
|
29
|
+
The value to assign to the deploy_artifact_source_type property of this HelmCommandSpecArtifactSource.
|
30
|
+
Allowed values for this property are: "INLINE", "OCIR", "GENERIC_ARTIFACT", "HELM_CHART", 'UNKNOWN_ENUM_VALUE'.
|
31
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
32
|
+
:type deploy_artifact_source_type: str
|
33
|
+
|
34
|
+
:param base64_encoded_content:
|
35
|
+
The value to assign to the base64_encoded_content property of this HelmCommandSpecArtifactSource.
|
36
|
+
:type base64_encoded_content: str
|
37
|
+
|
38
|
+
:param helm_artifact_source_type:
|
39
|
+
The value to assign to the helm_artifact_source_type property of this HelmCommandSpecArtifactSource.
|
40
|
+
Allowed values for this property are: "INLINE", 'UNKNOWN_ENUM_VALUE'.
|
41
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
42
|
+
:type helm_artifact_source_type: str
|
43
|
+
|
44
|
+
"""
|
45
|
+
self.swagger_types = {
|
46
|
+
'deploy_artifact_source_type': 'str',
|
47
|
+
'base64_encoded_content': 'str',
|
48
|
+
'helm_artifact_source_type': 'str'
|
49
|
+
}
|
50
|
+
|
51
|
+
self.attribute_map = {
|
52
|
+
'deploy_artifact_source_type': 'deployArtifactSourceType',
|
53
|
+
'base64_encoded_content': 'base64EncodedContent',
|
54
|
+
'helm_artifact_source_type': 'helmArtifactSourceType'
|
55
|
+
}
|
56
|
+
|
57
|
+
self._deploy_artifact_source_type = None
|
58
|
+
self._base64_encoded_content = None
|
59
|
+
self._helm_artifact_source_type = None
|
60
|
+
self._deploy_artifact_source_type = 'HELM_COMMAND_SPEC'
|
61
|
+
|
62
|
+
@property
|
63
|
+
def base64_encoded_content(self):
|
64
|
+
"""
|
65
|
+
**[Required]** Gets the base64_encoded_content of this HelmCommandSpecArtifactSource.
|
66
|
+
The Helm commands to be executed, base 64 encoded
|
67
|
+
|
68
|
+
|
69
|
+
:return: The base64_encoded_content of this HelmCommandSpecArtifactSource.
|
70
|
+
:rtype: str
|
71
|
+
"""
|
72
|
+
return self._base64_encoded_content
|
73
|
+
|
74
|
+
@base64_encoded_content.setter
|
75
|
+
def base64_encoded_content(self, base64_encoded_content):
|
76
|
+
"""
|
77
|
+
Sets the base64_encoded_content of this HelmCommandSpecArtifactSource.
|
78
|
+
The Helm commands to be executed, base 64 encoded
|
79
|
+
|
80
|
+
|
81
|
+
:param base64_encoded_content: The base64_encoded_content of this HelmCommandSpecArtifactSource.
|
82
|
+
:type: str
|
83
|
+
"""
|
84
|
+
self._base64_encoded_content = base64_encoded_content
|
85
|
+
|
86
|
+
@property
|
87
|
+
def helm_artifact_source_type(self):
|
88
|
+
"""
|
89
|
+
**[Required]** Gets the helm_artifact_source_type of this HelmCommandSpecArtifactSource.
|
90
|
+
Specifies types of artifact sources.
|
91
|
+
|
92
|
+
Allowed values for this property are: "INLINE", 'UNKNOWN_ENUM_VALUE'.
|
93
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
94
|
+
|
95
|
+
|
96
|
+
:return: The helm_artifact_source_type of this HelmCommandSpecArtifactSource.
|
97
|
+
:rtype: str
|
98
|
+
"""
|
99
|
+
return self._helm_artifact_source_type
|
100
|
+
|
101
|
+
@helm_artifact_source_type.setter
|
102
|
+
def helm_artifact_source_type(self, helm_artifact_source_type):
|
103
|
+
"""
|
104
|
+
Sets the helm_artifact_source_type of this HelmCommandSpecArtifactSource.
|
105
|
+
Specifies types of artifact sources.
|
106
|
+
|
107
|
+
|
108
|
+
:param helm_artifact_source_type: The helm_artifact_source_type of this HelmCommandSpecArtifactSource.
|
109
|
+
:type: str
|
110
|
+
"""
|
111
|
+
allowed_values = ["INLINE"]
|
112
|
+
if not value_allowed_none_or_none_sentinel(helm_artifact_source_type, allowed_values):
|
113
|
+
helm_artifact_source_type = 'UNKNOWN_ENUM_VALUE'
|
114
|
+
self._helm_artifact_source_type = helm_artifact_source_type
|
115
|
+
|
116
|
+
def __repr__(self):
|
117
|
+
return formatted_flat_dict(self)
|
118
|
+
|
119
|
+
def __eq__(self, other):
|
120
|
+
if other is None:
|
121
|
+
return False
|
122
|
+
|
123
|
+
return self.__dict__ == other.__dict__
|
124
|
+
|
125
|
+
def __ne__(self, other):
|
126
|
+
return not self == other
|
@@ -15,6 +15,14 @@ class OkeHelmChartDeployStage(DeployStage):
|
|
15
15
|
Specifies the OKE cluster deployment stage using helm charts.
|
16
16
|
"""
|
17
17
|
|
18
|
+
#: A constant which can be used with the purpose property of a OkeHelmChartDeployStage.
|
19
|
+
#: This constant has a value of "EXECUTE_HELM_UPGRADE"
|
20
|
+
PURPOSE_EXECUTE_HELM_UPGRADE = "EXECUTE_HELM_UPGRADE"
|
21
|
+
|
22
|
+
#: A constant which can be used with the purpose property of a OkeHelmChartDeployStage.
|
23
|
+
#: This constant has a value of "EXECUTE_HELM_COMMAND"
|
24
|
+
PURPOSE_EXECUTE_HELM_COMMAND = "EXECUTE_HELM_COMMAND"
|
25
|
+
|
18
26
|
def __init__(self, **kwargs):
|
19
27
|
"""
|
20
28
|
Initializes a new OkeHelmChartDeployStage object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.OkeHelmChartDeployStage.deploy_stage_type` attribute
|
@@ -47,7 +55,8 @@ class OkeHelmChartDeployStage(DeployStage):
|
|
47
55
|
|
48
56
|
:param deploy_stage_type:
|
49
57
|
The value to assign to the deploy_stage_type property of this OkeHelmChartDeployStage.
|
50
|
-
Allowed values for this property are: "WAIT", "COMPUTE_INSTANCE_GROUP_ROLLING_DEPLOYMENT", "COMPUTE_INSTANCE_GROUP_BLUE_GREEN_DEPLOYMENT", "COMPUTE_INSTANCE_GROUP_BLUE_GREEN_TRAFFIC_SHIFT", "COMPUTE_INSTANCE_GROUP_CANARY_DEPLOYMENT", "COMPUTE_INSTANCE_GROUP_CANARY_TRAFFIC_SHIFT", "COMPUTE_INSTANCE_GROUP_CANARY_APPROVAL", "OKE_BLUE_GREEN_DEPLOYMENT", "OKE_BLUE_GREEN_TRAFFIC_SHIFT", "OKE_CANARY_DEPLOYMENT", "OKE_CANARY_TRAFFIC_SHIFT", "OKE_CANARY_APPROVAL", "OKE_DEPLOYMENT", "DEPLOY_FUNCTION", "INVOKE_FUNCTION", "LOAD_BALANCER_TRAFFIC_SHIFT", "MANUAL_APPROVAL", "OKE_HELM_CHART_DEPLOYMENT", "SHELL"
|
58
|
+
Allowed values for this property are: "WAIT", "COMPUTE_INSTANCE_GROUP_ROLLING_DEPLOYMENT", "COMPUTE_INSTANCE_GROUP_BLUE_GREEN_DEPLOYMENT", "COMPUTE_INSTANCE_GROUP_BLUE_GREEN_TRAFFIC_SHIFT", "COMPUTE_INSTANCE_GROUP_CANARY_DEPLOYMENT", "COMPUTE_INSTANCE_GROUP_CANARY_TRAFFIC_SHIFT", "COMPUTE_INSTANCE_GROUP_CANARY_APPROVAL", "OKE_BLUE_GREEN_DEPLOYMENT", "OKE_BLUE_GREEN_TRAFFIC_SHIFT", "OKE_CANARY_DEPLOYMENT", "OKE_CANARY_TRAFFIC_SHIFT", "OKE_CANARY_APPROVAL", "OKE_DEPLOYMENT", "DEPLOY_FUNCTION", "INVOKE_FUNCTION", "LOAD_BALANCER_TRAFFIC_SHIFT", "MANUAL_APPROVAL", "OKE_HELM_CHART_DEPLOYMENT", "SHELL", 'UNKNOWN_ENUM_VALUE'.
|
59
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
51
60
|
:type deploy_stage_type: str
|
52
61
|
|
53
62
|
:param time_created:
|
@@ -60,7 +69,8 @@ class OkeHelmChartDeployStage(DeployStage):
|
|
60
69
|
|
61
70
|
:param lifecycle_state:
|
62
71
|
The value to assign to the lifecycle_state property of this OkeHelmChartDeployStage.
|
63
|
-
Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
|
72
|
+
Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
73
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
64
74
|
:type lifecycle_state: str
|
65
75
|
|
66
76
|
:param lifecycle_details:
|
@@ -99,6 +109,20 @@ class OkeHelmChartDeployStage(DeployStage):
|
|
99
109
|
The value to assign to the release_name property of this OkeHelmChartDeployStage.
|
100
110
|
:type release_name: str
|
101
111
|
|
112
|
+
:param is_uninstall_on_stage_delete:
|
113
|
+
The value to assign to the is_uninstall_on_stage_delete property of this OkeHelmChartDeployStage.
|
114
|
+
:type is_uninstall_on_stage_delete: bool
|
115
|
+
|
116
|
+
:param helm_command_artifact_ids:
|
117
|
+
The value to assign to the helm_command_artifact_ids property of this OkeHelmChartDeployStage.
|
118
|
+
:type helm_command_artifact_ids: list[str]
|
119
|
+
|
120
|
+
:param purpose:
|
121
|
+
The value to assign to the purpose property of this OkeHelmChartDeployStage.
|
122
|
+
Allowed values for this property are: "EXECUTE_HELM_UPGRADE", "EXECUTE_HELM_COMMAND", 'UNKNOWN_ENUM_VALUE'.
|
123
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
124
|
+
:type purpose: str
|
125
|
+
|
102
126
|
:param namespace:
|
103
127
|
The value to assign to the namespace property of this OkeHelmChartDeployStage.
|
104
128
|
:type namespace: str
|
@@ -180,6 +204,9 @@ class OkeHelmChartDeployStage(DeployStage):
|
|
180
204
|
'helm_chart_deploy_artifact_id': 'str',
|
181
205
|
'values_artifact_ids': 'list[str]',
|
182
206
|
'release_name': 'str',
|
207
|
+
'is_uninstall_on_stage_delete': 'bool',
|
208
|
+
'helm_command_artifact_ids': 'list[str]',
|
209
|
+
'purpose': 'str',
|
183
210
|
'namespace': 'str',
|
184
211
|
'timeout_in_seconds': 'int',
|
185
212
|
'rollback_policy': 'DeployStageRollbackPolicy',
|
@@ -217,6 +244,9 @@ class OkeHelmChartDeployStage(DeployStage):
|
|
217
244
|
'helm_chart_deploy_artifact_id': 'helmChartDeployArtifactId',
|
218
245
|
'values_artifact_ids': 'valuesArtifactIds',
|
219
246
|
'release_name': 'releaseName',
|
247
|
+
'is_uninstall_on_stage_delete': 'isUninstallOnStageDelete',
|
248
|
+
'helm_command_artifact_ids': 'helmCommandArtifactIds',
|
249
|
+
'purpose': 'purpose',
|
220
250
|
'namespace': 'namespace',
|
221
251
|
'timeout_in_seconds': 'timeoutInSeconds',
|
222
252
|
'rollback_policy': 'rollbackPolicy',
|
@@ -253,6 +283,9 @@ class OkeHelmChartDeployStage(DeployStage):
|
|
253
283
|
self._helm_chart_deploy_artifact_id = None
|
254
284
|
self._values_artifact_ids = None
|
255
285
|
self._release_name = None
|
286
|
+
self._is_uninstall_on_stage_delete = None
|
287
|
+
self._helm_command_artifact_ids = None
|
288
|
+
self._purpose = None
|
256
289
|
self._namespace = None
|
257
290
|
self._timeout_in_seconds = None
|
258
291
|
self._rollback_policy = None
|
@@ -366,6 +399,84 @@ class OkeHelmChartDeployStage(DeployStage):
|
|
366
399
|
"""
|
367
400
|
self._release_name = release_name
|
368
401
|
|
402
|
+
@property
|
403
|
+
def is_uninstall_on_stage_delete(self):
|
404
|
+
"""
|
405
|
+
Gets the is_uninstall_on_stage_delete of this OkeHelmChartDeployStage.
|
406
|
+
Uninstall the Helm chart release on deleting the stage.
|
407
|
+
|
408
|
+
|
409
|
+
:return: The is_uninstall_on_stage_delete of this OkeHelmChartDeployStage.
|
410
|
+
:rtype: bool
|
411
|
+
"""
|
412
|
+
return self._is_uninstall_on_stage_delete
|
413
|
+
|
414
|
+
@is_uninstall_on_stage_delete.setter
|
415
|
+
def is_uninstall_on_stage_delete(self, is_uninstall_on_stage_delete):
|
416
|
+
"""
|
417
|
+
Sets the is_uninstall_on_stage_delete of this OkeHelmChartDeployStage.
|
418
|
+
Uninstall the Helm chart release on deleting the stage.
|
419
|
+
|
420
|
+
|
421
|
+
:param is_uninstall_on_stage_delete: The is_uninstall_on_stage_delete of this OkeHelmChartDeployStage.
|
422
|
+
:type: bool
|
423
|
+
"""
|
424
|
+
self._is_uninstall_on_stage_delete = is_uninstall_on_stage_delete
|
425
|
+
|
426
|
+
@property
|
427
|
+
def helm_command_artifact_ids(self):
|
428
|
+
"""
|
429
|
+
Gets the helm_command_artifact_ids of this OkeHelmChartDeployStage.
|
430
|
+
List of Helm command artifact OCIDs.
|
431
|
+
|
432
|
+
|
433
|
+
:return: The helm_command_artifact_ids of this OkeHelmChartDeployStage.
|
434
|
+
:rtype: list[str]
|
435
|
+
"""
|
436
|
+
return self._helm_command_artifact_ids
|
437
|
+
|
438
|
+
@helm_command_artifact_ids.setter
|
439
|
+
def helm_command_artifact_ids(self, helm_command_artifact_ids):
|
440
|
+
"""
|
441
|
+
Sets the helm_command_artifact_ids of this OkeHelmChartDeployStage.
|
442
|
+
List of Helm command artifact OCIDs.
|
443
|
+
|
444
|
+
|
445
|
+
:param helm_command_artifact_ids: The helm_command_artifact_ids of this OkeHelmChartDeployStage.
|
446
|
+
:type: list[str]
|
447
|
+
"""
|
448
|
+
self._helm_command_artifact_ids = helm_command_artifact_ids
|
449
|
+
|
450
|
+
@property
|
451
|
+
def purpose(self):
|
452
|
+
"""
|
453
|
+
Gets the purpose of this OkeHelmChartDeployStage.
|
454
|
+
The purpose of running this Helm stage
|
455
|
+
|
456
|
+
Allowed values for this property are: "EXECUTE_HELM_UPGRADE", "EXECUTE_HELM_COMMAND", 'UNKNOWN_ENUM_VALUE'.
|
457
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
458
|
+
|
459
|
+
|
460
|
+
:return: The purpose of this OkeHelmChartDeployStage.
|
461
|
+
:rtype: str
|
462
|
+
"""
|
463
|
+
return self._purpose
|
464
|
+
|
465
|
+
@purpose.setter
|
466
|
+
def purpose(self, purpose):
|
467
|
+
"""
|
468
|
+
Sets the purpose of this OkeHelmChartDeployStage.
|
469
|
+
The purpose of running this Helm stage
|
470
|
+
|
471
|
+
|
472
|
+
:param purpose: The purpose of this OkeHelmChartDeployStage.
|
473
|
+
:type: str
|
474
|
+
"""
|
475
|
+
allowed_values = ["EXECUTE_HELM_UPGRADE", "EXECUTE_HELM_COMMAND"]
|
476
|
+
if not value_allowed_none_or_none_sentinel(purpose, allowed_values):
|
477
|
+
purpose = 'UNKNOWN_ENUM_VALUE'
|
478
|
+
self._purpose = purpose
|
479
|
+
|
369
480
|
@property
|
370
481
|
def namespace(self):
|
371
482
|
"""
|