oci 2.142.0__py3-none-any.whl → 2.143.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.
Files changed (321) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +36 -36
  3. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  4. oci/ai_document/ai_service_document_client.py +26 -26
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_speech/ai_service_speech_client.py +19 -19
  7. oci/ai_vision/ai_service_vision_client.py +28 -28
  8. oci/analytics/analytics_client.py +24 -24
  9. oci/announcements_service/announcement_client.py +5 -5
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/announcements_service/service_client.py +1 -1
  13. oci/apigateway/api_gateway_client.py +21 -21
  14. oci/apigateway/deployment_client.py +6 -6
  15. oci/apigateway/gateway_client.py +6 -6
  16. oci/apigateway/subscribers_client.py +6 -6
  17. oci/apigateway/usage_plans_client.py +6 -6
  18. oci/apigateway/work_requests_client.py +5 -5
  19. oci/apm_config/config_client.py +9 -9
  20. oci/apm_control_plane/apm_domain_client.py +14 -14
  21. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  22. oci/apm_traces/attributes_client.py +8 -8
  23. oci/apm_traces/query_client.py +2 -2
  24. oci/apm_traces/trace_client.py +4 -4
  25. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  26. oci/artifacts/artifacts_client.py +32 -32
  27. oci/audit/audit_client.py +3 -3
  28. oci/autoscaling/auto_scaling_client.py +11 -11
  29. oci/base_client.py +2 -2
  30. oci/bastion/bastion_client.py +15 -15
  31. oci/bds/bds_client.py +84 -84
  32. oci/blockchain/blockchain_platform_client.py +27 -27
  33. oci/budget/budget_client.py +10 -10
  34. oci/capacity_management/capacity_management_client.py +32 -32
  35. oci/certificates/certificates_client.py +5 -5
  36. oci/certificates_management/certificates_management_client.py +32 -32
  37. oci/cims/incident_client.py +6 -6
  38. oci/cloud_bridge/common_client.py +5 -5
  39. oci/cloud_bridge/discovery_client.py +15 -15
  40. oci/cloud_bridge/inventory_client.py +16 -16
  41. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  42. oci/cloud_guard/cloud_guard_client.py +155 -155
  43. oci/cloud_migrations/migration_client.py +43 -43
  44. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  45. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  46. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  47. oci/compute_instance_agent/plugin_client.py +2 -2
  48. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  49. oci/container_engine/container_engine_client.py +44 -44
  50. oci/container_instances/container_instance_client.py +18 -18
  51. oci/core/blockstorage_client.py +60 -60
  52. oci/core/compute_client.py +102 -102
  53. oci/core/compute_management_client.py +32 -32
  54. oci/core/models/__init__.py +18 -0
  55. oci/core/models/byoasn.py +501 -0
  56. oci/core/models/byoasn_byoip_range.py +173 -0
  57. oci/core/models/byoasn_collection.py +72 -0
  58. oci/core/models/byoasn_summary.py +360 -0
  59. oci/core/models/byoip_range.py +27 -0
  60. oci/core/models/byoip_range_origin_asn.py +138 -0
  61. oci/core/models/change_byoasn_compartment_details.py +76 -0
  62. oci/core/models/create_byoasn_details.py +222 -0
  63. oci/core/models/set_origin_asn_details.py +107 -0
  64. oci/core/models/update_byoasn_details.py +156 -0
  65. oci/core/virtual_network_client.py +1426 -379
  66. oci/core/virtual_network_client_composite_operations.py +229 -0
  67. oci/dashboard_service/dashboard_client.py +6 -6
  68. oci/dashboard_service/dashboard_group_client.py +6 -6
  69. oci/data_catalog/data_catalog_client.py +149 -149
  70. oci/data_flow/data_flow_client.py +45 -45
  71. oci/data_integration/data_integration_client.py +163 -163
  72. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  73. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  74. oci/data_safe/data_safe_client.py +292 -292
  75. oci/data_science/data_science_client.py +92 -92
  76. oci/database/database_client.py +2127 -1266
  77. oci/database/database_client_composite_operations.py +573 -0
  78. oci/database/models/__init__.py +24 -0
  79. oci/database/models/autonomous_dw_database.py +4609 -0
  80. oci/database/models/backup.py +29 -2
  81. oci/database/models/backup_summary.py +29 -2
  82. oci/database/models/convert_to_standalone_details.py +76 -0
  83. oci/database/models/create_data_guard_association_details.py +27 -0
  84. oci/database/models/create_data_guard_association_to_existing_db_system_details.py +7 -0
  85. oci/database/models/create_data_guard_association_to_existing_vm_cluster_details.py +7 -0
  86. oci/database/models/create_data_guard_association_with_new_db_system_details.py +7 -0
  87. oci/database/models/create_database_base.py +13 -3
  88. oci/database/models/create_database_details.py +29 -2
  89. oci/database/models/create_database_from_backup.py +1 -1
  90. oci/database/models/create_database_from_backup_details.py +27 -0
  91. oci/database/models/create_new_database_details.py +1 -1
  92. oci/database/models/create_stand_by_database_details.py +108 -0
  93. oci/database/models/create_standby_details.py +396 -0
  94. oci/database/models/data_guard_group.py +132 -0
  95. oci/database/models/data_guard_group_member.py +406 -0
  96. oci/database/models/database.py +56 -2
  97. oci/database/models/database_summary.py +56 -2
  98. oci/database/models/encryption_key_location_details.py +101 -0
  99. oci/database/models/external_hsm_encryption_details.py +82 -0
  100. oci/database/models/failover_data_guard_details.py +76 -0
  101. oci/database/models/reinstate_data_guard_details.py +111 -0
  102. oci/database/models/switch_over_data_guard_details.py +76 -0
  103. oci/database/models/update_autonomous_database_details.py +37 -2
  104. oci/database/models/update_data_guard_details.py +241 -0
  105. oci/database_management/db_management_client.py +211 -211
  106. oci/database_management/diagnosability_client.py +4 -4
  107. oci/database_management/managed_my_sql_databases_client.py +7 -7
  108. oci/database_management/perfhub_client.py +1 -1
  109. oci/database_management/sql_tuning_client.py +17 -17
  110. oci/database_migration/database_migration_client.py +42 -42
  111. oci/database_tools/database_tools_client.py +23 -23
  112. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  113. oci/delegate_access_control/work_request_client.py +4 -4
  114. oci/demand_signal/occ_demand_signal_client.py +7 -7
  115. oci/desktops/desktop_service_client.py +21 -21
  116. oci/devops/devops_client.py +141 -141
  117. oci/disaster_recovery/disaster_recovery_client.py +31 -31
  118. oci/dns/dns_client.py +54 -54
  119. oci/dts/appliance_export_job_client.py +6 -6
  120. oci/dts/shipping_vendors_client.py +1 -1
  121. oci/dts/transfer_appliance_client.py +8 -8
  122. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  123. oci/dts/transfer_device_client.py +5 -5
  124. oci/dts/transfer_job_client.py +6 -6
  125. oci/dts/transfer_package_client.py +7 -7
  126. oci/em_warehouse/em_warehouse_client.py +13 -13
  127. oci/email/email_client.py +31 -31
  128. oci/email_data_plane/email_dp_client.py +1 -1
  129. oci/events/events_client.py +6 -6
  130. oci/file_storage/file_storage_client.py +68 -68
  131. oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
  132. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  133. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  134. oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
  135. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
  136. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  137. oci/functions/functions_invoke_client.py +1 -1
  138. oci/functions/functions_management_client.py +16 -16
  139. oci/fusion_apps/fusion_applications_client.py +41 -41
  140. oci/generative_ai/generative_ai_client.py +22 -22
  141. oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
  142. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
  143. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  144. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  145. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  146. oci/golden_gate/golden_gate_client.py +84 -84
  147. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  148. oci/governance_rules_control_plane/work_request_client.py +5 -5
  149. oci/healthchecks/health_checks_client.py +17 -17
  150. oci/identity/identity_client.py +145 -145
  151. oci/identity_data_plane/dataplane_client.py +2 -2
  152. oci/identity_domains/identity_domains_client.py +311 -311
  153. oci/integration/integration_instance_client.py +19 -19
  154. oci/jms/java_management_service_client.py +75 -75
  155. oci/jms_java_downloads/java_download_client.py +25 -25
  156. oci/key_management/ekm_client.py +5 -5
  157. oci/key_management/kms_crypto_client.py +6 -6
  158. oci/key_management/kms_hsm_cluster_client.py +12 -12
  159. oci/key_management/kms_management_client.py +21 -21
  160. oci/key_management/kms_vault_client.py +14 -14
  161. oci/license_manager/license_manager_client.py +18 -18
  162. oci/limits/limits_client.py +4 -4
  163. oci/limits/quotas_client.py +7 -7
  164. oci/load_balancer/load_balancer_client.py +61 -61
  165. oci/lockbox/lockbox_client.py +24 -24
  166. oci/log_analytics/log_analytics_client.py +193 -193
  167. oci/logging/logging_management_client.py +30 -30
  168. oci/loggingingestion/logging_client.py +1 -1
  169. oci/loggingsearch/log_search_client.py +1 -1
  170. oci/management_agent/management_agent_client.py +28 -28
  171. oci/management_dashboard/dashx_apis_client.py +14 -14
  172. oci/marketplace/account_client.py +2 -2
  173. oci/marketplace/marketplace_client.py +30 -30
  174. oci/marketplace_private_offer/attachment_client.py +5 -5
  175. oci/marketplace_private_offer/offer_client.py +6 -6
  176. oci/marketplace_publisher/attachment_client.py +5 -5
  177. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  178. oci/marketplace_publisher/offer_client.py +6 -6
  179. oci/media_services/media_services_client.py +60 -60
  180. oci/media_services/media_stream_client.py +2 -2
  181. oci/monitoring/monitoring_client.py +18 -18
  182. oci/mysql/channels_client.py +7 -7
  183. oci/mysql/db_backups_client.py +7 -7
  184. oci/mysql/db_system_client.py +17 -17
  185. oci/mysql/mysqlaas_client.py +7 -7
  186. oci/mysql/replicas_client.py +5 -5
  187. oci/mysql/work_requests_client.py +4 -4
  188. oci/network_firewall/network_firewall_client.py +86 -86
  189. oci/network_load_balancer/models/__init__.py +2 -0
  190. oci/network_load_balancer/models/backend.py +8 -8
  191. oci/network_load_balancer/models/backend_details.py +4 -4
  192. oci/network_load_balancer/models/backend_operational_status.py +92 -0
  193. oci/network_load_balancer/models/backend_set.py +64 -2
  194. oci/network_load_balancer/models/backend_set_details.py +64 -2
  195. oci/network_load_balancer/models/backend_set_summary.py +64 -2
  196. oci/network_load_balancer/models/backend_summary.py +8 -8
  197. oci/network_load_balancer/models/create_backend_details.py +8 -8
  198. oci/network_load_balancer/models/create_backend_set_details.py +64 -2
  199. oci/network_load_balancer/models/create_listener_details.py +3 -3
  200. oci/network_load_balancer/models/create_network_load_balancer_details.py +6 -6
  201. oci/network_load_balancer/models/health_checker.py +2 -2
  202. oci/network_load_balancer/models/health_checker_details.py +2 -2
  203. oci/network_load_balancer/models/listener.py +3 -3
  204. oci/network_load_balancer/models/listener_details.py +3 -3
  205. oci/network_load_balancer/models/listener_summary.py +3 -3
  206. oci/network_load_balancer/models/network_load_balancer.py +6 -6
  207. oci/network_load_balancer/models/network_load_balancer_summary.py +4 -4
  208. oci/network_load_balancer/models/update_backend_details.py +6 -6
  209. oci/network_load_balancer/models/update_backend_set_details.py +64 -2
  210. oci/network_load_balancer/models/update_listener_details.py +3 -3
  211. oci/network_load_balancer/network_load_balancer_client.py +150 -34
  212. oci/nosql/nosql_client.py +24 -24
  213. oci/object_storage/object_storage_client.py +55 -55
  214. oci/oce/oce_instance_client.py +10 -10
  215. oci/oci_control_center/occ_metrics_client.py +3 -3
  216. oci/ocvp/cluster_client.py +5 -5
  217. oci/ocvp/esxi_host_client.py +8 -8
  218. oci/ocvp/sddc_client.py +14 -14
  219. oci/ocvp/work_request_client.py +4 -4
  220. oci/oda/management_client.py +59 -59
  221. oci/oda/oda_client.py +17 -17
  222. oci/oda/odapackage_client.py +7 -7
  223. oci/onesubscription/billing_schedule_client.py +1 -1
  224. oci/onesubscription/commitment_client.py +2 -2
  225. oci/onesubscription/computed_usage_client.py +3 -3
  226. oci/onesubscription/invoice_summary_client.py +2 -2
  227. oci/onesubscription/organization_subscription_client.py +1 -1
  228. oci/onesubscription/ratecard_client.py +1 -1
  229. oci/onesubscription/subscribed_service_client.py +2 -2
  230. oci/onesubscription/subscription_client.py +1 -1
  231. oci/ons/notification_control_plane_client.py +6 -6
  232. oci/ons/notification_data_plane_client.py +10 -10
  233. oci/opa/opa_instance_client.py +13 -13
  234. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  235. oci/opensearch/opensearch_cluster_client.py +16 -16
  236. oci/operator_access_control/access_requests_client.py +10 -10
  237. oci/operator_access_control/operator_actions_client.py +2 -2
  238. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  239. oci/operator_access_control/operator_control_client.py +6 -6
  240. oci/opsi/operations_insights_client.py +180 -180
  241. oci/optimizer/optimizer_client.py +26 -26
  242. oci/os_management/event_client.py +8 -8
  243. oci/os_management/os_management_client.py +69 -69
  244. oci/os_management_hub/event_client.py +8 -8
  245. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  246. oci/os_management_hub/managed_instance_client.py +31 -31
  247. oci/os_management_hub/managed_instance_group_client.py +25 -25
  248. oci/os_management_hub/management_station_client.py +10 -10
  249. oci/os_management_hub/onboarding_client.py +6 -6
  250. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  251. oci/os_management_hub/scheduled_job_client.py +7 -7
  252. oci/os_management_hub/software_source_client.py +27 -27
  253. oci/os_management_hub/work_request_client.py +4 -4
  254. oci/osp_gateway/address_rule_service_client.py +1 -1
  255. oci/osp_gateway/address_service_client.py +2 -2
  256. oci/osp_gateway/invoice_service_client.py +5 -5
  257. oci/osp_gateway/subscription_service_client.py +5 -5
  258. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  259. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  260. oci/osub_subscription/commitment_client.py +2 -2
  261. oci/osub_subscription/ratecard_client.py +1 -1
  262. oci/osub_subscription/subscription_client.py +1 -1
  263. oci/osub_usage/computed_usage_client.py +3 -3
  264. oci/psql/postgresql_client.py +33 -33
  265. oci/queue/queue_admin_client.py +11 -11
  266. oci/queue/queue_client.py +8 -8
  267. oci/recovery/database_recovery_client.py +26 -26
  268. oci/redis/redis_cluster_client.py +12 -12
  269. oci/resource_manager/resource_manager_client.py +52 -52
  270. oci/resource_scheduler/schedule_client.py +13 -13
  271. oci/resource_search/resource_search_client.py +3 -3
  272. oci/rover/rover_bundle_client.py +8 -8
  273. oci/rover/rover_cluster_client.py +8 -8
  274. oci/rover/rover_entitlement_client.py +6 -6
  275. oci/rover/rover_node_client.py +15 -15
  276. oci/rover/shape_client.py +1 -1
  277. oci/rover/work_requests_client.py +5 -5
  278. oci/sch/connector_plugins_client.py +2 -2
  279. oci/sch/service_connector_client.py +12 -12
  280. oci/secrets/secrets_client.py +3 -3
  281. oci/security_attribute/security_attribute_client.py +18 -18
  282. oci/service_catalog/service_catalog_client.py +26 -26
  283. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  284. oci/service_mesh/service_mesh_client.py +48 -48
  285. oci/stack_monitoring/stack_monitoring_client.py +71 -71
  286. oci/streaming/stream_admin_client.py +18 -18
  287. oci/streaming/stream_client.py +8 -8
  288. oci/tenant_manager_control_plane/domain_client.py +5 -5
  289. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  290. oci/tenant_manager_control_plane/governance_client.py +2 -2
  291. oci/tenant_manager_control_plane/link_client.py +3 -3
  292. oci/tenant_manager_control_plane/orders_client.py +2 -2
  293. oci/tenant_manager_control_plane/organization_client.py +10 -10
  294. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  295. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  296. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  297. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  298. oci/threat_intelligence/threatintel_client.py +5 -5
  299. oci/usage/resources_client.py +2 -2
  300. oci/usage/rewards_client.py +6 -6
  301. oci/usage/usagelimits_client.py +1 -1
  302. oci/usage_api/usageapi_client.py +33 -33
  303. oci/vault/vaults_client.py +13 -13
  304. oci/vbs_inst/vbs_instance_client.py +10 -10
  305. oci/version.py +1 -1
  306. oci/visual_builder/vb_instance_client.py +14 -14
  307. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  308. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  309. oci/waa/waa_client.py +13 -13
  310. oci/waa/work_request_client.py +4 -4
  311. oci/waas/redirect_client.py +6 -6
  312. oci/waas/waas_client.py +66 -66
  313. oci/waf/waf_client.py +24 -24
  314. oci/work_requests/work_request_client.py +4 -4
  315. oci/zpr/zpr_client.py +15 -15
  316. {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/METADATA +1 -1
  317. {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/RECORD +321 -299
  318. {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/LICENSE.txt +0 -0
  319. {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  320. {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/WHEEL +0 -0
  321. {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,501 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, 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: 20160918
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 Byoasn(object):
14
+ """
15
+ Oracle offers the ability to Bring Your Own Autonomous System Number (BYOASN), importing AS Numbers you currently own to Oracle Cloud Infrastructure. A `Byoasn` resource is a record of the imported AS Number and also some associated metadata. The process used to `Bring Your Own ASN`__ is explained in the documentation.
16
+
17
+ __ https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOASN.htm
18
+ """
19
+
20
+ #: A constant which can be used with the lifecycle_state property of a Byoasn.
21
+ #: This constant has a value of "UPDATING"
22
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
23
+
24
+ #: A constant which can be used with the lifecycle_state property of a Byoasn.
25
+ #: This constant has a value of "ACTIVE"
26
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
27
+
28
+ #: A constant which can be used with the lifecycle_state property of a Byoasn.
29
+ #: This constant has a value of "DELETED"
30
+ LIFECYCLE_STATE_DELETED = "DELETED"
31
+
32
+ #: A constant which can be used with the lifecycle_state property of a Byoasn.
33
+ #: This constant has a value of "FAILED"
34
+ LIFECYCLE_STATE_FAILED = "FAILED"
35
+
36
+ #: A constant which can be used with the lifecycle_state property of a Byoasn.
37
+ #: This constant has a value of "CREATING"
38
+ LIFECYCLE_STATE_CREATING = "CREATING"
39
+
40
+ def __init__(self, **kwargs):
41
+ """
42
+ Initializes a new Byoasn object with values from keyword arguments.
43
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
44
+
45
+ :param lifecycle_state:
46
+ The value to assign to the lifecycle_state property of this Byoasn.
47
+ Allowed values for this property are: "UPDATING", "ACTIVE", "DELETED", "FAILED", "CREATING", 'UNKNOWN_ENUM_VALUE'.
48
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
49
+ :type lifecycle_state: str
50
+
51
+ :param defined_tags:
52
+ The value to assign to the defined_tags property of this Byoasn.
53
+ :type defined_tags: dict(str, dict(str, object))
54
+
55
+ :param display_name:
56
+ The value to assign to the display_name property of this Byoasn.
57
+ :type display_name: str
58
+
59
+ :param freeform_tags:
60
+ The value to assign to the freeform_tags property of this Byoasn.
61
+ :type freeform_tags: dict(str, str)
62
+
63
+ :param id:
64
+ The value to assign to the id property of this Byoasn.
65
+ :type id: str
66
+
67
+ :param asn:
68
+ The value to assign to the asn property of this Byoasn.
69
+ :type asn: int
70
+
71
+ :param compartment_id:
72
+ The value to assign to the compartment_id property of this Byoasn.
73
+ :type compartment_id: str
74
+
75
+ :param time_validated:
76
+ The value to assign to the time_validated property of this Byoasn.
77
+ :type time_validated: datetime
78
+
79
+ :param validation_token:
80
+ The value to assign to the validation_token property of this Byoasn.
81
+ :type validation_token: str
82
+
83
+ :param time_created:
84
+ The value to assign to the time_created property of this Byoasn.
85
+ :type time_created: datetime
86
+
87
+ :param time_updated:
88
+ The value to assign to the time_updated property of this Byoasn.
89
+ :type time_updated: datetime
90
+
91
+ :param byoip_ranges:
92
+ The value to assign to the byoip_ranges property of this Byoasn.
93
+ :type byoip_ranges: list[oci.core.models.ByoasnByoipRange]
94
+
95
+ """
96
+ self.swagger_types = {
97
+ 'lifecycle_state': 'str',
98
+ 'defined_tags': 'dict(str, dict(str, object))',
99
+ 'display_name': 'str',
100
+ 'freeform_tags': 'dict(str, str)',
101
+ 'id': 'str',
102
+ 'asn': 'int',
103
+ 'compartment_id': 'str',
104
+ 'time_validated': 'datetime',
105
+ 'validation_token': 'str',
106
+ 'time_created': 'datetime',
107
+ 'time_updated': 'datetime',
108
+ 'byoip_ranges': 'list[ByoasnByoipRange]'
109
+ }
110
+
111
+ self.attribute_map = {
112
+ 'lifecycle_state': 'lifecycleState',
113
+ 'defined_tags': 'definedTags',
114
+ 'display_name': 'displayName',
115
+ 'freeform_tags': 'freeformTags',
116
+ 'id': 'id',
117
+ 'asn': 'asn',
118
+ 'compartment_id': 'compartmentId',
119
+ 'time_validated': 'timeValidated',
120
+ 'validation_token': 'validationToken',
121
+ 'time_created': 'timeCreated',
122
+ 'time_updated': 'timeUpdated',
123
+ 'byoip_ranges': 'byoipRanges'
124
+ }
125
+
126
+ self._lifecycle_state = None
127
+ self._defined_tags = None
128
+ self._display_name = None
129
+ self._freeform_tags = None
130
+ self._id = None
131
+ self._asn = None
132
+ self._compartment_id = None
133
+ self._time_validated = None
134
+ self._validation_token = None
135
+ self._time_created = None
136
+ self._time_updated = None
137
+ self._byoip_ranges = None
138
+
139
+ @property
140
+ def lifecycle_state(self):
141
+ """
142
+ **[Required]** Gets the lifecycle_state of this Byoasn.
143
+ The `Byoasn` resource's current state.
144
+
145
+ Allowed values for this property are: "UPDATING", "ACTIVE", "DELETED", "FAILED", "CREATING", 'UNKNOWN_ENUM_VALUE'.
146
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
147
+
148
+
149
+ :return: The lifecycle_state of this Byoasn.
150
+ :rtype: str
151
+ """
152
+ return self._lifecycle_state
153
+
154
+ @lifecycle_state.setter
155
+ def lifecycle_state(self, lifecycle_state):
156
+ """
157
+ Sets the lifecycle_state of this Byoasn.
158
+ The `Byoasn` resource's current state.
159
+
160
+
161
+ :param lifecycle_state: The lifecycle_state of this Byoasn.
162
+ :type: str
163
+ """
164
+ allowed_values = ["UPDATING", "ACTIVE", "DELETED", "FAILED", "CREATING"]
165
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
166
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
167
+ self._lifecycle_state = lifecycle_state
168
+
169
+ @property
170
+ def defined_tags(self):
171
+ """
172
+ Gets the defined_tags of this Byoasn.
173
+ Defined tags for this resource. Each key is predefined and scoped to a
174
+ namespace. For more information, see `Resource Tags`__.
175
+
176
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
177
+
178
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
179
+
180
+
181
+ :return: The defined_tags of this Byoasn.
182
+ :rtype: dict(str, dict(str, object))
183
+ """
184
+ return self._defined_tags
185
+
186
+ @defined_tags.setter
187
+ def defined_tags(self, defined_tags):
188
+ """
189
+ Sets the defined_tags of this Byoasn.
190
+ Defined tags for this resource. Each key is predefined and scoped to a
191
+ namespace. For more information, see `Resource Tags`__.
192
+
193
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
194
+
195
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
196
+
197
+
198
+ :param defined_tags: The defined_tags of this Byoasn.
199
+ :type: dict(str, dict(str, object))
200
+ """
201
+ self._defined_tags = defined_tags
202
+
203
+ @property
204
+ def display_name(self):
205
+ """
206
+ Gets the display_name of this Byoasn.
207
+ A user-friendly name. Does not have to be unique, and it's changeable.
208
+ Avoid entering confidential information.
209
+
210
+
211
+ :return: The display_name of this Byoasn.
212
+ :rtype: str
213
+ """
214
+ return self._display_name
215
+
216
+ @display_name.setter
217
+ def display_name(self, display_name):
218
+ """
219
+ Sets the display_name of this Byoasn.
220
+ A user-friendly name. Does not have to be unique, and it's changeable.
221
+ Avoid entering confidential information.
222
+
223
+
224
+ :param display_name: The display_name of this Byoasn.
225
+ :type: str
226
+ """
227
+ self._display_name = display_name
228
+
229
+ @property
230
+ def freeform_tags(self):
231
+ """
232
+ Gets the freeform_tags of this Byoasn.
233
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
234
+ predefined name, type, or namespace. For more information, see `Resource Tags`__.
235
+
236
+ Example: `{\"Department\": \"Finance\"}`
237
+
238
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
239
+
240
+
241
+ :return: The freeform_tags of this Byoasn.
242
+ :rtype: dict(str, str)
243
+ """
244
+ return self._freeform_tags
245
+
246
+ @freeform_tags.setter
247
+ def freeform_tags(self, freeform_tags):
248
+ """
249
+ Sets the freeform_tags of this Byoasn.
250
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
251
+ predefined name, type, or namespace. For more information, see `Resource Tags`__.
252
+
253
+ Example: `{\"Department\": \"Finance\"}`
254
+
255
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
256
+
257
+
258
+ :param freeform_tags: The freeform_tags of this Byoasn.
259
+ :type: dict(str, str)
260
+ """
261
+ self._freeform_tags = freeform_tags
262
+
263
+ @property
264
+ def id(self):
265
+ """
266
+ **[Required]** Gets the id of this Byoasn.
267
+ The `OCID`__ of the `Byoasn` resource.
268
+
269
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
270
+
271
+
272
+ :return: The id of this Byoasn.
273
+ :rtype: str
274
+ """
275
+ return self._id
276
+
277
+ @id.setter
278
+ def id(self, id):
279
+ """
280
+ Sets the id of this Byoasn.
281
+ The `OCID`__ of the `Byoasn` resource.
282
+
283
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
284
+
285
+
286
+ :param id: The id of this Byoasn.
287
+ :type: str
288
+ """
289
+ self._id = id
290
+
291
+ @property
292
+ def asn(self):
293
+ """
294
+ **[Required]** Gets the asn of this Byoasn.
295
+ The Autonomous System Number (ASN) you are importing to the Oracle cloud.
296
+
297
+
298
+ :return: The asn of this Byoasn.
299
+ :rtype: int
300
+ """
301
+ return self._asn
302
+
303
+ @asn.setter
304
+ def asn(self, asn):
305
+ """
306
+ Sets the asn of this Byoasn.
307
+ The Autonomous System Number (ASN) you are importing to the Oracle cloud.
308
+
309
+
310
+ :param asn: The asn of this Byoasn.
311
+ :type: int
312
+ """
313
+ self._asn = asn
314
+
315
+ @property
316
+ def compartment_id(self):
317
+ """
318
+ **[Required]** Gets the compartment_id of this Byoasn.
319
+ The `OCID`__ of the compartment containing the `Byoasn` resource.
320
+
321
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
322
+
323
+
324
+ :return: The compartment_id of this Byoasn.
325
+ :rtype: str
326
+ """
327
+ return self._compartment_id
328
+
329
+ @compartment_id.setter
330
+ def compartment_id(self, compartment_id):
331
+ """
332
+ Sets the compartment_id of this Byoasn.
333
+ The `OCID`__ of the compartment containing the `Byoasn` resource.
334
+
335
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
336
+
337
+
338
+ :param compartment_id: The compartment_id of this Byoasn.
339
+ :type: str
340
+ """
341
+ self._compartment_id = compartment_id
342
+
343
+ @property
344
+ def time_validated(self):
345
+ """
346
+ Gets the time_validated of this Byoasn.
347
+ The date and time the `Byoasn` resource was validated, in the format defined by `RFC3339`__.
348
+
349
+ Example: `2016-08-25T21:10:29.600Z`
350
+
351
+ __ https://tools.ietf.org/html/rfc3339
352
+
353
+
354
+ :return: The time_validated of this Byoasn.
355
+ :rtype: datetime
356
+ """
357
+ return self._time_validated
358
+
359
+ @time_validated.setter
360
+ def time_validated(self, time_validated):
361
+ """
362
+ Sets the time_validated of this Byoasn.
363
+ The date and time the `Byoasn` resource was validated, in the format defined by `RFC3339`__.
364
+
365
+ Example: `2016-08-25T21:10:29.600Z`
366
+
367
+ __ https://tools.ietf.org/html/rfc3339
368
+
369
+
370
+ :param time_validated: The time_validated of this Byoasn.
371
+ :type: datetime
372
+ """
373
+ self._time_validated = time_validated
374
+
375
+ @property
376
+ def validation_token(self):
377
+ """
378
+ **[Required]** Gets the validation_token of this Byoasn.
379
+ The validation token is an internally-generated ASCII string used in the validation process. See `Importing a Byoasn`__ for details.
380
+
381
+ __ https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOASN.htm
382
+
383
+
384
+ :return: The validation_token of this Byoasn.
385
+ :rtype: str
386
+ """
387
+ return self._validation_token
388
+
389
+ @validation_token.setter
390
+ def validation_token(self, validation_token):
391
+ """
392
+ Sets the validation_token of this Byoasn.
393
+ The validation token is an internally-generated ASCII string used in the validation process. See `Importing a Byoasn`__ for details.
394
+
395
+ __ https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOASN.htm
396
+
397
+
398
+ :param validation_token: The validation_token of this Byoasn.
399
+ :type: str
400
+ """
401
+ self._validation_token = validation_token
402
+
403
+ @property
404
+ def time_created(self):
405
+ """
406
+ **[Required]** Gets the time_created of this Byoasn.
407
+ The date and time the `Byoasn` resource was created, in the format defined by `RFC3339`__.
408
+
409
+ Example: `2016-08-25T21:10:29.600Z`
410
+
411
+ __ https://tools.ietf.org/html/rfc3339
412
+
413
+
414
+ :return: The time_created of this Byoasn.
415
+ :rtype: datetime
416
+ """
417
+ return self._time_created
418
+
419
+ @time_created.setter
420
+ def time_created(self, time_created):
421
+ """
422
+ Sets the time_created of this Byoasn.
423
+ The date and time the `Byoasn` resource was created, in the format defined by `RFC3339`__.
424
+
425
+ Example: `2016-08-25T21:10:29.600Z`
426
+
427
+ __ https://tools.ietf.org/html/rfc3339
428
+
429
+
430
+ :param time_created: The time_created of this Byoasn.
431
+ :type: datetime
432
+ """
433
+ self._time_created = time_created
434
+
435
+ @property
436
+ def time_updated(self):
437
+ """
438
+ Gets the time_updated of this Byoasn.
439
+ The date and time the `Byoasn` resource was last updated, in the format defined by `RFC3339`__.
440
+
441
+ Example: `2016-08-25T21:10:29.600Z`
442
+
443
+ __ https://tools.ietf.org/html/rfc3339
444
+
445
+
446
+ :return: The time_updated of this Byoasn.
447
+ :rtype: datetime
448
+ """
449
+ return self._time_updated
450
+
451
+ @time_updated.setter
452
+ def time_updated(self, time_updated):
453
+ """
454
+ Sets the time_updated of this Byoasn.
455
+ The date and time the `Byoasn` resource was last updated, in the format defined by `RFC3339`__.
456
+
457
+ Example: `2016-08-25T21:10:29.600Z`
458
+
459
+ __ https://tools.ietf.org/html/rfc3339
460
+
461
+
462
+ :param time_updated: The time_updated of this Byoasn.
463
+ :type: datetime
464
+ """
465
+ self._time_updated = time_updated
466
+
467
+ @property
468
+ def byoip_ranges(self):
469
+ """
470
+ Gets the byoip_ranges of this Byoasn.
471
+ The BYOIP Ranges that has the `Byoasn` as origin.
472
+
473
+
474
+ :return: The byoip_ranges of this Byoasn.
475
+ :rtype: list[oci.core.models.ByoasnByoipRange]
476
+ """
477
+ return self._byoip_ranges
478
+
479
+ @byoip_ranges.setter
480
+ def byoip_ranges(self, byoip_ranges):
481
+ """
482
+ Sets the byoip_ranges of this Byoasn.
483
+ The BYOIP Ranges that has the `Byoasn` as origin.
484
+
485
+
486
+ :param byoip_ranges: The byoip_ranges of this Byoasn.
487
+ :type: list[oci.core.models.ByoasnByoipRange]
488
+ """
489
+ self._byoip_ranges = byoip_ranges
490
+
491
+ def __repr__(self):
492
+ return formatted_flat_dict(self)
493
+
494
+ def __eq__(self, other):
495
+ if other is None:
496
+ return False
497
+
498
+ return self.__dict__ == other.__dict__
499
+
500
+ def __ne__(self, other):
501
+ return not self == other
@@ -0,0 +1,173 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, 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: 20160918
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 ByoasnByoipRange(object):
14
+ """
15
+ Information about 'ByoipRange' that has `byoasn` as origin.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new ByoasnByoipRange object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param cidr_block:
24
+ The value to assign to the cidr_block property of this ByoasnByoipRange.
25
+ :type cidr_block: str
26
+
27
+ :param ipv6_cidr_block:
28
+ The value to assign to the ipv6_cidr_block property of this ByoasnByoipRange.
29
+ :type ipv6_cidr_block: str
30
+
31
+ :param byoip_range_id:
32
+ The value to assign to the byoip_range_id property of this ByoasnByoipRange.
33
+ :type byoip_range_id: str
34
+
35
+ :param as_path_prepend_length:
36
+ The value to assign to the as_path_prepend_length property of this ByoasnByoipRange.
37
+ :type as_path_prepend_length: int
38
+
39
+ """
40
+ self.swagger_types = {
41
+ 'cidr_block': 'str',
42
+ 'ipv6_cidr_block': 'str',
43
+ 'byoip_range_id': 'str',
44
+ 'as_path_prepend_length': 'int'
45
+ }
46
+
47
+ self.attribute_map = {
48
+ 'cidr_block': 'cidrBlock',
49
+ 'ipv6_cidr_block': 'ipv6CidrBlock',
50
+ 'byoip_range_id': 'byoipRangeId',
51
+ 'as_path_prepend_length': 'asPathPrependLength'
52
+ }
53
+
54
+ self._cidr_block = None
55
+ self._ipv6_cidr_block = None
56
+ self._byoip_range_id = None
57
+ self._as_path_prepend_length = None
58
+
59
+ @property
60
+ def cidr_block(self):
61
+ """
62
+ Gets the cidr_block of this ByoasnByoipRange.
63
+ The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block.
64
+
65
+
66
+ :return: The cidr_block of this ByoasnByoipRange.
67
+ :rtype: str
68
+ """
69
+ return self._cidr_block
70
+
71
+ @cidr_block.setter
72
+ def cidr_block(self, cidr_block):
73
+ """
74
+ Sets the cidr_block of this ByoasnByoipRange.
75
+ The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block.
76
+
77
+
78
+ :param cidr_block: The cidr_block of this ByoasnByoipRange.
79
+ :type: str
80
+ """
81
+ self._cidr_block = cidr_block
82
+
83
+ @property
84
+ def ipv6_cidr_block(self):
85
+ """
86
+ Gets the ipv6_cidr_block of this ByoasnByoipRange.
87
+ The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used
88
+ across multiple VCNs. A BYOIPv6 prefix can be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify
89
+ a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
90
+
91
+
92
+ :return: The ipv6_cidr_block of this ByoasnByoipRange.
93
+ :rtype: str
94
+ """
95
+ return self._ipv6_cidr_block
96
+
97
+ @ipv6_cidr_block.setter
98
+ def ipv6_cidr_block(self, ipv6_cidr_block):
99
+ """
100
+ Sets the ipv6_cidr_block of this ByoasnByoipRange.
101
+ The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used
102
+ across multiple VCNs. A BYOIPv6 prefix can be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify
103
+ a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
104
+
105
+
106
+ :param ipv6_cidr_block: The ipv6_cidr_block of this ByoasnByoipRange.
107
+ :type: str
108
+ """
109
+ self._ipv6_cidr_block = ipv6_cidr_block
110
+
111
+ @property
112
+ def byoip_range_id(self):
113
+ """
114
+ **[Required]** Gets the byoip_range_id of this ByoasnByoipRange.
115
+ The `OCID`__ of the `ByoipRange` resource to which the CIDR block belongs.
116
+
117
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
118
+
119
+
120
+ :return: The byoip_range_id of this ByoasnByoipRange.
121
+ :rtype: str
122
+ """
123
+ return self._byoip_range_id
124
+
125
+ @byoip_range_id.setter
126
+ def byoip_range_id(self, byoip_range_id):
127
+ """
128
+ Sets the byoip_range_id of this ByoasnByoipRange.
129
+ The `OCID`__ of the `ByoipRange` resource to which the CIDR block belongs.
130
+
131
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
132
+
133
+
134
+ :param byoip_range_id: The byoip_range_id of this ByoasnByoipRange.
135
+ :type: str
136
+ """
137
+ self._byoip_range_id = byoip_range_id
138
+
139
+ @property
140
+ def as_path_prepend_length(self):
141
+ """
142
+ Gets the as_path_prepend_length of this ByoasnByoipRange.
143
+ The as path prepend length.
144
+
145
+
146
+ :return: The as_path_prepend_length of this ByoasnByoipRange.
147
+ :rtype: int
148
+ """
149
+ return self._as_path_prepend_length
150
+
151
+ @as_path_prepend_length.setter
152
+ def as_path_prepend_length(self, as_path_prepend_length):
153
+ """
154
+ Sets the as_path_prepend_length of this ByoasnByoipRange.
155
+ The as path prepend length.
156
+
157
+
158
+ :param as_path_prepend_length: The as_path_prepend_length of this ByoasnByoipRange.
159
+ :type: int
160
+ """
161
+ self._as_path_prepend_length = as_path_prepend_length
162
+
163
+ def __repr__(self):
164
+ return formatted_flat_dict(self)
165
+
166
+ def __eq__(self, other):
167
+ if other is None:
168
+ return False
169
+
170
+ return self.__dict__ == other.__dict__
171
+
172
+ def __ne__(self, other):
173
+ return not self == other