oci 2.126.4__py3-none-any.whl → 2.127.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/__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 +66 -66
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +494 -38
- oci/capacity_management/models/__init__.py +4 -2
- oci/capacity_management/models/create_occ_capacity_request_details.py +32 -1
- oci/capacity_management/models/metadata_details.py +7 -3
- oci/capacity_management/models/occ_availability_catalog.py +2 -2
- oci/capacity_management/models/occ_availability_catalog_summary.py +2 -2
- oci/capacity_management/models/occ_availability_summary.py +99 -40
- oci/capacity_management/models/occ_capacity_request.py +47 -0
- oci/capacity_management/models/occ_capacity_request_base_details.py +96 -32
- oci/capacity_management/models/occ_capacity_request_summary.py +31 -0
- oci/capacity_management/models/occ_overview_collection.py +72 -0
- oci/capacity_management/models/occ_overview_summary.py +413 -0
- 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 +13 -13
- 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 +91 -91
- oci/database/database_client.py +333 -333
- oci/database/models/database_connection_credentials_by_details.py +7 -3
- oci/database/models/database_ssl_connection_credentials.py +7 -3
- oci/database/models/enable_database_management_details.py +7 -3
- oci/database/models/enable_pluggable_database_management_details.py +7 -3
- oci/database/models/modify_database_management_details.py +7 -3
- oci/database/models/modify_pluggable_database_management_details.py +7 -3
- oci/database_management/db_management_client.py +478 -206
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/models/__init__.py +10 -0
- oci/database_management/models/basic_named_credential_content.py +7 -3
- oci/database_management/models/basic_preferred_credential.py +7 -3
- oci/database_management/models/data_points.py +103 -0
- oci/database_management/models/database_connection_credentials_by_details.py +7 -3
- oci/database_management/models/database_password_credential_details.py +7 -3
- oci/database_management/models/database_secret_credential_details.py +7 -3
- oci/database_management/models/database_ssl_connection_credentials.py +7 -3
- oci/database_management/models/database_usage_metrics.py +183 -0
- oci/database_management/models/dataguard_performance_metrics.py +72 -0
- oci/database_management/models/peer_database_metrics.py +72 -0
- oci/database_management/models/performance_metrics.py +165 -0
- oci/database_management/models/performance_metrics_data.py +387 -0
- oci/database_management/models/preferred_credential_summary.py +7 -3
- oci/database_management/models/test_basic_preferred_credential_details.py +7 -3
- oci/database_management/models/update_basic_preferred_credential_details.py +7 -3
- 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/demand_signal/__init__.py +14 -0
- oci/demand_signal/models/__init__.py +48 -0
- oci/demand_signal/models/change_occ_demand_signal_compartment_details.py +76 -0
- oci/demand_signal/models/create_occ_demand_signal_details.py +251 -0
- oci/demand_signal/models/occ_demand_signal.py +501 -0
- oci/demand_signal/models/occ_demand_signal_collection.py +72 -0
- oci/demand_signal/models/occ_demand_signal_data.py +134 -0
- oci/demand_signal/models/occ_demand_signal_summary.py +430 -0
- oci/demand_signal/models/occ_demand_signal_value.py +134 -0
- oci/demand_signal/models/patch_insert_instruction.py +171 -0
- oci/demand_signal/models/patch_insert_multiple_instruction.py +171 -0
- oci/demand_signal/models/patch_instruction.py +192 -0
- oci/demand_signal/models/patch_merge_instruction.py +97 -0
- oci/demand_signal/models/patch_move_instruction.py +147 -0
- oci/demand_signal/models/patch_occ_demand_signal_details.py +72 -0
- oci/demand_signal/models/patch_prohibit_instruction.py +100 -0
- oci/demand_signal/models/patch_remove_instruction.py +59 -0
- oci/demand_signal/models/patch_replace_instruction.py +92 -0
- oci/demand_signal/models/patch_require_instruction.py +99 -0
- oci/demand_signal/models/update_occ_demand_signal_details.py +185 -0
- oci/demand_signal/occ_demand_signal_client.py +953 -0
- oci/demand_signal/occ_demand_signal_client_composite_operations.py +176 -0
- 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 +31 -31
- 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 +27 -26
- oci/jms_java_downloads/models/create_java_download_report_details.py +80 -6
- oci/jms_java_downloads/models/create_java_license_acceptance_record_details.py +76 -2
- oci/jms_java_downloads/models/java_download_count_aggregation.py +2 -2
- oci/jms_java_downloads/models/java_download_record.py +2 -2
- oci/jms_java_downloads/models/java_download_record_summary.py +2 -2
- oci/jms_java_downloads/models/java_download_report.py +174 -2
- oci/jms_java_downloads/models/java_download_report_summary.py +174 -2
- oci/jms_java_downloads/models/java_download_token.py +24 -8
- oci/jms_java_downloads/models/java_download_token_summary.py +24 -8
- oci/jms_java_downloads/models/java_license_acceptance_record.py +4 -4
- oci/jms_java_downloads/models/java_license_acceptance_record_summary.py +4 -4
- oci/jms_java_downloads/models/request_summarized_java_download_counts_details.py +2 -2
- oci/jms_java_downloads/models/update_java_license_acceptance_record_details.py +76 -2
- 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/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/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +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/schedule_client.py +26 -26
- 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.4.dist-info → oci-2.127.0.dist-info}/METADATA +1 -1
- {oci-2.126.4.dist-info → oci-2.127.0.dist-info}/RECORD +322 -293
- {oci-2.126.4.dist-info → oci-2.127.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.126.4.dist-info → oci-2.127.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.126.4.dist-info → oci-2.127.0.dist-info}/WHEEL +0 -0
- {oci-2.126.4.dist-info → oci-2.127.0.dist-info}/top_level.txt +0 -0
@@ -15,29 +15,23 @@ class OccCapacityRequestBaseDetails(object):
|
|
15
15
|
The details of the create capacity request. This model serves as a base for different namespaces.
|
16
16
|
"""
|
17
17
|
|
18
|
-
#: A constant which can be used with the resource_type property of a OccCapacityRequestBaseDetails.
|
19
|
-
#: This constant has a value of "SERVER_HW"
|
20
|
-
RESOURCE_TYPE_SERVER_HW = "SERVER_HW"
|
21
|
-
|
22
18
|
def __init__(self, **kwargs):
|
23
19
|
"""
|
24
|
-
Initializes a new OccCapacityRequestBaseDetails object with values from keyword arguments.
|
25
|
-
to a service operations then you should favor using a subclass over the base class:
|
26
|
-
|
27
|
-
* :class:`~oci.capacity_management.models.OccCapacityRequestComputeDetails`
|
28
|
-
|
20
|
+
Initializes a new OccCapacityRequestBaseDetails object with values from keyword arguments.
|
29
21
|
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
30
22
|
|
31
23
|
:param resource_type:
|
32
24
|
The value to assign to the resource_type property of this OccCapacityRequestBaseDetails.
|
33
|
-
Allowed values for this property are: "SERVER_HW", 'UNKNOWN_ENUM_VALUE'.
|
34
|
-
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
35
25
|
:type resource_type: str
|
36
26
|
|
37
27
|
:param workload_type:
|
38
28
|
The value to assign to the workload_type property of this OccCapacityRequestBaseDetails.
|
39
29
|
:type workload_type: str
|
40
30
|
|
31
|
+
:param source_workload_type:
|
32
|
+
The value to assign to the source_workload_type property of this OccCapacityRequestBaseDetails.
|
33
|
+
:type source_workload_type: str
|
34
|
+
|
41
35
|
:param expected_handover_quantity:
|
42
36
|
The value to assign to the expected_handover_quantity property of this OccCapacityRequestBaseDetails.
|
43
37
|
:type expected_handover_quantity: int
|
@@ -54,44 +48,48 @@ class OccCapacityRequestBaseDetails(object):
|
|
54
48
|
The value to assign to the date_actual_handover property of this OccCapacityRequestBaseDetails.
|
55
49
|
:type date_actual_handover: datetime
|
56
50
|
|
51
|
+
:param resource_name:
|
52
|
+
The value to assign to the resource_name property of this OccCapacityRequestBaseDetails.
|
53
|
+
:type resource_name: str
|
54
|
+
|
55
|
+
:param demand_quantity:
|
56
|
+
The value to assign to the demand_quantity property of this OccCapacityRequestBaseDetails.
|
57
|
+
:type demand_quantity: int
|
58
|
+
|
57
59
|
"""
|
58
60
|
self.swagger_types = {
|
59
61
|
'resource_type': 'str',
|
60
62
|
'workload_type': 'str',
|
63
|
+
'source_workload_type': 'str',
|
61
64
|
'expected_handover_quantity': 'int',
|
62
65
|
'date_expected_handover': 'datetime',
|
63
66
|
'actual_handover_quantity': 'int',
|
64
|
-
'date_actual_handover': 'datetime'
|
67
|
+
'date_actual_handover': 'datetime',
|
68
|
+
'resource_name': 'str',
|
69
|
+
'demand_quantity': 'int'
|
65
70
|
}
|
66
71
|
|
67
72
|
self.attribute_map = {
|
68
73
|
'resource_type': 'resourceType',
|
69
74
|
'workload_type': 'workloadType',
|
75
|
+
'source_workload_type': 'sourceWorkloadType',
|
70
76
|
'expected_handover_quantity': 'expectedHandoverQuantity',
|
71
77
|
'date_expected_handover': 'dateExpectedHandover',
|
72
78
|
'actual_handover_quantity': 'actualHandoverQuantity',
|
73
|
-
'date_actual_handover': 'dateActualHandover'
|
79
|
+
'date_actual_handover': 'dateActualHandover',
|
80
|
+
'resource_name': 'resourceName',
|
81
|
+
'demand_quantity': 'demandQuantity'
|
74
82
|
}
|
75
83
|
|
76
84
|
self._resource_type = None
|
77
85
|
self._workload_type = None
|
86
|
+
self._source_workload_type = None
|
78
87
|
self._expected_handover_quantity = None
|
79
88
|
self._date_expected_handover = None
|
80
89
|
self._actual_handover_quantity = None
|
81
90
|
self._date_actual_handover = None
|
82
|
-
|
83
|
-
|
84
|
-
def get_subtype(object_dictionary):
|
85
|
-
"""
|
86
|
-
Given the hash representation of a subtype of this class,
|
87
|
-
use the info in the hash to return the class of the subtype.
|
88
|
-
"""
|
89
|
-
type = object_dictionary['resourceType']
|
90
|
-
|
91
|
-
if type == 'SERVER_HW':
|
92
|
-
return 'OccCapacityRequestComputeDetails'
|
93
|
-
else:
|
94
|
-
return 'OccCapacityRequestBaseDetails'
|
91
|
+
self._resource_name = None
|
92
|
+
self._demand_quantity = None
|
95
93
|
|
96
94
|
@property
|
97
95
|
def resource_type(self):
|
@@ -99,9 +97,6 @@ class OccCapacityRequestBaseDetails(object):
|
|
99
97
|
**[Required]** Gets the resource_type of this OccCapacityRequestBaseDetails.
|
100
98
|
The type of the resource against which the user wants to place a capacity request.
|
101
99
|
|
102
|
-
Allowed values for this property are: "SERVER_HW", 'UNKNOWN_ENUM_VALUE'.
|
103
|
-
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
104
|
-
|
105
100
|
|
106
101
|
:return: The resource_type of this OccCapacityRequestBaseDetails.
|
107
102
|
:rtype: str
|
@@ -118,9 +113,6 @@ class OccCapacityRequestBaseDetails(object):
|
|
118
113
|
:param resource_type: The resource_type of this OccCapacityRequestBaseDetails.
|
119
114
|
:type: str
|
120
115
|
"""
|
121
|
-
allowed_values = ["SERVER_HW"]
|
122
|
-
if not value_allowed_none_or_none_sentinel(resource_type, allowed_values):
|
123
|
-
resource_type = 'UNKNOWN_ENUM_VALUE'
|
124
116
|
self._resource_type = resource_type
|
125
117
|
|
126
118
|
@property
|
@@ -147,6 +139,30 @@ class OccCapacityRequestBaseDetails(object):
|
|
147
139
|
"""
|
148
140
|
self._workload_type = workload_type
|
149
141
|
|
142
|
+
@property
|
143
|
+
def source_workload_type(self):
|
144
|
+
"""
|
145
|
+
Gets the source_workload_type of this OccCapacityRequestBaseDetails.
|
146
|
+
The WorkloadType from where capacity request are to be transferred.
|
147
|
+
|
148
|
+
|
149
|
+
:return: The source_workload_type of this OccCapacityRequestBaseDetails.
|
150
|
+
:rtype: str
|
151
|
+
"""
|
152
|
+
return self._source_workload_type
|
153
|
+
|
154
|
+
@source_workload_type.setter
|
155
|
+
def source_workload_type(self, source_workload_type):
|
156
|
+
"""
|
157
|
+
Sets the source_workload_type of this OccCapacityRequestBaseDetails.
|
158
|
+
The WorkloadType from where capacity request are to be transferred.
|
159
|
+
|
160
|
+
|
161
|
+
:param source_workload_type: The source_workload_type of this OccCapacityRequestBaseDetails.
|
162
|
+
:type: str
|
163
|
+
"""
|
164
|
+
self._source_workload_type = source_workload_type
|
165
|
+
|
150
166
|
@property
|
151
167
|
def expected_handover_quantity(self):
|
152
168
|
"""
|
@@ -243,6 +259,54 @@ class OccCapacityRequestBaseDetails(object):
|
|
243
259
|
"""
|
244
260
|
self._date_actual_handover = date_actual_handover
|
245
261
|
|
262
|
+
@property
|
263
|
+
def resource_name(self):
|
264
|
+
"""
|
265
|
+
**[Required]** Gets the resource_name of this OccCapacityRequestBaseDetails.
|
266
|
+
The name of the COMPUTE server shape for which the request is made. Do not use CAPACITY_CONSTRAINT as the resource name.
|
267
|
+
|
268
|
+
|
269
|
+
:return: The resource_name of this OccCapacityRequestBaseDetails.
|
270
|
+
:rtype: str
|
271
|
+
"""
|
272
|
+
return self._resource_name
|
273
|
+
|
274
|
+
@resource_name.setter
|
275
|
+
def resource_name(self, resource_name):
|
276
|
+
"""
|
277
|
+
Sets the resource_name of this OccCapacityRequestBaseDetails.
|
278
|
+
The name of the COMPUTE server shape for which the request is made. Do not use CAPACITY_CONSTRAINT as the resource name.
|
279
|
+
|
280
|
+
|
281
|
+
:param resource_name: The resource_name of this OccCapacityRequestBaseDetails.
|
282
|
+
:type: str
|
283
|
+
"""
|
284
|
+
self._resource_name = resource_name
|
285
|
+
|
286
|
+
@property
|
287
|
+
def demand_quantity(self):
|
288
|
+
"""
|
289
|
+
**[Required]** Gets the demand_quantity of this OccCapacityRequestBaseDetails.
|
290
|
+
The number of compute server's with name <resourceName> required by the user.
|
291
|
+
|
292
|
+
|
293
|
+
:return: The demand_quantity of this OccCapacityRequestBaseDetails.
|
294
|
+
:rtype: int
|
295
|
+
"""
|
296
|
+
return self._demand_quantity
|
297
|
+
|
298
|
+
@demand_quantity.setter
|
299
|
+
def demand_quantity(self, demand_quantity):
|
300
|
+
"""
|
301
|
+
Sets the demand_quantity of this OccCapacityRequestBaseDetails.
|
302
|
+
The number of compute server's with name <resourceName> required by the user.
|
303
|
+
|
304
|
+
|
305
|
+
:param demand_quantity: The demand_quantity of this OccCapacityRequestBaseDetails.
|
306
|
+
:type: int
|
307
|
+
"""
|
308
|
+
self._demand_quantity = demand_quantity
|
309
|
+
|
246
310
|
def __repr__(self):
|
247
311
|
return formatted_flat_dict(self)
|
248
312
|
|
@@ -70,6 +70,10 @@ class OccCapacityRequestSummary(object):
|
|
70
70
|
The value to assign to the request_state property of this OccCapacityRequestSummary.
|
71
71
|
:type request_state: str
|
72
72
|
|
73
|
+
:param request_type:
|
74
|
+
The value to assign to the request_type property of this OccCapacityRequestSummary.
|
75
|
+
:type request_type: str
|
76
|
+
|
73
77
|
:param time_created:
|
74
78
|
The value to assign to the time_created property of this OccCapacityRequestSummary.
|
75
79
|
:type time_created: datetime
|
@@ -111,6 +115,7 @@ class OccCapacityRequestSummary(object):
|
|
111
115
|
'availability_domain': 'str',
|
112
116
|
'date_expected_capacity_handover': 'datetime',
|
113
117
|
'request_state': 'str',
|
118
|
+
'request_type': 'str',
|
114
119
|
'time_created': 'datetime',
|
115
120
|
'time_updated': 'datetime',
|
116
121
|
'lifecycle_state': 'str',
|
@@ -132,6 +137,7 @@ class OccCapacityRequestSummary(object):
|
|
132
137
|
'availability_domain': 'availabilityDomain',
|
133
138
|
'date_expected_capacity_handover': 'dateExpectedCapacityHandover',
|
134
139
|
'request_state': 'requestState',
|
140
|
+
'request_type': 'requestType',
|
135
141
|
'time_created': 'timeCreated',
|
136
142
|
'time_updated': 'timeUpdated',
|
137
143
|
'lifecycle_state': 'lifecycleState',
|
@@ -152,6 +158,7 @@ class OccCapacityRequestSummary(object):
|
|
152
158
|
self._availability_domain = None
|
153
159
|
self._date_expected_capacity_handover = None
|
154
160
|
self._request_state = None
|
161
|
+
self._request_type = None
|
155
162
|
self._time_created = None
|
156
163
|
self._time_updated = None
|
157
164
|
self._lifecycle_state = None
|
@@ -430,6 +437,30 @@ class OccCapacityRequestSummary(object):
|
|
430
437
|
"""
|
431
438
|
self._request_state = request_state
|
432
439
|
|
440
|
+
@property
|
441
|
+
def request_type(self):
|
442
|
+
"""
|
443
|
+
Gets the request_type of this OccCapacityRequestSummary.
|
444
|
+
Type of Capacity Request(New or Transfer)
|
445
|
+
|
446
|
+
|
447
|
+
:return: The request_type of this OccCapacityRequestSummary.
|
448
|
+
:rtype: str
|
449
|
+
"""
|
450
|
+
return self._request_type
|
451
|
+
|
452
|
+
@request_type.setter
|
453
|
+
def request_type(self, request_type):
|
454
|
+
"""
|
455
|
+
Sets the request_type of this OccCapacityRequestSummary.
|
456
|
+
Type of Capacity Request(New or Transfer)
|
457
|
+
|
458
|
+
|
459
|
+
:param request_type: The request_type of this OccCapacityRequestSummary.
|
460
|
+
:type: str
|
461
|
+
"""
|
462
|
+
self._request_type = request_type
|
463
|
+
|
433
464
|
@property
|
434
465
|
def time_created(self):
|
435
466
|
"""
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20231107
|
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 OccOverviewCollection(object):
|
14
|
+
"""
|
15
|
+
A list representing response of overview API.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new OccOverviewCollection object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param items:
|
24
|
+
The value to assign to the items property of this OccOverviewCollection.
|
25
|
+
:type items: list[oci.capacity_management.models.OccOverviewSummary]
|
26
|
+
|
27
|
+
"""
|
28
|
+
self.swagger_types = {
|
29
|
+
'items': 'list[OccOverviewSummary]'
|
30
|
+
}
|
31
|
+
|
32
|
+
self.attribute_map = {
|
33
|
+
'items': 'items'
|
34
|
+
}
|
35
|
+
|
36
|
+
self._items = None
|
37
|
+
|
38
|
+
@property
|
39
|
+
def items(self):
|
40
|
+
"""
|
41
|
+
**[Required]** Gets the items of this OccOverviewCollection.
|
42
|
+
An array of overview summary.
|
43
|
+
|
44
|
+
|
45
|
+
:return: The items of this OccOverviewCollection.
|
46
|
+
:rtype: list[oci.capacity_management.models.OccOverviewSummary]
|
47
|
+
"""
|
48
|
+
return self._items
|
49
|
+
|
50
|
+
@items.setter
|
51
|
+
def items(self, items):
|
52
|
+
"""
|
53
|
+
Sets the items of this OccOverviewCollection.
|
54
|
+
An array of overview summary.
|
55
|
+
|
56
|
+
|
57
|
+
:param items: The items of this OccOverviewCollection.
|
58
|
+
:type: list[oci.capacity_management.models.OccOverviewSummary]
|
59
|
+
"""
|
60
|
+
self._items = items
|
61
|
+
|
62
|
+
def __repr__(self):
|
63
|
+
return formatted_flat_dict(self)
|
64
|
+
|
65
|
+
def __eq__(self, other):
|
66
|
+
if other is None:
|
67
|
+
return False
|
68
|
+
|
69
|
+
return self.__dict__ == other.__dict__
|
70
|
+
|
71
|
+
def __ne__(self, other):
|
72
|
+
return not self == other
|