oci 2.135.1__py3-none-any.whl → 2.135.2__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 +25 -25
- 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 +9 -9
- 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 +72 -72
- 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 +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 +98 -94
- oci/container_engine/models/cluster.py +6 -2
- oci/container_engine/models/cluster_summary.py +6 -2
- oci/container_engine/models/node.py +6 -2
- oci/container_engine/models/node_pool.py +6 -2
- oci/container_engine/models/node_pool_summary.py +6 -2
- oci/container_engine/models/start_credential_rotation_details.py +2 -2
- oci/container_engine/models/work_request.py +7 -3
- oci/container_engine/models/work_request_summary.py +7 -3
- oci/container_engine/models/workload_mapping.py +35 -2
- oci/container_engine/models/workload_mapping_summary.py +35 -2
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +2 -0
- oci/core/models/launch_attach_paravirtualized_volume_details.py +123 -0
- oci/core/models/launch_attach_volume_details.py +4 -0
- 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 +292 -292
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +396 -396
- oci/database/models/cloud_vm_cluster.py +29 -2
- oci/database/models/cloud_vm_cluster_summary.py +29 -2
- oci/database/models/create_cloud_vm_cluster_details.py +29 -2
- oci/database/models/create_vm_cluster_details.py +29 -2
- oci/database/models/update_cloud_vm_cluster_details.py +29 -2
- oci/database/models/update_vm_cluster_details.py +29 -2
- oci/database/models/vm_cluster.py +29 -2
- oci/database/models/vm_cluster_summary.py +29 -2
- oci/database_management/db_management_client.py +211 -211
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- 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 +33 -22
- oci/desktops/models/__init__.py +18 -0
- oci/desktops/models/create_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
- oci/desktops/models/create_desktop_pool_details.py +136 -4
- oci/desktops/models/create_desktop_pool_private_access_details.py +142 -0
- oci/desktops/models/create_desktop_pool_shape_config_details.py +170 -0
- oci/desktops/models/desktop_image.py +33 -2
- oci/desktops/models/desktop_network_configuration.py +14 -4
- oci/desktops/models/desktop_pool.py +136 -4
- oci/desktops/models/desktop_pool_private_access_details.py +212 -0
- oci/desktops/models/desktop_pool_shape_config.py +170 -0
- oci/desktops/models/desktop_session_lifecycle_actions.py +95 -0
- oci/desktops/models/disconnect_config.py +121 -0
- oci/desktops/models/inactivity_config.py +121 -0
- oci/desktops/models/update_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
- oci/desktops/models/update_desktop_pool_details.py +29 -2
- oci/devops/devops_client.py +141 -141
- 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 +54 -54
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
- 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 +13 -13
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- 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 +42 -42
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/models/create_fusion_environment_admin_user_details.py +1 -1
- 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_agent/generative_ai_agent_client.py +33 -33
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
- 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 +30 -30
- oci/golden_gate/golden_gate_client.py +68 -68
- 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 +307 -307
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +75 -75
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/load_balancer/models/connection_configuration.py +47 -2
- 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 +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 +34 -34
- 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 +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/models/__init__.py +6 -0
- oci/opsi/models/create_autonomous_database_insight_details.py +291 -0
- oci/opsi/models/create_database_insight_details.py +4 -0
- oci/opsi/models/credential_by_iam.py +58 -0
- oci/opsi/models/credential_by_vault.py +1 -1
- oci/opsi/models/credential_details.py +13 -5
- oci/opsi/models/credentials_by_source.py +1 -1
- oci/opsi/models/enable_autonomous_database_insight_details.py +301 -0
- oci/opsi/models/enable_database_insight_details.py +4 -0
- oci/opsi/operations_insights_client.py +179 -179
- 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 +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 +2 -2
- oci/sch/service_connector_client.py +12 -12
- 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/models/__init__.py +20 -0
- oci/stack_monitoring/models/create_maintenance_window_details.py +196 -0
- oci/stack_monitoring/models/create_maintenance_window_resource_details.py +111 -0
- oci/stack_monitoring/models/maintenance_window.py +439 -0
- oci/stack_monitoring/models/maintenance_window_collection.py +72 -0
- oci/stack_monitoring/models/maintenance_window_schedule.py +109 -0
- oci/stack_monitoring/models/maintenance_window_summary.py +519 -0
- oci/stack_monitoring/models/monitored_resource_details.py +171 -0
- oci/stack_monitoring/models/one_time_maintenance_window_schedule.py +113 -0
- oci/stack_monitoring/models/recurrent_maintenance_window_schedule.py +191 -0
- oci/stack_monitoring/models/update_maintenance_window_details.py +130 -0
- oci/stack_monitoring/models/work_request.py +19 -3
- oci/stack_monitoring/models/work_request_summary.py +19 -3
- oci/stack_monitoring/stack_monitoring_client.py +921 -113
- oci/stack_monitoring/stack_monitoring_client_composite_operations.py +214 -0
- 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/zpr/zpr_client.py +16 -17
- {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/METADATA +2 -2
- {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/RECORD +327 -304
- {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/LICENSE.txt +0 -0
- {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/WHEEL +0 -0
- {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,439 @@
|
|
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: 20210330
|
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 MaintenanceWindow(object):
|
14
|
+
"""
|
15
|
+
Maintenance Window object. It contains all the information of the Maintenance window.
|
16
|
+
Used in the Create and Get operations.
|
17
|
+
"""
|
18
|
+
|
19
|
+
#: A constant which can be used with the lifecycle_state property of a MaintenanceWindow.
|
20
|
+
#: This constant has a value of "CREATING"
|
21
|
+
LIFECYCLE_STATE_CREATING = "CREATING"
|
22
|
+
|
23
|
+
#: A constant which can be used with the lifecycle_state property of a MaintenanceWindow.
|
24
|
+
#: This constant has a value of "UPDATING"
|
25
|
+
LIFECYCLE_STATE_UPDATING = "UPDATING"
|
26
|
+
|
27
|
+
#: A constant which can be used with the lifecycle_state property of a MaintenanceWindow.
|
28
|
+
#: This constant has a value of "ACTIVE"
|
29
|
+
LIFECYCLE_STATE_ACTIVE = "ACTIVE"
|
30
|
+
|
31
|
+
#: A constant which can be used with the lifecycle_state property of a MaintenanceWindow.
|
32
|
+
#: This constant has a value of "DELETING"
|
33
|
+
LIFECYCLE_STATE_DELETING = "DELETING"
|
34
|
+
|
35
|
+
#: A constant which can be used with the lifecycle_state property of a MaintenanceWindow.
|
36
|
+
#: This constant has a value of "DELETED"
|
37
|
+
LIFECYCLE_STATE_DELETED = "DELETED"
|
38
|
+
|
39
|
+
#: A constant which can be used with the lifecycle_state property of a MaintenanceWindow.
|
40
|
+
#: This constant has a value of "FAILED"
|
41
|
+
LIFECYCLE_STATE_FAILED = "FAILED"
|
42
|
+
|
43
|
+
#: A constant which can be used with the lifecycle_details property of a MaintenanceWindow.
|
44
|
+
#: This constant has a value of "IN_PROGRESS"
|
45
|
+
LIFECYCLE_DETAILS_IN_PROGRESS = "IN_PROGRESS"
|
46
|
+
|
47
|
+
#: A constant which can be used with the lifecycle_details property of a MaintenanceWindow.
|
48
|
+
#: This constant has a value of "SCHEDULED"
|
49
|
+
LIFECYCLE_DETAILS_SCHEDULED = "SCHEDULED"
|
50
|
+
|
51
|
+
#: A constant which can be used with the lifecycle_details property of a MaintenanceWindow.
|
52
|
+
#: This constant has a value of "COMPLETED"
|
53
|
+
LIFECYCLE_DETAILS_COMPLETED = "COMPLETED"
|
54
|
+
|
55
|
+
def __init__(self, **kwargs):
|
56
|
+
"""
|
57
|
+
Initializes a new MaintenanceWindow object with values from keyword arguments.
|
58
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
59
|
+
|
60
|
+
:param id:
|
61
|
+
The value to assign to the id property of this MaintenanceWindow.
|
62
|
+
:type id: str
|
63
|
+
|
64
|
+
:param name:
|
65
|
+
The value to assign to the name property of this MaintenanceWindow.
|
66
|
+
:type name: str
|
67
|
+
|
68
|
+
:param description:
|
69
|
+
The value to assign to the description property of this MaintenanceWindow.
|
70
|
+
:type description: str
|
71
|
+
|
72
|
+
:param compartment_id:
|
73
|
+
The value to assign to the compartment_id property of this MaintenanceWindow.
|
74
|
+
:type compartment_id: str
|
75
|
+
|
76
|
+
:param resources:
|
77
|
+
The value to assign to the resources property of this MaintenanceWindow.
|
78
|
+
:type resources: list[oci.stack_monitoring.models.CreateMaintenanceWindowResourceDetails]
|
79
|
+
|
80
|
+
:param resources_details:
|
81
|
+
The value to assign to the resources_details property of this MaintenanceWindow.
|
82
|
+
:type resources_details: list[oci.stack_monitoring.models.MonitoredResourceDetails]
|
83
|
+
|
84
|
+
:param lifecycle_state:
|
85
|
+
The value to assign to the lifecycle_state property of this MaintenanceWindow.
|
86
|
+
Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
87
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
88
|
+
:type lifecycle_state: str
|
89
|
+
|
90
|
+
:param lifecycle_details:
|
91
|
+
The value to assign to the lifecycle_details property of this MaintenanceWindow.
|
92
|
+
Allowed values for this property are: "IN_PROGRESS", "SCHEDULED", "COMPLETED", 'UNKNOWN_ENUM_VALUE'.
|
93
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
94
|
+
:type lifecycle_details: str
|
95
|
+
|
96
|
+
:param schedule:
|
97
|
+
The value to assign to the schedule property of this MaintenanceWindow.
|
98
|
+
:type schedule: oci.stack_monitoring.models.MaintenanceWindowSchedule
|
99
|
+
|
100
|
+
:param time_created:
|
101
|
+
The value to assign to the time_created property of this MaintenanceWindow.
|
102
|
+
:type time_created: datetime
|
103
|
+
|
104
|
+
:param time_updated:
|
105
|
+
The value to assign to the time_updated property of this MaintenanceWindow.
|
106
|
+
:type time_updated: datetime
|
107
|
+
|
108
|
+
"""
|
109
|
+
self.swagger_types = {
|
110
|
+
'id': 'str',
|
111
|
+
'name': 'str',
|
112
|
+
'description': 'str',
|
113
|
+
'compartment_id': 'str',
|
114
|
+
'resources': 'list[CreateMaintenanceWindowResourceDetails]',
|
115
|
+
'resources_details': 'list[MonitoredResourceDetails]',
|
116
|
+
'lifecycle_state': 'str',
|
117
|
+
'lifecycle_details': 'str',
|
118
|
+
'schedule': 'MaintenanceWindowSchedule',
|
119
|
+
'time_created': 'datetime',
|
120
|
+
'time_updated': 'datetime'
|
121
|
+
}
|
122
|
+
|
123
|
+
self.attribute_map = {
|
124
|
+
'id': 'id',
|
125
|
+
'name': 'name',
|
126
|
+
'description': 'description',
|
127
|
+
'compartment_id': 'compartmentId',
|
128
|
+
'resources': 'resources',
|
129
|
+
'resources_details': 'resourcesDetails',
|
130
|
+
'lifecycle_state': 'lifecycleState',
|
131
|
+
'lifecycle_details': 'lifecycleDetails',
|
132
|
+
'schedule': 'schedule',
|
133
|
+
'time_created': 'timeCreated',
|
134
|
+
'time_updated': 'timeUpdated'
|
135
|
+
}
|
136
|
+
|
137
|
+
self._id = None
|
138
|
+
self._name = None
|
139
|
+
self._description = None
|
140
|
+
self._compartment_id = None
|
141
|
+
self._resources = None
|
142
|
+
self._resources_details = None
|
143
|
+
self._lifecycle_state = None
|
144
|
+
self._lifecycle_details = None
|
145
|
+
self._schedule = None
|
146
|
+
self._time_created = None
|
147
|
+
self._time_updated = None
|
148
|
+
|
149
|
+
@property
|
150
|
+
def id(self):
|
151
|
+
"""
|
152
|
+
**[Required]** Gets the id of this MaintenanceWindow.
|
153
|
+
The `OCID`__ of maintenance window.
|
154
|
+
|
155
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
156
|
+
|
157
|
+
|
158
|
+
:return: The id of this MaintenanceWindow.
|
159
|
+
:rtype: str
|
160
|
+
"""
|
161
|
+
return self._id
|
162
|
+
|
163
|
+
@id.setter
|
164
|
+
def id(self, id):
|
165
|
+
"""
|
166
|
+
Sets the id of this MaintenanceWindow.
|
167
|
+
The `OCID`__ of maintenance window.
|
168
|
+
|
169
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
170
|
+
|
171
|
+
|
172
|
+
:param id: The id of this MaintenanceWindow.
|
173
|
+
:type: str
|
174
|
+
"""
|
175
|
+
self._id = id
|
176
|
+
|
177
|
+
@property
|
178
|
+
def name(self):
|
179
|
+
"""
|
180
|
+
**[Required]** Gets the name of this MaintenanceWindow.
|
181
|
+
Maintenance Window name.
|
182
|
+
|
183
|
+
|
184
|
+
:return: The name of this MaintenanceWindow.
|
185
|
+
:rtype: str
|
186
|
+
"""
|
187
|
+
return self._name
|
188
|
+
|
189
|
+
@name.setter
|
190
|
+
def name(self, name):
|
191
|
+
"""
|
192
|
+
Sets the name of this MaintenanceWindow.
|
193
|
+
Maintenance Window name.
|
194
|
+
|
195
|
+
|
196
|
+
:param name: The name of this MaintenanceWindow.
|
197
|
+
:type: str
|
198
|
+
"""
|
199
|
+
self._name = name
|
200
|
+
|
201
|
+
@property
|
202
|
+
def description(self):
|
203
|
+
"""
|
204
|
+
Gets the description of this MaintenanceWindow.
|
205
|
+
Maintenance Window description.
|
206
|
+
|
207
|
+
|
208
|
+
:return: The description of this MaintenanceWindow.
|
209
|
+
:rtype: str
|
210
|
+
"""
|
211
|
+
return self._description
|
212
|
+
|
213
|
+
@description.setter
|
214
|
+
def description(self, description):
|
215
|
+
"""
|
216
|
+
Sets the description of this MaintenanceWindow.
|
217
|
+
Maintenance Window description.
|
218
|
+
|
219
|
+
|
220
|
+
:param description: The description of this MaintenanceWindow.
|
221
|
+
:type: str
|
222
|
+
"""
|
223
|
+
self._description = description
|
224
|
+
|
225
|
+
@property
|
226
|
+
def compartment_id(self):
|
227
|
+
"""
|
228
|
+
**[Required]** Gets the compartment_id of this MaintenanceWindow.
|
229
|
+
Compartment Identifier `OCID`__.
|
230
|
+
|
231
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
232
|
+
|
233
|
+
|
234
|
+
:return: The compartment_id of this MaintenanceWindow.
|
235
|
+
:rtype: str
|
236
|
+
"""
|
237
|
+
return self._compartment_id
|
238
|
+
|
239
|
+
@compartment_id.setter
|
240
|
+
def compartment_id(self, compartment_id):
|
241
|
+
"""
|
242
|
+
Sets the compartment_id of this MaintenanceWindow.
|
243
|
+
Compartment Identifier `OCID`__.
|
244
|
+
|
245
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
246
|
+
|
247
|
+
|
248
|
+
:param compartment_id: The compartment_id of this MaintenanceWindow.
|
249
|
+
:type: str
|
250
|
+
"""
|
251
|
+
self._compartment_id = compartment_id
|
252
|
+
|
253
|
+
@property
|
254
|
+
def resources(self):
|
255
|
+
"""
|
256
|
+
Gets the resources of this MaintenanceWindow.
|
257
|
+
List of resource Ids which are part of the Maintenance Window
|
258
|
+
|
259
|
+
|
260
|
+
:return: The resources of this MaintenanceWindow.
|
261
|
+
:rtype: list[oci.stack_monitoring.models.CreateMaintenanceWindowResourceDetails]
|
262
|
+
"""
|
263
|
+
return self._resources
|
264
|
+
|
265
|
+
@resources.setter
|
266
|
+
def resources(self, resources):
|
267
|
+
"""
|
268
|
+
Sets the resources of this MaintenanceWindow.
|
269
|
+
List of resource Ids which are part of the Maintenance Window
|
270
|
+
|
271
|
+
|
272
|
+
:param resources: The resources of this MaintenanceWindow.
|
273
|
+
:type: list[oci.stack_monitoring.models.CreateMaintenanceWindowResourceDetails]
|
274
|
+
"""
|
275
|
+
self._resources = resources
|
276
|
+
|
277
|
+
@property
|
278
|
+
def resources_details(self):
|
279
|
+
"""
|
280
|
+
Gets the resources_details of this MaintenanceWindow.
|
281
|
+
List of resource details that are part of the Maintenance Window.
|
282
|
+
|
283
|
+
|
284
|
+
:return: The resources_details of this MaintenanceWindow.
|
285
|
+
:rtype: list[oci.stack_monitoring.models.MonitoredResourceDetails]
|
286
|
+
"""
|
287
|
+
return self._resources_details
|
288
|
+
|
289
|
+
@resources_details.setter
|
290
|
+
def resources_details(self, resources_details):
|
291
|
+
"""
|
292
|
+
Sets the resources_details of this MaintenanceWindow.
|
293
|
+
List of resource details that are part of the Maintenance Window.
|
294
|
+
|
295
|
+
|
296
|
+
:param resources_details: The resources_details of this MaintenanceWindow.
|
297
|
+
:type: list[oci.stack_monitoring.models.MonitoredResourceDetails]
|
298
|
+
"""
|
299
|
+
self._resources_details = resources_details
|
300
|
+
|
301
|
+
@property
|
302
|
+
def lifecycle_state(self):
|
303
|
+
"""
|
304
|
+
Gets the lifecycle_state of this MaintenanceWindow.
|
305
|
+
Lifecycle state of the monitored resource.
|
306
|
+
|
307
|
+
Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
308
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
309
|
+
|
310
|
+
|
311
|
+
:return: The lifecycle_state of this MaintenanceWindow.
|
312
|
+
:rtype: str
|
313
|
+
"""
|
314
|
+
return self._lifecycle_state
|
315
|
+
|
316
|
+
@lifecycle_state.setter
|
317
|
+
def lifecycle_state(self, lifecycle_state):
|
318
|
+
"""
|
319
|
+
Sets the lifecycle_state of this MaintenanceWindow.
|
320
|
+
Lifecycle state of the monitored resource.
|
321
|
+
|
322
|
+
|
323
|
+
:param lifecycle_state: The lifecycle_state of this MaintenanceWindow.
|
324
|
+
:type: str
|
325
|
+
"""
|
326
|
+
allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
|
327
|
+
if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
|
328
|
+
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
|
329
|
+
self._lifecycle_state = lifecycle_state
|
330
|
+
|
331
|
+
@property
|
332
|
+
def lifecycle_details(self):
|
333
|
+
"""
|
334
|
+
Gets the lifecycle_details of this MaintenanceWindow.
|
335
|
+
Lifecycle Details of the Maintenance Window.
|
336
|
+
|
337
|
+
Allowed values for this property are: "IN_PROGRESS", "SCHEDULED", "COMPLETED", 'UNKNOWN_ENUM_VALUE'.
|
338
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
339
|
+
|
340
|
+
|
341
|
+
:return: The lifecycle_details of this MaintenanceWindow.
|
342
|
+
:rtype: str
|
343
|
+
"""
|
344
|
+
return self._lifecycle_details
|
345
|
+
|
346
|
+
@lifecycle_details.setter
|
347
|
+
def lifecycle_details(self, lifecycle_details):
|
348
|
+
"""
|
349
|
+
Sets the lifecycle_details of this MaintenanceWindow.
|
350
|
+
Lifecycle Details of the Maintenance Window.
|
351
|
+
|
352
|
+
|
353
|
+
:param lifecycle_details: The lifecycle_details of this MaintenanceWindow.
|
354
|
+
:type: str
|
355
|
+
"""
|
356
|
+
allowed_values = ["IN_PROGRESS", "SCHEDULED", "COMPLETED"]
|
357
|
+
if not value_allowed_none_or_none_sentinel(lifecycle_details, allowed_values):
|
358
|
+
lifecycle_details = 'UNKNOWN_ENUM_VALUE'
|
359
|
+
self._lifecycle_details = lifecycle_details
|
360
|
+
|
361
|
+
@property
|
362
|
+
def schedule(self):
|
363
|
+
"""
|
364
|
+
Gets the schedule of this MaintenanceWindow.
|
365
|
+
|
366
|
+
:return: The schedule of this MaintenanceWindow.
|
367
|
+
:rtype: oci.stack_monitoring.models.MaintenanceWindowSchedule
|
368
|
+
"""
|
369
|
+
return self._schedule
|
370
|
+
|
371
|
+
@schedule.setter
|
372
|
+
def schedule(self, schedule):
|
373
|
+
"""
|
374
|
+
Sets the schedule of this MaintenanceWindow.
|
375
|
+
|
376
|
+
:param schedule: The schedule of this MaintenanceWindow.
|
377
|
+
:type: oci.stack_monitoring.models.MaintenanceWindowSchedule
|
378
|
+
"""
|
379
|
+
self._schedule = schedule
|
380
|
+
|
381
|
+
@property
|
382
|
+
def time_created(self):
|
383
|
+
"""
|
384
|
+
Gets the time_created of this MaintenanceWindow.
|
385
|
+
The time the the maintenance window was created. An RFC3339 formatted datetime string
|
386
|
+
|
387
|
+
|
388
|
+
:return: The time_created of this MaintenanceWindow.
|
389
|
+
:rtype: datetime
|
390
|
+
"""
|
391
|
+
return self._time_created
|
392
|
+
|
393
|
+
@time_created.setter
|
394
|
+
def time_created(self, time_created):
|
395
|
+
"""
|
396
|
+
Sets the time_created of this MaintenanceWindow.
|
397
|
+
The time the the maintenance window was created. An RFC3339 formatted datetime string
|
398
|
+
|
399
|
+
|
400
|
+
:param time_created: The time_created of this MaintenanceWindow.
|
401
|
+
:type: datetime
|
402
|
+
"""
|
403
|
+
self._time_created = time_created
|
404
|
+
|
405
|
+
@property
|
406
|
+
def time_updated(self):
|
407
|
+
"""
|
408
|
+
Gets the time_updated of this MaintenanceWindow.
|
409
|
+
The time the the mainteance window was updated. An RFC3339 formatted datetime string
|
410
|
+
|
411
|
+
|
412
|
+
:return: The time_updated of this MaintenanceWindow.
|
413
|
+
:rtype: datetime
|
414
|
+
"""
|
415
|
+
return self._time_updated
|
416
|
+
|
417
|
+
@time_updated.setter
|
418
|
+
def time_updated(self, time_updated):
|
419
|
+
"""
|
420
|
+
Sets the time_updated of this MaintenanceWindow.
|
421
|
+
The time the the mainteance window was updated. An RFC3339 formatted datetime string
|
422
|
+
|
423
|
+
|
424
|
+
:param time_updated: The time_updated of this MaintenanceWindow.
|
425
|
+
:type: datetime
|
426
|
+
"""
|
427
|
+
self._time_updated = time_updated
|
428
|
+
|
429
|
+
def __repr__(self):
|
430
|
+
return formatted_flat_dict(self)
|
431
|
+
|
432
|
+
def __eq__(self, other):
|
433
|
+
if other is None:
|
434
|
+
return False
|
435
|
+
|
436
|
+
return self.__dict__ == other.__dict__
|
437
|
+
|
438
|
+
def __ne__(self, other):
|
439
|
+
return not self == other
|
@@ -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: 20210330
|
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 MaintenanceWindowCollection(object):
|
14
|
+
"""
|
15
|
+
Result of List of maintenance window. Contains MaintenanceWindowSummary items and other data.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new MaintenanceWindowCollection 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 MaintenanceWindowCollection.
|
25
|
+
:type items: list[oci.stack_monitoring.models.MaintenanceWindowSummary]
|
26
|
+
|
27
|
+
"""
|
28
|
+
self.swagger_types = {
|
29
|
+
'items': 'list[MaintenanceWindowSummary]'
|
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 MaintenanceWindowCollection.
|
42
|
+
List of maintenance window.
|
43
|
+
|
44
|
+
|
45
|
+
:return: The items of this MaintenanceWindowCollection.
|
46
|
+
:rtype: list[oci.stack_monitoring.models.MaintenanceWindowSummary]
|
47
|
+
"""
|
48
|
+
return self._items
|
49
|
+
|
50
|
+
@items.setter
|
51
|
+
def items(self, items):
|
52
|
+
"""
|
53
|
+
Sets the items of this MaintenanceWindowCollection.
|
54
|
+
List of maintenance window.
|
55
|
+
|
56
|
+
|
57
|
+
:param items: The items of this MaintenanceWindowCollection.
|
58
|
+
:type: list[oci.stack_monitoring.models.MaintenanceWindowSummary]
|
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
|
@@ -0,0 +1,109 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210330
|
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 MaintenanceWindowSchedule(object):
|
14
|
+
"""
|
15
|
+
Schedule information of the Maintenance Window
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the schedule_type property of a MaintenanceWindowSchedule.
|
19
|
+
#: This constant has a value of "ONE_TIME"
|
20
|
+
SCHEDULE_TYPE_ONE_TIME = "ONE_TIME"
|
21
|
+
|
22
|
+
#: A constant which can be used with the schedule_type property of a MaintenanceWindowSchedule.
|
23
|
+
#: This constant has a value of "RECURRENT"
|
24
|
+
SCHEDULE_TYPE_RECURRENT = "RECURRENT"
|
25
|
+
|
26
|
+
def __init__(self, **kwargs):
|
27
|
+
"""
|
28
|
+
Initializes a new MaintenanceWindowSchedule object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
29
|
+
to a service operations then you should favor using a subclass over the base class:
|
30
|
+
|
31
|
+
* :class:`~oci.stack_monitoring.models.RecurrentMaintenanceWindowSchedule`
|
32
|
+
* :class:`~oci.stack_monitoring.models.OneTimeMaintenanceWindowSchedule`
|
33
|
+
|
34
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
35
|
+
|
36
|
+
:param schedule_type:
|
37
|
+
The value to assign to the schedule_type property of this MaintenanceWindowSchedule.
|
38
|
+
Allowed values for this property are: "ONE_TIME", "RECURRENT", 'UNKNOWN_ENUM_VALUE'.
|
39
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
40
|
+
:type schedule_type: str
|
41
|
+
|
42
|
+
"""
|
43
|
+
self.swagger_types = {
|
44
|
+
'schedule_type': 'str'
|
45
|
+
}
|
46
|
+
|
47
|
+
self.attribute_map = {
|
48
|
+
'schedule_type': 'scheduleType'
|
49
|
+
}
|
50
|
+
|
51
|
+
self._schedule_type = None
|
52
|
+
|
53
|
+
@staticmethod
|
54
|
+
def get_subtype(object_dictionary):
|
55
|
+
"""
|
56
|
+
Given the hash representation of a subtype of this class,
|
57
|
+
use the info in the hash to return the class of the subtype.
|
58
|
+
"""
|
59
|
+
type = object_dictionary['scheduleType']
|
60
|
+
|
61
|
+
if type == 'RECURRENT':
|
62
|
+
return 'RecurrentMaintenanceWindowSchedule'
|
63
|
+
|
64
|
+
if type == 'ONE_TIME':
|
65
|
+
return 'OneTimeMaintenanceWindowSchedule'
|
66
|
+
else:
|
67
|
+
return 'MaintenanceWindowSchedule'
|
68
|
+
|
69
|
+
@property
|
70
|
+
def schedule_type(self):
|
71
|
+
"""
|
72
|
+
**[Required]** Gets the schedule_type of this MaintenanceWindowSchedule.
|
73
|
+
Property to identify the type of the Maintenance Window.
|
74
|
+
|
75
|
+
Allowed values for this property are: "ONE_TIME", "RECURRENT", 'UNKNOWN_ENUM_VALUE'.
|
76
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
77
|
+
|
78
|
+
|
79
|
+
:return: The schedule_type of this MaintenanceWindowSchedule.
|
80
|
+
:rtype: str
|
81
|
+
"""
|
82
|
+
return self._schedule_type
|
83
|
+
|
84
|
+
@schedule_type.setter
|
85
|
+
def schedule_type(self, schedule_type):
|
86
|
+
"""
|
87
|
+
Sets the schedule_type of this MaintenanceWindowSchedule.
|
88
|
+
Property to identify the type of the Maintenance Window.
|
89
|
+
|
90
|
+
|
91
|
+
:param schedule_type: The schedule_type of this MaintenanceWindowSchedule.
|
92
|
+
:type: str
|
93
|
+
"""
|
94
|
+
allowed_values = ["ONE_TIME", "RECURRENT"]
|
95
|
+
if not value_allowed_none_or_none_sentinel(schedule_type, allowed_values):
|
96
|
+
schedule_type = 'UNKNOWN_ENUM_VALUE'
|
97
|
+
self._schedule_type = schedule_type
|
98
|
+
|
99
|
+
def __repr__(self):
|
100
|
+
return formatted_flat_dict(self)
|
101
|
+
|
102
|
+
def __eq__(self, other):
|
103
|
+
if other is None:
|
104
|
+
return False
|
105
|
+
|
106
|
+
return self.__dict__ == other.__dict__
|
107
|
+
|
108
|
+
def __ne__(self, other):
|
109
|
+
return not self == other
|