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,113 @@
|
|
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
|
+
from .maintenance_window_schedule import MaintenanceWindowSchedule
|
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 OneTimeMaintenanceWindowSchedule(MaintenanceWindowSchedule):
|
14
|
+
"""
|
15
|
+
Schedule information for the Maintenance Window that is executed only once.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new OneTimeMaintenanceWindowSchedule object with values from keyword arguments. The default value of the :py:attr:`~oci.stack_monitoring.models.OneTimeMaintenanceWindowSchedule.schedule_type` attribute
|
21
|
+
of this class is ``ONE_TIME`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param schedule_type:
|
25
|
+
The value to assign to the schedule_type property of this OneTimeMaintenanceWindowSchedule.
|
26
|
+
Allowed values for this property are: "ONE_TIME", "RECURRENT"
|
27
|
+
:type schedule_type: str
|
28
|
+
|
29
|
+
:param time_maintenance_window_start:
|
30
|
+
The value to assign to the time_maintenance_window_start property of this OneTimeMaintenanceWindowSchedule.
|
31
|
+
:type time_maintenance_window_start: datetime
|
32
|
+
|
33
|
+
:param time_maintenance_window_end:
|
34
|
+
The value to assign to the time_maintenance_window_end property of this OneTimeMaintenanceWindowSchedule.
|
35
|
+
:type time_maintenance_window_end: datetime
|
36
|
+
|
37
|
+
"""
|
38
|
+
self.swagger_types = {
|
39
|
+
'schedule_type': 'str',
|
40
|
+
'time_maintenance_window_start': 'datetime',
|
41
|
+
'time_maintenance_window_end': 'datetime'
|
42
|
+
}
|
43
|
+
|
44
|
+
self.attribute_map = {
|
45
|
+
'schedule_type': 'scheduleType',
|
46
|
+
'time_maintenance_window_start': 'timeMaintenanceWindowStart',
|
47
|
+
'time_maintenance_window_end': 'timeMaintenanceWindowEnd'
|
48
|
+
}
|
49
|
+
|
50
|
+
self._schedule_type = None
|
51
|
+
self._time_maintenance_window_start = None
|
52
|
+
self._time_maintenance_window_end = None
|
53
|
+
self._schedule_type = 'ONE_TIME'
|
54
|
+
|
55
|
+
@property
|
56
|
+
def time_maintenance_window_start(self):
|
57
|
+
"""
|
58
|
+
Gets the time_maintenance_window_start of this OneTimeMaintenanceWindowSchedule.
|
59
|
+
Start time of Maintenance window. A RFC3339 formatted datetime string
|
60
|
+
|
61
|
+
|
62
|
+
:return: The time_maintenance_window_start of this OneTimeMaintenanceWindowSchedule.
|
63
|
+
:rtype: datetime
|
64
|
+
"""
|
65
|
+
return self._time_maintenance_window_start
|
66
|
+
|
67
|
+
@time_maintenance_window_start.setter
|
68
|
+
def time_maintenance_window_start(self, time_maintenance_window_start):
|
69
|
+
"""
|
70
|
+
Sets the time_maintenance_window_start of this OneTimeMaintenanceWindowSchedule.
|
71
|
+
Start time of Maintenance window. A RFC3339 formatted datetime string
|
72
|
+
|
73
|
+
|
74
|
+
:param time_maintenance_window_start: The time_maintenance_window_start of this OneTimeMaintenanceWindowSchedule.
|
75
|
+
:type: datetime
|
76
|
+
"""
|
77
|
+
self._time_maintenance_window_start = time_maintenance_window_start
|
78
|
+
|
79
|
+
@property
|
80
|
+
def time_maintenance_window_end(self):
|
81
|
+
"""
|
82
|
+
Gets the time_maintenance_window_end of this OneTimeMaintenanceWindowSchedule.
|
83
|
+
Start time of Maintenance window. A RFC3339 formatted datetime string
|
84
|
+
|
85
|
+
|
86
|
+
:return: The time_maintenance_window_end of this OneTimeMaintenanceWindowSchedule.
|
87
|
+
:rtype: datetime
|
88
|
+
"""
|
89
|
+
return self._time_maintenance_window_end
|
90
|
+
|
91
|
+
@time_maintenance_window_end.setter
|
92
|
+
def time_maintenance_window_end(self, time_maintenance_window_end):
|
93
|
+
"""
|
94
|
+
Sets the time_maintenance_window_end of this OneTimeMaintenanceWindowSchedule.
|
95
|
+
Start time of Maintenance window. A RFC3339 formatted datetime string
|
96
|
+
|
97
|
+
|
98
|
+
:param time_maintenance_window_end: The time_maintenance_window_end of this OneTimeMaintenanceWindowSchedule.
|
99
|
+
:type: datetime
|
100
|
+
"""
|
101
|
+
self._time_maintenance_window_end = time_maintenance_window_end
|
102
|
+
|
103
|
+
def __repr__(self):
|
104
|
+
return formatted_flat_dict(self)
|
105
|
+
|
106
|
+
def __eq__(self, other):
|
107
|
+
if other is None:
|
108
|
+
return False
|
109
|
+
|
110
|
+
return self.__dict__ == other.__dict__
|
111
|
+
|
112
|
+
def __ne__(self, other):
|
113
|
+
return not self == other
|
@@ -0,0 +1,191 @@
|
|
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
|
+
from .maintenance_window_schedule import MaintenanceWindowSchedule
|
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 RecurrentMaintenanceWindowSchedule(MaintenanceWindowSchedule):
|
14
|
+
"""
|
15
|
+
Schedule information for the Maintenance Window that is executed multiple times.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new RecurrentMaintenanceWindowSchedule object with values from keyword arguments. The default value of the :py:attr:`~oci.stack_monitoring.models.RecurrentMaintenanceWindowSchedule.schedule_type` attribute
|
21
|
+
of this class is ``RECURRENT`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param schedule_type:
|
25
|
+
The value to assign to the schedule_type property of this RecurrentMaintenanceWindowSchedule.
|
26
|
+
Allowed values for this property are: "ONE_TIME", "RECURRENT"
|
27
|
+
:type schedule_type: str
|
28
|
+
|
29
|
+
:param time_maintenance_window_start:
|
30
|
+
The value to assign to the time_maintenance_window_start property of this RecurrentMaintenanceWindowSchedule.
|
31
|
+
:type time_maintenance_window_start: datetime
|
32
|
+
|
33
|
+
:param time_maintenance_window_end:
|
34
|
+
The value to assign to the time_maintenance_window_end property of this RecurrentMaintenanceWindowSchedule.
|
35
|
+
:type time_maintenance_window_end: datetime
|
36
|
+
|
37
|
+
:param maintenance_window_recurrences:
|
38
|
+
The value to assign to the maintenance_window_recurrences property of this RecurrentMaintenanceWindowSchedule.
|
39
|
+
:type maintenance_window_recurrences: str
|
40
|
+
|
41
|
+
:param maintenance_window_duration:
|
42
|
+
The value to assign to the maintenance_window_duration property of this RecurrentMaintenanceWindowSchedule.
|
43
|
+
:type maintenance_window_duration: str
|
44
|
+
|
45
|
+
"""
|
46
|
+
self.swagger_types = {
|
47
|
+
'schedule_type': 'str',
|
48
|
+
'time_maintenance_window_start': 'datetime',
|
49
|
+
'time_maintenance_window_end': 'datetime',
|
50
|
+
'maintenance_window_recurrences': 'str',
|
51
|
+
'maintenance_window_duration': 'str'
|
52
|
+
}
|
53
|
+
|
54
|
+
self.attribute_map = {
|
55
|
+
'schedule_type': 'scheduleType',
|
56
|
+
'time_maintenance_window_start': 'timeMaintenanceWindowStart',
|
57
|
+
'time_maintenance_window_end': 'timeMaintenanceWindowEnd',
|
58
|
+
'maintenance_window_recurrences': 'maintenanceWindowRecurrences',
|
59
|
+
'maintenance_window_duration': 'maintenanceWindowDuration'
|
60
|
+
}
|
61
|
+
|
62
|
+
self._schedule_type = None
|
63
|
+
self._time_maintenance_window_start = None
|
64
|
+
self._time_maintenance_window_end = None
|
65
|
+
self._maintenance_window_recurrences = None
|
66
|
+
self._maintenance_window_duration = None
|
67
|
+
self._schedule_type = 'RECURRENT'
|
68
|
+
|
69
|
+
@property
|
70
|
+
def time_maintenance_window_start(self):
|
71
|
+
"""
|
72
|
+
Gets the time_maintenance_window_start of this RecurrentMaintenanceWindowSchedule.
|
73
|
+
Start time of Maintenance window. A RFC3339 formatted datetime string
|
74
|
+
|
75
|
+
|
76
|
+
:return: The time_maintenance_window_start of this RecurrentMaintenanceWindowSchedule.
|
77
|
+
:rtype: datetime
|
78
|
+
"""
|
79
|
+
return self._time_maintenance_window_start
|
80
|
+
|
81
|
+
@time_maintenance_window_start.setter
|
82
|
+
def time_maintenance_window_start(self, time_maintenance_window_start):
|
83
|
+
"""
|
84
|
+
Sets the time_maintenance_window_start of this RecurrentMaintenanceWindowSchedule.
|
85
|
+
Start time of Maintenance window. A RFC3339 formatted datetime string
|
86
|
+
|
87
|
+
|
88
|
+
:param time_maintenance_window_start: The time_maintenance_window_start of this RecurrentMaintenanceWindowSchedule.
|
89
|
+
:type: datetime
|
90
|
+
"""
|
91
|
+
self._time_maintenance_window_start = time_maintenance_window_start
|
92
|
+
|
93
|
+
@property
|
94
|
+
def time_maintenance_window_end(self):
|
95
|
+
"""
|
96
|
+
Gets the time_maintenance_window_end of this RecurrentMaintenanceWindowSchedule.
|
97
|
+
Start time of Maintenance window. A RFC3339 formatted datetime string
|
98
|
+
|
99
|
+
|
100
|
+
:return: The time_maintenance_window_end of this RecurrentMaintenanceWindowSchedule.
|
101
|
+
:rtype: datetime
|
102
|
+
"""
|
103
|
+
return self._time_maintenance_window_end
|
104
|
+
|
105
|
+
@time_maintenance_window_end.setter
|
106
|
+
def time_maintenance_window_end(self, time_maintenance_window_end):
|
107
|
+
"""
|
108
|
+
Sets the time_maintenance_window_end of this RecurrentMaintenanceWindowSchedule.
|
109
|
+
Start time of Maintenance window. A RFC3339 formatted datetime string
|
110
|
+
|
111
|
+
|
112
|
+
:param time_maintenance_window_end: The time_maintenance_window_end of this RecurrentMaintenanceWindowSchedule.
|
113
|
+
:type: datetime
|
114
|
+
"""
|
115
|
+
self._time_maintenance_window_end = time_maintenance_window_end
|
116
|
+
|
117
|
+
@property
|
118
|
+
def maintenance_window_recurrences(self):
|
119
|
+
"""
|
120
|
+
**[Required]** Gets the maintenance_window_recurrences of this RecurrentMaintenanceWindowSchedule.
|
121
|
+
A RFC5545 formatted recurrence string which represents the Maintenance Window Recurrence.
|
122
|
+
Please refer this for details:https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10
|
123
|
+
FREQ: Frequency of the Maintenance Window. The supported values are: DAILY and WEEKLY.
|
124
|
+
BYDAY: Comma separated days for Weekly Maintenance Window.
|
125
|
+
BYHOUR: Specifies the start hour of each recurrence after `timeMaintenanceWindowStart` value.
|
126
|
+
BYMINUTE: Specifies the start minute of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00
|
127
|
+
BYSECOND: Specifies the start second of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00
|
128
|
+
Other Rules are not supported.
|
129
|
+
|
130
|
+
|
131
|
+
:return: The maintenance_window_recurrences of this RecurrentMaintenanceWindowSchedule.
|
132
|
+
:rtype: str
|
133
|
+
"""
|
134
|
+
return self._maintenance_window_recurrences
|
135
|
+
|
136
|
+
@maintenance_window_recurrences.setter
|
137
|
+
def maintenance_window_recurrences(self, maintenance_window_recurrences):
|
138
|
+
"""
|
139
|
+
Sets the maintenance_window_recurrences of this RecurrentMaintenanceWindowSchedule.
|
140
|
+
A RFC5545 formatted recurrence string which represents the Maintenance Window Recurrence.
|
141
|
+
Please refer this for details:https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10
|
142
|
+
FREQ: Frequency of the Maintenance Window. The supported values are: DAILY and WEEKLY.
|
143
|
+
BYDAY: Comma separated days for Weekly Maintenance Window.
|
144
|
+
BYHOUR: Specifies the start hour of each recurrence after `timeMaintenanceWindowStart` value.
|
145
|
+
BYMINUTE: Specifies the start minute of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00
|
146
|
+
BYSECOND: Specifies the start second of each reccurrence after `timeMaintenanceWindowStart` value. The default value is 00
|
147
|
+
Other Rules are not supported.
|
148
|
+
|
149
|
+
|
150
|
+
:param maintenance_window_recurrences: The maintenance_window_recurrences of this RecurrentMaintenanceWindowSchedule.
|
151
|
+
:type: str
|
152
|
+
"""
|
153
|
+
self._maintenance_window_recurrences = maintenance_window_recurrences
|
154
|
+
|
155
|
+
@property
|
156
|
+
def maintenance_window_duration(self):
|
157
|
+
"""
|
158
|
+
Gets the maintenance_window_duration of this RecurrentMaintenanceWindowSchedule.
|
159
|
+
Duration time of each recurrence of each Maintenance Window.
|
160
|
+
It must be specified as a string in ISO 8601 extended format.
|
161
|
+
|
162
|
+
|
163
|
+
:return: The maintenance_window_duration of this RecurrentMaintenanceWindowSchedule.
|
164
|
+
:rtype: str
|
165
|
+
"""
|
166
|
+
return self._maintenance_window_duration
|
167
|
+
|
168
|
+
@maintenance_window_duration.setter
|
169
|
+
def maintenance_window_duration(self, maintenance_window_duration):
|
170
|
+
"""
|
171
|
+
Sets the maintenance_window_duration of this RecurrentMaintenanceWindowSchedule.
|
172
|
+
Duration time of each recurrence of each Maintenance Window.
|
173
|
+
It must be specified as a string in ISO 8601 extended format.
|
174
|
+
|
175
|
+
|
176
|
+
:param maintenance_window_duration: The maintenance_window_duration of this RecurrentMaintenanceWindowSchedule.
|
177
|
+
:type: str
|
178
|
+
"""
|
179
|
+
self._maintenance_window_duration = maintenance_window_duration
|
180
|
+
|
181
|
+
def __repr__(self):
|
182
|
+
return formatted_flat_dict(self)
|
183
|
+
|
184
|
+
def __eq__(self, other):
|
185
|
+
if other is None:
|
186
|
+
return False
|
187
|
+
|
188
|
+
return self.__dict__ == other.__dict__
|
189
|
+
|
190
|
+
def __ne__(self, other):
|
191
|
+
return not self == other
|
@@ -0,0 +1,130 @@
|
|
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 UpdateMaintenanceWindowDetails(object):
|
14
|
+
"""
|
15
|
+
Infomation to create a new Maintenance Window.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new UpdateMaintenanceWindowDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param description:
|
24
|
+
The value to assign to the description property of this UpdateMaintenanceWindowDetails.
|
25
|
+
:type description: str
|
26
|
+
|
27
|
+
:param resources:
|
28
|
+
The value to assign to the resources property of this UpdateMaintenanceWindowDetails.
|
29
|
+
:type resources: list[oci.stack_monitoring.models.CreateMaintenanceWindowResourceDetails]
|
30
|
+
|
31
|
+
:param schedule:
|
32
|
+
The value to assign to the schedule property of this UpdateMaintenanceWindowDetails.
|
33
|
+
:type schedule: oci.stack_monitoring.models.MaintenanceWindowSchedule
|
34
|
+
|
35
|
+
"""
|
36
|
+
self.swagger_types = {
|
37
|
+
'description': 'str',
|
38
|
+
'resources': 'list[CreateMaintenanceWindowResourceDetails]',
|
39
|
+
'schedule': 'MaintenanceWindowSchedule'
|
40
|
+
}
|
41
|
+
|
42
|
+
self.attribute_map = {
|
43
|
+
'description': 'description',
|
44
|
+
'resources': 'resources',
|
45
|
+
'schedule': 'schedule'
|
46
|
+
}
|
47
|
+
|
48
|
+
self._description = None
|
49
|
+
self._resources = None
|
50
|
+
self._schedule = None
|
51
|
+
|
52
|
+
@property
|
53
|
+
def description(self):
|
54
|
+
"""
|
55
|
+
Gets the description of this UpdateMaintenanceWindowDetails.
|
56
|
+
Maintenance Window description.
|
57
|
+
|
58
|
+
|
59
|
+
:return: The description of this UpdateMaintenanceWindowDetails.
|
60
|
+
:rtype: str
|
61
|
+
"""
|
62
|
+
return self._description
|
63
|
+
|
64
|
+
@description.setter
|
65
|
+
def description(self, description):
|
66
|
+
"""
|
67
|
+
Sets the description of this UpdateMaintenanceWindowDetails.
|
68
|
+
Maintenance Window description.
|
69
|
+
|
70
|
+
|
71
|
+
:param description: The description of this UpdateMaintenanceWindowDetails.
|
72
|
+
:type: str
|
73
|
+
"""
|
74
|
+
self._description = description
|
75
|
+
|
76
|
+
@property
|
77
|
+
def resources(self):
|
78
|
+
"""
|
79
|
+
Gets the resources of this UpdateMaintenanceWindowDetails.
|
80
|
+
List of resource Ids which are part of the Maintenance Window
|
81
|
+
|
82
|
+
|
83
|
+
:return: The resources of this UpdateMaintenanceWindowDetails.
|
84
|
+
:rtype: list[oci.stack_monitoring.models.CreateMaintenanceWindowResourceDetails]
|
85
|
+
"""
|
86
|
+
return self._resources
|
87
|
+
|
88
|
+
@resources.setter
|
89
|
+
def resources(self, resources):
|
90
|
+
"""
|
91
|
+
Sets the resources of this UpdateMaintenanceWindowDetails.
|
92
|
+
List of resource Ids which are part of the Maintenance Window
|
93
|
+
|
94
|
+
|
95
|
+
:param resources: The resources of this UpdateMaintenanceWindowDetails.
|
96
|
+
:type: list[oci.stack_monitoring.models.CreateMaintenanceWindowResourceDetails]
|
97
|
+
"""
|
98
|
+
self._resources = resources
|
99
|
+
|
100
|
+
@property
|
101
|
+
def schedule(self):
|
102
|
+
"""
|
103
|
+
Gets the schedule of this UpdateMaintenanceWindowDetails.
|
104
|
+
|
105
|
+
:return: The schedule of this UpdateMaintenanceWindowDetails.
|
106
|
+
:rtype: oci.stack_monitoring.models.MaintenanceWindowSchedule
|
107
|
+
"""
|
108
|
+
return self._schedule
|
109
|
+
|
110
|
+
@schedule.setter
|
111
|
+
def schedule(self, schedule):
|
112
|
+
"""
|
113
|
+
Sets the schedule of this UpdateMaintenanceWindowDetails.
|
114
|
+
|
115
|
+
:param schedule: The schedule of this UpdateMaintenanceWindowDetails.
|
116
|
+
:type: oci.stack_monitoring.models.MaintenanceWindowSchedule
|
117
|
+
"""
|
118
|
+
self._schedule = schedule
|
119
|
+
|
120
|
+
def __repr__(self):
|
121
|
+
return formatted_flat_dict(self)
|
122
|
+
|
123
|
+
def __eq__(self, other):
|
124
|
+
if other is None:
|
125
|
+
return False
|
126
|
+
|
127
|
+
return self.__dict__ == other.__dict__
|
128
|
+
|
129
|
+
def __ne__(self, other):
|
130
|
+
return not self == other
|
@@ -71,6 +71,22 @@ class WorkRequest(object):
|
|
71
71
|
#: This constant has a value of "IMPORT_RESOURCES"
|
72
72
|
OPERATION_TYPE_IMPORT_RESOURCES = "IMPORT_RESOURCES"
|
73
73
|
|
74
|
+
#: A constant which can be used with the operation_type property of a WorkRequest.
|
75
|
+
#: This constant has a value of "CREATE_MAINTENANCE_WINDOW"
|
76
|
+
OPERATION_TYPE_CREATE_MAINTENANCE_WINDOW = "CREATE_MAINTENANCE_WINDOW"
|
77
|
+
|
78
|
+
#: A constant which can be used with the operation_type property of a WorkRequest.
|
79
|
+
#: This constant has a value of "UPDATE_MAINTENANCE_WINDOW"
|
80
|
+
OPERATION_TYPE_UPDATE_MAINTENANCE_WINDOW = "UPDATE_MAINTENANCE_WINDOW"
|
81
|
+
|
82
|
+
#: A constant which can be used with the operation_type property of a WorkRequest.
|
83
|
+
#: This constant has a value of "DELETE_MAINTENANCE_WINDOW"
|
84
|
+
OPERATION_TYPE_DELETE_MAINTENANCE_WINDOW = "DELETE_MAINTENANCE_WINDOW"
|
85
|
+
|
86
|
+
#: A constant which can be used with the operation_type property of a WorkRequest.
|
87
|
+
#: This constant has a value of "STOP_MAINTENANCE_WINDOW"
|
88
|
+
OPERATION_TYPE_STOP_MAINTENANCE_WINDOW = "STOP_MAINTENANCE_WINDOW"
|
89
|
+
|
74
90
|
#: A constant which can be used with the status property of a WorkRequest.
|
75
91
|
#: This constant has a value of "ACCEPTED"
|
76
92
|
STATUS_ACCEPTED = "ACCEPTED"
|
@@ -106,7 +122,7 @@ class WorkRequest(object):
|
|
106
122
|
|
107
123
|
:param operation_type:
|
108
124
|
The value to assign to the operation_type property of this WorkRequest.
|
109
|
-
Allowed values for this property are: "CREATE_RESOURCES", "UPDATE_RESOURCES", "DELETE_RESOURCES", "MOVE_RESOURCES", "ENABLE_EXTERNAL_DATABASE", "DISABLE_EXTERNAL_DATABASE", "ADD_SOURCES_TO_AGENT", "ENABLE_METRIC_EXTENSION", "DISABLE_METRIC_EXTENSION", "TEST_METRIC_EXTENSION", "BULK_ADD_RESOURCES", "BULK_DELETE_RESOURCES", "UPDATE_AND_PROPAGATE_TAGS", "IMPORT_RESOURCES", 'UNKNOWN_ENUM_VALUE'.
|
125
|
+
Allowed values for this property are: "CREATE_RESOURCES", "UPDATE_RESOURCES", "DELETE_RESOURCES", "MOVE_RESOURCES", "ENABLE_EXTERNAL_DATABASE", "DISABLE_EXTERNAL_DATABASE", "ADD_SOURCES_TO_AGENT", "ENABLE_METRIC_EXTENSION", "DISABLE_METRIC_EXTENSION", "TEST_METRIC_EXTENSION", "BULK_ADD_RESOURCES", "BULK_DELETE_RESOURCES", "UPDATE_AND_PROPAGATE_TAGS", "IMPORT_RESOURCES", "CREATE_MAINTENANCE_WINDOW", "UPDATE_MAINTENANCE_WINDOW", "DELETE_MAINTENANCE_WINDOW", "STOP_MAINTENANCE_WINDOW", 'UNKNOWN_ENUM_VALUE'.
|
110
126
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
111
127
|
:type operation_type: str
|
112
128
|
|
@@ -185,7 +201,7 @@ class WorkRequest(object):
|
|
185
201
|
**[Required]** Gets the operation_type of this WorkRequest.
|
186
202
|
Type of the work request
|
187
203
|
|
188
|
-
Allowed values for this property are: "CREATE_RESOURCES", "UPDATE_RESOURCES", "DELETE_RESOURCES", "MOVE_RESOURCES", "ENABLE_EXTERNAL_DATABASE", "DISABLE_EXTERNAL_DATABASE", "ADD_SOURCES_TO_AGENT", "ENABLE_METRIC_EXTENSION", "DISABLE_METRIC_EXTENSION", "TEST_METRIC_EXTENSION", "BULK_ADD_RESOURCES", "BULK_DELETE_RESOURCES", "UPDATE_AND_PROPAGATE_TAGS", "IMPORT_RESOURCES", 'UNKNOWN_ENUM_VALUE'.
|
204
|
+
Allowed values for this property are: "CREATE_RESOURCES", "UPDATE_RESOURCES", "DELETE_RESOURCES", "MOVE_RESOURCES", "ENABLE_EXTERNAL_DATABASE", "DISABLE_EXTERNAL_DATABASE", "ADD_SOURCES_TO_AGENT", "ENABLE_METRIC_EXTENSION", "DISABLE_METRIC_EXTENSION", "TEST_METRIC_EXTENSION", "BULK_ADD_RESOURCES", "BULK_DELETE_RESOURCES", "UPDATE_AND_PROPAGATE_TAGS", "IMPORT_RESOURCES", "CREATE_MAINTENANCE_WINDOW", "UPDATE_MAINTENANCE_WINDOW", "DELETE_MAINTENANCE_WINDOW", "STOP_MAINTENANCE_WINDOW", 'UNKNOWN_ENUM_VALUE'.
|
189
205
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
190
206
|
|
191
207
|
|
@@ -204,7 +220,7 @@ class WorkRequest(object):
|
|
204
220
|
:param operation_type: The operation_type of this WorkRequest.
|
205
221
|
:type: str
|
206
222
|
"""
|
207
|
-
allowed_values = ["CREATE_RESOURCES", "UPDATE_RESOURCES", "DELETE_RESOURCES", "MOVE_RESOURCES", "ENABLE_EXTERNAL_DATABASE", "DISABLE_EXTERNAL_DATABASE", "ADD_SOURCES_TO_AGENT", "ENABLE_METRIC_EXTENSION", "DISABLE_METRIC_EXTENSION", "TEST_METRIC_EXTENSION", "BULK_ADD_RESOURCES", "BULK_DELETE_RESOURCES", "UPDATE_AND_PROPAGATE_TAGS", "IMPORT_RESOURCES"]
|
223
|
+
allowed_values = ["CREATE_RESOURCES", "UPDATE_RESOURCES", "DELETE_RESOURCES", "MOVE_RESOURCES", "ENABLE_EXTERNAL_DATABASE", "DISABLE_EXTERNAL_DATABASE", "ADD_SOURCES_TO_AGENT", "ENABLE_METRIC_EXTENSION", "DISABLE_METRIC_EXTENSION", "TEST_METRIC_EXTENSION", "BULK_ADD_RESOURCES", "BULK_DELETE_RESOURCES", "UPDATE_AND_PROPAGATE_TAGS", "IMPORT_RESOURCES", "CREATE_MAINTENANCE_WINDOW", "UPDATE_MAINTENANCE_WINDOW", "DELETE_MAINTENANCE_WINDOW", "STOP_MAINTENANCE_WINDOW"]
|
208
224
|
if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
|
209
225
|
operation_type = 'UNKNOWN_ENUM_VALUE'
|
210
226
|
self._operation_type = operation_type
|
@@ -71,6 +71,22 @@ class WorkRequestSummary(object):
|
|
71
71
|
#: This constant has a value of "IMPORT_RESOURCES"
|
72
72
|
OPERATION_TYPE_IMPORT_RESOURCES = "IMPORT_RESOURCES"
|
73
73
|
|
74
|
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
|
75
|
+
#: This constant has a value of "CREATE_MAINTENANCE_WINDOW"
|
76
|
+
OPERATION_TYPE_CREATE_MAINTENANCE_WINDOW = "CREATE_MAINTENANCE_WINDOW"
|
77
|
+
|
78
|
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
|
79
|
+
#: This constant has a value of "UPDATE_MAINTENANCE_WINDOW"
|
80
|
+
OPERATION_TYPE_UPDATE_MAINTENANCE_WINDOW = "UPDATE_MAINTENANCE_WINDOW"
|
81
|
+
|
82
|
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
|
83
|
+
#: This constant has a value of "DELETE_MAINTENANCE_WINDOW"
|
84
|
+
OPERATION_TYPE_DELETE_MAINTENANCE_WINDOW = "DELETE_MAINTENANCE_WINDOW"
|
85
|
+
|
86
|
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
|
87
|
+
#: This constant has a value of "STOP_MAINTENANCE_WINDOW"
|
88
|
+
OPERATION_TYPE_STOP_MAINTENANCE_WINDOW = "STOP_MAINTENANCE_WINDOW"
|
89
|
+
|
74
90
|
#: A constant which can be used with the status property of a WorkRequestSummary.
|
75
91
|
#: This constant has a value of "ACCEPTED"
|
76
92
|
STATUS_ACCEPTED = "ACCEPTED"
|
@@ -106,7 +122,7 @@ class WorkRequestSummary(object):
|
|
106
122
|
|
107
123
|
:param operation_type:
|
108
124
|
The value to assign to the operation_type property of this WorkRequestSummary.
|
109
|
-
Allowed values for this property are: "CREATE_RESOURCES", "UPDATE_RESOURCES", "DELETE_RESOURCES", "MOVE_RESOURCES", "ENABLE_EXTERNAL_DATABASE", "DISABLE_EXTERNAL_DATABASE", "ADD_SOURCES_TO_AGENT", "ENABLE_METRIC_EXTENSION", "DISABLE_METRIC_EXTENSION", "TEST_METRIC_EXTENSION", "BULK_ADD_RESOURCES", "BULK_DELETE_RESOURCES", "UPDATE_AND_PROPAGATE_TAGS", "IMPORT_RESOURCES", 'UNKNOWN_ENUM_VALUE'.
|
125
|
+
Allowed values for this property are: "CREATE_RESOURCES", "UPDATE_RESOURCES", "DELETE_RESOURCES", "MOVE_RESOURCES", "ENABLE_EXTERNAL_DATABASE", "DISABLE_EXTERNAL_DATABASE", "ADD_SOURCES_TO_AGENT", "ENABLE_METRIC_EXTENSION", "DISABLE_METRIC_EXTENSION", "TEST_METRIC_EXTENSION", "BULK_ADD_RESOURCES", "BULK_DELETE_RESOURCES", "UPDATE_AND_PROPAGATE_TAGS", "IMPORT_RESOURCES", "CREATE_MAINTENANCE_WINDOW", "UPDATE_MAINTENANCE_WINDOW", "DELETE_MAINTENANCE_WINDOW", "STOP_MAINTENANCE_WINDOW", 'UNKNOWN_ENUM_VALUE'.
|
110
126
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
111
127
|
:type operation_type: str
|
112
128
|
|
@@ -185,7 +201,7 @@ class WorkRequestSummary(object):
|
|
185
201
|
**[Required]** Gets the operation_type of this WorkRequestSummary.
|
186
202
|
Type of the work request
|
187
203
|
|
188
|
-
Allowed values for this property are: "CREATE_RESOURCES", "UPDATE_RESOURCES", "DELETE_RESOURCES", "MOVE_RESOURCES", "ENABLE_EXTERNAL_DATABASE", "DISABLE_EXTERNAL_DATABASE", "ADD_SOURCES_TO_AGENT", "ENABLE_METRIC_EXTENSION", "DISABLE_METRIC_EXTENSION", "TEST_METRIC_EXTENSION", "BULK_ADD_RESOURCES", "BULK_DELETE_RESOURCES", "UPDATE_AND_PROPAGATE_TAGS", "IMPORT_RESOURCES", 'UNKNOWN_ENUM_VALUE'.
|
204
|
+
Allowed values for this property are: "CREATE_RESOURCES", "UPDATE_RESOURCES", "DELETE_RESOURCES", "MOVE_RESOURCES", "ENABLE_EXTERNAL_DATABASE", "DISABLE_EXTERNAL_DATABASE", "ADD_SOURCES_TO_AGENT", "ENABLE_METRIC_EXTENSION", "DISABLE_METRIC_EXTENSION", "TEST_METRIC_EXTENSION", "BULK_ADD_RESOURCES", "BULK_DELETE_RESOURCES", "UPDATE_AND_PROPAGATE_TAGS", "IMPORT_RESOURCES", "CREATE_MAINTENANCE_WINDOW", "UPDATE_MAINTENANCE_WINDOW", "DELETE_MAINTENANCE_WINDOW", "STOP_MAINTENANCE_WINDOW", 'UNKNOWN_ENUM_VALUE'.
|
189
205
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
190
206
|
|
191
207
|
|
@@ -204,7 +220,7 @@ class WorkRequestSummary(object):
|
|
204
220
|
:param operation_type: The operation_type of this WorkRequestSummary.
|
205
221
|
:type: str
|
206
222
|
"""
|
207
|
-
allowed_values = ["CREATE_RESOURCES", "UPDATE_RESOURCES", "DELETE_RESOURCES", "MOVE_RESOURCES", "ENABLE_EXTERNAL_DATABASE", "DISABLE_EXTERNAL_DATABASE", "ADD_SOURCES_TO_AGENT", "ENABLE_METRIC_EXTENSION", "DISABLE_METRIC_EXTENSION", "TEST_METRIC_EXTENSION", "BULK_ADD_RESOURCES", "BULK_DELETE_RESOURCES", "UPDATE_AND_PROPAGATE_TAGS", "IMPORT_RESOURCES"]
|
223
|
+
allowed_values = ["CREATE_RESOURCES", "UPDATE_RESOURCES", "DELETE_RESOURCES", "MOVE_RESOURCES", "ENABLE_EXTERNAL_DATABASE", "DISABLE_EXTERNAL_DATABASE", "ADD_SOURCES_TO_AGENT", "ENABLE_METRIC_EXTENSION", "DISABLE_METRIC_EXTENSION", "TEST_METRIC_EXTENSION", "BULK_ADD_RESOURCES", "BULK_DELETE_RESOURCES", "UPDATE_AND_PROPAGATE_TAGS", "IMPORT_RESOURCES", "CREATE_MAINTENANCE_WINDOW", "UPDATE_MAINTENANCE_WINDOW", "DELETE_MAINTENANCE_WINDOW", "STOP_MAINTENANCE_WINDOW"]
|
208
224
|
if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
|
209
225
|
operation_type = 'UNKNOWN_ENUM_VALUE'
|
210
226
|
self._operation_type = operation_type
|