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,223 @@
|
|
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: 20190531
|
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 CreateNodeBackupConfigurationDetails(object):
|
14
|
+
"""
|
15
|
+
The information about the NodeBackupConfiguration.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new CreateNodeBackupConfigurationDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param level_type_details:
|
24
|
+
The value to assign to the level_type_details property of this CreateNodeBackupConfigurationDetails.
|
25
|
+
:type level_type_details: oci.bds.models.LevelTypeDetails
|
26
|
+
|
27
|
+
:param display_name:
|
28
|
+
The value to assign to the display_name property of this CreateNodeBackupConfigurationDetails.
|
29
|
+
:type display_name: str
|
30
|
+
|
31
|
+
:param timezone:
|
32
|
+
The value to assign to the timezone property of this CreateNodeBackupConfigurationDetails.
|
33
|
+
:type timezone: str
|
34
|
+
|
35
|
+
:param schedule:
|
36
|
+
The value to assign to the schedule property of this CreateNodeBackupConfigurationDetails.
|
37
|
+
:type schedule: str
|
38
|
+
|
39
|
+
:param number_of_backups_to_retain:
|
40
|
+
The value to assign to the number_of_backups_to_retain property of this CreateNodeBackupConfigurationDetails.
|
41
|
+
:type number_of_backups_to_retain: int
|
42
|
+
|
43
|
+
:param backup_type:
|
44
|
+
The value to assign to the backup_type property of this CreateNodeBackupConfigurationDetails.
|
45
|
+
:type backup_type: str
|
46
|
+
|
47
|
+
"""
|
48
|
+
self.swagger_types = {
|
49
|
+
'level_type_details': 'LevelTypeDetails',
|
50
|
+
'display_name': 'str',
|
51
|
+
'timezone': 'str',
|
52
|
+
'schedule': 'str',
|
53
|
+
'number_of_backups_to_retain': 'int',
|
54
|
+
'backup_type': 'str'
|
55
|
+
}
|
56
|
+
|
57
|
+
self.attribute_map = {
|
58
|
+
'level_type_details': 'levelTypeDetails',
|
59
|
+
'display_name': 'displayName',
|
60
|
+
'timezone': 'timezone',
|
61
|
+
'schedule': 'schedule',
|
62
|
+
'number_of_backups_to_retain': 'numberOfBackupsToRetain',
|
63
|
+
'backup_type': 'backupType'
|
64
|
+
}
|
65
|
+
|
66
|
+
self._level_type_details = None
|
67
|
+
self._display_name = None
|
68
|
+
self._timezone = None
|
69
|
+
self._schedule = None
|
70
|
+
self._number_of_backups_to_retain = None
|
71
|
+
self._backup_type = None
|
72
|
+
|
73
|
+
@property
|
74
|
+
def level_type_details(self):
|
75
|
+
"""
|
76
|
+
**[Required]** Gets the level_type_details of this CreateNodeBackupConfigurationDetails.
|
77
|
+
|
78
|
+
:return: The level_type_details of this CreateNodeBackupConfigurationDetails.
|
79
|
+
:rtype: oci.bds.models.LevelTypeDetails
|
80
|
+
"""
|
81
|
+
return self._level_type_details
|
82
|
+
|
83
|
+
@level_type_details.setter
|
84
|
+
def level_type_details(self, level_type_details):
|
85
|
+
"""
|
86
|
+
Sets the level_type_details of this CreateNodeBackupConfigurationDetails.
|
87
|
+
|
88
|
+
:param level_type_details: The level_type_details of this CreateNodeBackupConfigurationDetails.
|
89
|
+
:type: oci.bds.models.LevelTypeDetails
|
90
|
+
"""
|
91
|
+
self._level_type_details = level_type_details
|
92
|
+
|
93
|
+
@property
|
94
|
+
def display_name(self):
|
95
|
+
"""
|
96
|
+
Gets the display_name of this CreateNodeBackupConfigurationDetails.
|
97
|
+
A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
|
98
|
+
|
99
|
+
|
100
|
+
:return: The display_name of this CreateNodeBackupConfigurationDetails.
|
101
|
+
:rtype: str
|
102
|
+
"""
|
103
|
+
return self._display_name
|
104
|
+
|
105
|
+
@display_name.setter
|
106
|
+
def display_name(self, display_name):
|
107
|
+
"""
|
108
|
+
Sets the display_name of this CreateNodeBackupConfigurationDetails.
|
109
|
+
A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
|
110
|
+
|
111
|
+
|
112
|
+
:param display_name: The display_name of this CreateNodeBackupConfigurationDetails.
|
113
|
+
:type: str
|
114
|
+
"""
|
115
|
+
self._display_name = display_name
|
116
|
+
|
117
|
+
@property
|
118
|
+
def timezone(self):
|
119
|
+
"""
|
120
|
+
Gets the timezone of this CreateNodeBackupConfigurationDetails.
|
121
|
+
The time zone of the execution schedule, in IANA time zone database name format
|
122
|
+
|
123
|
+
|
124
|
+
:return: The timezone of this CreateNodeBackupConfigurationDetails.
|
125
|
+
:rtype: str
|
126
|
+
"""
|
127
|
+
return self._timezone
|
128
|
+
|
129
|
+
@timezone.setter
|
130
|
+
def timezone(self, timezone):
|
131
|
+
"""
|
132
|
+
Sets the timezone of this CreateNodeBackupConfigurationDetails.
|
133
|
+
The time zone of the execution schedule, in IANA time zone database name format
|
134
|
+
|
135
|
+
|
136
|
+
:param timezone: The timezone of this CreateNodeBackupConfigurationDetails.
|
137
|
+
:type: str
|
138
|
+
"""
|
139
|
+
self._timezone = timezone
|
140
|
+
|
141
|
+
@property
|
142
|
+
def schedule(self):
|
143
|
+
"""
|
144
|
+
**[Required]** Gets the schedule of this CreateNodeBackupConfigurationDetails.
|
145
|
+
Day/time recurrence (specified following RFC 5545) at which to trigger the backup process. Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR. Other fields are not supported.
|
146
|
+
|
147
|
+
|
148
|
+
:return: The schedule of this CreateNodeBackupConfigurationDetails.
|
149
|
+
:rtype: str
|
150
|
+
"""
|
151
|
+
return self._schedule
|
152
|
+
|
153
|
+
@schedule.setter
|
154
|
+
def schedule(self, schedule):
|
155
|
+
"""
|
156
|
+
Sets the schedule of this CreateNodeBackupConfigurationDetails.
|
157
|
+
Day/time recurrence (specified following RFC 5545) at which to trigger the backup process. Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR. Other fields are not supported.
|
158
|
+
|
159
|
+
|
160
|
+
:param schedule: The schedule of this CreateNodeBackupConfigurationDetails.
|
161
|
+
:type: str
|
162
|
+
"""
|
163
|
+
self._schedule = schedule
|
164
|
+
|
165
|
+
@property
|
166
|
+
def number_of_backups_to_retain(self):
|
167
|
+
"""
|
168
|
+
Gets the number_of_backups_to_retain of this CreateNodeBackupConfigurationDetails.
|
169
|
+
Number of backup copies to retain.
|
170
|
+
|
171
|
+
|
172
|
+
:return: The number_of_backups_to_retain of this CreateNodeBackupConfigurationDetails.
|
173
|
+
:rtype: int
|
174
|
+
"""
|
175
|
+
return self._number_of_backups_to_retain
|
176
|
+
|
177
|
+
@number_of_backups_to_retain.setter
|
178
|
+
def number_of_backups_to_retain(self, number_of_backups_to_retain):
|
179
|
+
"""
|
180
|
+
Sets the number_of_backups_to_retain of this CreateNodeBackupConfigurationDetails.
|
181
|
+
Number of backup copies to retain.
|
182
|
+
|
183
|
+
|
184
|
+
:param number_of_backups_to_retain: The number_of_backups_to_retain of this CreateNodeBackupConfigurationDetails.
|
185
|
+
:type: int
|
186
|
+
"""
|
187
|
+
self._number_of_backups_to_retain = number_of_backups_to_retain
|
188
|
+
|
189
|
+
@property
|
190
|
+
def backup_type(self):
|
191
|
+
"""
|
192
|
+
Gets the backup_type of this CreateNodeBackupConfigurationDetails.
|
193
|
+
Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
|
194
|
+
|
195
|
+
|
196
|
+
:return: The backup_type of this CreateNodeBackupConfigurationDetails.
|
197
|
+
:rtype: str
|
198
|
+
"""
|
199
|
+
return self._backup_type
|
200
|
+
|
201
|
+
@backup_type.setter
|
202
|
+
def backup_type(self, backup_type):
|
203
|
+
"""
|
204
|
+
Sets the backup_type of this CreateNodeBackupConfigurationDetails.
|
205
|
+
Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
|
206
|
+
|
207
|
+
|
208
|
+
:param backup_type: The backup_type of this CreateNodeBackupConfigurationDetails.
|
209
|
+
:type: str
|
210
|
+
"""
|
211
|
+
self._backup_type = backup_type
|
212
|
+
|
213
|
+
def __repr__(self):
|
214
|
+
return formatted_flat_dict(self)
|
215
|
+
|
216
|
+
def __eq__(self, other):
|
217
|
+
if other is None:
|
218
|
+
return False
|
219
|
+
|
220
|
+
return self.__dict__ == other.__dict__
|
221
|
+
|
222
|
+
def __ne__(self, other):
|
223
|
+
return not self == other
|
@@ -0,0 +1,192 @@
|
|
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: 20190531
|
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 CreateNodeReplaceConfigurationDetails(object):
|
14
|
+
"""
|
15
|
+
The information about the NodeReplaceConfiguration
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new CreateNodeReplaceConfigurationDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param level_type_details:
|
24
|
+
The value to assign to the level_type_details property of this CreateNodeReplaceConfigurationDetails.
|
25
|
+
:type level_type_details: oci.bds.models.LevelTypeDetails
|
26
|
+
|
27
|
+
:param display_name:
|
28
|
+
The value to assign to the display_name property of this CreateNodeReplaceConfigurationDetails.
|
29
|
+
:type display_name: str
|
30
|
+
|
31
|
+
:param cluster_admin_password:
|
32
|
+
The value to assign to the cluster_admin_password property of this CreateNodeReplaceConfigurationDetails.
|
33
|
+
:type cluster_admin_password: str
|
34
|
+
|
35
|
+
:param metric_type:
|
36
|
+
The value to assign to the metric_type property of this CreateNodeReplaceConfigurationDetails.
|
37
|
+
:type metric_type: str
|
38
|
+
|
39
|
+
:param duration_in_minutes:
|
40
|
+
The value to assign to the duration_in_minutes property of this CreateNodeReplaceConfigurationDetails.
|
41
|
+
:type duration_in_minutes: int
|
42
|
+
|
43
|
+
"""
|
44
|
+
self.swagger_types = {
|
45
|
+
'level_type_details': 'LevelTypeDetails',
|
46
|
+
'display_name': 'str',
|
47
|
+
'cluster_admin_password': 'str',
|
48
|
+
'metric_type': 'str',
|
49
|
+
'duration_in_minutes': 'int'
|
50
|
+
}
|
51
|
+
|
52
|
+
self.attribute_map = {
|
53
|
+
'level_type_details': 'levelTypeDetails',
|
54
|
+
'display_name': 'displayName',
|
55
|
+
'cluster_admin_password': 'clusterAdminPassword',
|
56
|
+
'metric_type': 'metricType',
|
57
|
+
'duration_in_minutes': 'durationInMinutes'
|
58
|
+
}
|
59
|
+
|
60
|
+
self._level_type_details = None
|
61
|
+
self._display_name = None
|
62
|
+
self._cluster_admin_password = None
|
63
|
+
self._metric_type = None
|
64
|
+
self._duration_in_minutes = None
|
65
|
+
|
66
|
+
@property
|
67
|
+
def level_type_details(self):
|
68
|
+
"""
|
69
|
+
**[Required]** Gets the level_type_details of this CreateNodeReplaceConfigurationDetails.
|
70
|
+
|
71
|
+
:return: The level_type_details of this CreateNodeReplaceConfigurationDetails.
|
72
|
+
:rtype: oci.bds.models.LevelTypeDetails
|
73
|
+
"""
|
74
|
+
return self._level_type_details
|
75
|
+
|
76
|
+
@level_type_details.setter
|
77
|
+
def level_type_details(self, level_type_details):
|
78
|
+
"""
|
79
|
+
Sets the level_type_details of this CreateNodeReplaceConfigurationDetails.
|
80
|
+
|
81
|
+
:param level_type_details: The level_type_details of this CreateNodeReplaceConfigurationDetails.
|
82
|
+
:type: oci.bds.models.LevelTypeDetails
|
83
|
+
"""
|
84
|
+
self._level_type_details = level_type_details
|
85
|
+
|
86
|
+
@property
|
87
|
+
def display_name(self):
|
88
|
+
"""
|
89
|
+
Gets the display_name of this CreateNodeReplaceConfigurationDetails.
|
90
|
+
A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
|
91
|
+
|
92
|
+
|
93
|
+
:return: The display_name of this CreateNodeReplaceConfigurationDetails.
|
94
|
+
:rtype: str
|
95
|
+
"""
|
96
|
+
return self._display_name
|
97
|
+
|
98
|
+
@display_name.setter
|
99
|
+
def display_name(self, display_name):
|
100
|
+
"""
|
101
|
+
Sets the display_name of this CreateNodeReplaceConfigurationDetails.
|
102
|
+
A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
|
103
|
+
|
104
|
+
|
105
|
+
:param display_name: The display_name of this CreateNodeReplaceConfigurationDetails.
|
106
|
+
:type: str
|
107
|
+
"""
|
108
|
+
self._display_name = display_name
|
109
|
+
|
110
|
+
@property
|
111
|
+
def cluster_admin_password(self):
|
112
|
+
"""
|
113
|
+
**[Required]** Gets the cluster_admin_password of this CreateNodeReplaceConfigurationDetails.
|
114
|
+
Base-64 encoded password for the cluster admin user.
|
115
|
+
|
116
|
+
|
117
|
+
:return: The cluster_admin_password of this CreateNodeReplaceConfigurationDetails.
|
118
|
+
:rtype: str
|
119
|
+
"""
|
120
|
+
return self._cluster_admin_password
|
121
|
+
|
122
|
+
@cluster_admin_password.setter
|
123
|
+
def cluster_admin_password(self, cluster_admin_password):
|
124
|
+
"""
|
125
|
+
Sets the cluster_admin_password of this CreateNodeReplaceConfigurationDetails.
|
126
|
+
Base-64 encoded password for the cluster admin user.
|
127
|
+
|
128
|
+
|
129
|
+
:param cluster_admin_password: The cluster_admin_password of this CreateNodeReplaceConfigurationDetails.
|
130
|
+
:type: str
|
131
|
+
"""
|
132
|
+
self._cluster_admin_password = cluster_admin_password
|
133
|
+
|
134
|
+
@property
|
135
|
+
def metric_type(self):
|
136
|
+
"""
|
137
|
+
**[Required]** Gets the metric_type of this CreateNodeReplaceConfigurationDetails.
|
138
|
+
Type of compute instance health metric to use for node replacement
|
139
|
+
|
140
|
+
|
141
|
+
:return: The metric_type of this CreateNodeReplaceConfigurationDetails.
|
142
|
+
:rtype: str
|
143
|
+
"""
|
144
|
+
return self._metric_type
|
145
|
+
|
146
|
+
@metric_type.setter
|
147
|
+
def metric_type(self, metric_type):
|
148
|
+
"""
|
149
|
+
Sets the metric_type of this CreateNodeReplaceConfigurationDetails.
|
150
|
+
Type of compute instance health metric to use for node replacement
|
151
|
+
|
152
|
+
|
153
|
+
:param metric_type: The metric_type of this CreateNodeReplaceConfigurationDetails.
|
154
|
+
:type: str
|
155
|
+
"""
|
156
|
+
self._metric_type = metric_type
|
157
|
+
|
158
|
+
@property
|
159
|
+
def duration_in_minutes(self):
|
160
|
+
"""
|
161
|
+
**[Required]** Gets the duration_in_minutes of this CreateNodeReplaceConfigurationDetails.
|
162
|
+
This value is the minimum period of time to wait before triggering node replacement. The value is in minutes.
|
163
|
+
|
164
|
+
|
165
|
+
:return: The duration_in_minutes of this CreateNodeReplaceConfigurationDetails.
|
166
|
+
:rtype: int
|
167
|
+
"""
|
168
|
+
return self._duration_in_minutes
|
169
|
+
|
170
|
+
@duration_in_minutes.setter
|
171
|
+
def duration_in_minutes(self, duration_in_minutes):
|
172
|
+
"""
|
173
|
+
Sets the duration_in_minutes of this CreateNodeReplaceConfigurationDetails.
|
174
|
+
This value is the minimum period of time to wait before triggering node replacement. The value is in minutes.
|
175
|
+
|
176
|
+
|
177
|
+
:param duration_in_minutes: The duration_in_minutes of this CreateNodeReplaceConfigurationDetails.
|
178
|
+
:type: int
|
179
|
+
"""
|
180
|
+
self._duration_in_minutes = duration_in_minutes
|
181
|
+
|
182
|
+
def __repr__(self):
|
183
|
+
return formatted_flat_dict(self)
|
184
|
+
|
185
|
+
def __eq__(self, other):
|
186
|
+
if other is None:
|
187
|
+
return False
|
188
|
+
|
189
|
+
return self.__dict__ == other.__dict__
|
190
|
+
|
191
|
+
def __ne__(self, other):
|
192
|
+
return not self == other
|
@@ -0,0 +1,109 @@
|
|
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: 20190531
|
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 LevelTypeDetails(object):
|
14
|
+
"""
|
15
|
+
Details of the type of level used to trigger the creation of a new node backup configuration or node replacement configuration.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the level_type property of a LevelTypeDetails.
|
19
|
+
#: This constant has a value of "NODE_LEVEL"
|
20
|
+
LEVEL_TYPE_NODE_LEVEL = "NODE_LEVEL"
|
21
|
+
|
22
|
+
#: A constant which can be used with the level_type property of a LevelTypeDetails.
|
23
|
+
#: This constant has a value of "NODE_TYPE_LEVEL"
|
24
|
+
LEVEL_TYPE_NODE_TYPE_LEVEL = "NODE_TYPE_LEVEL"
|
25
|
+
|
26
|
+
def __init__(self, **kwargs):
|
27
|
+
"""
|
28
|
+
Initializes a new LevelTypeDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
29
|
+
to a service operations then you should favor using a subclass over the base class:
|
30
|
+
|
31
|
+
* :class:`~oci.bds.models.NodeTypeLevelDetails`
|
32
|
+
* :class:`~oci.bds.models.NodeLevelDetails`
|
33
|
+
|
34
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
35
|
+
|
36
|
+
:param level_type:
|
37
|
+
The value to assign to the level_type property of this LevelTypeDetails.
|
38
|
+
Allowed values for this property are: "NODE_LEVEL", "NODE_TYPE_LEVEL", 'UNKNOWN_ENUM_VALUE'.
|
39
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
40
|
+
:type level_type: str
|
41
|
+
|
42
|
+
"""
|
43
|
+
self.swagger_types = {
|
44
|
+
'level_type': 'str'
|
45
|
+
}
|
46
|
+
|
47
|
+
self.attribute_map = {
|
48
|
+
'level_type': 'levelType'
|
49
|
+
}
|
50
|
+
|
51
|
+
self._level_type = None
|
52
|
+
|
53
|
+
@staticmethod
|
54
|
+
def get_subtype(object_dictionary):
|
55
|
+
"""
|
56
|
+
Given the hash representation of a subtype of this class,
|
57
|
+
use the info in the hash to return the class of the subtype.
|
58
|
+
"""
|
59
|
+
type = object_dictionary['levelType']
|
60
|
+
|
61
|
+
if type == 'NODE_TYPE_LEVEL':
|
62
|
+
return 'NodeTypeLevelDetails'
|
63
|
+
|
64
|
+
if type == 'NODE_LEVEL':
|
65
|
+
return 'NodeLevelDetails'
|
66
|
+
else:
|
67
|
+
return 'LevelTypeDetails'
|
68
|
+
|
69
|
+
@property
|
70
|
+
def level_type(self):
|
71
|
+
"""
|
72
|
+
**[Required]** Gets the level_type of this LevelTypeDetails.
|
73
|
+
Type of level used to trigger the creation of a new node backup configuration or node replacement configuration.
|
74
|
+
|
75
|
+
Allowed values for this property are: "NODE_LEVEL", "NODE_TYPE_LEVEL", 'UNKNOWN_ENUM_VALUE'.
|
76
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
77
|
+
|
78
|
+
|
79
|
+
:return: The level_type of this LevelTypeDetails.
|
80
|
+
:rtype: str
|
81
|
+
"""
|
82
|
+
return self._level_type
|
83
|
+
|
84
|
+
@level_type.setter
|
85
|
+
def level_type(self, level_type):
|
86
|
+
"""
|
87
|
+
Sets the level_type of this LevelTypeDetails.
|
88
|
+
Type of level used to trigger the creation of a new node backup configuration or node replacement configuration.
|
89
|
+
|
90
|
+
|
91
|
+
:param level_type: The level_type of this LevelTypeDetails.
|
92
|
+
:type: str
|
93
|
+
"""
|
94
|
+
allowed_values = ["NODE_LEVEL", "NODE_TYPE_LEVEL"]
|
95
|
+
if not value_allowed_none_or_none_sentinel(level_type, allowed_values):
|
96
|
+
level_type = 'UNKNOWN_ENUM_VALUE'
|
97
|
+
self._level_type = level_type
|
98
|
+
|
99
|
+
def __repr__(self):
|
100
|
+
return formatted_flat_dict(self)
|
101
|
+
|
102
|
+
def __eq__(self, other):
|
103
|
+
if other is None:
|
104
|
+
return False
|
105
|
+
|
106
|
+
return self.__dict__ == other.__dict__
|
107
|
+
|
108
|
+
def __ne__(self, other):
|
109
|
+
return not self == other
|
oci/bds/models/node.py
CHANGED
@@ -184,6 +184,14 @@ class Node(object):
|
|
184
184
|
The value to assign to the is_reboot_required property of this Node.
|
185
185
|
:type is_reboot_required: bool
|
186
186
|
|
187
|
+
:param time_replaced:
|
188
|
+
The value to assign to the time_replaced property of this Node.
|
189
|
+
:type time_replaced: datetime
|
190
|
+
|
191
|
+
:param node_backup_id:
|
192
|
+
The value to assign to the node_backup_id property of this Node.
|
193
|
+
:type node_backup_id: str
|
194
|
+
|
187
195
|
"""
|
188
196
|
self.swagger_types = {
|
189
197
|
'instance_id': 'str',
|
@@ -207,7 +215,9 @@ class Node(object):
|
|
207
215
|
'local_disks_total_size_in_gbs': 'float',
|
208
216
|
'time_maintenance_reboot_due': 'datetime',
|
209
217
|
'os_version': 'str',
|
210
|
-
'is_reboot_required': 'bool'
|
218
|
+
'is_reboot_required': 'bool',
|
219
|
+
'time_replaced': 'datetime',
|
220
|
+
'node_backup_id': 'str'
|
211
221
|
}
|
212
222
|
|
213
223
|
self.attribute_map = {
|
@@ -232,7 +242,9 @@ class Node(object):
|
|
232
242
|
'local_disks_total_size_in_gbs': 'localDisksTotalSizeInGBs',
|
233
243
|
'time_maintenance_reboot_due': 'timeMaintenanceRebootDue',
|
234
244
|
'os_version': 'osVersion',
|
235
|
-
'is_reboot_required': 'isRebootRequired'
|
245
|
+
'is_reboot_required': 'isRebootRequired',
|
246
|
+
'time_replaced': 'timeReplaced',
|
247
|
+
'node_backup_id': 'nodeBackupId'
|
236
248
|
}
|
237
249
|
|
238
250
|
self._instance_id = None
|
@@ -257,6 +269,8 @@ class Node(object):
|
|
257
269
|
self._time_maintenance_reboot_due = None
|
258
270
|
self._os_version = None
|
259
271
|
self._is_reboot_required = None
|
272
|
+
self._time_replaced = None
|
273
|
+
self._node_backup_id = None
|
260
274
|
|
261
275
|
@property
|
262
276
|
def instance_id(self):
|
@@ -798,6 +812,54 @@ class Node(object):
|
|
798
812
|
"""
|
799
813
|
self._is_reboot_required = is_reboot_required
|
800
814
|
|
815
|
+
@property
|
816
|
+
def time_replaced(self):
|
817
|
+
"""
|
818
|
+
Gets the time_replaced of this Node.
|
819
|
+
The date and time the instance was replaced by a new vm with a node backup.
|
820
|
+
|
821
|
+
|
822
|
+
:return: The time_replaced of this Node.
|
823
|
+
:rtype: datetime
|
824
|
+
"""
|
825
|
+
return self._time_replaced
|
826
|
+
|
827
|
+
@time_replaced.setter
|
828
|
+
def time_replaced(self, time_replaced):
|
829
|
+
"""
|
830
|
+
Sets the time_replaced of this Node.
|
831
|
+
The date and time the instance was replaced by a new vm with a node backup.
|
832
|
+
|
833
|
+
|
834
|
+
:param time_replaced: The time_replaced of this Node.
|
835
|
+
:type: datetime
|
836
|
+
"""
|
837
|
+
self._time_replaced = time_replaced
|
838
|
+
|
839
|
+
@property
|
840
|
+
def node_backup_id(self):
|
841
|
+
"""
|
842
|
+
Gets the node_backup_id of this Node.
|
843
|
+
The node back id that was used for replacing the node.
|
844
|
+
|
845
|
+
|
846
|
+
:return: The node_backup_id of this Node.
|
847
|
+
:rtype: str
|
848
|
+
"""
|
849
|
+
return self._node_backup_id
|
850
|
+
|
851
|
+
@node_backup_id.setter
|
852
|
+
def node_backup_id(self, node_backup_id):
|
853
|
+
"""
|
854
|
+
Sets the node_backup_id of this Node.
|
855
|
+
The node back id that was used for replacing the node.
|
856
|
+
|
857
|
+
|
858
|
+
:param node_backup_id: The node_backup_id of this Node.
|
859
|
+
:type: str
|
860
|
+
"""
|
861
|
+
self._node_backup_id = node_backup_id
|
862
|
+
|
801
863
|
def __repr__(self):
|
802
864
|
return formatted_flat_dict(self)
|
803
865
|
|