oci 2.149.2__py3-none-any.whl → 2.150.1__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 +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- 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 +12 -12
- 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 +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- 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 +117 -117
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +258 -258
- 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 +45 -45
- 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 +317 -317
- oci/data_science/data_science_client.py +145 -145
- oci/database/database_client.py +414 -414
- oci/database/models/autonomous_container_database.py +31 -0
- oci/database/models/autonomous_container_database_summary.py +31 -0
- oci/database/models/create_autonomous_container_database_details.py +31 -0
- oci/database/models/update_autonomous_container_database_details.py +31 -0
- oci/database_management/db_management_client.py +228 -228
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +9 -9
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +12 -12
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/dns/dns_client.py +54 -54
- 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_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 +74 -74
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +8 -3
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
- oci/generative_ai_inference/generative_ai_inference_client.py +102 -5
- oci/generative_ai_inference/models/__init__.py +26 -0
- oci/generative_ai_inference/models/apply_guardrails_details.py +124 -0
- oci/generative_ai_inference/models/apply_guardrails_result.py +66 -0
- oci/generative_ai_inference/models/assistant_message.py +3 -0
- oci/generative_ai_inference/models/category_score.py +101 -0
- oci/generative_ai_inference/models/cohere_chat_request.py +53 -2
- oci/generative_ai_inference/models/content_moderation_configuration.py +70 -0
- oci/generative_ai_inference/models/content_moderation_result.py +70 -0
- oci/generative_ai_inference/models/guardrail_configs.py +120 -0
- oci/generative_ai_inference/models/guardrails_input.py +99 -0
- oci/generative_ai_inference/models/guardrails_results.py +124 -0
- oci/generative_ai_inference/models/guardrails_text_input.py +111 -0
- oci/generative_ai_inference/models/personally_identifiable_information_configuration.py +70 -0
- oci/generative_ai_inference/models/personally_identifiable_information_result.py +194 -0
- oci/generative_ai_inference/models/prompt_injection_configuration.py +39 -0
- oci/generative_ai_inference/models/prompt_injection_protection_result.py +70 -0
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +751 -113
- oci/golden_gate/golden_gate_client_composite_operations.py +170 -0
- oci/golden_gate/models/__init__.py +18 -0
- oci/golden_gate/models/add_deployment_local_peer_details.py +101 -0
- oci/golden_gate/models/collect_pipeline_diagnostic_details.py +132 -0
- oci/golden_gate/models/create_deployment_details.py +132 -4
- oci/golden_gate/models/deployment.py +212 -0
- oci/golden_gate/models/deployment_peer_collection.py +70 -0
- oci/golden_gate/models/deployment_peer_summary.py +464 -0
- oci/golden_gate/models/deployment_placement_details.py +103 -0
- oci/golden_gate/models/deployment_placement_info.py +101 -0
- oci/golden_gate/models/deployment_type_summary.py +69 -2
- oci/golden_gate/models/pipeline.py +27 -0
- oci/golden_gate/models/pipeline_diagnostic_data.py +220 -0
- oci/golden_gate/models/process_options.py +49 -2
- oci/golden_gate/models/remove_deployment_local_peer_details.py +101 -0
- oci/golden_gate/models/switchover_deployment_peer_details.py +101 -0
- oci/golden_gate/models/update_deployment_details.py +31 -0
- oci/golden_gate/models/work_request.py +11 -3
- oci/golden_gate/models/zero_etl_pipeline.py +7 -0
- 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 +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +79 -79
- 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/key_management/models/__init__.py +4 -0
- oci/key_management/models/create_vault_replica_details.py +29 -2
- oci/key_management/models/replica_external_vault_metadata.py +111 -0
- oci/key_management/models/replica_vault_metadata.py +101 -0
- 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/lustre_file_storage/lustre_file_storage_client.py +22 -22
- 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/mngdmac/mac_device_client.py +3 -3
- oci/mngdmac/mac_order_client.py +11 -11
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- 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 +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- 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 +16 -16
- oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
- 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 +181 -181
- 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 +13 -13
- oci/os_management_hub/managed_instance_client.py +33 -33
- oci/os_management_hub/managed_instance_group_client.py +26 -26
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +13 -13
- 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 +33 -33
- oci/os_management_hub/work_request_client.py +5 -5
- 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 +34 -34
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- 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 +4 -4
- oci/sch/models/__init__.py +32 -0
- oci/sch/models/function_task_details_response.py +158 -0
- oci/sch/models/functions_target_details_response.py +192 -0
- oci/sch/models/log_rule_task_details_response.py +91 -0
- oci/sch/models/logging_analytics_target_details_response.py +130 -0
- oci/sch/models/logging_source_details_response.py +91 -0
- oci/sch/models/monitoring_source_details_response.py +91 -0
- oci/sch/models/monitoring_target_details_response.py +192 -0
- oci/sch/models/notifications_target_details_response.py +128 -0
- oci/sch/models/object_storage_target_details_response.py +219 -0
- oci/sch/models/plugin_source_details_response.py +128 -0
- oci/sch/models/private_endpoint_metadata.py +101 -0
- oci/sch/models/service_connector.py +19 -15
- oci/sch/models/service_connector_summary.py +7 -3
- oci/sch/models/source_details.py +5 -5
- oci/sch/models/source_details_response.py +158 -0
- oci/sch/models/streaming_source_details_response.py +121 -0
- oci/sch/models/streaming_target_details_response.py +94 -0
- oci/sch/models/target_details.py +5 -5
- oci/sch/models/target_details_response.py +174 -0
- oci/sch/models/task_details.py +5 -5
- oci/sch/models/task_details_response.py +142 -0
- oci/sch/service_connector_client.py +14 -14
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- 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 +87 -87
- 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 +14 -14
- 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/zpr/zpr_client.py +15 -15
- {oci-2.149.2.dist-info → oci-2.150.1.dist-info}/METADATA +1 -1
- {oci-2.149.2.dist-info → oci-2.150.1.dist-info}/RECORD +328 -288
- {oci-2.149.2.dist-info → oci-2.150.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.149.2.dist-info → oci-2.150.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.149.2.dist-info → oci-2.150.1.dist-info}/WHEEL +0 -0
- {oci-2.149.2.dist-info → oci-2.150.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,464 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200407
|
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 DeploymentPeerSummary(object):
|
14
|
+
"""
|
15
|
+
The summary of the deployment Peer.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the peer_type property of a DeploymentPeerSummary.
|
19
|
+
#: This constant has a value of "LOCAL"
|
20
|
+
PEER_TYPE_LOCAL = "LOCAL"
|
21
|
+
|
22
|
+
#: A constant which can be used with the peer_type property of a DeploymentPeerSummary.
|
23
|
+
#: This constant has a value of "REMOTE"
|
24
|
+
PEER_TYPE_REMOTE = "REMOTE"
|
25
|
+
|
26
|
+
#: A constant which can be used with the peer_role property of a DeploymentPeerSummary.
|
27
|
+
#: This constant has a value of "PRIMARY"
|
28
|
+
PEER_ROLE_PRIMARY = "PRIMARY"
|
29
|
+
|
30
|
+
#: A constant which can be used with the peer_role property of a DeploymentPeerSummary.
|
31
|
+
#: This constant has a value of "STANDBY"
|
32
|
+
PEER_ROLE_STANDBY = "STANDBY"
|
33
|
+
|
34
|
+
#: A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary.
|
35
|
+
#: This constant has a value of "CREATING"
|
36
|
+
LIFECYCLE_STATE_CREATING = "CREATING"
|
37
|
+
|
38
|
+
#: A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary.
|
39
|
+
#: This constant has a value of "ACTIVE"
|
40
|
+
LIFECYCLE_STATE_ACTIVE = "ACTIVE"
|
41
|
+
|
42
|
+
#: A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary.
|
43
|
+
#: This constant has a value of "FAILED"
|
44
|
+
LIFECYCLE_STATE_FAILED = "FAILED"
|
45
|
+
|
46
|
+
#: A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary.
|
47
|
+
#: This constant has a value of "UPDATING"
|
48
|
+
LIFECYCLE_STATE_UPDATING = "UPDATING"
|
49
|
+
|
50
|
+
#: A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary.
|
51
|
+
#: This constant has a value of "DELETING"
|
52
|
+
LIFECYCLE_STATE_DELETING = "DELETING"
|
53
|
+
|
54
|
+
def __init__(self, **kwargs):
|
55
|
+
"""
|
56
|
+
Initializes a new DeploymentPeerSummary object with values from keyword arguments.
|
57
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
58
|
+
|
59
|
+
:param deployment_id:
|
60
|
+
The value to assign to the deployment_id property of this DeploymentPeerSummary.
|
61
|
+
:type deployment_id: str
|
62
|
+
|
63
|
+
:param region:
|
64
|
+
The value to assign to the region property of this DeploymentPeerSummary.
|
65
|
+
:type region: str
|
66
|
+
|
67
|
+
:param availability_domain:
|
68
|
+
The value to assign to the availability_domain property of this DeploymentPeerSummary.
|
69
|
+
:type availability_domain: str
|
70
|
+
|
71
|
+
:param fault_domain:
|
72
|
+
The value to assign to the fault_domain property of this DeploymentPeerSummary.
|
73
|
+
:type fault_domain: str
|
74
|
+
|
75
|
+
:param display_name:
|
76
|
+
The value to assign to the display_name property of this DeploymentPeerSummary.
|
77
|
+
:type display_name: str
|
78
|
+
|
79
|
+
:param peer_type:
|
80
|
+
The value to assign to the peer_type property of this DeploymentPeerSummary.
|
81
|
+
Allowed values for this property are: "LOCAL", "REMOTE", 'UNKNOWN_ENUM_VALUE'.
|
82
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
83
|
+
:type peer_type: str
|
84
|
+
|
85
|
+
:param peer_role:
|
86
|
+
The value to assign to the peer_role property of this DeploymentPeerSummary.
|
87
|
+
Allowed values for this property are: "PRIMARY", "STANDBY", 'UNKNOWN_ENUM_VALUE'.
|
88
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
89
|
+
:type peer_role: str
|
90
|
+
|
91
|
+
:param time_created:
|
92
|
+
The value to assign to the time_created property of this DeploymentPeerSummary.
|
93
|
+
:type time_created: datetime
|
94
|
+
|
95
|
+
:param time_updated:
|
96
|
+
The value to assign to the time_updated property of this DeploymentPeerSummary.
|
97
|
+
:type time_updated: datetime
|
98
|
+
|
99
|
+
:param time_role_changed:
|
100
|
+
The value to assign to the time_role_changed property of this DeploymentPeerSummary.
|
101
|
+
:type time_role_changed: datetime
|
102
|
+
|
103
|
+
:param lifecycle_state:
|
104
|
+
The value to assign to the lifecycle_state property of this DeploymentPeerSummary.
|
105
|
+
Allowed values for this property are: "CREATING", "ACTIVE", "FAILED", "UPDATING", "DELETING", 'UNKNOWN_ENUM_VALUE'.
|
106
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
107
|
+
:type lifecycle_state: str
|
108
|
+
|
109
|
+
"""
|
110
|
+
self.swagger_types = {
|
111
|
+
'deployment_id': 'str',
|
112
|
+
'region': 'str',
|
113
|
+
'availability_domain': 'str',
|
114
|
+
'fault_domain': 'str',
|
115
|
+
'display_name': 'str',
|
116
|
+
'peer_type': 'str',
|
117
|
+
'peer_role': 'str',
|
118
|
+
'time_created': 'datetime',
|
119
|
+
'time_updated': 'datetime',
|
120
|
+
'time_role_changed': 'datetime',
|
121
|
+
'lifecycle_state': 'str'
|
122
|
+
}
|
123
|
+
self.attribute_map = {
|
124
|
+
'deployment_id': 'deploymentId',
|
125
|
+
'region': 'region',
|
126
|
+
'availability_domain': 'availabilityDomain',
|
127
|
+
'fault_domain': 'faultDomain',
|
128
|
+
'display_name': 'displayName',
|
129
|
+
'peer_type': 'peerType',
|
130
|
+
'peer_role': 'peerRole',
|
131
|
+
'time_created': 'timeCreated',
|
132
|
+
'time_updated': 'timeUpdated',
|
133
|
+
'time_role_changed': 'timeRoleChanged',
|
134
|
+
'lifecycle_state': 'lifecycleState'
|
135
|
+
}
|
136
|
+
self._deployment_id = None
|
137
|
+
self._region = None
|
138
|
+
self._availability_domain = None
|
139
|
+
self._fault_domain = None
|
140
|
+
self._display_name = None
|
141
|
+
self._peer_type = None
|
142
|
+
self._peer_role = None
|
143
|
+
self._time_created = None
|
144
|
+
self._time_updated = None
|
145
|
+
self._time_role_changed = None
|
146
|
+
self._lifecycle_state = None
|
147
|
+
|
148
|
+
@property
|
149
|
+
def deployment_id(self):
|
150
|
+
"""
|
151
|
+
**[Required]** Gets the deployment_id of this DeploymentPeerSummary.
|
152
|
+
The `OCID`__ of the deployment being referenced.
|
153
|
+
|
154
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
155
|
+
|
156
|
+
|
157
|
+
:return: The deployment_id of this DeploymentPeerSummary.
|
158
|
+
:rtype: str
|
159
|
+
"""
|
160
|
+
return self._deployment_id
|
161
|
+
|
162
|
+
@deployment_id.setter
|
163
|
+
def deployment_id(self, deployment_id):
|
164
|
+
"""
|
165
|
+
Sets the deployment_id of this DeploymentPeerSummary.
|
166
|
+
The `OCID`__ of the deployment being referenced.
|
167
|
+
|
168
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
169
|
+
|
170
|
+
|
171
|
+
:param deployment_id: The deployment_id of this DeploymentPeerSummary.
|
172
|
+
:type: str
|
173
|
+
"""
|
174
|
+
self._deployment_id = deployment_id
|
175
|
+
|
176
|
+
@property
|
177
|
+
def region(self):
|
178
|
+
"""
|
179
|
+
**[Required]** Gets the region of this DeploymentPeerSummary.
|
180
|
+
The name of the region. e.g.: us-ashburn-1
|
181
|
+
If the region is not provided, backend will default to the default region.
|
182
|
+
|
183
|
+
|
184
|
+
:return: The region of this DeploymentPeerSummary.
|
185
|
+
:rtype: str
|
186
|
+
"""
|
187
|
+
return self._region
|
188
|
+
|
189
|
+
@region.setter
|
190
|
+
def region(self, region):
|
191
|
+
"""
|
192
|
+
Sets the region of this DeploymentPeerSummary.
|
193
|
+
The name of the region. e.g.: us-ashburn-1
|
194
|
+
If the region is not provided, backend will default to the default region.
|
195
|
+
|
196
|
+
|
197
|
+
:param region: The region of this DeploymentPeerSummary.
|
198
|
+
:type: str
|
199
|
+
"""
|
200
|
+
self._region = region
|
201
|
+
|
202
|
+
@property
|
203
|
+
def availability_domain(self):
|
204
|
+
"""
|
205
|
+
**[Required]** Gets the availability_domain of this DeploymentPeerSummary.
|
206
|
+
The availability domain of a placement.
|
207
|
+
|
208
|
+
|
209
|
+
:return: The availability_domain of this DeploymentPeerSummary.
|
210
|
+
:rtype: str
|
211
|
+
"""
|
212
|
+
return self._availability_domain
|
213
|
+
|
214
|
+
@availability_domain.setter
|
215
|
+
def availability_domain(self, availability_domain):
|
216
|
+
"""
|
217
|
+
Sets the availability_domain of this DeploymentPeerSummary.
|
218
|
+
The availability domain of a placement.
|
219
|
+
|
220
|
+
|
221
|
+
:param availability_domain: The availability_domain of this DeploymentPeerSummary.
|
222
|
+
:type: str
|
223
|
+
"""
|
224
|
+
self._availability_domain = availability_domain
|
225
|
+
|
226
|
+
@property
|
227
|
+
def fault_domain(self):
|
228
|
+
"""
|
229
|
+
**[Required]** Gets the fault_domain of this DeploymentPeerSummary.
|
230
|
+
The fault domain of a placement.
|
231
|
+
|
232
|
+
|
233
|
+
:return: The fault_domain of this DeploymentPeerSummary.
|
234
|
+
:rtype: str
|
235
|
+
"""
|
236
|
+
return self._fault_domain
|
237
|
+
|
238
|
+
@fault_domain.setter
|
239
|
+
def fault_domain(self, fault_domain):
|
240
|
+
"""
|
241
|
+
Sets the fault_domain of this DeploymentPeerSummary.
|
242
|
+
The fault domain of a placement.
|
243
|
+
|
244
|
+
|
245
|
+
:param fault_domain: The fault_domain of this DeploymentPeerSummary.
|
246
|
+
:type: str
|
247
|
+
"""
|
248
|
+
self._fault_domain = fault_domain
|
249
|
+
|
250
|
+
@property
|
251
|
+
def display_name(self):
|
252
|
+
"""
|
253
|
+
**[Required]** Gets the display_name of this DeploymentPeerSummary.
|
254
|
+
An object's Display Name.
|
255
|
+
|
256
|
+
|
257
|
+
:return: The display_name of this DeploymentPeerSummary.
|
258
|
+
:rtype: str
|
259
|
+
"""
|
260
|
+
return self._display_name
|
261
|
+
|
262
|
+
@display_name.setter
|
263
|
+
def display_name(self, display_name):
|
264
|
+
"""
|
265
|
+
Sets the display_name of this DeploymentPeerSummary.
|
266
|
+
An object's Display Name.
|
267
|
+
|
268
|
+
|
269
|
+
:param display_name: The display_name of this DeploymentPeerSummary.
|
270
|
+
:type: str
|
271
|
+
"""
|
272
|
+
self._display_name = display_name
|
273
|
+
|
274
|
+
@property
|
275
|
+
def peer_type(self):
|
276
|
+
"""
|
277
|
+
**[Required]** Gets the peer_type of this DeploymentPeerSummary.
|
278
|
+
The type of the deployment peer.
|
279
|
+
|
280
|
+
Allowed values for this property are: "LOCAL", "REMOTE", 'UNKNOWN_ENUM_VALUE'.
|
281
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
282
|
+
|
283
|
+
|
284
|
+
:return: The peer_type of this DeploymentPeerSummary.
|
285
|
+
:rtype: str
|
286
|
+
"""
|
287
|
+
return self._peer_type
|
288
|
+
|
289
|
+
@peer_type.setter
|
290
|
+
def peer_type(self, peer_type):
|
291
|
+
"""
|
292
|
+
Sets the peer_type of this DeploymentPeerSummary.
|
293
|
+
The type of the deployment peer.
|
294
|
+
|
295
|
+
|
296
|
+
:param peer_type: The peer_type of this DeploymentPeerSummary.
|
297
|
+
:type: str
|
298
|
+
"""
|
299
|
+
allowed_values = ["LOCAL", "REMOTE"]
|
300
|
+
if not value_allowed_none_or_none_sentinel(peer_type, allowed_values):
|
301
|
+
peer_type = 'UNKNOWN_ENUM_VALUE'
|
302
|
+
self._peer_type = peer_type
|
303
|
+
|
304
|
+
@property
|
305
|
+
def peer_role(self):
|
306
|
+
"""
|
307
|
+
**[Required]** Gets the peer_role of this DeploymentPeerSummary.
|
308
|
+
The type of the deployment role.
|
309
|
+
|
310
|
+
Allowed values for this property are: "PRIMARY", "STANDBY", 'UNKNOWN_ENUM_VALUE'.
|
311
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
312
|
+
|
313
|
+
|
314
|
+
:return: The peer_role of this DeploymentPeerSummary.
|
315
|
+
:rtype: str
|
316
|
+
"""
|
317
|
+
return self._peer_role
|
318
|
+
|
319
|
+
@peer_role.setter
|
320
|
+
def peer_role(self, peer_role):
|
321
|
+
"""
|
322
|
+
Sets the peer_role of this DeploymentPeerSummary.
|
323
|
+
The type of the deployment role.
|
324
|
+
|
325
|
+
|
326
|
+
:param peer_role: The peer_role of this DeploymentPeerSummary.
|
327
|
+
:type: str
|
328
|
+
"""
|
329
|
+
allowed_values = ["PRIMARY", "STANDBY"]
|
330
|
+
if not value_allowed_none_or_none_sentinel(peer_role, allowed_values):
|
331
|
+
peer_role = 'UNKNOWN_ENUM_VALUE'
|
332
|
+
self._peer_role = peer_role
|
333
|
+
|
334
|
+
@property
|
335
|
+
def time_created(self):
|
336
|
+
"""
|
337
|
+
**[Required]** Gets the time_created of this DeploymentPeerSummary.
|
338
|
+
The time the resource was created. The format is defined by
|
339
|
+
`RFC3339`__, such as `2016-08-25T21:10:29.600Z`.
|
340
|
+
|
341
|
+
__ https://tools.ietf.org/html/rfc3339
|
342
|
+
|
343
|
+
|
344
|
+
:return: The time_created of this DeploymentPeerSummary.
|
345
|
+
:rtype: datetime
|
346
|
+
"""
|
347
|
+
return self._time_created
|
348
|
+
|
349
|
+
@time_created.setter
|
350
|
+
def time_created(self, time_created):
|
351
|
+
"""
|
352
|
+
Sets the time_created of this DeploymentPeerSummary.
|
353
|
+
The time the resource was created. The format is defined by
|
354
|
+
`RFC3339`__, such as `2016-08-25T21:10:29.600Z`.
|
355
|
+
|
356
|
+
__ https://tools.ietf.org/html/rfc3339
|
357
|
+
|
358
|
+
|
359
|
+
:param time_created: The time_created of this DeploymentPeerSummary.
|
360
|
+
:type: datetime
|
361
|
+
"""
|
362
|
+
self._time_created = time_created
|
363
|
+
|
364
|
+
@property
|
365
|
+
def time_updated(self):
|
366
|
+
"""
|
367
|
+
**[Required]** Gets the time_updated of this DeploymentPeerSummary.
|
368
|
+
The time the resource was last updated. The format is defined by
|
369
|
+
`RFC3339`__, such as `2016-08-25T21:10:29.600Z`.
|
370
|
+
|
371
|
+
__ https://tools.ietf.org/html/rfc3339
|
372
|
+
|
373
|
+
|
374
|
+
:return: The time_updated of this DeploymentPeerSummary.
|
375
|
+
:rtype: datetime
|
376
|
+
"""
|
377
|
+
return self._time_updated
|
378
|
+
|
379
|
+
@time_updated.setter
|
380
|
+
def time_updated(self, time_updated):
|
381
|
+
"""
|
382
|
+
Sets the time_updated of this DeploymentPeerSummary.
|
383
|
+
The time the resource was last updated. The format is defined by
|
384
|
+
`RFC3339`__, such as `2016-08-25T21:10:29.600Z`.
|
385
|
+
|
386
|
+
__ https://tools.ietf.org/html/rfc3339
|
387
|
+
|
388
|
+
|
389
|
+
:param time_updated: The time_updated of this DeploymentPeerSummary.
|
390
|
+
:type: datetime
|
391
|
+
"""
|
392
|
+
self._time_updated = time_updated
|
393
|
+
|
394
|
+
@property
|
395
|
+
def time_role_changed(self):
|
396
|
+
"""
|
397
|
+
**[Required]** Gets the time_role_changed of this DeploymentPeerSummary.
|
398
|
+
The time of the last role change. The format is defined by
|
399
|
+
`RFC3339`__, such as `2016-08-25T21:10:29.600Z`.
|
400
|
+
|
401
|
+
__ https://tools.ietf.org/html/rfc3339
|
402
|
+
|
403
|
+
|
404
|
+
:return: The time_role_changed of this DeploymentPeerSummary.
|
405
|
+
:rtype: datetime
|
406
|
+
"""
|
407
|
+
return self._time_role_changed
|
408
|
+
|
409
|
+
@time_role_changed.setter
|
410
|
+
def time_role_changed(self, time_role_changed):
|
411
|
+
"""
|
412
|
+
Sets the time_role_changed of this DeploymentPeerSummary.
|
413
|
+
The time of the last role change. The format is defined by
|
414
|
+
`RFC3339`__, such as `2016-08-25T21:10:29.600Z`.
|
415
|
+
|
416
|
+
__ https://tools.ietf.org/html/rfc3339
|
417
|
+
|
418
|
+
|
419
|
+
:param time_role_changed: The time_role_changed of this DeploymentPeerSummary.
|
420
|
+
:type: datetime
|
421
|
+
"""
|
422
|
+
self._time_role_changed = time_role_changed
|
423
|
+
|
424
|
+
@property
|
425
|
+
def lifecycle_state(self):
|
426
|
+
"""
|
427
|
+
**[Required]** Gets the lifecycle_state of this DeploymentPeerSummary.
|
428
|
+
Possible lifecycle states for deployment peer.
|
429
|
+
|
430
|
+
Allowed values for this property are: "CREATING", "ACTIVE", "FAILED", "UPDATING", "DELETING", 'UNKNOWN_ENUM_VALUE'.
|
431
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
432
|
+
|
433
|
+
|
434
|
+
:return: The lifecycle_state of this DeploymentPeerSummary.
|
435
|
+
:rtype: str
|
436
|
+
"""
|
437
|
+
return self._lifecycle_state
|
438
|
+
|
439
|
+
@lifecycle_state.setter
|
440
|
+
def lifecycle_state(self, lifecycle_state):
|
441
|
+
"""
|
442
|
+
Sets the lifecycle_state of this DeploymentPeerSummary.
|
443
|
+
Possible lifecycle states for deployment peer.
|
444
|
+
|
445
|
+
|
446
|
+
:param lifecycle_state: The lifecycle_state of this DeploymentPeerSummary.
|
447
|
+
:type: str
|
448
|
+
"""
|
449
|
+
allowed_values = ["CREATING", "ACTIVE", "FAILED", "UPDATING", "DELETING"]
|
450
|
+
if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
|
451
|
+
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
|
452
|
+
self._lifecycle_state = lifecycle_state
|
453
|
+
|
454
|
+
def __repr__(self):
|
455
|
+
return formatted_flat_dict(self)
|
456
|
+
|
457
|
+
def __eq__(self, other):
|
458
|
+
if other is None:
|
459
|
+
return False
|
460
|
+
|
461
|
+
return self.__dict__ == other.__dict__
|
462
|
+
|
463
|
+
def __ne__(self, other):
|
464
|
+
return not self == other
|
@@ -0,0 +1,103 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200407
|
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 DeploymentPlacementDetails(object):
|
14
|
+
"""
|
15
|
+
Specifies a possible deployment placement.
|
16
|
+
Placement either explicitly specifies the availability and fault domain,
|
17
|
+
or it is partial and lets Oracle to find an optimal placement.
|
18
|
+
"""
|
19
|
+
|
20
|
+
def __init__(self, **kwargs):
|
21
|
+
"""
|
22
|
+
Initializes a new DeploymentPlacementDetails object with values from keyword arguments.
|
23
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
24
|
+
|
25
|
+
:param availability_domain:
|
26
|
+
The value to assign to the availability_domain property of this DeploymentPlacementDetails.
|
27
|
+
:type availability_domain: str
|
28
|
+
|
29
|
+
:param fault_domain:
|
30
|
+
The value to assign to the fault_domain property of this DeploymentPlacementDetails.
|
31
|
+
:type fault_domain: str
|
32
|
+
|
33
|
+
"""
|
34
|
+
self.swagger_types = {
|
35
|
+
'availability_domain': 'str',
|
36
|
+
'fault_domain': 'str'
|
37
|
+
}
|
38
|
+
self.attribute_map = {
|
39
|
+
'availability_domain': 'availabilityDomain',
|
40
|
+
'fault_domain': 'faultDomain'
|
41
|
+
}
|
42
|
+
self._availability_domain = None
|
43
|
+
self._fault_domain = None
|
44
|
+
|
45
|
+
@property
|
46
|
+
def availability_domain(self):
|
47
|
+
"""
|
48
|
+
Gets the availability_domain of this DeploymentPlacementDetails.
|
49
|
+
The availability domain of a placement.
|
50
|
+
|
51
|
+
|
52
|
+
:return: The availability_domain of this DeploymentPlacementDetails.
|
53
|
+
:rtype: str
|
54
|
+
"""
|
55
|
+
return self._availability_domain
|
56
|
+
|
57
|
+
@availability_domain.setter
|
58
|
+
def availability_domain(self, availability_domain):
|
59
|
+
"""
|
60
|
+
Sets the availability_domain of this DeploymentPlacementDetails.
|
61
|
+
The availability domain of a placement.
|
62
|
+
|
63
|
+
|
64
|
+
:param availability_domain: The availability_domain of this DeploymentPlacementDetails.
|
65
|
+
:type: str
|
66
|
+
"""
|
67
|
+
self._availability_domain = availability_domain
|
68
|
+
|
69
|
+
@property
|
70
|
+
def fault_domain(self):
|
71
|
+
"""
|
72
|
+
Gets the fault_domain of this DeploymentPlacementDetails.
|
73
|
+
The fault domain of a placement.
|
74
|
+
|
75
|
+
|
76
|
+
:return: The fault_domain of this DeploymentPlacementDetails.
|
77
|
+
:rtype: str
|
78
|
+
"""
|
79
|
+
return self._fault_domain
|
80
|
+
|
81
|
+
@fault_domain.setter
|
82
|
+
def fault_domain(self, fault_domain):
|
83
|
+
"""
|
84
|
+
Sets the fault_domain of this DeploymentPlacementDetails.
|
85
|
+
The fault domain of a placement.
|
86
|
+
|
87
|
+
|
88
|
+
:param fault_domain: The fault_domain of this DeploymentPlacementDetails.
|
89
|
+
:type: str
|
90
|
+
"""
|
91
|
+
self._fault_domain = fault_domain
|
92
|
+
|
93
|
+
def __repr__(self):
|
94
|
+
return formatted_flat_dict(self)
|
95
|
+
|
96
|
+
def __eq__(self, other):
|
97
|
+
if other is None:
|
98
|
+
return False
|
99
|
+
|
100
|
+
return self.__dict__ == other.__dict__
|
101
|
+
|
102
|
+
def __ne__(self, other):
|
103
|
+
return not self == other
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200407
|
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 DeploymentPlacementInfo(object):
|
14
|
+
"""
|
15
|
+
Specifies a deployment placement with explicit availability and fault domain specification.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new DeploymentPlacementInfo object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param availability_domain:
|
24
|
+
The value to assign to the availability_domain property of this DeploymentPlacementInfo.
|
25
|
+
:type availability_domain: str
|
26
|
+
|
27
|
+
:param fault_domain:
|
28
|
+
The value to assign to the fault_domain property of this DeploymentPlacementInfo.
|
29
|
+
:type fault_domain: str
|
30
|
+
|
31
|
+
"""
|
32
|
+
self.swagger_types = {
|
33
|
+
'availability_domain': 'str',
|
34
|
+
'fault_domain': 'str'
|
35
|
+
}
|
36
|
+
self.attribute_map = {
|
37
|
+
'availability_domain': 'availabilityDomain',
|
38
|
+
'fault_domain': 'faultDomain'
|
39
|
+
}
|
40
|
+
self._availability_domain = None
|
41
|
+
self._fault_domain = None
|
42
|
+
|
43
|
+
@property
|
44
|
+
def availability_domain(self):
|
45
|
+
"""
|
46
|
+
**[Required]** Gets the availability_domain of this DeploymentPlacementInfo.
|
47
|
+
The availability domain of a placement.
|
48
|
+
|
49
|
+
|
50
|
+
:return: The availability_domain of this DeploymentPlacementInfo.
|
51
|
+
:rtype: str
|
52
|
+
"""
|
53
|
+
return self._availability_domain
|
54
|
+
|
55
|
+
@availability_domain.setter
|
56
|
+
def availability_domain(self, availability_domain):
|
57
|
+
"""
|
58
|
+
Sets the availability_domain of this DeploymentPlacementInfo.
|
59
|
+
The availability domain of a placement.
|
60
|
+
|
61
|
+
|
62
|
+
:param availability_domain: The availability_domain of this DeploymentPlacementInfo.
|
63
|
+
:type: str
|
64
|
+
"""
|
65
|
+
self._availability_domain = availability_domain
|
66
|
+
|
67
|
+
@property
|
68
|
+
def fault_domain(self):
|
69
|
+
"""
|
70
|
+
**[Required]** Gets the fault_domain of this DeploymentPlacementInfo.
|
71
|
+
The fault domain of a placement.
|
72
|
+
|
73
|
+
|
74
|
+
:return: The fault_domain of this DeploymentPlacementInfo.
|
75
|
+
:rtype: str
|
76
|
+
"""
|
77
|
+
return self._fault_domain
|
78
|
+
|
79
|
+
@fault_domain.setter
|
80
|
+
def fault_domain(self, fault_domain):
|
81
|
+
"""
|
82
|
+
Sets the fault_domain of this DeploymentPlacementInfo.
|
83
|
+
The fault domain of a placement.
|
84
|
+
|
85
|
+
|
86
|
+
:param fault_domain: The fault_domain of this DeploymentPlacementInfo.
|
87
|
+
:type: str
|
88
|
+
"""
|
89
|
+
self._fault_domain = fault_domain
|
90
|
+
|
91
|
+
def __repr__(self):
|
92
|
+
return formatted_flat_dict(self)
|
93
|
+
|
94
|
+
def __eq__(self, other):
|
95
|
+
if other is None:
|
96
|
+
return False
|
97
|
+
|
98
|
+
return self.__dict__ == other.__dict__
|
99
|
+
|
100
|
+
def __ne__(self, other):
|
101
|
+
return not self == other
|