mv-oci-sdk 2.142.0__py3-none-any.whl → 2.142.0.2__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/METADATA +3 -3
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/RECORD +248 -6
- oci/file_storage/__init__.py +14 -0
- oci/file_storage/file_storage_client.py +8601 -0
- oci/file_storage/file_storage_client_composite_operations.py +2068 -0
- oci/file_storage/models/__init__.py +130 -0
- oci/file_storage/models/change_file_system_compartment_details.py +76 -0
- oci/file_storage/models/change_filesystem_snapshot_policy_compartment_details.py +76 -0
- oci/file_storage/models/change_mount_target_compartment_details.py +76 -0
- oci/file_storage/models/change_outbound_connector_compartment_details.py +78 -0
- oci/file_storage/models/change_replication_compartment_details.py +76 -0
- oci/file_storage/models/client_options.py +389 -0
- oci/file_storage/models/create_export_details.py +303 -0
- oci/file_storage/models/create_file_system_details.py +425 -0
- oci/file_storage/models/create_filesystem_snapshot_policy_details.py +337 -0
- oci/file_storage/models/create_kerberos_details.py +200 -0
- oci/file_storage/models/create_ldap_bind_account_details.py +220 -0
- oci/file_storage/models/create_ldap_idmap_details.py +317 -0
- oci/file_storage/models/create_mount_target_details.py +581 -0
- oci/file_storage/models/create_outbound_connector_details.py +309 -0
- oci/file_storage/models/create_replication_details.py +325 -0
- oci/file_storage/models/create_snapshot_details.py +261 -0
- oci/file_storage/models/endpoint.py +103 -0
- oci/file_storage/models/export.py +456 -0
- oci/file_storage/models/export_set.py +411 -0
- oci/file_storage/models/export_set_summary.py +316 -0
- oci/file_storage/models/export_summary.py +343 -0
- oci/file_storage/models/file_system.py +818 -0
- oci/file_storage/models/file_system_summary.py +659 -0
- oci/file_storage/models/filesystem_snapshot_policy.py +473 -0
- oci/file_storage/models/filesystem_snapshot_policy_summary.py +429 -0
- oci/file_storage/models/kerberos.py +200 -0
- oci/file_storage/models/kerberos_keytab_entry.py +166 -0
- oci/file_storage/models/key_tab_secret_details.py +138 -0
- oci/file_storage/models/ldap_bind_account.py +243 -0
- oci/file_storage/models/ldap_bind_account_summary.py +176 -0
- oci/file_storage/models/ldap_idmap.py +317 -0
- oci/file_storage/models/mount_target.py +828 -0
- oci/file_storage/models/mount_target_summary.py +696 -0
- oci/file_storage/models/outbound_connector.py +453 -0
- oci/file_storage/models/outbound_connector_summary.py +438 -0
- oci/file_storage/models/replication.py +740 -0
- oci/file_storage/models/replication_estimate.py +196 -0
- oci/file_storage/models/replication_summary.py +491 -0
- oci/file_storage/models/replication_target.py +679 -0
- oci/file_storage/models/replication_target_summary.py +425 -0
- oci/file_storage/models/resource_lock.py +185 -0
- oci/file_storage/models/schedule_downgrade_shape_mount_target_details.py +78 -0
- oci/file_storage/models/snapshot.py +638 -0
- oci/file_storage/models/snapshot_schedule.py +487 -0
- oci/file_storage/models/snapshot_summary.py +601 -0
- oci/file_storage/models/source_details.py +119 -0
- oci/file_storage/models/update_export_details.py +111 -0
- oci/file_storage/models/update_export_set_details.py +172 -0
- oci/file_storage/models/update_file_system_details.py +246 -0
- oci/file_storage/models/update_filesystem_snapshot_policy_details.py +236 -0
- oci/file_storage/models/update_kerberos_details.py +200 -0
- oci/file_storage/models/update_ldap_idmap_details.py +317 -0
- oci/file_storage/models/update_mount_target_details.py +286 -0
- oci/file_storage/models/update_outbound_connector_details.py +158 -0
- oci/file_storage/models/update_replication_details.py +189 -0
- oci/file_storage/models/update_snapshot_details.py +156 -0
- oci/file_storage/models/upgrade_shape_mount_target_details.py +78 -0
- oci/file_storage/models/validate_key_tabs_details.py +103 -0
- oci/file_storage/models/validate_key_tabs_response_details.py +103 -0
- oci/functions/__init__.py +16 -0
- oci/functions/functions_invoke_client.py +267 -0
- oci/functions/functions_invoke_client_composite_operations.py +26 -0
- oci/functions/functions_management_client.py +2056 -0
- oci/functions/functions_management_client_composite_operations.py +326 -0
- oci/functions/models/__init__.py +74 -0
- oci/functions/models/application.py +628 -0
- oci/functions/models/application_summary.py +512 -0
- oci/functions/models/application_trace_config.py +103 -0
- oci/functions/models/change_application_compartment_details.py +78 -0
- oci/functions/models/config_details.py +134 -0
- oci/functions/models/constant_provisioned_concurrency_config.py +82 -0
- oci/functions/models/create_application_details.py +446 -0
- oci/functions/models/create_function_details.py +437 -0
- oci/functions/models/function.py +734 -0
- oci/functions/models/function_provisioned_concurrency_config.py +109 -0
- oci/functions/models/function_source_details.py +101 -0
- oci/functions/models/function_summary.py +657 -0
- oci/functions/models/function_trace_config.py +72 -0
- oci/functions/models/image_policy_config.py +103 -0
- oci/functions/models/key_details.py +76 -0
- oci/functions/models/none_provisioned_concurrency_config.py +51 -0
- oci/functions/models/pbf_listing.py +408 -0
- oci/functions/models/pbf_listing_summary.py +386 -0
- oci/functions/models/pbf_listing_version.py +467 -0
- oci/functions/models/pbf_listing_version_summary.py +446 -0
- oci/functions/models/pbf_listing_versions_collection.py +73 -0
- oci/functions/models/pbf_listings_collection.py +72 -0
- oci/functions/models/policy_details.py +103 -0
- oci/functions/models/pre_built_function_source_details.py +88 -0
- oci/functions/models/publisher_details.py +72 -0
- oci/functions/models/requirement_details.py +106 -0
- oci/functions/models/trigger.py +72 -0
- oci/functions/models/trigger_summary.py +72 -0
- oci/functions/models/triggers_collection.py +72 -0
- oci/functions/models/update_application_details.py +290 -0
- oci/functions/models/update_function_details.py +346 -0
- oci/load_balancer/__init__.py +14 -0
- oci/load_balancer/load_balancer_client.py +7641 -0
- oci/load_balancer/load_balancer_client_composite_operations.py +1630 -0
- oci/load_balancer/models/__init__.py +186 -0
- oci/load_balancer/models/action.py +97 -0
- oci/load_balancer/models/add_http_request_header_rule.py +134 -0
- oci/load_balancer/models/add_http_response_header_rule.py +137 -0
- oci/load_balancer/models/allow_rule.py +123 -0
- oci/load_balancer/models/backend.py +350 -0
- oci/load_balancer/models/backend_details.py +312 -0
- oci/load_balancer/models/backend_health.py +143 -0
- oci/load_balancer/models/backend_set.py +305 -0
- oci/load_balancer/models/backend_set_details.py +262 -0
- oci/load_balancer/models/backend_set_health.py +265 -0
- oci/load_balancer/models/certificate.py +188 -0
- oci/load_balancer/models/certificate_details.py +270 -0
- oci/load_balancer/models/change_load_balancer_compartment_details.py +78 -0
- oci/load_balancer/models/connection_configuration.py +168 -0
- oci/load_balancer/models/control_access_using_http_methods_rule.py +162 -0
- oci/load_balancer/models/create_backend_details.py +316 -0
- oci/load_balancer/models/create_backend_set_details.py +305 -0
- oci/load_balancer/models/create_certificate_details.py +270 -0
- oci/load_balancer/models/create_hostname_details.py +121 -0
- oci/load_balancer/models/create_listener_details.py +387 -0
- oci/load_balancer/models/create_load_balancer_details.py +895 -0
- oci/load_balancer/models/create_path_route_set_details.py +111 -0
- oci/load_balancer/models/create_routing_policy_details.py +154 -0
- oci/load_balancer/models/create_rule_set_details.py +109 -0
- oci/load_balancer/models/create_ssl_cipher_suite_details.py +606 -0
- oci/load_balancer/models/extend_http_request_header_value_rule.py +181 -0
- oci/load_balancer/models/extend_http_response_header_value_rule.py +181 -0
- oci/load_balancer/models/forward_to_backend_set.py +86 -0
- oci/load_balancer/models/health_check_result.py +219 -0
- oci/load_balancer/models/health_checker.py +381 -0
- oci/load_balancer/models/health_checker_details.py +376 -0
- oci/load_balancer/models/hostname.py +121 -0
- oci/load_balancer/models/hostname_details.py +117 -0
- oci/load_balancer/models/http_header_rule.py +127 -0
- oci/load_balancer/models/ip_address.py +142 -0
- oci/load_balancer/models/ip_based_max_connections_rule.py +118 -0
- oci/load_balancer/models/ip_max_connections.py +111 -0
- oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.py +423 -0
- oci/load_balancer/models/listener.py +383 -0
- oci/load_balancer/models/listener_details.py +344 -0
- oci/load_balancer/models/listener_rule_summary.py +104 -0
- oci/load_balancer/models/load_balancer.py +1023 -0
- oci/load_balancer/models/load_balancer_health.py +281 -0
- oci/load_balancer/models/load_balancer_health_summary.py +167 -0
- oci/load_balancer/models/load_balancer_policy.py +80 -0
- oci/load_balancer/models/load_balancer_protocol.py +76 -0
- oci/load_balancer/models/load_balancer_shape.py +80 -0
- oci/load_balancer/models/path_match_condition.py +166 -0
- oci/load_balancer/models/path_match_type.py +126 -0
- oci/load_balancer/models/path_route.py +156 -0
- oci/load_balancer/models/path_route_set.py +112 -0
- oci/load_balancer/models/path_route_set_details.py +72 -0
- oci/load_balancer/models/redirect_rule.py +173 -0
- oci/load_balancer/models/redirect_uri.py +420 -0
- oci/load_balancer/models/remove_http_request_header_rule.py +90 -0
- oci/load_balancer/models/remove_http_response_header_rule.py +92 -0
- oci/load_balancer/models/reserved_ip.py +90 -0
- oci/load_balancer/models/routing_policy.py +152 -0
- oci/load_balancer/models/routing_policy_details.py +73 -0
- oci/load_balancer/models/routing_rule.py +135 -0
- oci/load_balancer/models/rule.py +177 -0
- oci/load_balancer/models/rule_condition.py +121 -0
- oci/load_balancer/models/rule_set.py +113 -0
- oci/load_balancer/models/rule_set_details.py +72 -0
- oci/load_balancer/models/session_persistence_configuration_details.py +136 -0
- oci/load_balancer/models/shape_details.py +121 -0
- oci/load_balancer/models/source_ip_address_condition.py +90 -0
- oci/load_balancer/models/source_vcn_id_condition.py +98 -0
- oci/load_balancer/models/source_vcn_ip_address_condition.py +97 -0
- oci/load_balancer/models/ssl_cipher_suite.py +606 -0
- oci/load_balancer/models/ssl_cipher_suite_details.py +606 -0
- oci/load_balancer/models/ssl_configuration.py +478 -0
- oci/load_balancer/models/ssl_configuration_details.py +476 -0
- oci/load_balancer/models/update_backend_details.py +242 -0
- oci/load_balancer/models/update_backend_set_details.py +264 -0
- oci/load_balancer/models/update_health_checker_details.py +374 -0
- oci/load_balancer/models/update_hostname_details.py +86 -0
- oci/load_balancer/models/update_listener_details.py +344 -0
- oci/load_balancer/models/update_load_balancer_details.py +356 -0
- oci/load_balancer/models/update_load_balancer_shape_details.py +127 -0
- oci/load_balancer/models/update_network_security_groups_details.py +99 -0
- oci/load_balancer/models/update_path_route_set_details.py +72 -0
- oci/load_balancer/models/update_routing_policy_details.py +115 -0
- oci/load_balancer/models/update_rule_set_details.py +72 -0
- oci/load_balancer/models/update_ssl_cipher_suite_details.py +300 -0
- oci/load_balancer/models/work_request.py +385 -0
- oci/load_balancer/models/work_request_error.py +115 -0
- oci/network_load_balancer/__init__.py +14 -0
- oci/network_load_balancer/models/__init__.py +106 -0
- oci/network_load_balancer/models/backend.py +338 -0
- oci/network_load_balancer/models/backend_collection.py +72 -0
- oci/network_load_balancer/models/backend_details.py +337 -0
- oci/network_load_balancer/models/backend_health.py +145 -0
- oci/network_load_balancer/models/backend_set.py +347 -0
- oci/network_load_balancer/models/backend_set_collection.py +72 -0
- oci/network_load_balancer/models/backend_set_details.py +306 -0
- oci/network_load_balancer/models/backend_set_health.py +265 -0
- oci/network_load_balancer/models/backend_set_summary.py +347 -0
- oci/network_load_balancer/models/backend_summary.py +338 -0
- oci/network_load_balancer/models/change_network_load_balancer_compartment_details.py +78 -0
- oci/network_load_balancer/models/create_backend_details.py +336 -0
- oci/network_load_balancer/models/create_backend_set_details.py +347 -0
- oci/network_load_balancer/models/create_listener_details.py +396 -0
- oci/network_load_balancer/models/create_network_load_balancer_details.py +694 -0
- oci/network_load_balancer/models/dns_health_checker_details.py +264 -0
- oci/network_load_balancer/models/health_check_result.py +139 -0
- oci/network_load_balancer/models/health_checker.py +449 -0
- oci/network_load_balancer/models/health_checker_details.py +449 -0
- oci/network_load_balancer/models/ip_address.py +189 -0
- oci/network_load_balancer/models/listener.py +396 -0
- oci/network_load_balancer/models/listener_collection.py +72 -0
- oci/network_load_balancer/models/listener_details.py +396 -0
- oci/network_load_balancer/models/listener_summary.py +396 -0
- oci/network_load_balancer/models/network_load_balancer.py +847 -0
- oci/network_load_balancer/models/network_load_balancer_collection.py +72 -0
- oci/network_load_balancer/models/network_load_balancer_health.py +281 -0
- oci/network_load_balancer/models/network_load_balancer_health_collection.py +72 -0
- oci/network_load_balancer/models/network_load_balancer_health_summary.py +167 -0
- oci/network_load_balancer/models/network_load_balancer_summary.py +833 -0
- oci/network_load_balancer/models/network_load_balancers_policy_collection.py +72 -0
- oci/network_load_balancer/models/network_load_balancers_protocol_collection.py +73 -0
- oci/network_load_balancer/models/reserved_ip.py +90 -0
- oci/network_load_balancer/models/update_backend_details.py +199 -0
- oci/network_load_balancer/models/update_backend_set_details.py +288 -0
- oci/network_load_balancer/models/update_health_checker_details.py +444 -0
- oci/network_load_balancer/models/update_listener_details.py +361 -0
- oci/network_load_balancer/models/update_network_load_balancer_details.py +386 -0
- oci/network_load_balancer/models/update_network_security_groups_details.py +99 -0
- oci/network_load_balancer/models/work_request.py +454 -0
- oci/network_load_balancer/models/work_request_collection.py +72 -0
- oci/network_load_balancer/models/work_request_error.py +136 -0
- oci/network_load_balancer/models/work_request_error_collection.py +72 -0
- oci/network_load_balancer/models/work_request_log_entry.py +103 -0
- oci/network_load_balancer/models/work_request_log_entry_collection.py +72 -0
- oci/network_load_balancer/models/work_request_resource.py +199 -0
- oci/network_load_balancer/models/work_request_summary.py +454 -0
- oci/network_load_balancer/network_load_balancer_client.py +4392 -0
- oci/network_load_balancer/network_load_balancer_client_composite_operations.py +757 -0
- oci/version.py +1 -1
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/LICENSE.txt +0 -0
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/WHEEL +0 -0
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,601 @@
|
|
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: 20171215
|
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 SnapshotSummary(object):
|
14
|
+
"""
|
15
|
+
Summary information for a snapshot.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the lifecycle_state property of a SnapshotSummary.
|
19
|
+
#: This constant has a value of "CREATING"
|
20
|
+
LIFECYCLE_STATE_CREATING = "CREATING"
|
21
|
+
|
22
|
+
#: A constant which can be used with the lifecycle_state property of a SnapshotSummary.
|
23
|
+
#: This constant has a value of "ACTIVE"
|
24
|
+
LIFECYCLE_STATE_ACTIVE = "ACTIVE"
|
25
|
+
|
26
|
+
#: A constant which can be used with the lifecycle_state property of a SnapshotSummary.
|
27
|
+
#: This constant has a value of "DELETING"
|
28
|
+
LIFECYCLE_STATE_DELETING = "DELETING"
|
29
|
+
|
30
|
+
#: A constant which can be used with the lifecycle_state property of a SnapshotSummary.
|
31
|
+
#: This constant has a value of "DELETED"
|
32
|
+
LIFECYCLE_STATE_DELETED = "DELETED"
|
33
|
+
|
34
|
+
#: A constant which can be used with the snapshot_type property of a SnapshotSummary.
|
35
|
+
#: This constant has a value of "USER"
|
36
|
+
SNAPSHOT_TYPE_USER = "USER"
|
37
|
+
|
38
|
+
#: A constant which can be used with the snapshot_type property of a SnapshotSummary.
|
39
|
+
#: This constant has a value of "POLICY_BASED"
|
40
|
+
SNAPSHOT_TYPE_POLICY_BASED = "POLICY_BASED"
|
41
|
+
|
42
|
+
#: A constant which can be used with the snapshot_type property of a SnapshotSummary.
|
43
|
+
#: This constant has a value of "REPLICATION"
|
44
|
+
SNAPSHOT_TYPE_REPLICATION = "REPLICATION"
|
45
|
+
|
46
|
+
def __init__(self, **kwargs):
|
47
|
+
"""
|
48
|
+
Initializes a new SnapshotSummary object with values from keyword arguments.
|
49
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
50
|
+
|
51
|
+
:param file_system_id:
|
52
|
+
The value to assign to the file_system_id property of this SnapshotSummary.
|
53
|
+
:type file_system_id: str
|
54
|
+
|
55
|
+
:param id:
|
56
|
+
The value to assign to the id property of this SnapshotSummary.
|
57
|
+
:type id: str
|
58
|
+
|
59
|
+
:param lifecycle_state:
|
60
|
+
The value to assign to the lifecycle_state property of this SnapshotSummary.
|
61
|
+
Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'.
|
62
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
63
|
+
:type lifecycle_state: str
|
64
|
+
|
65
|
+
:param name:
|
66
|
+
The value to assign to the name property of this SnapshotSummary.
|
67
|
+
:type name: str
|
68
|
+
|
69
|
+
:param time_created:
|
70
|
+
The value to assign to the time_created property of this SnapshotSummary.
|
71
|
+
:type time_created: datetime
|
72
|
+
|
73
|
+
:param locks:
|
74
|
+
The value to assign to the locks property of this SnapshotSummary.
|
75
|
+
:type locks: list[oci.file_storage.models.ResourceLock]
|
76
|
+
|
77
|
+
:param snapshot_type:
|
78
|
+
The value to assign to the snapshot_type property of this SnapshotSummary.
|
79
|
+
Allowed values for this property are: "USER", "POLICY_BASED", "REPLICATION", 'UNKNOWN_ENUM_VALUE'.
|
80
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
81
|
+
:type snapshot_type: str
|
82
|
+
|
83
|
+
:param snapshot_time:
|
84
|
+
The value to assign to the snapshot_time property of this SnapshotSummary.
|
85
|
+
:type snapshot_time: datetime
|
86
|
+
|
87
|
+
:param expiration_time:
|
88
|
+
The value to assign to the expiration_time property of this SnapshotSummary.
|
89
|
+
:type expiration_time: datetime
|
90
|
+
|
91
|
+
:param provenance_id:
|
92
|
+
The value to assign to the provenance_id property of this SnapshotSummary.
|
93
|
+
:type provenance_id: str
|
94
|
+
|
95
|
+
:param is_clone_source:
|
96
|
+
The value to assign to the is_clone_source property of this SnapshotSummary.
|
97
|
+
:type is_clone_source: bool
|
98
|
+
|
99
|
+
:param lifecycle_details:
|
100
|
+
The value to assign to the lifecycle_details property of this SnapshotSummary.
|
101
|
+
:type lifecycle_details: str
|
102
|
+
|
103
|
+
:param freeform_tags:
|
104
|
+
The value to assign to the freeform_tags property of this SnapshotSummary.
|
105
|
+
:type freeform_tags: dict(str, str)
|
106
|
+
|
107
|
+
:param defined_tags:
|
108
|
+
The value to assign to the defined_tags property of this SnapshotSummary.
|
109
|
+
:type defined_tags: dict(str, dict(str, object))
|
110
|
+
|
111
|
+
"""
|
112
|
+
self.swagger_types = {
|
113
|
+
'file_system_id': 'str',
|
114
|
+
'id': 'str',
|
115
|
+
'lifecycle_state': 'str',
|
116
|
+
'name': 'str',
|
117
|
+
'time_created': 'datetime',
|
118
|
+
'locks': 'list[ResourceLock]',
|
119
|
+
'snapshot_type': 'str',
|
120
|
+
'snapshot_time': 'datetime',
|
121
|
+
'expiration_time': 'datetime',
|
122
|
+
'provenance_id': 'str',
|
123
|
+
'is_clone_source': 'bool',
|
124
|
+
'lifecycle_details': 'str',
|
125
|
+
'freeform_tags': 'dict(str, str)',
|
126
|
+
'defined_tags': 'dict(str, dict(str, object))'
|
127
|
+
}
|
128
|
+
|
129
|
+
self.attribute_map = {
|
130
|
+
'file_system_id': 'fileSystemId',
|
131
|
+
'id': 'id',
|
132
|
+
'lifecycle_state': 'lifecycleState',
|
133
|
+
'name': 'name',
|
134
|
+
'time_created': 'timeCreated',
|
135
|
+
'locks': 'locks',
|
136
|
+
'snapshot_type': 'snapshotType',
|
137
|
+
'snapshot_time': 'snapshotTime',
|
138
|
+
'expiration_time': 'expirationTime',
|
139
|
+
'provenance_id': 'provenanceId',
|
140
|
+
'is_clone_source': 'isCloneSource',
|
141
|
+
'lifecycle_details': 'lifecycleDetails',
|
142
|
+
'freeform_tags': 'freeformTags',
|
143
|
+
'defined_tags': 'definedTags'
|
144
|
+
}
|
145
|
+
|
146
|
+
self._file_system_id = None
|
147
|
+
self._id = None
|
148
|
+
self._lifecycle_state = None
|
149
|
+
self._name = None
|
150
|
+
self._time_created = None
|
151
|
+
self._locks = None
|
152
|
+
self._snapshot_type = None
|
153
|
+
self._snapshot_time = None
|
154
|
+
self._expiration_time = None
|
155
|
+
self._provenance_id = None
|
156
|
+
self._is_clone_source = None
|
157
|
+
self._lifecycle_details = None
|
158
|
+
self._freeform_tags = None
|
159
|
+
self._defined_tags = None
|
160
|
+
|
161
|
+
@property
|
162
|
+
def file_system_id(self):
|
163
|
+
"""
|
164
|
+
**[Required]** Gets the file_system_id of this SnapshotSummary.
|
165
|
+
The `OCID`__ of the file system from which the snapshot was created.
|
166
|
+
|
167
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
168
|
+
|
169
|
+
|
170
|
+
:return: The file_system_id of this SnapshotSummary.
|
171
|
+
:rtype: str
|
172
|
+
"""
|
173
|
+
return self._file_system_id
|
174
|
+
|
175
|
+
@file_system_id.setter
|
176
|
+
def file_system_id(self, file_system_id):
|
177
|
+
"""
|
178
|
+
Sets the file_system_id of this SnapshotSummary.
|
179
|
+
The `OCID`__ of the file system from which the snapshot was created.
|
180
|
+
|
181
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
182
|
+
|
183
|
+
|
184
|
+
:param file_system_id: The file_system_id of this SnapshotSummary.
|
185
|
+
:type: str
|
186
|
+
"""
|
187
|
+
self._file_system_id = file_system_id
|
188
|
+
|
189
|
+
@property
|
190
|
+
def id(self):
|
191
|
+
"""
|
192
|
+
**[Required]** Gets the id of this SnapshotSummary.
|
193
|
+
The `OCID`__ of the snapshot.
|
194
|
+
|
195
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
196
|
+
|
197
|
+
|
198
|
+
:return: The id of this SnapshotSummary.
|
199
|
+
:rtype: str
|
200
|
+
"""
|
201
|
+
return self._id
|
202
|
+
|
203
|
+
@id.setter
|
204
|
+
def id(self, id):
|
205
|
+
"""
|
206
|
+
Sets the id of this SnapshotSummary.
|
207
|
+
The `OCID`__ of the snapshot.
|
208
|
+
|
209
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
210
|
+
|
211
|
+
|
212
|
+
:param id: The id of this SnapshotSummary.
|
213
|
+
:type: str
|
214
|
+
"""
|
215
|
+
self._id = id
|
216
|
+
|
217
|
+
@property
|
218
|
+
def lifecycle_state(self):
|
219
|
+
"""
|
220
|
+
**[Required]** Gets the lifecycle_state of this SnapshotSummary.
|
221
|
+
The current state of the snapshot.
|
222
|
+
|
223
|
+
Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'.
|
224
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
225
|
+
|
226
|
+
|
227
|
+
:return: The lifecycle_state of this SnapshotSummary.
|
228
|
+
:rtype: str
|
229
|
+
"""
|
230
|
+
return self._lifecycle_state
|
231
|
+
|
232
|
+
@lifecycle_state.setter
|
233
|
+
def lifecycle_state(self, lifecycle_state):
|
234
|
+
"""
|
235
|
+
Sets the lifecycle_state of this SnapshotSummary.
|
236
|
+
The current state of the snapshot.
|
237
|
+
|
238
|
+
|
239
|
+
:param lifecycle_state: The lifecycle_state of this SnapshotSummary.
|
240
|
+
:type: str
|
241
|
+
"""
|
242
|
+
allowed_values = ["CREATING", "ACTIVE", "DELETING", "DELETED"]
|
243
|
+
if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
|
244
|
+
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
|
245
|
+
self._lifecycle_state = lifecycle_state
|
246
|
+
|
247
|
+
@property
|
248
|
+
def name(self):
|
249
|
+
"""
|
250
|
+
**[Required]** Gets the name of this SnapshotSummary.
|
251
|
+
Name of the snapshot. This value is immutable.
|
252
|
+
|
253
|
+
Avoid entering confidential information.
|
254
|
+
|
255
|
+
Example: `Sunday`
|
256
|
+
|
257
|
+
|
258
|
+
:return: The name of this SnapshotSummary.
|
259
|
+
:rtype: str
|
260
|
+
"""
|
261
|
+
return self._name
|
262
|
+
|
263
|
+
@name.setter
|
264
|
+
def name(self, name):
|
265
|
+
"""
|
266
|
+
Sets the name of this SnapshotSummary.
|
267
|
+
Name of the snapshot. This value is immutable.
|
268
|
+
|
269
|
+
Avoid entering confidential information.
|
270
|
+
|
271
|
+
Example: `Sunday`
|
272
|
+
|
273
|
+
|
274
|
+
:param name: The name of this SnapshotSummary.
|
275
|
+
:type: str
|
276
|
+
"""
|
277
|
+
self._name = name
|
278
|
+
|
279
|
+
@property
|
280
|
+
def time_created(self):
|
281
|
+
"""
|
282
|
+
**[Required]** Gets the time_created of this SnapshotSummary.
|
283
|
+
The date and time the snapshot was created, expressed
|
284
|
+
in `RFC 3339`__ timestamp format.
|
285
|
+
|
286
|
+
Example: `2016-08-25T21:10:29.600Z`
|
287
|
+
|
288
|
+
__ https://tools.ietf.org/rfc/rfc3339
|
289
|
+
|
290
|
+
|
291
|
+
:return: The time_created of this SnapshotSummary.
|
292
|
+
:rtype: datetime
|
293
|
+
"""
|
294
|
+
return self._time_created
|
295
|
+
|
296
|
+
@time_created.setter
|
297
|
+
def time_created(self, time_created):
|
298
|
+
"""
|
299
|
+
Sets the time_created of this SnapshotSummary.
|
300
|
+
The date and time the snapshot was created, expressed
|
301
|
+
in `RFC 3339`__ timestamp format.
|
302
|
+
|
303
|
+
Example: `2016-08-25T21:10:29.600Z`
|
304
|
+
|
305
|
+
__ https://tools.ietf.org/rfc/rfc3339
|
306
|
+
|
307
|
+
|
308
|
+
:param time_created: The time_created of this SnapshotSummary.
|
309
|
+
:type: datetime
|
310
|
+
"""
|
311
|
+
self._time_created = time_created
|
312
|
+
|
313
|
+
@property
|
314
|
+
def locks(self):
|
315
|
+
"""
|
316
|
+
Gets the locks of this SnapshotSummary.
|
317
|
+
Locks associated with this resource.
|
318
|
+
|
319
|
+
|
320
|
+
:return: The locks of this SnapshotSummary.
|
321
|
+
:rtype: list[oci.file_storage.models.ResourceLock]
|
322
|
+
"""
|
323
|
+
return self._locks
|
324
|
+
|
325
|
+
@locks.setter
|
326
|
+
def locks(self, locks):
|
327
|
+
"""
|
328
|
+
Sets the locks of this SnapshotSummary.
|
329
|
+
Locks associated with this resource.
|
330
|
+
|
331
|
+
|
332
|
+
:param locks: The locks of this SnapshotSummary.
|
333
|
+
:type: list[oci.file_storage.models.ResourceLock]
|
334
|
+
"""
|
335
|
+
self._locks = locks
|
336
|
+
|
337
|
+
@property
|
338
|
+
def snapshot_type(self):
|
339
|
+
"""
|
340
|
+
Gets the snapshot_type of this SnapshotSummary.
|
341
|
+
Specifies the generation type of the snapshot.
|
342
|
+
|
343
|
+
Allowed values for this property are: "USER", "POLICY_BASED", "REPLICATION", 'UNKNOWN_ENUM_VALUE'.
|
344
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
345
|
+
|
346
|
+
|
347
|
+
:return: The snapshot_type of this SnapshotSummary.
|
348
|
+
:rtype: str
|
349
|
+
"""
|
350
|
+
return self._snapshot_type
|
351
|
+
|
352
|
+
@snapshot_type.setter
|
353
|
+
def snapshot_type(self, snapshot_type):
|
354
|
+
"""
|
355
|
+
Sets the snapshot_type of this SnapshotSummary.
|
356
|
+
Specifies the generation type of the snapshot.
|
357
|
+
|
358
|
+
|
359
|
+
:param snapshot_type: The snapshot_type of this SnapshotSummary.
|
360
|
+
:type: str
|
361
|
+
"""
|
362
|
+
allowed_values = ["USER", "POLICY_BASED", "REPLICATION"]
|
363
|
+
if not value_allowed_none_or_none_sentinel(snapshot_type, allowed_values):
|
364
|
+
snapshot_type = 'UNKNOWN_ENUM_VALUE'
|
365
|
+
self._snapshot_type = snapshot_type
|
366
|
+
|
367
|
+
@property
|
368
|
+
def snapshot_time(self):
|
369
|
+
"""
|
370
|
+
Gets the snapshot_time of this SnapshotSummary.
|
371
|
+
The date and time the snapshot was taken, expressed
|
372
|
+
in `RFC 3339`__ timestamp format.
|
373
|
+
This value might be the same or different from `timeCreated` depending
|
374
|
+
on the following factors:
|
375
|
+
- If the snapshot is created in the original file system directory.
|
376
|
+
- If the snapshot is cloned from a file system.
|
377
|
+
- If the snapshot is replicated from a file system.
|
378
|
+
|
379
|
+
Example: `2020-08-25T21:10:29.600Z`
|
380
|
+
|
381
|
+
__ https://tools.ietf.org/rfc/rfc3339
|
382
|
+
|
383
|
+
|
384
|
+
:return: The snapshot_time of this SnapshotSummary.
|
385
|
+
:rtype: datetime
|
386
|
+
"""
|
387
|
+
return self._snapshot_time
|
388
|
+
|
389
|
+
@snapshot_time.setter
|
390
|
+
def snapshot_time(self, snapshot_time):
|
391
|
+
"""
|
392
|
+
Sets the snapshot_time of this SnapshotSummary.
|
393
|
+
The date and time the snapshot was taken, expressed
|
394
|
+
in `RFC 3339`__ timestamp format.
|
395
|
+
This value might be the same or different from `timeCreated` depending
|
396
|
+
on the following factors:
|
397
|
+
- If the snapshot is created in the original file system directory.
|
398
|
+
- If the snapshot is cloned from a file system.
|
399
|
+
- If the snapshot is replicated from a file system.
|
400
|
+
|
401
|
+
Example: `2020-08-25T21:10:29.600Z`
|
402
|
+
|
403
|
+
__ https://tools.ietf.org/rfc/rfc3339
|
404
|
+
|
405
|
+
|
406
|
+
:param snapshot_time: The snapshot_time of this SnapshotSummary.
|
407
|
+
:type: datetime
|
408
|
+
"""
|
409
|
+
self._snapshot_time = snapshot_time
|
410
|
+
|
411
|
+
@property
|
412
|
+
def expiration_time(self):
|
413
|
+
"""
|
414
|
+
Gets the expiration_time of this SnapshotSummary.
|
415
|
+
The time when this snapshot will be deleted.
|
416
|
+
|
417
|
+
|
418
|
+
:return: The expiration_time of this SnapshotSummary.
|
419
|
+
:rtype: datetime
|
420
|
+
"""
|
421
|
+
return self._expiration_time
|
422
|
+
|
423
|
+
@expiration_time.setter
|
424
|
+
def expiration_time(self, expiration_time):
|
425
|
+
"""
|
426
|
+
Sets the expiration_time of this SnapshotSummary.
|
427
|
+
The time when this snapshot will be deleted.
|
428
|
+
|
429
|
+
|
430
|
+
:param expiration_time: The expiration_time of this SnapshotSummary.
|
431
|
+
:type: datetime
|
432
|
+
"""
|
433
|
+
self._expiration_time = expiration_time
|
434
|
+
|
435
|
+
@property
|
436
|
+
def provenance_id(self):
|
437
|
+
"""
|
438
|
+
Gets the provenance_id of this SnapshotSummary.
|
439
|
+
An `OCID`__ identifying the parent from which this snapshot was cloned.
|
440
|
+
If this snapshot was not cloned, then the `provenanceId` is the same as the snapshot `id` value.
|
441
|
+
If this snapshot was cloned, then the `provenanceId` value is the parent's `provenanceId`.
|
442
|
+
See `Cloning a File System`__.
|
443
|
+
|
444
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
445
|
+
__ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm
|
446
|
+
|
447
|
+
|
448
|
+
:return: The provenance_id of this SnapshotSummary.
|
449
|
+
:rtype: str
|
450
|
+
"""
|
451
|
+
return self._provenance_id
|
452
|
+
|
453
|
+
@provenance_id.setter
|
454
|
+
def provenance_id(self, provenance_id):
|
455
|
+
"""
|
456
|
+
Sets the provenance_id of this SnapshotSummary.
|
457
|
+
An `OCID`__ identifying the parent from which this snapshot was cloned.
|
458
|
+
If this snapshot was not cloned, then the `provenanceId` is the same as the snapshot `id` value.
|
459
|
+
If this snapshot was cloned, then the `provenanceId` value is the parent's `provenanceId`.
|
460
|
+
See `Cloning a File System`__.
|
461
|
+
|
462
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
463
|
+
__ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm
|
464
|
+
|
465
|
+
|
466
|
+
:param provenance_id: The provenance_id of this SnapshotSummary.
|
467
|
+
:type: str
|
468
|
+
"""
|
469
|
+
self._provenance_id = provenance_id
|
470
|
+
|
471
|
+
@property
|
472
|
+
def is_clone_source(self):
|
473
|
+
"""
|
474
|
+
Gets the is_clone_source of this SnapshotSummary.
|
475
|
+
Specifies whether the snapshot has been cloned.
|
476
|
+
See `Cloning a File System`__.
|
477
|
+
|
478
|
+
__ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm
|
479
|
+
|
480
|
+
|
481
|
+
:return: The is_clone_source of this SnapshotSummary.
|
482
|
+
:rtype: bool
|
483
|
+
"""
|
484
|
+
return self._is_clone_source
|
485
|
+
|
486
|
+
@is_clone_source.setter
|
487
|
+
def is_clone_source(self, is_clone_source):
|
488
|
+
"""
|
489
|
+
Sets the is_clone_source of this SnapshotSummary.
|
490
|
+
Specifies whether the snapshot has been cloned.
|
491
|
+
See `Cloning a File System`__.
|
492
|
+
|
493
|
+
__ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm
|
494
|
+
|
495
|
+
|
496
|
+
:param is_clone_source: The is_clone_source of this SnapshotSummary.
|
497
|
+
:type: bool
|
498
|
+
"""
|
499
|
+
self._is_clone_source = is_clone_source
|
500
|
+
|
501
|
+
@property
|
502
|
+
def lifecycle_details(self):
|
503
|
+
"""
|
504
|
+
Gets the lifecycle_details of this SnapshotSummary.
|
505
|
+
Additional information about the current `lifecycleState`.
|
506
|
+
|
507
|
+
|
508
|
+
:return: The lifecycle_details of this SnapshotSummary.
|
509
|
+
:rtype: str
|
510
|
+
"""
|
511
|
+
return self._lifecycle_details
|
512
|
+
|
513
|
+
@lifecycle_details.setter
|
514
|
+
def lifecycle_details(self, lifecycle_details):
|
515
|
+
"""
|
516
|
+
Sets the lifecycle_details of this SnapshotSummary.
|
517
|
+
Additional information about the current `lifecycleState`.
|
518
|
+
|
519
|
+
|
520
|
+
:param lifecycle_details: The lifecycle_details of this SnapshotSummary.
|
521
|
+
:type: str
|
522
|
+
"""
|
523
|
+
self._lifecycle_details = lifecycle_details
|
524
|
+
|
525
|
+
@property
|
526
|
+
def freeform_tags(self):
|
527
|
+
"""
|
528
|
+
Gets the freeform_tags of this SnapshotSummary.
|
529
|
+
Free-form tags for this resource. Each tag is a simple key-value pair
|
530
|
+
with no predefined name, type, or namespace.
|
531
|
+
For more information, see `Resource Tags`__.
|
532
|
+
Example: `{\"Department\": \"Finance\"}`
|
533
|
+
|
534
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
535
|
+
|
536
|
+
|
537
|
+
:return: The freeform_tags of this SnapshotSummary.
|
538
|
+
:rtype: dict(str, str)
|
539
|
+
"""
|
540
|
+
return self._freeform_tags
|
541
|
+
|
542
|
+
@freeform_tags.setter
|
543
|
+
def freeform_tags(self, freeform_tags):
|
544
|
+
"""
|
545
|
+
Sets the freeform_tags of this SnapshotSummary.
|
546
|
+
Free-form tags for this resource. Each tag is a simple key-value pair
|
547
|
+
with no predefined name, type, or namespace.
|
548
|
+
For more information, see `Resource Tags`__.
|
549
|
+
Example: `{\"Department\": \"Finance\"}`
|
550
|
+
|
551
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
552
|
+
|
553
|
+
|
554
|
+
:param freeform_tags: The freeform_tags of this SnapshotSummary.
|
555
|
+
:type: dict(str, str)
|
556
|
+
"""
|
557
|
+
self._freeform_tags = freeform_tags
|
558
|
+
|
559
|
+
@property
|
560
|
+
def defined_tags(self):
|
561
|
+
"""
|
562
|
+
Gets the defined_tags of this SnapshotSummary.
|
563
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
564
|
+
For more information, see `Resource Tags`__.
|
565
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
566
|
+
|
567
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
568
|
+
|
569
|
+
|
570
|
+
:return: The defined_tags of this SnapshotSummary.
|
571
|
+
:rtype: dict(str, dict(str, object))
|
572
|
+
"""
|
573
|
+
return self._defined_tags
|
574
|
+
|
575
|
+
@defined_tags.setter
|
576
|
+
def defined_tags(self, defined_tags):
|
577
|
+
"""
|
578
|
+
Sets the defined_tags of this SnapshotSummary.
|
579
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
580
|
+
For more information, see `Resource Tags`__.
|
581
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
582
|
+
|
583
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
584
|
+
|
585
|
+
|
586
|
+
:param defined_tags: The defined_tags of this SnapshotSummary.
|
587
|
+
:type: dict(str, dict(str, object))
|
588
|
+
"""
|
589
|
+
self._defined_tags = defined_tags
|
590
|
+
|
591
|
+
def __repr__(self):
|
592
|
+
return formatted_flat_dict(self)
|
593
|
+
|
594
|
+
def __eq__(self, other):
|
595
|
+
if other is None:
|
596
|
+
return False
|
597
|
+
|
598
|
+
return self.__dict__ == other.__dict__
|
599
|
+
|
600
|
+
def __ne__(self, other):
|
601
|
+
return not self == other
|