oci 2.116.0__py3-none-any.whl → 2.117.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +41 -41
- oci/adm/models/__init__.py +4 -0
- oci/adm/models/create_vulnerability_audit_details.py +27 -0
- oci/adm/models/usage_data_details.py +92 -0
- oci/adm/models/usage_data_via_object_storage_tuple_details.py +143 -0
- oci/adm/models/vulnerability.py +33 -2
- oci/adm/models/vulnerability_audit.py +86 -0
- oci/adm/models/work_request_summary.py +35 -2
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +36 -36
- oci/ai_speech/ai_service_speech_client.py +9 -9
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +18 -18
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +51 -51
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +133 -133
- oci/cloud_migrations/migration_client.py +43 -43
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +14 -15
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +242 -242
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +141 -141
- 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 +252 -252
- oci/data_science/data_science_client.py +91 -91
- 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/database/database_client.py +2092 -1268
- oci/database/database_client_composite_operations.py +222 -0
- oci/database/models/__init__.py +14 -0
- oci/database/models/autonomous_container_database.py +33 -2
- oci/database/models/autonomous_container_database_backup_config.py +2 -0
- oci/database/models/autonomous_container_database_summary.py +33 -2
- oci/database/models/autonomous_vm_cluster.py +95 -2
- oci/database/models/autonomous_vm_cluster_summary.py +95 -2
- oci/database/models/cloud_autonomous_vm_cluster.py +95 -2
- oci/database/models/cloud_autonomous_vm_cluster_summary.py +95 -2
- oci/database/models/console_history.py +368 -0
- oci/database/models/console_history_collection.py +72 -0
- oci/database/models/console_history_summary.py +368 -0
- oci/database/models/create_cloud_vm_cluster_details.py +33 -2
- oci/database/models/create_console_history_details.py +151 -0
- oci/database/models/create_vm_cluster_details.py +33 -2
- oci/database/models/db_system_upgrade_history_entry.py +64 -2
- oci/database/models/db_system_upgrade_history_entry_summary.py +64 -2
- oci/database/models/peer_autonomous_container_database_backup_config.py +2 -0
- oci/database/models/system_version_collection.py +72 -0
- oci/database/models/system_version_summary.py +134 -0
- oci/database/models/update_autonomous_vm_cluster_details.py +95 -2
- oci/database/models/update_cloud_autonomous_vm_cluster_details.py +93 -0
- oci/database/models/update_console_history_details.py +150 -0
- oci/database/models/upgrade_db_system_details.py +31 -0
- oci/database_management/db_management_client.py +182 -182
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +6 -6
- 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/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +25 -25
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/golden_gate/golden_gate_client.py +536 -57
- oci/golden_gate/golden_gate_client_composite_operations.py +90 -0
- oci/golden_gate/models/__init__.py +8 -0
- oci/golden_gate/models/certificate.py +713 -0
- oci/golden_gate/models/certificate_collection.py +72 -0
- oci/golden_gate/models/certificate_summary.py +269 -0
- oci/golden_gate/models/create_certificate_details.py +105 -0
- oci/golden_gate/models/create_microsoft_sqlserver_connection_details.py +2 -2
- oci/golden_gate/models/create_mysql_connection_details.py +10 -12
- oci/golden_gate/models/create_postgresql_connection_details.py +8 -6
- oci/golden_gate/models/microsoft_sqlserver_connection.py +2 -2
- oci/golden_gate/models/microsoft_sqlserver_connection_summary.py +2 -2
- oci/golden_gate/models/update_microsoft_sqlserver_connection_details.py +2 -2
- oci/golden_gate/models/update_mysql_connection_details.py +10 -12
- oci/golden_gate/models/update_postgresql_connection_details.py +8 -6
- oci/golden_gate/models/work_request.py +11 -3
- 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 +294 -294
- 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_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/lockbox/lockbox_client.py +23 -23
- oci/log_analytics/log_analytics_client.py +388 -192
- oci/log_analytics/models/export_details.py +15 -17
- 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 +23 -23
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +48 -48
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +13 -13
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/__init__.py +4 -2
- oci/ocvp/cluster_client.py +732 -0
- oci/ocvp/cluster_client_composite_operations.py +160 -0
- oci/ocvp/esxi_host_client.py +262 -14
- oci/ocvp/esxi_host_client_composite_operations.py +84 -1
- oci/ocvp/models/__init__.py +29 -7
- oci/ocvp/models/change_sddc_compartment_details.py +1 -1
- oci/ocvp/models/cluster.py +1026 -0
- oci/ocvp/models/cluster_collection.py +72 -0
- oci/ocvp/models/cluster_summary.py +671 -0
- oci/ocvp/models/create_cluster_details.py +658 -0
- oci/ocvp/models/create_esxi_host_details.py +112 -161
- oci/ocvp/models/create_sddc_details.py +86 -814
- oci/ocvp/models/datastore_details.py +154 -0
- oci/ocvp/models/datastore_info.py +6 -6
- oci/ocvp/models/downgrade_hcx_details.py +1 -1
- oci/ocvp/models/esxi_host.py +132 -64
- oci/ocvp/models/esxi_host_collection.py +1 -1
- oci/ocvp/models/esxi_host_summary.py +100 -63
- oci/ocvp/models/hcx_license_summary.py +1 -1
- oci/ocvp/models/initial_cluster_configuration.py +518 -0
- oci/ocvp/models/initial_configuration.py +72 -0
- oci/ocvp/models/network_configuration.py +635 -0
- oci/ocvp/models/replace_host_details.py +78 -0
- oci/ocvp/models/sddc.py +176 -1269
- oci/ocvp/models/sddc_collection.py +1 -1
- oci/ocvp/models/sddc_password.py +123 -0
- oci/ocvp/models/sddc_summary.py +55 -161
- oci/ocvp/models/supported_commitment_summary.py +96 -0
- oci/ocvp/models/supported_commitment_summary_collection.py +72 -0
- oci/ocvp/models/supported_esxi_software_version_summary.py +135 -0
- oci/ocvp/models/supported_host_shape_collection.py +1 -1
- oci/ocvp/models/supported_host_shape_summary.py +54 -54
- oci/ocvp/models/supported_vmware_software_version_collection.py +1 -1
- oci/ocvp/models/supported_vmware_software_version_summary.py +34 -3
- oci/ocvp/models/update_cluster_details.py +265 -0
- oci/ocvp/models/update_esxi_host_details.py +32 -32
- oci/ocvp/models/update_sddc_details.py +42 -377
- oci/ocvp/models/vsphere_license.py +1 -1
- oci/ocvp/models/vsphere_upgrade_object.py +1 -1
- oci/ocvp/models/work_request.py +20 -4
- oci/ocvp/models/work_request_collection.py +1 -1
- oci/ocvp/models/work_request_error.py +1 -1
- oci/ocvp/models/work_request_error_collection.py +1 -1
- oci/ocvp/models/work_request_log_entry.py +1 -1
- oci/ocvp/models/work_request_log_entry_collection.py +1 -1
- oci/ocvp/models/work_request_resource.py +1 -1
- oci/ocvp/sddc_client.py +212 -68
- oci/ocvp/sddc_client_composite_operations.py +1 -1
- oci/ocvp/work_request_client.py +10 -10
- oci/ocvp/work_request_client_composite_operations.py +1 -1
- oci/oda/management_client.py +56 -56
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +11 -11
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +9 -9
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +6 -6
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/models/__init__.py +22 -0
- oci/opsi/models/awr_hub_objects.py +72 -0
- oci/opsi/models/awr_hub_source.py +904 -0
- oci/opsi/models/awr_hub_source_summary.py +904 -0
- oci/opsi/models/awr_hub_source_summary_collection.py +72 -0
- oci/opsi/models/awr_hub_sources.py +72 -0
- oci/opsi/models/change_awr_hub_source_compartment_details.py +72 -0
- oci/opsi/models/change_operations_insights_warehouse_compartment_details.py +76 -0
- oci/opsi/models/create_awr_hub_details.py +1 -1
- oci/opsi/models/create_awr_hub_source_details.py +377 -0
- oci/opsi/models/list_objects.py +134 -0
- oci/opsi/models/object_summary.py +329 -0
- oci/opsi/models/update_awr_hub_source_details.py +210 -0
- oci/opsi/models/work_request.py +27 -3
- oci/opsi/operations_insights_client.py +3221 -1507
- oci/opsi/operations_insights_client_composite_operations.py +283 -0
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +66 -66
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +23 -23
- oci/redis/redis_cluster_client.py +11 -11
- oci/regions_definitions.py +12 -4
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/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 +58 -58
- 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 +19 -19
- oci/vault/vaults_client.py +11 -11
- 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.116.0.dist-info → oci-2.117.0.dist-info}/METADATA +1 -1
- {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/RECORD +352 -312
- {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/WHEEL +0 -0
- {oci-2.116.0.dist-info → oci-2.117.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,154 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2023, 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: 20230701
|
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 DatastoreDetails(object):
|
14
|
+
"""
|
15
|
+
Datastore summary for a getting an Sddc.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the datastore_type property of a DatastoreDetails.
|
19
|
+
#: This constant has a value of "MANAGEMENT"
|
20
|
+
DATASTORE_TYPE_MANAGEMENT = "MANAGEMENT"
|
21
|
+
|
22
|
+
#: A constant which can be used with the datastore_type property of a DatastoreDetails.
|
23
|
+
#: This constant has a value of "WORKLOAD"
|
24
|
+
DATASTORE_TYPE_WORKLOAD = "WORKLOAD"
|
25
|
+
|
26
|
+
def __init__(self, **kwargs):
|
27
|
+
"""
|
28
|
+
Initializes a new DatastoreDetails object with values from keyword arguments.
|
29
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
30
|
+
|
31
|
+
:param block_volume_ids:
|
32
|
+
The value to assign to the block_volume_ids property of this DatastoreDetails.
|
33
|
+
:type block_volume_ids: list[str]
|
34
|
+
|
35
|
+
:param datastore_type:
|
36
|
+
The value to assign to the datastore_type property of this DatastoreDetails.
|
37
|
+
Allowed values for this property are: "MANAGEMENT", "WORKLOAD", 'UNKNOWN_ENUM_VALUE'.
|
38
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
39
|
+
:type datastore_type: str
|
40
|
+
|
41
|
+
:param capacity:
|
42
|
+
The value to assign to the capacity property of this DatastoreDetails.
|
43
|
+
:type capacity: float
|
44
|
+
|
45
|
+
"""
|
46
|
+
self.swagger_types = {
|
47
|
+
'block_volume_ids': 'list[str]',
|
48
|
+
'datastore_type': 'str',
|
49
|
+
'capacity': 'float'
|
50
|
+
}
|
51
|
+
|
52
|
+
self.attribute_map = {
|
53
|
+
'block_volume_ids': 'blockVolumeIds',
|
54
|
+
'datastore_type': 'datastoreType',
|
55
|
+
'capacity': 'capacity'
|
56
|
+
}
|
57
|
+
|
58
|
+
self._block_volume_ids = None
|
59
|
+
self._datastore_type = None
|
60
|
+
self._capacity = None
|
61
|
+
|
62
|
+
@property
|
63
|
+
def block_volume_ids(self):
|
64
|
+
"""
|
65
|
+
**[Required]** Gets the block_volume_ids of this DatastoreDetails.
|
66
|
+
A list of `OCID`__s of Block Storage Volumes.
|
67
|
+
|
68
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
69
|
+
|
70
|
+
|
71
|
+
:return: The block_volume_ids of this DatastoreDetails.
|
72
|
+
:rtype: list[str]
|
73
|
+
"""
|
74
|
+
return self._block_volume_ids
|
75
|
+
|
76
|
+
@block_volume_ids.setter
|
77
|
+
def block_volume_ids(self, block_volume_ids):
|
78
|
+
"""
|
79
|
+
Sets the block_volume_ids of this DatastoreDetails.
|
80
|
+
A list of `OCID`__s of Block Storage Volumes.
|
81
|
+
|
82
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
83
|
+
|
84
|
+
|
85
|
+
:param block_volume_ids: The block_volume_ids of this DatastoreDetails.
|
86
|
+
:type: list[str]
|
87
|
+
"""
|
88
|
+
self._block_volume_ids = block_volume_ids
|
89
|
+
|
90
|
+
@property
|
91
|
+
def datastore_type(self):
|
92
|
+
"""
|
93
|
+
**[Required]** Gets the datastore_type of this DatastoreDetails.
|
94
|
+
Type of the datastore.
|
95
|
+
|
96
|
+
Allowed values for this property are: "MANAGEMENT", "WORKLOAD", 'UNKNOWN_ENUM_VALUE'.
|
97
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
98
|
+
|
99
|
+
|
100
|
+
:return: The datastore_type of this DatastoreDetails.
|
101
|
+
:rtype: str
|
102
|
+
"""
|
103
|
+
return self._datastore_type
|
104
|
+
|
105
|
+
@datastore_type.setter
|
106
|
+
def datastore_type(self, datastore_type):
|
107
|
+
"""
|
108
|
+
Sets the datastore_type of this DatastoreDetails.
|
109
|
+
Type of the datastore.
|
110
|
+
|
111
|
+
|
112
|
+
:param datastore_type: The datastore_type of this DatastoreDetails.
|
113
|
+
:type: str
|
114
|
+
"""
|
115
|
+
allowed_values = ["MANAGEMENT", "WORKLOAD"]
|
116
|
+
if not value_allowed_none_or_none_sentinel(datastore_type, allowed_values):
|
117
|
+
datastore_type = 'UNKNOWN_ENUM_VALUE'
|
118
|
+
self._datastore_type = datastore_type
|
119
|
+
|
120
|
+
@property
|
121
|
+
def capacity(self):
|
122
|
+
"""
|
123
|
+
**[Required]** Gets the capacity of this DatastoreDetails.
|
124
|
+
Size of the Block Storage Volume in GB.
|
125
|
+
|
126
|
+
|
127
|
+
:return: The capacity of this DatastoreDetails.
|
128
|
+
:rtype: float
|
129
|
+
"""
|
130
|
+
return self._capacity
|
131
|
+
|
132
|
+
@capacity.setter
|
133
|
+
def capacity(self, capacity):
|
134
|
+
"""
|
135
|
+
Sets the capacity of this DatastoreDetails.
|
136
|
+
Size of the Block Storage Volume in GB.
|
137
|
+
|
138
|
+
|
139
|
+
:param capacity: The capacity of this DatastoreDetails.
|
140
|
+
:type: float
|
141
|
+
"""
|
142
|
+
self._capacity = capacity
|
143
|
+
|
144
|
+
def __repr__(self):
|
145
|
+
return formatted_flat_dict(self)
|
146
|
+
|
147
|
+
def __eq__(self, other):
|
148
|
+
if other is None:
|
149
|
+
return False
|
150
|
+
|
151
|
+
return self.__dict__ == other.__dict__
|
152
|
+
|
153
|
+
def __ne__(self, other):
|
154
|
+
return not self == other
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
|
3
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
4
|
|
5
|
-
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version:
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230701
|
6
6
|
|
7
7
|
|
8
8
|
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
@@ -34,7 +34,8 @@ class DatastoreInfo(object):
|
|
34
34
|
|
35
35
|
:param datastore_type:
|
36
36
|
The value to assign to the datastore_type property of this DatastoreInfo.
|
37
|
-
Allowed values for this property are: "MANAGEMENT", "WORKLOAD"
|
37
|
+
Allowed values for this property are: "MANAGEMENT", "WORKLOAD", 'UNKNOWN_ENUM_VALUE'.
|
38
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
38
39
|
:type datastore_type: str
|
39
40
|
|
40
41
|
"""
|
@@ -85,7 +86,8 @@ class DatastoreInfo(object):
|
|
85
86
|
**[Required]** Gets the datastore_type of this DatastoreInfo.
|
86
87
|
Type of the datastore.
|
87
88
|
|
88
|
-
Allowed values for this property are: "MANAGEMENT", "WORKLOAD"
|
89
|
+
Allowed values for this property are: "MANAGEMENT", "WORKLOAD", 'UNKNOWN_ENUM_VALUE'.
|
90
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
89
91
|
|
90
92
|
|
91
93
|
:return: The datastore_type of this DatastoreInfo.
|
@@ -105,9 +107,7 @@ class DatastoreInfo(object):
|
|
105
107
|
"""
|
106
108
|
allowed_values = ["MANAGEMENT", "WORKLOAD"]
|
107
109
|
if not value_allowed_none_or_none_sentinel(datastore_type, allowed_values):
|
108
|
-
|
109
|
-
f"Invalid value for `datastore_type`, must be None or one of {allowed_values}"
|
110
|
-
)
|
110
|
+
datastore_type = 'UNKNOWN_ENUM_VALUE'
|
111
111
|
self._datastore_type = datastore_type
|
112
112
|
|
113
113
|
def __repr__(self):
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
|
3
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
4
|
|
5
|
-
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version:
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230701
|
6
6
|
|
7
7
|
|
8
8
|
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
oci/ocvp/models/esxi_host.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
|
3
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
4
|
|
5
|
-
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version:
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230701
|
6
6
|
|
7
7
|
|
8
8
|
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
@@ -12,7 +12,7 @@ from oci.decorators import init_model_state_from_kwargs
|
|
12
12
|
@init_model_state_from_kwargs
|
13
13
|
class EsxiHost(object):
|
14
14
|
"""
|
15
|
-
An ESXi host is a node in
|
15
|
+
An ESXi host is a node in a Cluster. At a minimum, each Cluster has 3 ESXi hosts
|
16
16
|
that are used to implement a functioning VMware environment.
|
17
17
|
|
18
18
|
In terms of implementation, an ESXi host is a Compute instance that
|
@@ -46,37 +46,37 @@ class EsxiHost(object):
|
|
46
46
|
#: This constant has a value of "FAILED"
|
47
47
|
LIFECYCLE_STATE_FAILED = "FAILED"
|
48
48
|
|
49
|
-
#: A constant which can be used with the
|
49
|
+
#: A constant which can be used with the current_commitment property of a EsxiHost.
|
50
50
|
#: This constant has a value of "HOUR"
|
51
|
-
|
51
|
+
CURRENT_COMMITMENT_HOUR = "HOUR"
|
52
52
|
|
53
|
-
#: A constant which can be used with the
|
53
|
+
#: A constant which can be used with the current_commitment property of a EsxiHost.
|
54
54
|
#: This constant has a value of "MONTH"
|
55
|
-
|
55
|
+
CURRENT_COMMITMENT_MONTH = "MONTH"
|
56
56
|
|
57
|
-
#: A constant which can be used with the
|
57
|
+
#: A constant which can be used with the current_commitment property of a EsxiHost.
|
58
58
|
#: This constant has a value of "ONE_YEAR"
|
59
|
-
|
59
|
+
CURRENT_COMMITMENT_ONE_YEAR = "ONE_YEAR"
|
60
60
|
|
61
|
-
#: A constant which can be used with the
|
61
|
+
#: A constant which can be used with the current_commitment property of a EsxiHost.
|
62
62
|
#: This constant has a value of "THREE_YEARS"
|
63
|
-
|
63
|
+
CURRENT_COMMITMENT_THREE_YEARS = "THREE_YEARS"
|
64
64
|
|
65
|
-
#: A constant which can be used with the
|
65
|
+
#: A constant which can be used with the next_commitment property of a EsxiHost.
|
66
66
|
#: This constant has a value of "HOUR"
|
67
|
-
|
67
|
+
NEXT_COMMITMENT_HOUR = "HOUR"
|
68
68
|
|
69
|
-
#: A constant which can be used with the
|
69
|
+
#: A constant which can be used with the next_commitment property of a EsxiHost.
|
70
70
|
#: This constant has a value of "MONTH"
|
71
|
-
|
71
|
+
NEXT_COMMITMENT_MONTH = "MONTH"
|
72
72
|
|
73
|
-
#: A constant which can be used with the
|
73
|
+
#: A constant which can be used with the next_commitment property of a EsxiHost.
|
74
74
|
#: This constant has a value of "ONE_YEAR"
|
75
|
-
|
75
|
+
NEXT_COMMITMENT_ONE_YEAR = "ONE_YEAR"
|
76
76
|
|
77
|
-
#: A constant which can be used with the
|
77
|
+
#: A constant which can be used with the next_commitment property of a EsxiHost.
|
78
78
|
#: This constant has a value of "THREE_YEARS"
|
79
|
-
|
79
|
+
NEXT_COMMITMENT_THREE_YEARS = "THREE_YEARS"
|
80
80
|
|
81
81
|
def __init__(self, **kwargs):
|
82
82
|
"""
|
@@ -95,6 +95,10 @@ class EsxiHost(object):
|
|
95
95
|
The value to assign to the sddc_id property of this EsxiHost.
|
96
96
|
:type sddc_id: str
|
97
97
|
|
98
|
+
:param cluster_id:
|
99
|
+
The value to assign to the cluster_id property of this EsxiHost.
|
100
|
+
:type cluster_id: str
|
101
|
+
|
98
102
|
:param compartment_id:
|
99
103
|
The value to assign to the compartment_id property of this EsxiHost.
|
100
104
|
:type compartment_id: str
|
@@ -133,17 +137,17 @@ class EsxiHost(object):
|
|
133
137
|
The value to assign to the is_billing_swapping_in_progress property of this EsxiHost.
|
134
138
|
:type is_billing_swapping_in_progress: bool
|
135
139
|
|
136
|
-
:param
|
137
|
-
The value to assign to the
|
140
|
+
:param current_commitment:
|
141
|
+
The value to assign to the current_commitment property of this EsxiHost.
|
138
142
|
Allowed values for this property are: "HOUR", "MONTH", "ONE_YEAR", "THREE_YEARS", 'UNKNOWN_ENUM_VALUE'.
|
139
143
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
140
|
-
:type
|
144
|
+
:type current_commitment: str
|
141
145
|
|
142
|
-
:param
|
143
|
-
The value to assign to the
|
146
|
+
:param next_commitment:
|
147
|
+
The value to assign to the next_commitment property of this EsxiHost.
|
144
148
|
Allowed values for this property are: "HOUR", "MONTH", "ONE_YEAR", "THREE_YEARS", 'UNKNOWN_ENUM_VALUE'.
|
145
149
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
146
|
-
:type
|
150
|
+
:type next_commitment: str
|
147
151
|
|
148
152
|
:param billing_contract_end_date:
|
149
153
|
The value to assign to the billing_contract_end_date property of this EsxiHost.
|
@@ -165,6 +169,10 @@ class EsxiHost(object):
|
|
165
169
|
The value to assign to the vmware_software_version property of this EsxiHost.
|
166
170
|
:type vmware_software_version: str
|
167
171
|
|
172
|
+
:param esxi_software_version:
|
173
|
+
The value to assign to the esxi_software_version property of this EsxiHost.
|
174
|
+
:type esxi_software_version: str
|
175
|
+
|
168
176
|
:param non_upgraded_esxi_host_id:
|
169
177
|
The value to assign to the non_upgraded_esxi_host_id property of this EsxiHost.
|
170
178
|
:type non_upgraded_esxi_host_id: str
|
@@ -202,6 +210,7 @@ class EsxiHost(object):
|
|
202
210
|
'id': 'str',
|
203
211
|
'display_name': 'str',
|
204
212
|
'sddc_id': 'str',
|
213
|
+
'cluster_id': 'str',
|
205
214
|
'compartment_id': 'str',
|
206
215
|
'compute_instance_id': 'str',
|
207
216
|
'time_created': 'datetime',
|
@@ -211,13 +220,14 @@ class EsxiHost(object):
|
|
211
220
|
'swap_billing_host_id': 'str',
|
212
221
|
'is_billing_continuation_in_progress': 'bool',
|
213
222
|
'is_billing_swapping_in_progress': 'bool',
|
214
|
-
'
|
215
|
-
'
|
223
|
+
'current_commitment': 'str',
|
224
|
+
'next_commitment': 'str',
|
216
225
|
'billing_contract_end_date': 'datetime',
|
217
226
|
'failed_esxi_host_id': 'str',
|
218
227
|
'replacement_esxi_host_id': 'str',
|
219
228
|
'grace_period_end_date': 'datetime',
|
220
229
|
'vmware_software_version': 'str',
|
230
|
+
'esxi_software_version': 'str',
|
221
231
|
'non_upgraded_esxi_host_id': 'str',
|
222
232
|
'upgraded_replacement_esxi_host_id': 'str',
|
223
233
|
'compute_availability_domain': 'str',
|
@@ -232,6 +242,7 @@ class EsxiHost(object):
|
|
232
242
|
'id': 'id',
|
233
243
|
'display_name': 'displayName',
|
234
244
|
'sddc_id': 'sddcId',
|
245
|
+
'cluster_id': 'clusterId',
|
235
246
|
'compartment_id': 'compartmentId',
|
236
247
|
'compute_instance_id': 'computeInstanceId',
|
237
248
|
'time_created': 'timeCreated',
|
@@ -241,13 +252,14 @@ class EsxiHost(object):
|
|
241
252
|
'swap_billing_host_id': 'swapBillingHostId',
|
242
253
|
'is_billing_continuation_in_progress': 'isBillingContinuationInProgress',
|
243
254
|
'is_billing_swapping_in_progress': 'isBillingSwappingInProgress',
|
244
|
-
'
|
245
|
-
'
|
255
|
+
'current_commitment': 'currentCommitment',
|
256
|
+
'next_commitment': 'nextCommitment',
|
246
257
|
'billing_contract_end_date': 'billingContractEndDate',
|
247
258
|
'failed_esxi_host_id': 'failedEsxiHostId',
|
248
259
|
'replacement_esxi_host_id': 'replacementEsxiHostId',
|
249
260
|
'grace_period_end_date': 'gracePeriodEndDate',
|
250
261
|
'vmware_software_version': 'vmwareSoftwareVersion',
|
262
|
+
'esxi_software_version': 'esxiSoftwareVersion',
|
251
263
|
'non_upgraded_esxi_host_id': 'nonUpgradedEsxiHostId',
|
252
264
|
'upgraded_replacement_esxi_host_id': 'upgradedReplacementEsxiHostId',
|
253
265
|
'compute_availability_domain': 'computeAvailabilityDomain',
|
@@ -261,6 +273,7 @@ class EsxiHost(object):
|
|
261
273
|
self._id = None
|
262
274
|
self._display_name = None
|
263
275
|
self._sddc_id = None
|
276
|
+
self._cluster_id = None
|
264
277
|
self._compartment_id = None
|
265
278
|
self._compute_instance_id = None
|
266
279
|
self._time_created = None
|
@@ -270,13 +283,14 @@ class EsxiHost(object):
|
|
270
283
|
self._swap_billing_host_id = None
|
271
284
|
self._is_billing_continuation_in_progress = None
|
272
285
|
self._is_billing_swapping_in_progress = None
|
273
|
-
self.
|
274
|
-
self.
|
286
|
+
self._current_commitment = None
|
287
|
+
self._next_commitment = None
|
275
288
|
self._billing_contract_end_date = None
|
276
289
|
self._failed_esxi_host_id = None
|
277
290
|
self._replacement_esxi_host_id = None
|
278
291
|
self._grace_period_end_date = None
|
279
292
|
self._vmware_software_version = None
|
293
|
+
self._esxi_software_version = None
|
280
294
|
self._non_upgraded_esxi_host_id = None
|
281
295
|
self._upgraded_replacement_esxi_host_id = None
|
282
296
|
self._compute_availability_domain = None
|
@@ -370,12 +384,42 @@ class EsxiHost(object):
|
|
370
384
|
"""
|
371
385
|
self._sddc_id = sddc_id
|
372
386
|
|
387
|
+
@property
|
388
|
+
def cluster_id(self):
|
389
|
+
"""
|
390
|
+
**[Required]** Gets the cluster_id of this EsxiHost.
|
391
|
+
The `OCID`__ of the Cluster that the
|
392
|
+
ESXi host belongs to.
|
393
|
+
|
394
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
395
|
+
|
396
|
+
|
397
|
+
:return: The cluster_id of this EsxiHost.
|
398
|
+
:rtype: str
|
399
|
+
"""
|
400
|
+
return self._cluster_id
|
401
|
+
|
402
|
+
@cluster_id.setter
|
403
|
+
def cluster_id(self, cluster_id):
|
404
|
+
"""
|
405
|
+
Sets the cluster_id of this EsxiHost.
|
406
|
+
The `OCID`__ of the Cluster that the
|
407
|
+
ESXi host belongs to.
|
408
|
+
|
409
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
410
|
+
|
411
|
+
|
412
|
+
:param cluster_id: The cluster_id of this EsxiHost.
|
413
|
+
:type: str
|
414
|
+
"""
|
415
|
+
self._cluster_id = cluster_id
|
416
|
+
|
373
417
|
@property
|
374
418
|
def compartment_id(self):
|
375
419
|
"""
|
376
420
|
Gets the compartment_id of this EsxiHost.
|
377
421
|
The `OCID`__ of the compartment that
|
378
|
-
contains the
|
422
|
+
contains the Cluster.
|
379
423
|
|
380
424
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
381
425
|
|
@@ -390,7 +434,7 @@ class EsxiHost(object):
|
|
390
434
|
"""
|
391
435
|
Sets the compartment_id of this EsxiHost.
|
392
436
|
The `OCID`__ of the compartment that
|
393
|
-
contains the
|
437
|
+
contains the Cluster.
|
394
438
|
|
395
439
|
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
396
440
|
|
@@ -631,77 +675,77 @@ class EsxiHost(object):
|
|
631
675
|
self._is_billing_swapping_in_progress = is_billing_swapping_in_progress
|
632
676
|
|
633
677
|
@property
|
634
|
-
def
|
678
|
+
def current_commitment(self):
|
635
679
|
"""
|
636
|
-
**[Required]** Gets the
|
680
|
+
**[Required]** Gets the current_commitment of this EsxiHost.
|
637
681
|
The billing option currently used by the ESXi host.
|
638
|
-
:func:`
|
682
|
+
:func:`list_supported_commitments`.
|
639
683
|
|
640
684
|
Allowed values for this property are: "HOUR", "MONTH", "ONE_YEAR", "THREE_YEARS", 'UNKNOWN_ENUM_VALUE'.
|
641
685
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
642
686
|
|
643
687
|
|
644
|
-
:return: The
|
688
|
+
:return: The current_commitment of this EsxiHost.
|
645
689
|
:rtype: str
|
646
690
|
"""
|
647
|
-
return self.
|
691
|
+
return self._current_commitment
|
648
692
|
|
649
|
-
@
|
650
|
-
def
|
693
|
+
@current_commitment.setter
|
694
|
+
def current_commitment(self, current_commitment):
|
651
695
|
"""
|
652
|
-
Sets the
|
696
|
+
Sets the current_commitment of this EsxiHost.
|
653
697
|
The billing option currently used by the ESXi host.
|
654
|
-
:func:`
|
698
|
+
:func:`list_supported_commitments`.
|
655
699
|
|
656
700
|
|
657
|
-
:param
|
701
|
+
:param current_commitment: The current_commitment of this EsxiHost.
|
658
702
|
:type: str
|
659
703
|
"""
|
660
704
|
allowed_values = ["HOUR", "MONTH", "ONE_YEAR", "THREE_YEARS"]
|
661
|
-
if not value_allowed_none_or_none_sentinel(
|
662
|
-
|
663
|
-
self.
|
705
|
+
if not value_allowed_none_or_none_sentinel(current_commitment, allowed_values):
|
706
|
+
current_commitment = 'UNKNOWN_ENUM_VALUE'
|
707
|
+
self._current_commitment = current_commitment
|
664
708
|
|
665
709
|
@property
|
666
|
-
def
|
710
|
+
def next_commitment(self):
|
667
711
|
"""
|
668
|
-
**[Required]** Gets the
|
712
|
+
**[Required]** Gets the next_commitment of this EsxiHost.
|
669
713
|
The billing option to switch to after the current billing cycle ends.
|
670
|
-
If `
|
671
|
-
:func:`
|
714
|
+
If `nextCommitment` is null or empty, `currentCommitment` continues to the next billing cycle.
|
715
|
+
:func:`list_supported_commitments`.
|
672
716
|
|
673
717
|
Allowed values for this property are: "HOUR", "MONTH", "ONE_YEAR", "THREE_YEARS", 'UNKNOWN_ENUM_VALUE'.
|
674
718
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
675
719
|
|
676
720
|
|
677
|
-
:return: The
|
721
|
+
:return: The next_commitment of this EsxiHost.
|
678
722
|
:rtype: str
|
679
723
|
"""
|
680
|
-
return self.
|
724
|
+
return self._next_commitment
|
681
725
|
|
682
|
-
@
|
683
|
-
def
|
726
|
+
@next_commitment.setter
|
727
|
+
def next_commitment(self, next_commitment):
|
684
728
|
"""
|
685
|
-
Sets the
|
729
|
+
Sets the next_commitment of this EsxiHost.
|
686
730
|
The billing option to switch to after the current billing cycle ends.
|
687
|
-
If `
|
688
|
-
:func:`
|
731
|
+
If `nextCommitment` is null or empty, `currentCommitment` continues to the next billing cycle.
|
732
|
+
:func:`list_supported_commitments`.
|
689
733
|
|
690
734
|
|
691
|
-
:param
|
735
|
+
:param next_commitment: The next_commitment of this EsxiHost.
|
692
736
|
:type: str
|
693
737
|
"""
|
694
738
|
allowed_values = ["HOUR", "MONTH", "ONE_YEAR", "THREE_YEARS"]
|
695
|
-
if not value_allowed_none_or_none_sentinel(
|
696
|
-
|
697
|
-
self.
|
739
|
+
if not value_allowed_none_or_none_sentinel(next_commitment, allowed_values):
|
740
|
+
next_commitment = 'UNKNOWN_ENUM_VALUE'
|
741
|
+
self._next_commitment = next_commitment
|
698
742
|
|
699
743
|
@property
|
700
744
|
def billing_contract_end_date(self):
|
701
745
|
"""
|
702
746
|
**[Required]** Gets the billing_contract_end_date of this EsxiHost.
|
703
|
-
Current billing cycle end date. If the value in `
|
704
|
-
becomes the new `
|
747
|
+
Current billing cycle end date. If the value in `currentCommitment` and `nextCommitment` are different, the value specified in `nextCommitment`
|
748
|
+
becomes the new `currentCommitment` when the `contractEndDate` is reached.
|
705
749
|
Example: `2016-08-25T21:10:29.600Z`
|
706
750
|
|
707
751
|
|
@@ -714,8 +758,8 @@ class EsxiHost(object):
|
|
714
758
|
def billing_contract_end_date(self, billing_contract_end_date):
|
715
759
|
"""
|
716
760
|
Sets the billing_contract_end_date of this EsxiHost.
|
717
|
-
Current billing cycle end date. If the value in `
|
718
|
-
becomes the new `
|
761
|
+
Current billing cycle end date. If the value in `currentCommitment` and `nextCommitment` are different, the value specified in `nextCommitment`
|
762
|
+
becomes the new `currentCommitment` when the `contractEndDate` is reached.
|
719
763
|
Example: `2016-08-25T21:10:29.600Z`
|
720
764
|
|
721
765
|
|
@@ -838,6 +882,30 @@ class EsxiHost(object):
|
|
838
882
|
"""
|
839
883
|
self._vmware_software_version = vmware_software_version
|
840
884
|
|
885
|
+
@property
|
886
|
+
def esxi_software_version(self):
|
887
|
+
"""
|
888
|
+
Gets the esxi_software_version of this EsxiHost.
|
889
|
+
The version of ESXi software that Oracle Cloud VMware Solution installed on the ESXi hosts.
|
890
|
+
|
891
|
+
|
892
|
+
:return: The esxi_software_version of this EsxiHost.
|
893
|
+
:rtype: str
|
894
|
+
"""
|
895
|
+
return self._esxi_software_version
|
896
|
+
|
897
|
+
@esxi_software_version.setter
|
898
|
+
def esxi_software_version(self, esxi_software_version):
|
899
|
+
"""
|
900
|
+
Sets the esxi_software_version of this EsxiHost.
|
901
|
+
The version of ESXi software that Oracle Cloud VMware Solution installed on the ESXi hosts.
|
902
|
+
|
903
|
+
|
904
|
+
:param esxi_software_version: The esxi_software_version of this EsxiHost.
|
905
|
+
:type: str
|
906
|
+
"""
|
907
|
+
self._esxi_software_version = esxi_software_version
|
908
|
+
|
841
909
|
@property
|
842
910
|
def non_upgraded_esxi_host_id(self):
|
843
911
|
"""
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
|
3
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
4
|
|
5
|
-
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version:
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230701
|
6
6
|
|
7
7
|
|
8
8
|
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|