oci 2.126.2__py3-none-any.whl → 2.126.4__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 +44 -44
- oci/ai_speech/ai_service_speech_client.py +10 -10
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +2338 -522
- oci/bds/bds_client_composite_operations.py +403 -0
- oci/bds/models/__init__.py +32 -0
- oci/bds/models/backup_node_details.py +99 -0
- oci/bds/models/create_node_backup_configuration_details.py +223 -0
- oci/bds/models/create_node_replace_configuration_details.py +192 -0
- oci/bds/models/level_type_details.py +109 -0
- oci/bds/models/node.py +64 -2
- oci/bds/models/node_backup.py +388 -0
- oci/bds/models/node_backup_configuration.py +410 -0
- oci/bds/models/node_backup_configuration_summary.py +254 -0
- oci/bds/models/node_backup_summary.py +289 -0
- oci/bds/models/node_level_details.py +82 -0
- oci/bds/models/node_replace_configuration.py +364 -0
- oci/bds/models/node_replace_configuration_summary.py +254 -0
- oci/bds/models/node_type_level_details.py +82 -0
- oci/bds/models/remove_node_replace_configuration_details.py +72 -0
- oci/bds/models/replace_node_details.py +165 -0
- oci/bds/models/update_node_backup_configuration_details.py +223 -0
- oci/bds/models/update_node_replace_configuration_details.py +161 -0
- oci/bds/models/work_request.py +39 -3
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +19 -19
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +26 -26
- 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 +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +278 -278
- oci/data_science/data_science_client.py +124 -98
- oci/data_science/models/__init__.py +10 -0
- oci/data_science/models/fast_launch_job_config_summary.py +7 -3
- oci/data_science/models/job_shape_summary.py +7 -3
- oci/data_science/models/model_deployment_shape_summary.py +7 -3
- oci/data_science/models/notebook_session_shape_summary.py +7 -3
- oci/data_science/models/pipeline_container_configuration_details.py +101 -0
- oci/data_science/models/pipeline_container_step_details.py +164 -0
- oci/data_science/models/pipeline_container_step_run.py +87 -0
- oci/data_science/models/pipeline_container_step_update_details.py +99 -0
- oci/data_science/models/pipeline_custom_script_step_details.py +1 -1
- oci/data_science/models/pipeline_custom_script_step_run.py +1 -1
- oci/data_science/models/pipeline_custom_script_step_update_details.py +30 -3
- oci/data_science/models/pipeline_infrastructure_configuration_details.py +31 -0
- oci/data_science/models/pipeline_ml_job_step_details.py +1 -1
- oci/data_science/models/pipeline_ml_job_step_run.py +1 -1
- oci/data_science/models/pipeline_ml_job_step_update_details.py +1 -1
- oci/data_science/models/pipeline_ocir_container_configuration_details.py +228 -0
- oci/data_science/models/pipeline_step_details.py +11 -3
- oci/data_science/models/pipeline_step_override_details.py +29 -2
- oci/data_science/models/pipeline_step_run.py +11 -3
- oci/data_science/models/pipeline_step_update_details.py +11 -3
- oci/data_science/models/update_pipeline_details.py +29 -2
- oci/database/database_client.py +333 -333
- oci/database/models/create_vm_cluster_details.py +33 -2
- oci/database/models/exadata_infrastructure.py +31 -0
- oci/database/models/exadata_infrastructure_summary.py +31 -0
- oci/database/models/update_vm_cluster_details.py +33 -2
- oci/database/models/vm_cluster.py +33 -2
- oci/database/models/vm_cluster_summary.py +33 -2
- oci/database_management/db_management_client.py +206 -206
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +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 +608 -28
- oci/email/email_client_composite_operations.py +132 -0
- oci/email/models/__init__.py +10 -0
- oci/email/models/create_email_domain_details.py +31 -0
- oci/email/models/create_email_return_path_details.py +239 -0
- oci/email/models/email_domain.py +82 -0
- oci/email/models/email_return_path.py +577 -0
- oci/email/models/email_return_path_collection.py +72 -0
- oci/email/models/email_return_path_summary.py +444 -0
- oci/email/models/sender.py +15 -3
- oci/email/models/update_email_domain_details.py +31 -0
- oci/email/models/update_email_return_path_details.py +156 -0
- oci/email/models/work_request.py +15 -3
- oci/email/models/work_request_summary.py +15 -3
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +29 -29
- oci/golden_gate/golden_gate_client.py +61 -61
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/load_balancer/models/ssl_configuration.py +41 -0
- oci/load_balancer/models/ssl_configuration_details.py +41 -0
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/__init__.py +16 -0
- oci/marketplace_private_offer/attachment_client.py +719 -0
- oci/marketplace_private_offer/attachment_client_composite_operations.py +71 -0
- oci/marketplace_private_offer/models/__init__.py +48 -0
- oci/marketplace_private_offer/models/attachment.py +446 -0
- oci/marketplace_private_offer/models/attachment_collection.py +72 -0
- oci/marketplace_private_offer/models/attachment_summary.py +293 -0
- oci/marketplace_private_offer/models/buyer_information.py +161 -0
- oci/marketplace_private_offer/models/contact.py +134 -0
- oci/marketplace_private_offer/models/create_attachment_details.py +134 -0
- oci/marketplace_private_offer/models/create_offer_details.py +498 -0
- oci/marketplace_private_offer/models/custom_field.py +103 -0
- oci/marketplace_private_offer/models/offer.py +787 -0
- oci/marketplace_private_offer/models/offer_collection.py +72 -0
- oci/marketplace_private_offer/models/offer_internal_detail.py +103 -0
- oci/marketplace_private_offer/models/offer_summary.py +591 -0
- oci/marketplace_private_offer/models/pricing.py +146 -0
- oci/marketplace_private_offer/models/publisher_summary.py +710 -0
- oci/marketplace_private_offer/models/resource_bundle.py +205 -0
- oci/marketplace_private_offer/models/seller_information.py +99 -0
- oci/marketplace_private_offer/models/update_offer_details.py +467 -0
- oci/marketplace_private_offer/models/upload_data.py +134 -0
- oci/marketplace_private_offer/offer_client.py +789 -0
- oci/marketplace_private_offer/offer_client_composite_operations.py +172 -0
- oci/marketplace_publisher/__init__.py +5 -1
- oci/marketplace_publisher/attachment_client.py +719 -0
- oci/marketplace_publisher/attachment_client_composite_operations.py +121 -0
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/models/__init__.py +32 -0
- oci/marketplace_publisher/models/attachment.py +446 -0
- oci/marketplace_publisher/models/attachment_collection.py +72 -0
- oci/marketplace_publisher/models/attachment_summary.py +293 -0
- oci/marketplace_publisher/models/buyer_information.py +161 -0
- oci/marketplace_publisher/models/contact.py +134 -0
- oci/marketplace_publisher/models/create_attachment_details.py +134 -0
- oci/marketplace_publisher/models/create_offer_details.py +498 -0
- oci/marketplace_publisher/models/custom_field.py +103 -0
- oci/marketplace_publisher/models/offer.py +787 -0
- oci/marketplace_publisher/models/offer_collection.py +72 -0
- oci/marketplace_publisher/models/offer_internal_detail.py +103 -0
- oci/marketplace_publisher/models/offer_summary.py +591 -0
- oci/marketplace_publisher/models/pricing.py +146 -0
- oci/marketplace_publisher/models/resource_bundle.py +205 -0
- oci/marketplace_publisher/models/seller_information.py +99 -0
- oci/marketplace_publisher/models/update_offer_details.py +467 -0
- oci/marketplace_publisher/models/work_request.py +23 -3
- oci/marketplace_publisher/models/work_request_summary.py +23 -3
- oci/marketplace_publisher/offer_client.py +789 -0
- oci/marketplace_publisher/offer_client_composite_operations.py +160 -0
- 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/models/create_listener_details.py +33 -2
- oci/network_load_balancer/models/listener.py +33 -2
- oci/network_load_balancer/models/listener_details.py +33 -2
- oci/network_load_balancer/models/listener_summary.py +33 -2
- oci/network_load_balancer/models/update_listener_details.py +33 -2
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +175 -175
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +25 -25
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/__init__.py +14 -0
- oci/resource_scheduler/models/__init__.py +58 -0
- oci/resource_scheduler/models/compartment_id_resource_filter.py +113 -0
- oci/resource_scheduler/models/create_schedule_details.py +487 -0
- oci/resource_scheduler/models/defined_tag_filter_value.py +134 -0
- oci/resource_scheduler/models/defined_tags_resource_filter.py +82 -0
- oci/resource_scheduler/models/lifecycle_state_resource_filter.py +82 -0
- oci/resource_scheduler/models/resource.py +121 -0
- oci/resource_scheduler/models/resource_filter.py +133 -0
- oci/resource_scheduler/models/resource_type.py +72 -0
- oci/resource_scheduler/models/resource_type_collection.py +72 -0
- oci/resource_scheduler/models/resource_type_resource_filter.py +82 -0
- oci/resource_scheduler/models/schedule.py +787 -0
- oci/resource_scheduler/models/schedule_collection.py +72 -0
- oci/resource_scheduler/models/schedule_summary.py +815 -0
- oci/resource_scheduler/models/time_created_resource_filter.py +134 -0
- oci/resource_scheduler/models/update_schedule_details.py +452 -0
- oci/resource_scheduler/models/work_request.py +455 -0
- oci/resource_scheduler/models/work_request_error.py +146 -0
- oci/resource_scheduler/models/work_request_error_collection.py +72 -0
- oci/resource_scheduler/models/work_request_log_entry.py +109 -0
- oci/resource_scheduler/models/work_request_log_entry_collection.py +72 -0
- oci/resource_scheduler/models/work_request_resource.py +207 -0
- oci/resource_scheduler/models/work_request_summary.py +453 -0
- oci/resource_scheduler/models/work_request_summary_collection.py +72 -0
- oci/resource_scheduler/schedule_client.py +1778 -0
- oci/resource_scheduler/schedule_client_composite_operations.py +258 -0
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.126.2.dist-info → oci-2.126.4.dist-info}/METADATA +1 -1
- {oci-2.126.2.dist-info → oci-2.126.4.dist-info}/RECORD +392 -295
- {oci-2.126.2.dist-info → oci-2.126.4.dist-info}/LICENSE.txt +0 -0
- {oci-2.126.2.dist-info → oci-2.126.4.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.126.2.dist-info → oci-2.126.4.dist-info}/WHEEL +0 -0
- {oci-2.126.2.dist-info → oci-2.126.4.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,71 @@
|
|
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: 20220901
|
6
|
+
|
7
|
+
import oci # noqa: F401
|
8
|
+
from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
|
9
|
+
|
10
|
+
|
11
|
+
class AttachmentClientCompositeOperations(object):
|
12
|
+
"""
|
13
|
+
This class provides a wrapper around :py:class:`~oci.marketplace_private_offer.AttachmentClient` and offers convenience methods
|
14
|
+
for operations that would otherwise need to be chained together. For example, instead of performing an action
|
15
|
+
on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
|
16
|
+
to enter a given state, you can call a single method in this class to accomplish the same functionality
|
17
|
+
"""
|
18
|
+
|
19
|
+
def __init__(self, client, **kwargs):
|
20
|
+
"""
|
21
|
+
Creates a new AttachmentClientCompositeOperations object
|
22
|
+
|
23
|
+
:param AttachmentClient client:
|
24
|
+
The service client which will be wrapped by this object
|
25
|
+
"""
|
26
|
+
self.client = client
|
27
|
+
|
28
|
+
def create_attachment_and_wait_for_state(self, create_attachment_details, offer_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
|
+
"""
|
30
|
+
Calls :py:func:`~oci.marketplace_private_offer.AttachmentClient.create_attachment` and waits for the :py:class:`~oci.marketplace_private_offer.models.Attachment` acted upon
|
31
|
+
to enter the given state(s).
|
32
|
+
|
33
|
+
:param oci.marketplace_private_offer.models.CreateAttachmentDetails create_attachment_details: (required)
|
34
|
+
Details for the new Attachment.
|
35
|
+
|
36
|
+
:param str offer_id: (required)
|
37
|
+
unique Offer identifier
|
38
|
+
|
39
|
+
:param list[str] wait_for_states:
|
40
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.marketplace_private_offer.models.Attachment.lifecycle_state`
|
41
|
+
|
42
|
+
:param dict operation_kwargs:
|
43
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.marketplace_private_offer.AttachmentClient.create_attachment`
|
44
|
+
|
45
|
+
:param dict waiter_kwargs:
|
46
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
47
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
48
|
+
"""
|
49
|
+
operation_result = self.client.create_attachment(create_attachment_details, offer_id, **operation_kwargs)
|
50
|
+
if not wait_for_states:
|
51
|
+
return operation_result
|
52
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
53
|
+
attachment_id = operation_result.data.id
|
54
|
+
|
55
|
+
try:
|
56
|
+
waiter_result = oci.wait_until(
|
57
|
+
self.client,
|
58
|
+
self.client.get_attachment(offer_id, attachment_id), # noqa: F821
|
59
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
60
|
+
**waiter_kwargs
|
61
|
+
)
|
62
|
+
result_to_return = waiter_result
|
63
|
+
|
64
|
+
return result_to_return
|
65
|
+
except (NameError, TypeError) as e:
|
66
|
+
if not e.args:
|
67
|
+
e.args = ('',)
|
68
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
69
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
70
|
+
except Exception as e:
|
71
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
@@ -0,0 +1,48 @@
|
|
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: 20220901
|
6
|
+
|
7
|
+
from __future__ import absolute_import
|
8
|
+
|
9
|
+
from .attachment import Attachment
|
10
|
+
from .attachment_collection import AttachmentCollection
|
11
|
+
from .attachment_summary import AttachmentSummary
|
12
|
+
from .buyer_information import BuyerInformation
|
13
|
+
from .contact import Contact
|
14
|
+
from .create_attachment_details import CreateAttachmentDetails
|
15
|
+
from .create_offer_details import CreateOfferDetails
|
16
|
+
from .custom_field import CustomField
|
17
|
+
from .offer import Offer
|
18
|
+
from .offer_collection import OfferCollection
|
19
|
+
from .offer_internal_detail import OfferInternalDetail
|
20
|
+
from .offer_summary import OfferSummary
|
21
|
+
from .pricing import Pricing
|
22
|
+
from .publisher_summary import PublisherSummary
|
23
|
+
from .resource_bundle import ResourceBundle
|
24
|
+
from .seller_information import SellerInformation
|
25
|
+
from .update_offer_details import UpdateOfferDetails
|
26
|
+
from .upload_data import UploadData
|
27
|
+
|
28
|
+
# Maps type names to classes for marketplace_private_offer services.
|
29
|
+
marketplace_private_offer_type_mapping = {
|
30
|
+
"Attachment": Attachment,
|
31
|
+
"AttachmentCollection": AttachmentCollection,
|
32
|
+
"AttachmentSummary": AttachmentSummary,
|
33
|
+
"BuyerInformation": BuyerInformation,
|
34
|
+
"Contact": Contact,
|
35
|
+
"CreateAttachmentDetails": CreateAttachmentDetails,
|
36
|
+
"CreateOfferDetails": CreateOfferDetails,
|
37
|
+
"CustomField": CustomField,
|
38
|
+
"Offer": Offer,
|
39
|
+
"OfferCollection": OfferCollection,
|
40
|
+
"OfferInternalDetail": OfferInternalDetail,
|
41
|
+
"OfferSummary": OfferSummary,
|
42
|
+
"Pricing": Pricing,
|
43
|
+
"PublisherSummary": PublisherSummary,
|
44
|
+
"ResourceBundle": ResourceBundle,
|
45
|
+
"SellerInformation": SellerInformation,
|
46
|
+
"UpdateOfferDetails": UpdateOfferDetails,
|
47
|
+
"UploadData": UploadData
|
48
|
+
}
|
@@ -0,0 +1,446 @@
|
|
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: 20220901
|
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 Attachment(object):
|
14
|
+
"""
|
15
|
+
Description of Attachment.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the type property of a Attachment.
|
19
|
+
#: This constant has a value of "CONTRACT_T_AND_C"
|
20
|
+
TYPE_CONTRACT_T_AND_C = "CONTRACT_T_AND_C"
|
21
|
+
|
22
|
+
#: A constant which can be used with the type property of a Attachment.
|
23
|
+
#: This constant has a value of "QUOTE"
|
24
|
+
TYPE_QUOTE = "QUOTE"
|
25
|
+
|
26
|
+
#: A constant which can be used with the type property of a Attachment.
|
27
|
+
#: This constant has a value of "EULA"
|
28
|
+
TYPE_EULA = "EULA"
|
29
|
+
|
30
|
+
#: A constant which can be used with the type property of a Attachment.
|
31
|
+
#: This constant has a value of "TERMS_OF_USE"
|
32
|
+
TYPE_TERMS_OF_USE = "TERMS_OF_USE"
|
33
|
+
|
34
|
+
#: A constant which can be used with the type property of a Attachment.
|
35
|
+
#: This constant has a value of "MISC"
|
36
|
+
TYPE_MISC = "MISC"
|
37
|
+
|
38
|
+
#: A constant which can be used with the lifecycle_state property of a Attachment.
|
39
|
+
#: This constant has a value of "CREATING"
|
40
|
+
LIFECYCLE_STATE_CREATING = "CREATING"
|
41
|
+
|
42
|
+
#: A constant which can be used with the lifecycle_state property of a Attachment.
|
43
|
+
#: This constant has a value of "UPDATING"
|
44
|
+
LIFECYCLE_STATE_UPDATING = "UPDATING"
|
45
|
+
|
46
|
+
#: A constant which can be used with the lifecycle_state property of a Attachment.
|
47
|
+
#: This constant has a value of "ACTIVE"
|
48
|
+
LIFECYCLE_STATE_ACTIVE = "ACTIVE"
|
49
|
+
|
50
|
+
#: A constant which can be used with the lifecycle_state property of a Attachment.
|
51
|
+
#: This constant has a value of "DELETING"
|
52
|
+
LIFECYCLE_STATE_DELETING = "DELETING"
|
53
|
+
|
54
|
+
#: A constant which can be used with the lifecycle_state property of a Attachment.
|
55
|
+
#: This constant has a value of "DELETED"
|
56
|
+
LIFECYCLE_STATE_DELETED = "DELETED"
|
57
|
+
|
58
|
+
#: A constant which can be used with the lifecycle_state property of a Attachment.
|
59
|
+
#: This constant has a value of "FAILED"
|
60
|
+
LIFECYCLE_STATE_FAILED = "FAILED"
|
61
|
+
|
62
|
+
def __init__(self, **kwargs):
|
63
|
+
"""
|
64
|
+
Initializes a new Attachment object with values from keyword arguments.
|
65
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
66
|
+
|
67
|
+
:param id:
|
68
|
+
The value to assign to the id property of this Attachment.
|
69
|
+
:type id: str
|
70
|
+
|
71
|
+
:param seller_compartment_id:
|
72
|
+
The value to assign to the seller_compartment_id property of this Attachment.
|
73
|
+
:type seller_compartment_id: str
|
74
|
+
|
75
|
+
:param offer_id:
|
76
|
+
The value to assign to the offer_id property of this Attachment.
|
77
|
+
:type offer_id: str
|
78
|
+
|
79
|
+
:param buyer_compartment_id:
|
80
|
+
The value to assign to the buyer_compartment_id property of this Attachment.
|
81
|
+
:type buyer_compartment_id: str
|
82
|
+
|
83
|
+
:param mime_type:
|
84
|
+
The value to assign to the mime_type property of this Attachment.
|
85
|
+
:type mime_type: str
|
86
|
+
|
87
|
+
:param display_name:
|
88
|
+
The value to assign to the display_name property of this Attachment.
|
89
|
+
:type display_name: str
|
90
|
+
|
91
|
+
:param type:
|
92
|
+
The value to assign to the type property of this Attachment.
|
93
|
+
Allowed values for this property are: "CONTRACT_T_AND_C", "QUOTE", "EULA", "TERMS_OF_USE", "MISC", 'UNKNOWN_ENUM_VALUE'.
|
94
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
95
|
+
:type type: str
|
96
|
+
|
97
|
+
:param time_created:
|
98
|
+
The value to assign to the time_created property of this Attachment.
|
99
|
+
:type time_created: datetime
|
100
|
+
|
101
|
+
:param lifecycle_state:
|
102
|
+
The value to assign to the lifecycle_state property of this Attachment.
|
103
|
+
Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
104
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
105
|
+
:type lifecycle_state: str
|
106
|
+
|
107
|
+
:param freeform_tags:
|
108
|
+
The value to assign to the freeform_tags property of this Attachment.
|
109
|
+
:type freeform_tags: dict(str, str)
|
110
|
+
|
111
|
+
:param defined_tags:
|
112
|
+
The value to assign to the defined_tags property of this Attachment.
|
113
|
+
:type defined_tags: dict(str, dict(str, object))
|
114
|
+
|
115
|
+
"""
|
116
|
+
self.swagger_types = {
|
117
|
+
'id': 'str',
|
118
|
+
'seller_compartment_id': 'str',
|
119
|
+
'offer_id': 'str',
|
120
|
+
'buyer_compartment_id': 'str',
|
121
|
+
'mime_type': 'str',
|
122
|
+
'display_name': 'str',
|
123
|
+
'type': 'str',
|
124
|
+
'time_created': 'datetime',
|
125
|
+
'lifecycle_state': 'str',
|
126
|
+
'freeform_tags': 'dict(str, str)',
|
127
|
+
'defined_tags': 'dict(str, dict(str, object))'
|
128
|
+
}
|
129
|
+
|
130
|
+
self.attribute_map = {
|
131
|
+
'id': 'id',
|
132
|
+
'seller_compartment_id': 'sellerCompartmentId',
|
133
|
+
'offer_id': 'offerId',
|
134
|
+
'buyer_compartment_id': 'buyerCompartmentId',
|
135
|
+
'mime_type': 'mimeType',
|
136
|
+
'display_name': 'displayName',
|
137
|
+
'type': 'type',
|
138
|
+
'time_created': 'timeCreated',
|
139
|
+
'lifecycle_state': 'lifecycleState',
|
140
|
+
'freeform_tags': 'freeformTags',
|
141
|
+
'defined_tags': 'definedTags'
|
142
|
+
}
|
143
|
+
|
144
|
+
self._id = None
|
145
|
+
self._seller_compartment_id = None
|
146
|
+
self._offer_id = None
|
147
|
+
self._buyer_compartment_id = None
|
148
|
+
self._mime_type = None
|
149
|
+
self._display_name = None
|
150
|
+
self._type = None
|
151
|
+
self._time_created = None
|
152
|
+
self._lifecycle_state = None
|
153
|
+
self._freeform_tags = None
|
154
|
+
self._defined_tags = None
|
155
|
+
|
156
|
+
@property
|
157
|
+
def id(self):
|
158
|
+
"""
|
159
|
+
**[Required]** Gets the id of this Attachment.
|
160
|
+
Unique identifier that is immutable on creation
|
161
|
+
|
162
|
+
|
163
|
+
:return: The id of this Attachment.
|
164
|
+
:rtype: str
|
165
|
+
"""
|
166
|
+
return self._id
|
167
|
+
|
168
|
+
@id.setter
|
169
|
+
def id(self, id):
|
170
|
+
"""
|
171
|
+
Sets the id of this Attachment.
|
172
|
+
Unique identifier that is immutable on creation
|
173
|
+
|
174
|
+
|
175
|
+
:param id: The id of this Attachment.
|
176
|
+
:type: str
|
177
|
+
"""
|
178
|
+
self._id = id
|
179
|
+
|
180
|
+
@property
|
181
|
+
def seller_compartment_id(self):
|
182
|
+
"""
|
183
|
+
**[Required]** Gets the seller_compartment_id of this Attachment.
|
184
|
+
OCID of the seller's tenancy (root compartment).
|
185
|
+
|
186
|
+
|
187
|
+
:return: The seller_compartment_id of this Attachment.
|
188
|
+
:rtype: str
|
189
|
+
"""
|
190
|
+
return self._seller_compartment_id
|
191
|
+
|
192
|
+
@seller_compartment_id.setter
|
193
|
+
def seller_compartment_id(self, seller_compartment_id):
|
194
|
+
"""
|
195
|
+
Sets the seller_compartment_id of this Attachment.
|
196
|
+
OCID of the seller's tenancy (root compartment).
|
197
|
+
|
198
|
+
|
199
|
+
:param seller_compartment_id: The seller_compartment_id of this Attachment.
|
200
|
+
:type: str
|
201
|
+
"""
|
202
|
+
self._seller_compartment_id = seller_compartment_id
|
203
|
+
|
204
|
+
@property
|
205
|
+
def offer_id(self):
|
206
|
+
"""
|
207
|
+
**[Required]** Gets the offer_id of this Attachment.
|
208
|
+
Unique identifier of the associated offer that is immutable on creation
|
209
|
+
|
210
|
+
|
211
|
+
:return: The offer_id of this Attachment.
|
212
|
+
:rtype: str
|
213
|
+
"""
|
214
|
+
return self._offer_id
|
215
|
+
|
216
|
+
@offer_id.setter
|
217
|
+
def offer_id(self, offer_id):
|
218
|
+
"""
|
219
|
+
Sets the offer_id of this Attachment.
|
220
|
+
Unique identifier of the associated offer that is immutable on creation
|
221
|
+
|
222
|
+
|
223
|
+
:param offer_id: The offer_id of this Attachment.
|
224
|
+
:type: str
|
225
|
+
"""
|
226
|
+
self._offer_id = offer_id
|
227
|
+
|
228
|
+
@property
|
229
|
+
def buyer_compartment_id(self):
|
230
|
+
"""
|
231
|
+
Gets the buyer_compartment_id of this Attachment.
|
232
|
+
OCID of the buyer's tenancy (root compartment).
|
233
|
+
|
234
|
+
|
235
|
+
:return: The buyer_compartment_id of this Attachment.
|
236
|
+
:rtype: str
|
237
|
+
"""
|
238
|
+
return self._buyer_compartment_id
|
239
|
+
|
240
|
+
@buyer_compartment_id.setter
|
241
|
+
def buyer_compartment_id(self, buyer_compartment_id):
|
242
|
+
"""
|
243
|
+
Sets the buyer_compartment_id of this Attachment.
|
244
|
+
OCID of the buyer's tenancy (root compartment).
|
245
|
+
|
246
|
+
|
247
|
+
:param buyer_compartment_id: The buyer_compartment_id of this Attachment.
|
248
|
+
:type: str
|
249
|
+
"""
|
250
|
+
self._buyer_compartment_id = buyer_compartment_id
|
251
|
+
|
252
|
+
@property
|
253
|
+
def mime_type(self):
|
254
|
+
"""
|
255
|
+
Gets the mime_type of this Attachment.
|
256
|
+
The MIME type of the uploaded data.
|
257
|
+
|
258
|
+
|
259
|
+
:return: The mime_type of this Attachment.
|
260
|
+
:rtype: str
|
261
|
+
"""
|
262
|
+
return self._mime_type
|
263
|
+
|
264
|
+
@mime_type.setter
|
265
|
+
def mime_type(self, mime_type):
|
266
|
+
"""
|
267
|
+
Sets the mime_type of this Attachment.
|
268
|
+
The MIME type of the uploaded data.
|
269
|
+
|
270
|
+
|
271
|
+
:param mime_type: The mime_type of this Attachment.
|
272
|
+
:type: str
|
273
|
+
"""
|
274
|
+
self._mime_type = mime_type
|
275
|
+
|
276
|
+
@property
|
277
|
+
def display_name(self):
|
278
|
+
"""
|
279
|
+
**[Required]** Gets the display_name of this Attachment.
|
280
|
+
The name used to refer to the uploaded data.
|
281
|
+
|
282
|
+
|
283
|
+
:return: The display_name of this Attachment.
|
284
|
+
:rtype: str
|
285
|
+
"""
|
286
|
+
return self._display_name
|
287
|
+
|
288
|
+
@display_name.setter
|
289
|
+
def display_name(self, display_name):
|
290
|
+
"""
|
291
|
+
Sets the display_name of this Attachment.
|
292
|
+
The name used to refer to the uploaded data.
|
293
|
+
|
294
|
+
|
295
|
+
:param display_name: The display_name of this Attachment.
|
296
|
+
:type: str
|
297
|
+
"""
|
298
|
+
self._display_name = display_name
|
299
|
+
|
300
|
+
@property
|
301
|
+
def type(self):
|
302
|
+
"""
|
303
|
+
**[Required]** Gets the type of this Attachment.
|
304
|
+
The type of offer attachment.
|
305
|
+
|
306
|
+
Allowed values for this property are: "CONTRACT_T_AND_C", "QUOTE", "EULA", "TERMS_OF_USE", "MISC", 'UNKNOWN_ENUM_VALUE'.
|
307
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
308
|
+
|
309
|
+
|
310
|
+
:return: The type of this Attachment.
|
311
|
+
:rtype: str
|
312
|
+
"""
|
313
|
+
return self._type
|
314
|
+
|
315
|
+
@type.setter
|
316
|
+
def type(self, type):
|
317
|
+
"""
|
318
|
+
Sets the type of this Attachment.
|
319
|
+
The type of offer attachment.
|
320
|
+
|
321
|
+
|
322
|
+
:param type: The type of this Attachment.
|
323
|
+
:type: str
|
324
|
+
"""
|
325
|
+
allowed_values = ["CONTRACT_T_AND_C", "QUOTE", "EULA", "TERMS_OF_USE", "MISC"]
|
326
|
+
if not value_allowed_none_or_none_sentinel(type, allowed_values):
|
327
|
+
type = 'UNKNOWN_ENUM_VALUE'
|
328
|
+
self._type = type
|
329
|
+
|
330
|
+
@property
|
331
|
+
def time_created(self):
|
332
|
+
"""
|
333
|
+
**[Required]** Gets the time_created of this Attachment.
|
334
|
+
The time the the Offer was created. An RFC3339 formatted datetime string
|
335
|
+
|
336
|
+
|
337
|
+
:return: The time_created of this Attachment.
|
338
|
+
:rtype: datetime
|
339
|
+
"""
|
340
|
+
return self._time_created
|
341
|
+
|
342
|
+
@time_created.setter
|
343
|
+
def time_created(self, time_created):
|
344
|
+
"""
|
345
|
+
Sets the time_created of this Attachment.
|
346
|
+
The time the the Offer was created. An RFC3339 formatted datetime string
|
347
|
+
|
348
|
+
|
349
|
+
:param time_created: The time_created of this Attachment.
|
350
|
+
:type: datetime
|
351
|
+
"""
|
352
|
+
self._time_created = time_created
|
353
|
+
|
354
|
+
@property
|
355
|
+
def lifecycle_state(self):
|
356
|
+
"""
|
357
|
+
**[Required]** Gets the lifecycle_state of this Attachment.
|
358
|
+
The current state of the Offer.
|
359
|
+
|
360
|
+
Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
361
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
362
|
+
|
363
|
+
|
364
|
+
:return: The lifecycle_state of this Attachment.
|
365
|
+
:rtype: str
|
366
|
+
"""
|
367
|
+
return self._lifecycle_state
|
368
|
+
|
369
|
+
@lifecycle_state.setter
|
370
|
+
def lifecycle_state(self, lifecycle_state):
|
371
|
+
"""
|
372
|
+
Sets the lifecycle_state of this Attachment.
|
373
|
+
The current state of the Offer.
|
374
|
+
|
375
|
+
|
376
|
+
:param lifecycle_state: The lifecycle_state of this Attachment.
|
377
|
+
:type: str
|
378
|
+
"""
|
379
|
+
allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
|
380
|
+
if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
|
381
|
+
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
|
382
|
+
self._lifecycle_state = lifecycle_state
|
383
|
+
|
384
|
+
@property
|
385
|
+
def freeform_tags(self):
|
386
|
+
"""
|
387
|
+
**[Required]** Gets the freeform_tags of this Attachment.
|
388
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
389
|
+
Example: `{\"bar-key\": \"value\"}`
|
390
|
+
|
391
|
+
|
392
|
+
:return: The freeform_tags of this Attachment.
|
393
|
+
:rtype: dict(str, str)
|
394
|
+
"""
|
395
|
+
return self._freeform_tags
|
396
|
+
|
397
|
+
@freeform_tags.setter
|
398
|
+
def freeform_tags(self, freeform_tags):
|
399
|
+
"""
|
400
|
+
Sets the freeform_tags of this Attachment.
|
401
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
402
|
+
Example: `{\"bar-key\": \"value\"}`
|
403
|
+
|
404
|
+
|
405
|
+
:param freeform_tags: The freeform_tags of this Attachment.
|
406
|
+
:type: dict(str, str)
|
407
|
+
"""
|
408
|
+
self._freeform_tags = freeform_tags
|
409
|
+
|
410
|
+
@property
|
411
|
+
def defined_tags(self):
|
412
|
+
"""
|
413
|
+
**[Required]** Gets the defined_tags of this Attachment.
|
414
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
415
|
+
Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
416
|
+
|
417
|
+
|
418
|
+
:return: The defined_tags of this Attachment.
|
419
|
+
:rtype: dict(str, dict(str, object))
|
420
|
+
"""
|
421
|
+
return self._defined_tags
|
422
|
+
|
423
|
+
@defined_tags.setter
|
424
|
+
def defined_tags(self, defined_tags):
|
425
|
+
"""
|
426
|
+
Sets the defined_tags of this Attachment.
|
427
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
428
|
+
Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
429
|
+
|
430
|
+
|
431
|
+
:param defined_tags: The defined_tags of this Attachment.
|
432
|
+
:type: dict(str, dict(str, object))
|
433
|
+
"""
|
434
|
+
self._defined_tags = defined_tags
|
435
|
+
|
436
|
+
def __repr__(self):
|
437
|
+
return formatted_flat_dict(self)
|
438
|
+
|
439
|
+
def __eq__(self, other):
|
440
|
+
if other is None:
|
441
|
+
return False
|
442
|
+
|
443
|
+
return self.__dict__ == other.__dict__
|
444
|
+
|
445
|
+
def __ne__(self, other):
|
446
|
+
return not self == other
|
@@ -0,0 +1,72 @@
|
|
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: 20220901
|
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 AttachmentCollection(object):
|
14
|
+
"""
|
15
|
+
Results of a offers search. Contains boh AttachmentSummary items.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new AttachmentCollection object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param items:
|
24
|
+
The value to assign to the items property of this AttachmentCollection.
|
25
|
+
:type items: list[oci.marketplace_private_offer.models.AttachmentSummary]
|
26
|
+
|
27
|
+
"""
|
28
|
+
self.swagger_types = {
|
29
|
+
'items': 'list[AttachmentSummary]'
|
30
|
+
}
|
31
|
+
|
32
|
+
self.attribute_map = {
|
33
|
+
'items': 'items'
|
34
|
+
}
|
35
|
+
|
36
|
+
self._items = None
|
37
|
+
|
38
|
+
@property
|
39
|
+
def items(self):
|
40
|
+
"""
|
41
|
+
**[Required]** Gets the items of this AttachmentCollection.
|
42
|
+
List of attachment.
|
43
|
+
|
44
|
+
|
45
|
+
:return: The items of this AttachmentCollection.
|
46
|
+
:rtype: list[oci.marketplace_private_offer.models.AttachmentSummary]
|
47
|
+
"""
|
48
|
+
return self._items
|
49
|
+
|
50
|
+
@items.setter
|
51
|
+
def items(self, items):
|
52
|
+
"""
|
53
|
+
Sets the items of this AttachmentCollection.
|
54
|
+
List of attachment.
|
55
|
+
|
56
|
+
|
57
|
+
:param items: The items of this AttachmentCollection.
|
58
|
+
:type: list[oci.marketplace_private_offer.models.AttachmentSummary]
|
59
|
+
"""
|
60
|
+
self._items = items
|
61
|
+
|
62
|
+
def __repr__(self):
|
63
|
+
return formatted_flat_dict(self)
|
64
|
+
|
65
|
+
def __eq__(self, other):
|
66
|
+
if other is None:
|
67
|
+
return False
|
68
|
+
|
69
|
+
return self.__dict__ == other.__dict__
|
70
|
+
|
71
|
+
def __ne__(self, other):
|
72
|
+
return not self == other
|