oci 2.122.0__py3-none-any.whl → 2.123.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/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 +36 -36
- oci/ai_speech/ai_service_speech_client.py +9 -9
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- 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 +133 -133
- 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 +31 -19
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +111 -101
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +8 -0
- oci/core/models/attach_volume_details.py +6 -4
- oci/core/models/launch_attach_i_scsi_volume_details.py +203 -0
- oci/core/models/launch_attach_volume_details.py +279 -0
- oci/core/models/launch_create_volume_details.py +101 -0
- oci/core/models/launch_create_volume_from_attributes.py +240 -0
- oci/core/models/launch_instance_details.py +31 -0
- 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 +287 -153
- oci/data_catalog/models/__init__.py +4 -0
- oci/data_catalog/models/asynchronous_export_data_asset_details.py +99 -0
- oci/data_catalog/models/asynchronous_export_data_asset_result.py +196 -0
- oci/data_catalog/models/create_job_definition_details.py +7 -3
- oci/data_catalog/models/create_job_execution_details.py +7 -3
- oci/data_catalog/models/job.py +7 -3
- oci/data_catalog/models/job_definition.py +7 -3
- oci/data_catalog/models/job_definition_summary.py +7 -3
- oci/data_catalog/models/job_execution.py +7 -3
- oci/data_catalog/models/job_execution_summary.py +7 -3
- oci/data_catalog/models/job_summary.py +7 -3
- 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 +351 -344
- oci/database/models/__init__.py +2 -2
- oci/database/models/autonomous_container_database.py +24 -30
- oci/database/models/autonomous_container_database_dataguard_association.py +37 -13
- oci/database/models/autonomous_container_database_resource_usage.py +6 -6
- oci/database/models/autonomous_container_database_summary.py +24 -30
- oci/database/models/autonomous_database.py +52 -71
- oci/database/models/autonomous_database_backup.py +6 -6
- oci/database/models/autonomous_database_backup_summary.py +6 -6
- oci/database/models/autonomous_database_dataguard_association.py +63 -11
- oci/database/models/autonomous_database_key_history_entry.py +4 -4
- oci/database/models/autonomous_database_summary.py +52 -71
- oci/database/models/autonomous_db_preview_version_summary.py +1 -1
- oci/database/models/autonomous_vm_cluster.py +14 -14
- oci/database/models/autonomous_vm_cluster_summary.py +14 -14
- oci/database/models/backup.py +6 -6
- oci/database/models/backup_summary.py +6 -6
- oci/database/models/cloud_autonomous_vm_cluster.py +16 -16
- oci/database/models/cloud_autonomous_vm_cluster_summary.py +16 -16
- oci/database/models/cloud_exadata_infrastructure.py +72 -0
- oci/database/models/cloud_exadata_infrastructure_summary.py +72 -0
- oci/database/models/cloud_vm_cluster.py +37 -0
- oci/database/models/cloud_vm_cluster_summary.py +37 -0
- oci/database/models/compute_performance_summary.py +2 -2
- oci/database/models/configure_autonomous_database_vault_key_details.py +2 -2
- oci/database/models/create_autonomous_container_database_dataguard_association_details.py +67 -1
- oci/database/models/create_autonomous_container_database_details.py +6 -6
- oci/database/models/create_autonomous_database_base.py +51 -68
- oci/database/models/create_autonomous_database_clone_details.py +0 -7
- oci/database/models/create_autonomous_database_details.py +0 -7
- oci/database/models/create_autonomous_database_from_backup_details.py +0 -7
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +0 -7
- oci/database/models/create_autonomous_vm_cluster_details.py +2 -2
- oci/database/models/create_cloud_autonomous_vm_cluster_details.py +6 -6
- oci/database/models/create_cloud_exadata_infrastructure_details.py +35 -0
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +0 -7
- oci/database/models/create_cross_region_disaster_recovery_details.py +0 -7
- oci/database/models/create_data_guard_association_with_new_db_system_details.py +4 -4
- oci/database/models/create_database_base.py +2 -2
- oci/database/models/create_database_details.py +4 -4
- oci/database/models/create_db_home_base.py +2 -2
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +0 -7
- oci/database/models/database.py +6 -6
- oci/database/models/database_connection_credentials.py +4 -4
- oci/database/models/{database_connection_credentails_by_name.py → database_connection_credentials_by_name.py} +8 -8
- oci/database/models/database_summary.py +6 -6
- oci/database/models/key_store_type_from_oracle_key_vault_details.py +2 -2
- oci/database/models/launch_db_system_base.py +2 -2
- oci/database/models/migrate_vault_key_details.py +4 -4
- oci/database/models/update_autonomous_database_details.py +45 -66
- oci/database/models/update_autonomous_vm_cluster_details.py +6 -6
- oci/database/models/update_cloud_autonomous_vm_cluster_details.py +10 -10
- oci/database_management/db_management_client.py +832 -198
- oci/database_management/db_management_client_composite_operations.py +188 -0
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +6 -6
- oci/database_management/models/__init__.py +10 -0
- oci/database_management/models/child_database.py +80 -2
- oci/database_management/models/create_db_management_private_endpoint_details.py +80 -2
- oci/database_management/models/create_external_db_system_details.py +80 -2
- oci/database_management/models/create_external_db_system_discovery_details.py +80 -2
- oci/database_management/models/create_external_db_system_macs_connector_details.py +80 -2
- oci/database_management/models/create_external_exadata_infrastructure_details.py +80 -2
- oci/database_management/models/create_external_exadata_storage_connector_details.py +80 -2
- oci/database_management/models/create_managed_database_group_details.py +80 -2
- oci/database_management/models/create_named_credential_details.py +80 -2
- oci/database_management/models/create_sql_job_details.py +80 -2
- oci/database_management/models/db_management_private_endpoint.py +80 -2
- oci/database_management/models/db_management_private_endpoint_summary.py +80 -2
- oci/database_management/models/external_asm.py +80 -2
- oci/database_management/models/external_asm_instance.py +80 -2
- oci/database_management/models/external_asm_instance_summary.py +80 -2
- oci/database_management/models/external_asm_summary.py +80 -2
- oci/database_management/models/external_cluster.py +80 -2
- oci/database_management/models/external_cluster_instance.py +80 -2
- oci/database_management/models/external_cluster_instance_summary.py +80 -2
- oci/database_management/models/external_cluster_summary.py +80 -2
- oci/database_management/models/external_database_summary.py +80 -2
- oci/database_management/models/external_db_home.py +80 -2
- oci/database_management/models/external_db_home_summary.py +80 -2
- oci/database_management/models/external_db_node.py +80 -2
- oci/database_management/models/external_db_node_summary.py +80 -2
- oci/database_management/models/external_db_system.py +80 -2
- oci/database_management/models/external_db_system_connector_summary.py +80 -2
- oci/database_management/models/external_db_system_discovery.py +80 -2
- oci/database_management/models/external_db_system_discovery_summary.py +80 -2
- oci/database_management/models/external_db_system_macs_connector.py +80 -2
- oci/database_management/models/external_db_system_summary.py +80 -2
- oci/database_management/models/external_exadata_infrastructure.py +80 -2
- oci/database_management/models/external_exadata_infrastructure_summary.py +80 -2
- oci/database_management/models/external_exadata_storage_connector.py +80 -2
- oci/database_management/models/external_exadata_storage_connector_summary.py +80 -2
- oci/database_management/models/external_exadata_storage_grid.py +80 -2
- oci/database_management/models/external_exadata_storage_server.py +80 -2
- oci/database_management/models/external_exadata_storage_server_summary.py +80 -2
- oci/database_management/models/external_listener.py +80 -2
- oci/database_management/models/external_listener_summary.py +80 -2
- oci/database_management/models/job_summary.py +80 -2
- oci/database_management/models/managed_database.py +111 -2
- oci/database_management/models/managed_database_group.py +80 -2
- oci/database_management/models/managed_database_group_summary.py +80 -2
- oci/database_management/models/managed_database_summary.py +111 -2
- oci/database_management/models/named_credential.py +80 -2
- oci/database_management/models/named_credential_summary.py +80 -2
- oci/database_management/models/sql_job.py +80 -2
- oci/database_management/models/update_db_management_private_endpoint_details.py +80 -2
- oci/database_management/models/update_external_asm_details.py +80 -2
- oci/database_management/models/update_external_asm_instance_details.py +119 -0
- oci/database_management/models/update_external_cluster_details.py +80 -2
- oci/database_management/models/update_external_cluster_instance_details.py +80 -2
- oci/database_management/models/update_external_db_home_details.py +119 -0
- oci/database_management/models/update_external_db_node_details.py +80 -2
- oci/database_management/models/update_external_db_system_details.py +80 -2
- oci/database_management/models/update_external_db_system_discovery_details.py +80 -2
- oci/database_management/models/update_external_db_system_macs_connector_details.py +80 -2
- oci/database_management/models/update_external_exadata_infrastructure_details.py +80 -2
- oci/database_management/models/update_external_exadata_storage_connector_details.py +80 -2
- oci/database_management/models/update_external_exadata_storage_grid_details.py +119 -0
- oci/database_management/models/update_external_exadata_storage_server_details.py +119 -0
- oci/database_management/models/update_external_listener_details.py +80 -2
- oci/database_management/models/update_managed_database_details.py +119 -0
- oci/database_management/models/update_managed_database_group_details.py +80 -2
- oci/database_management/models/update_named_credential_details.py +80 -2
- oci/database_management/models/update_sql_job_details.py +80 -2
- 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 +89 -89
- 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 +25 -25
- 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/key_management/models/__init__.py +2 -0
- oci/key_management/models/auto_key_rotation_details.py +247 -0
- oci/key_management/models/create_key_details.py +58 -0
- oci/key_management/models/import_key_details.py +58 -0
- oci/key_management/models/key.py +58 -0
- oci/key_management/models/key_summary.py +33 -2
- oci/key_management/models/key_version.py +33 -2
- oci/key_management/models/key_version_summary.py +33 -2
- oci/key_management/models/update_key_details.py +58 -0
- 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 +23 -23
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +419 -56
- oci/oda/management_client_composite_operations.py +132 -0
- oci/oda/models/__init__.py +42 -0
- oci/oda/models/bot.py +31 -0
- oci/oda/models/bulk_create_skill_entities_details.py +72 -0
- oci/oda/models/clone_skill_details.py +7 -0
- oci/oda/models/composite_entity.py +154 -0
- oci/oda/models/create_new_skill_details.py +7 -0
- oci/oda/models/create_oda_instance_attachment_details.py +7 -3
- oci/oda/models/create_skill_composite_entity_details.py +147 -0
- oci/oda/models/create_skill_details.py +31 -0
- oci/oda/models/create_skill_entity_details.py +140 -0
- oci/oda/models/create_skill_value_list_entity_details.py +89 -0
- oci/oda/models/create_skill_version_details.py +7 -0
- oci/oda/models/digital_assistant.py +31 -0
- oci/oda/models/entity.py +171 -0
- oci/oda/models/entity_action.py +161 -0
- oci/oda/models/entity_action_argument.py +263 -0
- oci/oda/models/entity_action_argument_natural_language_mapping.py +72 -0
- oci/oda/models/entity_action_natural_language_mapping.py +72 -0
- oci/oda/models/entity_attribute.py +345 -0
- oci/oda/models/entity_attribute_natural_language_mapping.py +72 -0
- oci/oda/models/entity_natural_language_mapping.py +72 -0
- oci/oda/models/extend_skill_details.py +7 -0
- oci/oda/models/language_mapping.py +134 -0
- oci/oda/models/name_mapping.py +72 -0
- oci/oda/models/oda_instance_attachment.py +7 -3
- oci/oda/models/oda_instance_attachment_summary.py +7 -3
- oci/oda/models/skill.py +31 -0
- oci/oda/models/static_entity_value.py +99 -0
- oci/oda/models/static_entity_value_natural_language_mapping.py +72 -0
- oci/oda/models/train_skill_details.py +72 -0
- oci/oda/models/train_skill_parameter.py +101 -0
- oci/oda/models/train_skill_query_entity_parameter.py +51 -0
- oci/oda/models/value_list_entity.py +96 -0
- oci/oda/models/work_request.py +15 -3
- 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 +118 -9
- oci/operator_access_control/models/__init__.py +11 -1
- oci/operator_access_control/models/access_request.py +221 -0
- oci/operator_access_control/models/access_request_summary.py +35 -0
- oci/operator_access_control/models/approver_detail.py +235 -0
- oci/operator_access_control/models/assignment_validation_status.py +317 -0
- oci/operator_access_control/models/audit_log_report.py +193 -0
- oci/operator_access_control/models/create_operator_control_assignment_details.py +31 -0
- oci/operator_access_control/models/create_operator_control_details.py +31 -0
- oci/operator_access_control/models/operator_control.py +31 -0
- oci/operator_access_control/models/operator_control_assignment.py +62 -0
- oci/operator_access_control/models/operator_control_assignment_summary.py +93 -0
- oci/operator_access_control/models/operator_control_summary.py +31 -0
- oci/operator_access_control/models/status_detail.py +169 -0
- oci/operator_access_control/models/update_operator_control_assignment_details.py +31 -0
- oci/operator_access_control/models/update_operator_control_details.py +31 -0
- oci/operator_access_control/models/validate_operator_assignment_details.py +72 -0
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +224 -6
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +175 -175
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/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/__init__.py +3 -1
- oci/sch/connector_plugins_client.py +386 -0
- oci/sch/connector_plugins_client_composite_operations.py +26 -0
- oci/sch/models/__init__.py +16 -0
- oci/sch/models/change_service_connector_compartment_details.py +3 -3
- oci/sch/models/connector_plugin.py +355 -0
- oci/sch/models/connector_plugin_collection.py +72 -0
- oci/sch/models/connector_plugin_summary.py +322 -0
- oci/sch/models/create_service_connector_details.py +3 -3
- oci/sch/models/dimension_details.py +2 -2
- oci/sch/models/function_task_details.py +2 -2
- oci/sch/models/functions_target_details.py +98 -5
- oci/sch/models/latest_streaming_cursor.py +4 -2
- oci/sch/models/log_rule_task_details.py +5 -5
- oci/sch/models/log_source.py +4 -0
- oci/sch/models/logging_analytics_target_details.py +5 -5
- oci/sch/models/logging_source_details.py +3 -3
- oci/sch/models/monitoring_source.py +2 -2
- oci/sch/models/monitoring_source_details.py +5 -5
- oci/sch/models/monitoring_source_metric_details.py +2 -2
- oci/sch/models/monitoring_target_details.py +3 -3
- oci/sch/models/notifications_target_details.py +5 -5
- oci/sch/models/object_storage_target_details.py +9 -5
- oci/sch/models/plugin_source_details.py +123 -0
- oci/sch/models/service_connector.py +14 -14
- oci/sch/models/service_connector_collection.py +1 -1
- oci/sch/models/service_connector_summary.py +11 -11
- oci/sch/models/source_connector_plugin.py +132 -0
- oci/sch/models/source_connector_plugin_summary.py +125 -0
- oci/sch/models/source_details.py +19 -11
- oci/sch/models/streaming_cursor_details.py +7 -4
- oci/sch/models/streaming_source_details.py +5 -1
- oci/sch/models/streaming_target_details.py +3 -3
- oci/sch/models/target_connector_plugin.py +99 -0
- oci/sch/models/target_connector_plugin_summary.py +92 -0
- oci/sch/models/target_details.py +8 -8
- oci/sch/models/task_details.py +8 -8
- oci/sch/models/trim_horizon_streaming_cursor.py +4 -2
- oci/sch/models/update_service_connector_details.py +1 -1
- oci/sch/models/work_request.py +2 -2
- oci/sch/service_connector_client.py +138 -81
- oci/sch/service_connector_client_composite_operations.py +7 -7
- 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/models/__init__.py +8 -0
- oci/vault/models/bytes_generation_context.py +107 -0
- oci/vault/models/create_secret_details.py +61 -3
- oci/vault/models/passphrase_generation_context.py +138 -0
- oci/vault/models/secret.py +60 -2
- oci/vault/models/secret_generation_context.py +152 -0
- oci/vault/models/secret_summary.py +60 -2
- oci/vault/models/secret_version.py +33 -2
- oci/vault/models/secret_version_summary.py +33 -2
- oci/vault/models/ssh_key_generation_context.py +111 -0
- oci/vault/models/update_secret_details.py +60 -2
- 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.122.0.dist-info → oci-2.123.0.dist-info}/METADATA +3 -3
- {oci-2.122.0.dist-info → oci-2.123.0.dist-info}/RECORD +494 -442
- {oci-2.122.0.dist-info → oci-2.123.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.122.0.dist-info → oci-2.123.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.122.0.dist-info → oci-2.123.0.dist-info}/WHEEL +0 -0
- {oci-2.122.0.dist-info → oci-2.123.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,107 @@
|
|
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: 20180608
|
6
|
+
|
7
|
+
from .secret_generation_context import SecretGenerationContext
|
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 BytesGenerationContext(SecretGenerationContext):
|
14
|
+
"""
|
15
|
+
Generates random bytes. By default, secrets of type Bytes has no structure. The generated bytes are stored as a Base64 encoded string.
|
16
|
+
The SecretTemplate must have the %GENERATED_BYTES% keyword which is replaced with the generated bytes, if provided
|
17
|
+
"""
|
18
|
+
|
19
|
+
#: A constant which can be used with the generation_template property of a BytesGenerationContext.
|
20
|
+
#: This constant has a value of "BYTES_512"
|
21
|
+
GENERATION_TEMPLATE_BYTES_512 = "BYTES_512"
|
22
|
+
|
23
|
+
#: A constant which can be used with the generation_template property of a BytesGenerationContext.
|
24
|
+
#: This constant has a value of "BYTES_1024"
|
25
|
+
GENERATION_TEMPLATE_BYTES_1024 = "BYTES_1024"
|
26
|
+
|
27
|
+
def __init__(self, **kwargs):
|
28
|
+
"""
|
29
|
+
Initializes a new BytesGenerationContext object with values from keyword arguments. The default value of the :py:attr:`~oci.vault.models.BytesGenerationContext.generation_type` attribute
|
30
|
+
of this class is ``BYTES`` and it should not be changed.
|
31
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
32
|
+
|
33
|
+
:param generation_type:
|
34
|
+
The value to assign to the generation_type property of this BytesGenerationContext.
|
35
|
+
Allowed values for this property are: "PASSPHRASE", "SSH_KEY", "BYTES", 'UNKNOWN_ENUM_VALUE'.
|
36
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
37
|
+
:type generation_type: str
|
38
|
+
|
39
|
+
:param secret_template:
|
40
|
+
The value to assign to the secret_template property of this BytesGenerationContext.
|
41
|
+
:type secret_template: str
|
42
|
+
|
43
|
+
:param generation_template:
|
44
|
+
The value to assign to the generation_template property of this BytesGenerationContext.
|
45
|
+
Allowed values for this property are: "BYTES_512", "BYTES_1024", 'UNKNOWN_ENUM_VALUE'.
|
46
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
47
|
+
:type generation_template: str
|
48
|
+
|
49
|
+
"""
|
50
|
+
self.swagger_types = {
|
51
|
+
'generation_type': 'str',
|
52
|
+
'secret_template': 'str',
|
53
|
+
'generation_template': 'str'
|
54
|
+
}
|
55
|
+
|
56
|
+
self.attribute_map = {
|
57
|
+
'generation_type': 'generationType',
|
58
|
+
'secret_template': 'secretTemplate',
|
59
|
+
'generation_template': 'generationTemplate'
|
60
|
+
}
|
61
|
+
|
62
|
+
self._generation_type = None
|
63
|
+
self._secret_template = None
|
64
|
+
self._generation_template = None
|
65
|
+
self._generation_type = 'BYTES'
|
66
|
+
|
67
|
+
@property
|
68
|
+
def generation_template(self):
|
69
|
+
"""
|
70
|
+
**[Required]** Gets the generation_template of this BytesGenerationContext.
|
71
|
+
Name of random bytes generation template for generating random byte type secret.
|
72
|
+
|
73
|
+
Allowed values for this property are: "BYTES_512", "BYTES_1024", 'UNKNOWN_ENUM_VALUE'.
|
74
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
75
|
+
|
76
|
+
|
77
|
+
:return: The generation_template of this BytesGenerationContext.
|
78
|
+
:rtype: str
|
79
|
+
"""
|
80
|
+
return self._generation_template
|
81
|
+
|
82
|
+
@generation_template.setter
|
83
|
+
def generation_template(self, generation_template):
|
84
|
+
"""
|
85
|
+
Sets the generation_template of this BytesGenerationContext.
|
86
|
+
Name of random bytes generation template for generating random byte type secret.
|
87
|
+
|
88
|
+
|
89
|
+
:param generation_template: The generation_template of this BytesGenerationContext.
|
90
|
+
:type: str
|
91
|
+
"""
|
92
|
+
allowed_values = ["BYTES_512", "BYTES_1024"]
|
93
|
+
if not value_allowed_none_or_none_sentinel(generation_template, allowed_values):
|
94
|
+
generation_template = 'UNKNOWN_ENUM_VALUE'
|
95
|
+
self._generation_template = generation_template
|
96
|
+
|
97
|
+
def __repr__(self):
|
98
|
+
return formatted_flat_dict(self)
|
99
|
+
|
100
|
+
def __eq__(self, other):
|
101
|
+
if other is None:
|
102
|
+
return False
|
103
|
+
|
104
|
+
return self.__dict__ == other.__dict__
|
105
|
+
|
106
|
+
def __ne__(self, other):
|
107
|
+
return not self == other
|
@@ -64,6 +64,14 @@ class CreateSecretDetails(object):
|
|
64
64
|
The value to assign to the vault_id property of this CreateSecretDetails.
|
65
65
|
:type vault_id: str
|
66
66
|
|
67
|
+
:param secret_generation_context:
|
68
|
+
The value to assign to the secret_generation_context property of this CreateSecretDetails.
|
69
|
+
:type secret_generation_context: oci.vault.models.SecretGenerationContext
|
70
|
+
|
71
|
+
:param enable_auto_generation:
|
72
|
+
The value to assign to the enable_auto_generation property of this CreateSecretDetails.
|
73
|
+
:type enable_auto_generation: bool
|
74
|
+
|
67
75
|
"""
|
68
76
|
self.swagger_types = {
|
69
77
|
'compartment_id': 'str',
|
@@ -76,7 +84,9 @@ class CreateSecretDetails(object):
|
|
76
84
|
'rotation_config': 'RotationConfig',
|
77
85
|
'secret_name': 'str',
|
78
86
|
'secret_rules': 'list[SecretRule]',
|
79
|
-
'vault_id': 'str'
|
87
|
+
'vault_id': 'str',
|
88
|
+
'secret_generation_context': 'SecretGenerationContext',
|
89
|
+
'enable_auto_generation': 'bool'
|
80
90
|
}
|
81
91
|
|
82
92
|
self.attribute_map = {
|
@@ -90,7 +100,9 @@ class CreateSecretDetails(object):
|
|
90
100
|
'rotation_config': 'rotationConfig',
|
91
101
|
'secret_name': 'secretName',
|
92
102
|
'secret_rules': 'secretRules',
|
93
|
-
'vault_id': 'vaultId'
|
103
|
+
'vault_id': 'vaultId',
|
104
|
+
'secret_generation_context': 'secretGenerationContext',
|
105
|
+
'enable_auto_generation': 'enableAutoGeneration'
|
94
106
|
}
|
95
107
|
|
96
108
|
self._compartment_id = None
|
@@ -104,6 +116,8 @@ class CreateSecretDetails(object):
|
|
104
116
|
self._secret_name = None
|
105
117
|
self._secret_rules = None
|
106
118
|
self._vault_id = None
|
119
|
+
self._secret_generation_context = None
|
120
|
+
self._enable_auto_generation = None
|
107
121
|
|
108
122
|
@property
|
109
123
|
def compartment_id(self):
|
@@ -220,7 +234,7 @@ class CreateSecretDetails(object):
|
|
220
234
|
@property
|
221
235
|
def key_id(self):
|
222
236
|
"""
|
223
|
-
Gets the key_id of this CreateSecretDetails.
|
237
|
+
**[Required]** Gets the key_id of this CreateSecretDetails.
|
224
238
|
The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify.
|
225
239
|
|
226
240
|
|
@@ -381,6 +395,50 @@ class CreateSecretDetails(object):
|
|
381
395
|
"""
|
382
396
|
self._vault_id = vault_id
|
383
397
|
|
398
|
+
@property
|
399
|
+
def secret_generation_context(self):
|
400
|
+
"""
|
401
|
+
Gets the secret_generation_context of this CreateSecretDetails.
|
402
|
+
|
403
|
+
:return: The secret_generation_context of this CreateSecretDetails.
|
404
|
+
:rtype: oci.vault.models.SecretGenerationContext
|
405
|
+
"""
|
406
|
+
return self._secret_generation_context
|
407
|
+
|
408
|
+
@secret_generation_context.setter
|
409
|
+
def secret_generation_context(self, secret_generation_context):
|
410
|
+
"""
|
411
|
+
Sets the secret_generation_context of this CreateSecretDetails.
|
412
|
+
|
413
|
+
:param secret_generation_context: The secret_generation_context of this CreateSecretDetails.
|
414
|
+
:type: oci.vault.models.SecretGenerationContext
|
415
|
+
"""
|
416
|
+
self._secret_generation_context = secret_generation_context
|
417
|
+
|
418
|
+
@property
|
419
|
+
def enable_auto_generation(self):
|
420
|
+
"""
|
421
|
+
Gets the enable_auto_generation of this CreateSecretDetails.
|
422
|
+
The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false.
|
423
|
+
|
424
|
+
|
425
|
+
:return: The enable_auto_generation of this CreateSecretDetails.
|
426
|
+
:rtype: bool
|
427
|
+
"""
|
428
|
+
return self._enable_auto_generation
|
429
|
+
|
430
|
+
@enable_auto_generation.setter
|
431
|
+
def enable_auto_generation(self, enable_auto_generation):
|
432
|
+
"""
|
433
|
+
Sets the enable_auto_generation of this CreateSecretDetails.
|
434
|
+
The value of this flag determines whether or not secret content will be generated automatically. If not set, it defaults to false.
|
435
|
+
|
436
|
+
|
437
|
+
:param enable_auto_generation: The enable_auto_generation of this CreateSecretDetails.
|
438
|
+
:type: bool
|
439
|
+
"""
|
440
|
+
self._enable_auto_generation = enable_auto_generation
|
441
|
+
|
384
442
|
def __repr__(self):
|
385
443
|
return formatted_flat_dict(self)
|
386
444
|
|
@@ -0,0 +1,138 @@
|
|
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: 20180608
|
6
|
+
|
7
|
+
from .secret_generation_context import SecretGenerationContext
|
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 PassphraseGenerationContext(SecretGenerationContext):
|
14
|
+
"""
|
15
|
+
Generates Passphrase type secrets. By default, passphrase type secrets have no structure. The generated content is stored in Base64 format.
|
16
|
+
The SecretTemplate must have the %GENERATED_PASSPHRASE% keyword, which is later replaced with the generated content, if provided.
|
17
|
+
"""
|
18
|
+
|
19
|
+
#: A constant which can be used with the generation_template property of a PassphraseGenerationContext.
|
20
|
+
#: This constant has a value of "SECRETS_DEFAULT_PASSWORD"
|
21
|
+
GENERATION_TEMPLATE_SECRETS_DEFAULT_PASSWORD = "SECRETS_DEFAULT_PASSWORD"
|
22
|
+
|
23
|
+
#: A constant which can be used with the generation_template property of a PassphraseGenerationContext.
|
24
|
+
#: This constant has a value of "DBAAS_DEFAULT_PASSWORD"
|
25
|
+
GENERATION_TEMPLATE_DBAAS_DEFAULT_PASSWORD = "DBAAS_DEFAULT_PASSWORD"
|
26
|
+
|
27
|
+
def __init__(self, **kwargs):
|
28
|
+
"""
|
29
|
+
Initializes a new PassphraseGenerationContext object with values from keyword arguments. The default value of the :py:attr:`~oci.vault.models.PassphraseGenerationContext.generation_type` attribute
|
30
|
+
of this class is ``PASSPHRASE`` and it should not be changed.
|
31
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
32
|
+
|
33
|
+
:param generation_type:
|
34
|
+
The value to assign to the generation_type property of this PassphraseGenerationContext.
|
35
|
+
Allowed values for this property are: "PASSPHRASE", "SSH_KEY", "BYTES", 'UNKNOWN_ENUM_VALUE'.
|
36
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
37
|
+
:type generation_type: str
|
38
|
+
|
39
|
+
:param secret_template:
|
40
|
+
The value to assign to the secret_template property of this PassphraseGenerationContext.
|
41
|
+
:type secret_template: str
|
42
|
+
|
43
|
+
:param generation_template:
|
44
|
+
The value to assign to the generation_template property of this PassphraseGenerationContext.
|
45
|
+
Allowed values for this property are: "SECRETS_DEFAULT_PASSWORD", "DBAAS_DEFAULT_PASSWORD", 'UNKNOWN_ENUM_VALUE'.
|
46
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
47
|
+
:type generation_template: str
|
48
|
+
|
49
|
+
:param passphrase_length:
|
50
|
+
The value to assign to the passphrase_length property of this PassphraseGenerationContext.
|
51
|
+
:type passphrase_length: int
|
52
|
+
|
53
|
+
"""
|
54
|
+
self.swagger_types = {
|
55
|
+
'generation_type': 'str',
|
56
|
+
'secret_template': 'str',
|
57
|
+
'generation_template': 'str',
|
58
|
+
'passphrase_length': 'int'
|
59
|
+
}
|
60
|
+
|
61
|
+
self.attribute_map = {
|
62
|
+
'generation_type': 'generationType',
|
63
|
+
'secret_template': 'secretTemplate',
|
64
|
+
'generation_template': 'generationTemplate',
|
65
|
+
'passphrase_length': 'passphraseLength'
|
66
|
+
}
|
67
|
+
|
68
|
+
self._generation_type = None
|
69
|
+
self._secret_template = None
|
70
|
+
self._generation_template = None
|
71
|
+
self._passphrase_length = None
|
72
|
+
self._generation_type = 'PASSPHRASE'
|
73
|
+
|
74
|
+
@property
|
75
|
+
def generation_template(self):
|
76
|
+
"""
|
77
|
+
**[Required]** Gets the generation_template of this PassphraseGenerationContext.
|
78
|
+
Name of passphrase generation template to generate passphrase type secret.
|
79
|
+
|
80
|
+
Allowed values for this property are: "SECRETS_DEFAULT_PASSWORD", "DBAAS_DEFAULT_PASSWORD", 'UNKNOWN_ENUM_VALUE'.
|
81
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
82
|
+
|
83
|
+
|
84
|
+
:return: The generation_template of this PassphraseGenerationContext.
|
85
|
+
:rtype: str
|
86
|
+
"""
|
87
|
+
return self._generation_template
|
88
|
+
|
89
|
+
@generation_template.setter
|
90
|
+
def generation_template(self, generation_template):
|
91
|
+
"""
|
92
|
+
Sets the generation_template of this PassphraseGenerationContext.
|
93
|
+
Name of passphrase generation template to generate passphrase type secret.
|
94
|
+
|
95
|
+
|
96
|
+
:param generation_template: The generation_template of this PassphraseGenerationContext.
|
97
|
+
:type: str
|
98
|
+
"""
|
99
|
+
allowed_values = ["SECRETS_DEFAULT_PASSWORD", "DBAAS_DEFAULT_PASSWORD"]
|
100
|
+
if not value_allowed_none_or_none_sentinel(generation_template, allowed_values):
|
101
|
+
generation_template = 'UNKNOWN_ENUM_VALUE'
|
102
|
+
self._generation_template = generation_template
|
103
|
+
|
104
|
+
@property
|
105
|
+
def passphrase_length(self):
|
106
|
+
"""
|
107
|
+
Gets the passphrase_length of this PassphraseGenerationContext.
|
108
|
+
Length of the passphrase to be generated
|
109
|
+
|
110
|
+
|
111
|
+
:return: The passphrase_length of this PassphraseGenerationContext.
|
112
|
+
:rtype: int
|
113
|
+
"""
|
114
|
+
return self._passphrase_length
|
115
|
+
|
116
|
+
@passphrase_length.setter
|
117
|
+
def passphrase_length(self, passphrase_length):
|
118
|
+
"""
|
119
|
+
Sets the passphrase_length of this PassphraseGenerationContext.
|
120
|
+
Length of the passphrase to be generated
|
121
|
+
|
122
|
+
|
123
|
+
:param passphrase_length: The passphrase_length of this PassphraseGenerationContext.
|
124
|
+
:type: int
|
125
|
+
"""
|
126
|
+
self._passphrase_length = passphrase_length
|
127
|
+
|
128
|
+
def __repr__(self):
|
129
|
+
return formatted_flat_dict(self)
|
130
|
+
|
131
|
+
def __eq__(self, other):
|
132
|
+
if other is None:
|
133
|
+
return False
|
134
|
+
|
135
|
+
return self.__dict__ == other.__dict__
|
136
|
+
|
137
|
+
def __ne__(self, other):
|
138
|
+
return not self == other
|
oci/vault/models/secret.py
CHANGED
@@ -156,6 +156,14 @@ class Secret(object):
|
|
156
156
|
The value to assign to the vault_id property of this Secret.
|
157
157
|
:type vault_id: str
|
158
158
|
|
159
|
+
:param secret_generation_context:
|
160
|
+
The value to assign to the secret_generation_context property of this Secret.
|
161
|
+
:type secret_generation_context: oci.vault.models.SecretGenerationContext
|
162
|
+
|
163
|
+
:param is_auto_generation_enabled:
|
164
|
+
The value to assign to the is_auto_generation_enabled property of this Secret.
|
165
|
+
:type is_auto_generation_enabled: bool
|
166
|
+
|
159
167
|
"""
|
160
168
|
self.swagger_types = {
|
161
169
|
'compartment_id': 'str',
|
@@ -177,7 +185,9 @@ class Secret(object):
|
|
177
185
|
'time_created': 'datetime',
|
178
186
|
'time_of_current_version_expiry': 'datetime',
|
179
187
|
'time_of_deletion': 'datetime',
|
180
|
-
'vault_id': 'str'
|
188
|
+
'vault_id': 'str',
|
189
|
+
'secret_generation_context': 'SecretGenerationContext',
|
190
|
+
'is_auto_generation_enabled': 'bool'
|
181
191
|
}
|
182
192
|
|
183
193
|
self.attribute_map = {
|
@@ -200,7 +210,9 @@ class Secret(object):
|
|
200
210
|
'time_created': 'timeCreated',
|
201
211
|
'time_of_current_version_expiry': 'timeOfCurrentVersionExpiry',
|
202
212
|
'time_of_deletion': 'timeOfDeletion',
|
203
|
-
'vault_id': 'vaultId'
|
213
|
+
'vault_id': 'vaultId',
|
214
|
+
'secret_generation_context': 'secretGenerationContext',
|
215
|
+
'is_auto_generation_enabled': 'isAutoGenerationEnabled'
|
204
216
|
}
|
205
217
|
|
206
218
|
self._compartment_id = None
|
@@ -223,6 +235,8 @@ class Secret(object):
|
|
223
235
|
self._time_of_current_version_expiry = None
|
224
236
|
self._time_of_deletion = None
|
225
237
|
self._vault_id = None
|
238
|
+
self._secret_generation_context = None
|
239
|
+
self._is_auto_generation_enabled = None
|
226
240
|
|
227
241
|
@property
|
228
242
|
def compartment_id(self):
|
@@ -762,6 +776,50 @@ class Secret(object):
|
|
762
776
|
"""
|
763
777
|
self._vault_id = vault_id
|
764
778
|
|
779
|
+
@property
|
780
|
+
def secret_generation_context(self):
|
781
|
+
"""
|
782
|
+
Gets the secret_generation_context of this Secret.
|
783
|
+
|
784
|
+
:return: The secret_generation_context of this Secret.
|
785
|
+
:rtype: oci.vault.models.SecretGenerationContext
|
786
|
+
"""
|
787
|
+
return self._secret_generation_context
|
788
|
+
|
789
|
+
@secret_generation_context.setter
|
790
|
+
def secret_generation_context(self, secret_generation_context):
|
791
|
+
"""
|
792
|
+
Sets the secret_generation_context of this Secret.
|
793
|
+
|
794
|
+
:param secret_generation_context: The secret_generation_context of this Secret.
|
795
|
+
:type: oci.vault.models.SecretGenerationContext
|
796
|
+
"""
|
797
|
+
self._secret_generation_context = secret_generation_context
|
798
|
+
|
799
|
+
@property
|
800
|
+
def is_auto_generation_enabled(self):
|
801
|
+
"""
|
802
|
+
Gets the is_auto_generation_enabled of this Secret.
|
803
|
+
The value of this flag determines whether or not secret content will be generated automatically.
|
804
|
+
|
805
|
+
|
806
|
+
:return: The is_auto_generation_enabled of this Secret.
|
807
|
+
:rtype: bool
|
808
|
+
"""
|
809
|
+
return self._is_auto_generation_enabled
|
810
|
+
|
811
|
+
@is_auto_generation_enabled.setter
|
812
|
+
def is_auto_generation_enabled(self, is_auto_generation_enabled):
|
813
|
+
"""
|
814
|
+
Sets the is_auto_generation_enabled of this Secret.
|
815
|
+
The value of this flag determines whether or not secret content will be generated automatically.
|
816
|
+
|
817
|
+
|
818
|
+
:param is_auto_generation_enabled: The is_auto_generation_enabled of this Secret.
|
819
|
+
:type: bool
|
820
|
+
"""
|
821
|
+
self._is_auto_generation_enabled = is_auto_generation_enabled
|
822
|
+
|
765
823
|
def __repr__(self):
|
766
824
|
return formatted_flat_dict(self)
|
767
825
|
|
@@ -0,0 +1,152 @@
|
|
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: 20180608
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class SecretGenerationContext(object):
|
14
|
+
"""
|
15
|
+
Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the generation_type property of a SecretGenerationContext.
|
19
|
+
#: This constant has a value of "PASSPHRASE"
|
20
|
+
GENERATION_TYPE_PASSPHRASE = "PASSPHRASE"
|
21
|
+
|
22
|
+
#: A constant which can be used with the generation_type property of a SecretGenerationContext.
|
23
|
+
#: This constant has a value of "SSH_KEY"
|
24
|
+
GENERATION_TYPE_SSH_KEY = "SSH_KEY"
|
25
|
+
|
26
|
+
#: A constant which can be used with the generation_type property of a SecretGenerationContext.
|
27
|
+
#: This constant has a value of "BYTES"
|
28
|
+
GENERATION_TYPE_BYTES = "BYTES"
|
29
|
+
|
30
|
+
def __init__(self, **kwargs):
|
31
|
+
"""
|
32
|
+
Initializes a new SecretGenerationContext object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
33
|
+
to a service operations then you should favor using a subclass over the base class:
|
34
|
+
|
35
|
+
* :class:`~oci.vault.models.PassphraseGenerationContext`
|
36
|
+
* :class:`~oci.vault.models.SshKeyGenerationContext`
|
37
|
+
* :class:`~oci.vault.models.BytesGenerationContext`
|
38
|
+
|
39
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
40
|
+
|
41
|
+
:param generation_type:
|
42
|
+
The value to assign to the generation_type property of this SecretGenerationContext.
|
43
|
+
Allowed values for this property are: "PASSPHRASE", "SSH_KEY", "BYTES", 'UNKNOWN_ENUM_VALUE'.
|
44
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
45
|
+
:type generation_type: str
|
46
|
+
|
47
|
+
:param secret_template:
|
48
|
+
The value to assign to the secret_template property of this SecretGenerationContext.
|
49
|
+
:type secret_template: str
|
50
|
+
|
51
|
+
"""
|
52
|
+
self.swagger_types = {
|
53
|
+
'generation_type': 'str',
|
54
|
+
'secret_template': 'str'
|
55
|
+
}
|
56
|
+
|
57
|
+
self.attribute_map = {
|
58
|
+
'generation_type': 'generationType',
|
59
|
+
'secret_template': 'secretTemplate'
|
60
|
+
}
|
61
|
+
|
62
|
+
self._generation_type = None
|
63
|
+
self._secret_template = None
|
64
|
+
|
65
|
+
@staticmethod
|
66
|
+
def get_subtype(object_dictionary):
|
67
|
+
"""
|
68
|
+
Given the hash representation of a subtype of this class,
|
69
|
+
use the info in the hash to return the class of the subtype.
|
70
|
+
"""
|
71
|
+
type = object_dictionary['generationType']
|
72
|
+
|
73
|
+
if type == 'PASSPHRASE':
|
74
|
+
return 'PassphraseGenerationContext'
|
75
|
+
|
76
|
+
if type == 'SSH_KEY':
|
77
|
+
return 'SshKeyGenerationContext'
|
78
|
+
|
79
|
+
if type == 'BYTES':
|
80
|
+
return 'BytesGenerationContext'
|
81
|
+
else:
|
82
|
+
return 'SecretGenerationContext'
|
83
|
+
|
84
|
+
@property
|
85
|
+
def generation_type(self):
|
86
|
+
"""
|
87
|
+
**[Required]** Gets the generation_type of this SecretGenerationContext.
|
88
|
+
Name of the predefined secret generation type.
|
89
|
+
|
90
|
+
Allowed values for this property are: "PASSPHRASE", "SSH_KEY", "BYTES", 'UNKNOWN_ENUM_VALUE'.
|
91
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
92
|
+
|
93
|
+
|
94
|
+
:return: The generation_type of this SecretGenerationContext.
|
95
|
+
:rtype: str
|
96
|
+
"""
|
97
|
+
return self._generation_type
|
98
|
+
|
99
|
+
@generation_type.setter
|
100
|
+
def generation_type(self, generation_type):
|
101
|
+
"""
|
102
|
+
Sets the generation_type of this SecretGenerationContext.
|
103
|
+
Name of the predefined secret generation type.
|
104
|
+
|
105
|
+
|
106
|
+
:param generation_type: The generation_type of this SecretGenerationContext.
|
107
|
+
:type: str
|
108
|
+
"""
|
109
|
+
allowed_values = ["PASSPHRASE", "SSH_KEY", "BYTES"]
|
110
|
+
if not value_allowed_none_or_none_sentinel(generation_type, allowed_values):
|
111
|
+
generation_type = 'UNKNOWN_ENUM_VALUE'
|
112
|
+
self._generation_type = generation_type
|
113
|
+
|
114
|
+
@property
|
115
|
+
def secret_template(self):
|
116
|
+
"""
|
117
|
+
Gets the secret_template of this SecretGenerationContext.
|
118
|
+
SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type.
|
119
|
+
The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets.
|
120
|
+
These placeholders are later replaced with the generated content and saved as a Base64 encoded content.
|
121
|
+
|
122
|
+
|
123
|
+
:return: The secret_template of this SecretGenerationContext.
|
124
|
+
:rtype: str
|
125
|
+
"""
|
126
|
+
return self._secret_template
|
127
|
+
|
128
|
+
@secret_template.setter
|
129
|
+
def secret_template(self, secret_template):
|
130
|
+
"""
|
131
|
+
Sets the secret_template of this SecretGenerationContext.
|
132
|
+
SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type.
|
133
|
+
The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets.
|
134
|
+
These placeholders are later replaced with the generated content and saved as a Base64 encoded content.
|
135
|
+
|
136
|
+
|
137
|
+
:param secret_template: The secret_template of this SecretGenerationContext.
|
138
|
+
:type: str
|
139
|
+
"""
|
140
|
+
self._secret_template = secret_template
|
141
|
+
|
142
|
+
def __repr__(self):
|
143
|
+
return formatted_flat_dict(self)
|
144
|
+
|
145
|
+
def __eq__(self, other):
|
146
|
+
if other is None:
|
147
|
+
return False
|
148
|
+
|
149
|
+
return self.__dict__ == other.__dict__
|
150
|
+
|
151
|
+
def __ne__(self, other):
|
152
|
+
return not self == other
|