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,818 @@
|
|
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 FileSystem(object):
|
14
|
+
"""
|
15
|
+
An NFS file system. To allow access to a file system, add it
|
16
|
+
to an export set and associate the export set with a mount
|
17
|
+
target. The same file system can be in multiple export sets and
|
18
|
+
associated with multiple mount targets.
|
19
|
+
|
20
|
+
To use any of the API operations, you must be authorized in an
|
21
|
+
IAM policy. If you're not authorized, talk to an
|
22
|
+
administrator. If you're an administrator who needs to write
|
23
|
+
policies to give users access, see `Getting Started with
|
24
|
+
Policies`__.
|
25
|
+
|
26
|
+
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
|
27
|
+
"""
|
28
|
+
|
29
|
+
#: A constant which can be used with the lifecycle_state property of a FileSystem.
|
30
|
+
#: This constant has a value of "CREATING"
|
31
|
+
LIFECYCLE_STATE_CREATING = "CREATING"
|
32
|
+
|
33
|
+
#: A constant which can be used with the lifecycle_state property of a FileSystem.
|
34
|
+
#: This constant has a value of "ACTIVE"
|
35
|
+
LIFECYCLE_STATE_ACTIVE = "ACTIVE"
|
36
|
+
|
37
|
+
#: A constant which can be used with the lifecycle_state property of a FileSystem.
|
38
|
+
#: This constant has a value of "UPDATING"
|
39
|
+
LIFECYCLE_STATE_UPDATING = "UPDATING"
|
40
|
+
|
41
|
+
#: A constant which can be used with the lifecycle_state property of a FileSystem.
|
42
|
+
#: This constant has a value of "DELETING"
|
43
|
+
LIFECYCLE_STATE_DELETING = "DELETING"
|
44
|
+
|
45
|
+
#: A constant which can be used with the lifecycle_state property of a FileSystem.
|
46
|
+
#: This constant has a value of "DELETED"
|
47
|
+
LIFECYCLE_STATE_DELETED = "DELETED"
|
48
|
+
|
49
|
+
#: A constant which can be used with the lifecycle_state property of a FileSystem.
|
50
|
+
#: This constant has a value of "FAILED"
|
51
|
+
LIFECYCLE_STATE_FAILED = "FAILED"
|
52
|
+
|
53
|
+
#: A constant which can be used with the clone_attach_status property of a FileSystem.
|
54
|
+
#: This constant has a value of "ATTACHED"
|
55
|
+
CLONE_ATTACH_STATUS_ATTACHED = "ATTACHED"
|
56
|
+
|
57
|
+
#: A constant which can be used with the clone_attach_status property of a FileSystem.
|
58
|
+
#: This constant has a value of "DETACHING"
|
59
|
+
CLONE_ATTACH_STATUS_DETACHING = "DETACHING"
|
60
|
+
|
61
|
+
#: A constant which can be used with the clone_attach_status property of a FileSystem.
|
62
|
+
#: This constant has a value of "DETACHED"
|
63
|
+
CLONE_ATTACH_STATUS_DETACHED = "DETACHED"
|
64
|
+
|
65
|
+
def __init__(self, **kwargs):
|
66
|
+
"""
|
67
|
+
Initializes a new FileSystem object with values from keyword arguments.
|
68
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
69
|
+
|
70
|
+
:param availability_domain:
|
71
|
+
The value to assign to the availability_domain property of this FileSystem.
|
72
|
+
:type availability_domain: str
|
73
|
+
|
74
|
+
:param metered_bytes:
|
75
|
+
The value to assign to the metered_bytes property of this FileSystem.
|
76
|
+
:type metered_bytes: int
|
77
|
+
|
78
|
+
:param compartment_id:
|
79
|
+
The value to assign to the compartment_id property of this FileSystem.
|
80
|
+
:type compartment_id: str
|
81
|
+
|
82
|
+
:param display_name:
|
83
|
+
The value to assign to the display_name property of this FileSystem.
|
84
|
+
:type display_name: str
|
85
|
+
|
86
|
+
:param id:
|
87
|
+
The value to assign to the id property of this FileSystem.
|
88
|
+
:type id: str
|
89
|
+
|
90
|
+
:param lifecycle_state:
|
91
|
+
The value to assign to the lifecycle_state property of this FileSystem.
|
92
|
+
Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
93
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
94
|
+
:type lifecycle_state: str
|
95
|
+
|
96
|
+
:param time_created:
|
97
|
+
The value to assign to the time_created property of this FileSystem.
|
98
|
+
:type time_created: datetime
|
99
|
+
|
100
|
+
:param freeform_tags:
|
101
|
+
The value to assign to the freeform_tags property of this FileSystem.
|
102
|
+
:type freeform_tags: dict(str, str)
|
103
|
+
|
104
|
+
:param defined_tags:
|
105
|
+
The value to assign to the defined_tags property of this FileSystem.
|
106
|
+
:type defined_tags: dict(str, dict(str, object))
|
107
|
+
|
108
|
+
:param kms_key_id:
|
109
|
+
The value to assign to the kms_key_id property of this FileSystem.
|
110
|
+
:type kms_key_id: str
|
111
|
+
|
112
|
+
:param source_details:
|
113
|
+
The value to assign to the source_details property of this FileSystem.
|
114
|
+
:type source_details: oci.file_storage.models.SourceDetails
|
115
|
+
|
116
|
+
:param is_clone_parent:
|
117
|
+
The value to assign to the is_clone_parent property of this FileSystem.
|
118
|
+
:type is_clone_parent: bool
|
119
|
+
|
120
|
+
:param is_hydrated:
|
121
|
+
The value to assign to the is_hydrated property of this FileSystem.
|
122
|
+
:type is_hydrated: bool
|
123
|
+
|
124
|
+
:param clone_count:
|
125
|
+
The value to assign to the clone_count property of this FileSystem.
|
126
|
+
:type clone_count: int
|
127
|
+
|
128
|
+
:param clone_attach_status:
|
129
|
+
The value to assign to the clone_attach_status property of this FileSystem.
|
130
|
+
Allowed values for this property are: "ATTACHED", "DETACHING", "DETACHED", 'UNKNOWN_ENUM_VALUE'.
|
131
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
132
|
+
:type clone_attach_status: str
|
133
|
+
|
134
|
+
:param locks:
|
135
|
+
The value to assign to the locks property of this FileSystem.
|
136
|
+
:type locks: list[oci.file_storage.models.ResourceLock]
|
137
|
+
|
138
|
+
:param lifecycle_details:
|
139
|
+
The value to assign to the lifecycle_details property of this FileSystem.
|
140
|
+
:type lifecycle_details: str
|
141
|
+
|
142
|
+
:param is_targetable:
|
143
|
+
The value to assign to the is_targetable property of this FileSystem.
|
144
|
+
:type is_targetable: bool
|
145
|
+
|
146
|
+
:param replication_target_id:
|
147
|
+
The value to assign to the replication_target_id property of this FileSystem.
|
148
|
+
:type replication_target_id: str
|
149
|
+
|
150
|
+
:param filesystem_snapshot_policy_id:
|
151
|
+
The value to assign to the filesystem_snapshot_policy_id property of this FileSystem.
|
152
|
+
:type filesystem_snapshot_policy_id: str
|
153
|
+
|
154
|
+
"""
|
155
|
+
self.swagger_types = {
|
156
|
+
'availability_domain': 'str',
|
157
|
+
'metered_bytes': 'int',
|
158
|
+
'compartment_id': 'str',
|
159
|
+
'display_name': 'str',
|
160
|
+
'id': 'str',
|
161
|
+
'lifecycle_state': 'str',
|
162
|
+
'time_created': 'datetime',
|
163
|
+
'freeform_tags': 'dict(str, str)',
|
164
|
+
'defined_tags': 'dict(str, dict(str, object))',
|
165
|
+
'kms_key_id': 'str',
|
166
|
+
'source_details': 'SourceDetails',
|
167
|
+
'is_clone_parent': 'bool',
|
168
|
+
'is_hydrated': 'bool',
|
169
|
+
'clone_count': 'int',
|
170
|
+
'clone_attach_status': 'str',
|
171
|
+
'locks': 'list[ResourceLock]',
|
172
|
+
'lifecycle_details': 'str',
|
173
|
+
'is_targetable': 'bool',
|
174
|
+
'replication_target_id': 'str',
|
175
|
+
'filesystem_snapshot_policy_id': 'str'
|
176
|
+
}
|
177
|
+
|
178
|
+
self.attribute_map = {
|
179
|
+
'availability_domain': 'availabilityDomain',
|
180
|
+
'metered_bytes': 'meteredBytes',
|
181
|
+
'compartment_id': 'compartmentId',
|
182
|
+
'display_name': 'displayName',
|
183
|
+
'id': 'id',
|
184
|
+
'lifecycle_state': 'lifecycleState',
|
185
|
+
'time_created': 'timeCreated',
|
186
|
+
'freeform_tags': 'freeformTags',
|
187
|
+
'defined_tags': 'definedTags',
|
188
|
+
'kms_key_id': 'kmsKeyId',
|
189
|
+
'source_details': 'sourceDetails',
|
190
|
+
'is_clone_parent': 'isCloneParent',
|
191
|
+
'is_hydrated': 'isHydrated',
|
192
|
+
'clone_count': 'cloneCount',
|
193
|
+
'clone_attach_status': 'cloneAttachStatus',
|
194
|
+
'locks': 'locks',
|
195
|
+
'lifecycle_details': 'lifecycleDetails',
|
196
|
+
'is_targetable': 'isTargetable',
|
197
|
+
'replication_target_id': 'replicationTargetId',
|
198
|
+
'filesystem_snapshot_policy_id': 'filesystemSnapshotPolicyId'
|
199
|
+
}
|
200
|
+
|
201
|
+
self._availability_domain = None
|
202
|
+
self._metered_bytes = None
|
203
|
+
self._compartment_id = None
|
204
|
+
self._display_name = None
|
205
|
+
self._id = None
|
206
|
+
self._lifecycle_state = None
|
207
|
+
self._time_created = None
|
208
|
+
self._freeform_tags = None
|
209
|
+
self._defined_tags = None
|
210
|
+
self._kms_key_id = None
|
211
|
+
self._source_details = None
|
212
|
+
self._is_clone_parent = None
|
213
|
+
self._is_hydrated = None
|
214
|
+
self._clone_count = None
|
215
|
+
self._clone_attach_status = None
|
216
|
+
self._locks = None
|
217
|
+
self._lifecycle_details = None
|
218
|
+
self._is_targetable = None
|
219
|
+
self._replication_target_id = None
|
220
|
+
self._filesystem_snapshot_policy_id = None
|
221
|
+
|
222
|
+
@property
|
223
|
+
def availability_domain(self):
|
224
|
+
"""
|
225
|
+
Gets the availability_domain of this FileSystem.
|
226
|
+
The availability domain the file system is in. May be unset
|
227
|
+
as a blank or NULL value.
|
228
|
+
|
229
|
+
Example: `Uocm:PHX-AD-1`
|
230
|
+
|
231
|
+
|
232
|
+
:return: The availability_domain of this FileSystem.
|
233
|
+
:rtype: str
|
234
|
+
"""
|
235
|
+
return self._availability_domain
|
236
|
+
|
237
|
+
@availability_domain.setter
|
238
|
+
def availability_domain(self, availability_domain):
|
239
|
+
"""
|
240
|
+
Sets the availability_domain of this FileSystem.
|
241
|
+
The availability domain the file system is in. May be unset
|
242
|
+
as a blank or NULL value.
|
243
|
+
|
244
|
+
Example: `Uocm:PHX-AD-1`
|
245
|
+
|
246
|
+
|
247
|
+
:param availability_domain: The availability_domain of this FileSystem.
|
248
|
+
:type: str
|
249
|
+
"""
|
250
|
+
self._availability_domain = availability_domain
|
251
|
+
|
252
|
+
@property
|
253
|
+
def metered_bytes(self):
|
254
|
+
"""
|
255
|
+
**[Required]** Gets the metered_bytes of this FileSystem.
|
256
|
+
The number of bytes consumed by the file system, including
|
257
|
+
any snapshots. This number reflects the metered size of the file
|
258
|
+
system and is updated asynchronously with respect to
|
259
|
+
updates to the file system.
|
260
|
+
For more information, see `File System Usage and Metering`__.
|
261
|
+
|
262
|
+
__ https://docs.cloud.oracle.com/Content/File/Concepts/FSutilization.htm
|
263
|
+
|
264
|
+
|
265
|
+
:return: The metered_bytes of this FileSystem.
|
266
|
+
:rtype: int
|
267
|
+
"""
|
268
|
+
return self._metered_bytes
|
269
|
+
|
270
|
+
@metered_bytes.setter
|
271
|
+
def metered_bytes(self, metered_bytes):
|
272
|
+
"""
|
273
|
+
Sets the metered_bytes of this FileSystem.
|
274
|
+
The number of bytes consumed by the file system, including
|
275
|
+
any snapshots. This number reflects the metered size of the file
|
276
|
+
system and is updated asynchronously with respect to
|
277
|
+
updates to the file system.
|
278
|
+
For more information, see `File System Usage and Metering`__.
|
279
|
+
|
280
|
+
__ https://docs.cloud.oracle.com/Content/File/Concepts/FSutilization.htm
|
281
|
+
|
282
|
+
|
283
|
+
:param metered_bytes: The metered_bytes of this FileSystem.
|
284
|
+
:type: int
|
285
|
+
"""
|
286
|
+
self._metered_bytes = metered_bytes
|
287
|
+
|
288
|
+
@property
|
289
|
+
def compartment_id(self):
|
290
|
+
"""
|
291
|
+
**[Required]** Gets the compartment_id of this FileSystem.
|
292
|
+
The `OCID`__ of the compartment that contains the file system.
|
293
|
+
|
294
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
295
|
+
|
296
|
+
|
297
|
+
:return: The compartment_id of this FileSystem.
|
298
|
+
:rtype: str
|
299
|
+
"""
|
300
|
+
return self._compartment_id
|
301
|
+
|
302
|
+
@compartment_id.setter
|
303
|
+
def compartment_id(self, compartment_id):
|
304
|
+
"""
|
305
|
+
Sets the compartment_id of this FileSystem.
|
306
|
+
The `OCID`__ of the compartment that contains the file system.
|
307
|
+
|
308
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
309
|
+
|
310
|
+
|
311
|
+
:param compartment_id: The compartment_id of this FileSystem.
|
312
|
+
:type: str
|
313
|
+
"""
|
314
|
+
self._compartment_id = compartment_id
|
315
|
+
|
316
|
+
@property
|
317
|
+
def display_name(self):
|
318
|
+
"""
|
319
|
+
**[Required]** Gets the display_name of this FileSystem.
|
320
|
+
A user-friendly name. It does not have to be unique, and it is changeable.
|
321
|
+
Avoid entering confidential information.
|
322
|
+
|
323
|
+
Example: `My file system`
|
324
|
+
|
325
|
+
|
326
|
+
:return: The display_name of this FileSystem.
|
327
|
+
:rtype: str
|
328
|
+
"""
|
329
|
+
return self._display_name
|
330
|
+
|
331
|
+
@display_name.setter
|
332
|
+
def display_name(self, display_name):
|
333
|
+
"""
|
334
|
+
Sets the display_name of this FileSystem.
|
335
|
+
A user-friendly name. It does not have to be unique, and it is changeable.
|
336
|
+
Avoid entering confidential information.
|
337
|
+
|
338
|
+
Example: `My file system`
|
339
|
+
|
340
|
+
|
341
|
+
:param display_name: The display_name of this FileSystem.
|
342
|
+
:type: str
|
343
|
+
"""
|
344
|
+
self._display_name = display_name
|
345
|
+
|
346
|
+
@property
|
347
|
+
def id(self):
|
348
|
+
"""
|
349
|
+
**[Required]** Gets the id of this FileSystem.
|
350
|
+
The `OCID`__ of the file system.
|
351
|
+
|
352
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
353
|
+
|
354
|
+
|
355
|
+
:return: The id of this FileSystem.
|
356
|
+
:rtype: str
|
357
|
+
"""
|
358
|
+
return self._id
|
359
|
+
|
360
|
+
@id.setter
|
361
|
+
def id(self, id):
|
362
|
+
"""
|
363
|
+
Sets the id of this FileSystem.
|
364
|
+
The `OCID`__ of the file system.
|
365
|
+
|
366
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
367
|
+
|
368
|
+
|
369
|
+
:param id: The id of this FileSystem.
|
370
|
+
:type: str
|
371
|
+
"""
|
372
|
+
self._id = id
|
373
|
+
|
374
|
+
@property
|
375
|
+
def lifecycle_state(self):
|
376
|
+
"""
|
377
|
+
**[Required]** Gets the lifecycle_state of this FileSystem.
|
378
|
+
The current state of the file system.
|
379
|
+
|
380
|
+
Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
|
381
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
382
|
+
|
383
|
+
|
384
|
+
:return: The lifecycle_state of this FileSystem.
|
385
|
+
:rtype: str
|
386
|
+
"""
|
387
|
+
return self._lifecycle_state
|
388
|
+
|
389
|
+
@lifecycle_state.setter
|
390
|
+
def lifecycle_state(self, lifecycle_state):
|
391
|
+
"""
|
392
|
+
Sets the lifecycle_state of this FileSystem.
|
393
|
+
The current state of the file system.
|
394
|
+
|
395
|
+
|
396
|
+
:param lifecycle_state: The lifecycle_state of this FileSystem.
|
397
|
+
:type: str
|
398
|
+
"""
|
399
|
+
allowed_values = ["CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"]
|
400
|
+
if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
|
401
|
+
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
|
402
|
+
self._lifecycle_state = lifecycle_state
|
403
|
+
|
404
|
+
@property
|
405
|
+
def time_created(self):
|
406
|
+
"""
|
407
|
+
**[Required]** Gets the time_created of this FileSystem.
|
408
|
+
The date and time the file system was created, expressed in
|
409
|
+
`RFC 3339`__ timestamp format.
|
410
|
+
|
411
|
+
Example: `2016-08-25T21:10:29.600Z`
|
412
|
+
|
413
|
+
__ https://tools.ietf.org/rfc/rfc3339
|
414
|
+
|
415
|
+
|
416
|
+
:return: The time_created of this FileSystem.
|
417
|
+
:rtype: datetime
|
418
|
+
"""
|
419
|
+
return self._time_created
|
420
|
+
|
421
|
+
@time_created.setter
|
422
|
+
def time_created(self, time_created):
|
423
|
+
"""
|
424
|
+
Sets the time_created of this FileSystem.
|
425
|
+
The date and time the file system was created, expressed in
|
426
|
+
`RFC 3339`__ timestamp format.
|
427
|
+
|
428
|
+
Example: `2016-08-25T21:10:29.600Z`
|
429
|
+
|
430
|
+
__ https://tools.ietf.org/rfc/rfc3339
|
431
|
+
|
432
|
+
|
433
|
+
:param time_created: The time_created of this FileSystem.
|
434
|
+
:type: datetime
|
435
|
+
"""
|
436
|
+
self._time_created = time_created
|
437
|
+
|
438
|
+
@property
|
439
|
+
def freeform_tags(self):
|
440
|
+
"""
|
441
|
+
Gets the freeform_tags of this FileSystem.
|
442
|
+
Free-form tags for this resource. Each tag is a simple key-value pair
|
443
|
+
with no predefined name, type, or namespace.
|
444
|
+
For more information, see `Resource Tags`__.
|
445
|
+
Example: `{\"Department\": \"Finance\"}`
|
446
|
+
|
447
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
448
|
+
|
449
|
+
|
450
|
+
:return: The freeform_tags of this FileSystem.
|
451
|
+
:rtype: dict(str, str)
|
452
|
+
"""
|
453
|
+
return self._freeform_tags
|
454
|
+
|
455
|
+
@freeform_tags.setter
|
456
|
+
def freeform_tags(self, freeform_tags):
|
457
|
+
"""
|
458
|
+
Sets the freeform_tags of this FileSystem.
|
459
|
+
Free-form tags for this resource. Each tag is a simple key-value pair
|
460
|
+
with no predefined name, type, or namespace.
|
461
|
+
For more information, see `Resource Tags`__.
|
462
|
+
Example: `{\"Department\": \"Finance\"}`
|
463
|
+
|
464
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
465
|
+
|
466
|
+
|
467
|
+
:param freeform_tags: The freeform_tags of this FileSystem.
|
468
|
+
:type: dict(str, str)
|
469
|
+
"""
|
470
|
+
self._freeform_tags = freeform_tags
|
471
|
+
|
472
|
+
@property
|
473
|
+
def defined_tags(self):
|
474
|
+
"""
|
475
|
+
Gets the defined_tags of this FileSystem.
|
476
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
477
|
+
For more information, see `Resource Tags`__.
|
478
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
479
|
+
|
480
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
481
|
+
|
482
|
+
|
483
|
+
:return: The defined_tags of this FileSystem.
|
484
|
+
:rtype: dict(str, dict(str, object))
|
485
|
+
"""
|
486
|
+
return self._defined_tags
|
487
|
+
|
488
|
+
@defined_tags.setter
|
489
|
+
def defined_tags(self, defined_tags):
|
490
|
+
"""
|
491
|
+
Sets the defined_tags of this FileSystem.
|
492
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
493
|
+
For more information, see `Resource Tags`__.
|
494
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
495
|
+
|
496
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
497
|
+
|
498
|
+
|
499
|
+
:param defined_tags: The defined_tags of this FileSystem.
|
500
|
+
:type: dict(str, dict(str, object))
|
501
|
+
"""
|
502
|
+
self._defined_tags = defined_tags
|
503
|
+
|
504
|
+
@property
|
505
|
+
def kms_key_id(self):
|
506
|
+
"""
|
507
|
+
Gets the kms_key_id of this FileSystem.
|
508
|
+
The `OCID`__ of the KMS key which is the master encryption key for the file system.
|
509
|
+
|
510
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
511
|
+
|
512
|
+
|
513
|
+
:return: The kms_key_id of this FileSystem.
|
514
|
+
:rtype: str
|
515
|
+
"""
|
516
|
+
return self._kms_key_id
|
517
|
+
|
518
|
+
@kms_key_id.setter
|
519
|
+
def kms_key_id(self, kms_key_id):
|
520
|
+
"""
|
521
|
+
Sets the kms_key_id of this FileSystem.
|
522
|
+
The `OCID`__ of the KMS key which is the master encryption key for the file system.
|
523
|
+
|
524
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
525
|
+
|
526
|
+
|
527
|
+
:param kms_key_id: The kms_key_id of this FileSystem.
|
528
|
+
:type: str
|
529
|
+
"""
|
530
|
+
self._kms_key_id = kms_key_id
|
531
|
+
|
532
|
+
@property
|
533
|
+
def source_details(self):
|
534
|
+
"""
|
535
|
+
Gets the source_details of this FileSystem.
|
536
|
+
|
537
|
+
:return: The source_details of this FileSystem.
|
538
|
+
:rtype: oci.file_storage.models.SourceDetails
|
539
|
+
"""
|
540
|
+
return self._source_details
|
541
|
+
|
542
|
+
@source_details.setter
|
543
|
+
def source_details(self, source_details):
|
544
|
+
"""
|
545
|
+
Sets the source_details of this FileSystem.
|
546
|
+
|
547
|
+
:param source_details: The source_details of this FileSystem.
|
548
|
+
:type: oci.file_storage.models.SourceDetails
|
549
|
+
"""
|
550
|
+
self._source_details = source_details
|
551
|
+
|
552
|
+
@property
|
553
|
+
def is_clone_parent(self):
|
554
|
+
"""
|
555
|
+
Gets the is_clone_parent of this FileSystem.
|
556
|
+
Specifies whether the file system has been cloned.
|
557
|
+
See `Cloning a File System`__.
|
558
|
+
|
559
|
+
__ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm
|
560
|
+
|
561
|
+
|
562
|
+
:return: The is_clone_parent of this FileSystem.
|
563
|
+
:rtype: bool
|
564
|
+
"""
|
565
|
+
return self._is_clone_parent
|
566
|
+
|
567
|
+
@is_clone_parent.setter
|
568
|
+
def is_clone_parent(self, is_clone_parent):
|
569
|
+
"""
|
570
|
+
Sets the is_clone_parent of this FileSystem.
|
571
|
+
Specifies whether the file system has been cloned.
|
572
|
+
See `Cloning a File System`__.
|
573
|
+
|
574
|
+
__ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm
|
575
|
+
|
576
|
+
|
577
|
+
:param is_clone_parent: The is_clone_parent of this FileSystem.
|
578
|
+
:type: bool
|
579
|
+
"""
|
580
|
+
self._is_clone_parent = is_clone_parent
|
581
|
+
|
582
|
+
@property
|
583
|
+
def is_hydrated(self):
|
584
|
+
"""
|
585
|
+
Gets the is_hydrated of this FileSystem.
|
586
|
+
Specifies whether the data has finished copying from the source to the clone.
|
587
|
+
Hydration can take up to several hours to complete depending on the size of the source.
|
588
|
+
The source and clone remain available during hydration, but there may be some performance impact.
|
589
|
+
See `Cloning a File System`__.
|
590
|
+
|
591
|
+
__ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm#hydration
|
592
|
+
|
593
|
+
|
594
|
+
:return: The is_hydrated of this FileSystem.
|
595
|
+
:rtype: bool
|
596
|
+
"""
|
597
|
+
return self._is_hydrated
|
598
|
+
|
599
|
+
@is_hydrated.setter
|
600
|
+
def is_hydrated(self, is_hydrated):
|
601
|
+
"""
|
602
|
+
Sets the is_hydrated of this FileSystem.
|
603
|
+
Specifies whether the data has finished copying from the source to the clone.
|
604
|
+
Hydration can take up to several hours to complete depending on the size of the source.
|
605
|
+
The source and clone remain available during hydration, but there may be some performance impact.
|
606
|
+
See `Cloning a File System`__.
|
607
|
+
|
608
|
+
__ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm#hydration
|
609
|
+
|
610
|
+
|
611
|
+
:param is_hydrated: The is_hydrated of this FileSystem.
|
612
|
+
:type: bool
|
613
|
+
"""
|
614
|
+
self._is_hydrated = is_hydrated
|
615
|
+
|
616
|
+
@property
|
617
|
+
def clone_count(self):
|
618
|
+
"""
|
619
|
+
Gets the clone_count of this FileSystem.
|
620
|
+
Specifies the total number of children of a file system.
|
621
|
+
|
622
|
+
|
623
|
+
:return: The clone_count of this FileSystem.
|
624
|
+
:rtype: int
|
625
|
+
"""
|
626
|
+
return self._clone_count
|
627
|
+
|
628
|
+
@clone_count.setter
|
629
|
+
def clone_count(self, clone_count):
|
630
|
+
"""
|
631
|
+
Sets the clone_count of this FileSystem.
|
632
|
+
Specifies the total number of children of a file system.
|
633
|
+
|
634
|
+
|
635
|
+
:param clone_count: The clone_count of this FileSystem.
|
636
|
+
:type: int
|
637
|
+
"""
|
638
|
+
self._clone_count = clone_count
|
639
|
+
|
640
|
+
@property
|
641
|
+
def clone_attach_status(self):
|
642
|
+
"""
|
643
|
+
Gets the clone_attach_status of this FileSystem.
|
644
|
+
Specifies whether the file system is attached to its parent file system.
|
645
|
+
|
646
|
+
Allowed values for this property are: "ATTACHED", "DETACHING", "DETACHED", 'UNKNOWN_ENUM_VALUE'.
|
647
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
648
|
+
|
649
|
+
|
650
|
+
:return: The clone_attach_status of this FileSystem.
|
651
|
+
:rtype: str
|
652
|
+
"""
|
653
|
+
return self._clone_attach_status
|
654
|
+
|
655
|
+
@clone_attach_status.setter
|
656
|
+
def clone_attach_status(self, clone_attach_status):
|
657
|
+
"""
|
658
|
+
Sets the clone_attach_status of this FileSystem.
|
659
|
+
Specifies whether the file system is attached to its parent file system.
|
660
|
+
|
661
|
+
|
662
|
+
:param clone_attach_status: The clone_attach_status of this FileSystem.
|
663
|
+
:type: str
|
664
|
+
"""
|
665
|
+
allowed_values = ["ATTACHED", "DETACHING", "DETACHED"]
|
666
|
+
if not value_allowed_none_or_none_sentinel(clone_attach_status, allowed_values):
|
667
|
+
clone_attach_status = 'UNKNOWN_ENUM_VALUE'
|
668
|
+
self._clone_attach_status = clone_attach_status
|
669
|
+
|
670
|
+
@property
|
671
|
+
def locks(self):
|
672
|
+
"""
|
673
|
+
Gets the locks of this FileSystem.
|
674
|
+
Locks associated with this resource.
|
675
|
+
|
676
|
+
|
677
|
+
:return: The locks of this FileSystem.
|
678
|
+
:rtype: list[oci.file_storage.models.ResourceLock]
|
679
|
+
"""
|
680
|
+
return self._locks
|
681
|
+
|
682
|
+
@locks.setter
|
683
|
+
def locks(self, locks):
|
684
|
+
"""
|
685
|
+
Sets the locks of this FileSystem.
|
686
|
+
Locks associated with this resource.
|
687
|
+
|
688
|
+
|
689
|
+
:param locks: The locks of this FileSystem.
|
690
|
+
:type: list[oci.file_storage.models.ResourceLock]
|
691
|
+
"""
|
692
|
+
self._locks = locks
|
693
|
+
|
694
|
+
@property
|
695
|
+
def lifecycle_details(self):
|
696
|
+
"""
|
697
|
+
Gets the lifecycle_details of this FileSystem.
|
698
|
+
Additional information about the current 'lifecycleState'.
|
699
|
+
|
700
|
+
|
701
|
+
:return: The lifecycle_details of this FileSystem.
|
702
|
+
:rtype: str
|
703
|
+
"""
|
704
|
+
return self._lifecycle_details
|
705
|
+
|
706
|
+
@lifecycle_details.setter
|
707
|
+
def lifecycle_details(self, lifecycle_details):
|
708
|
+
"""
|
709
|
+
Sets the lifecycle_details of this FileSystem.
|
710
|
+
Additional information about the current 'lifecycleState'.
|
711
|
+
|
712
|
+
|
713
|
+
:param lifecycle_details: The lifecycle_details of this FileSystem.
|
714
|
+
:type: str
|
715
|
+
"""
|
716
|
+
self._lifecycle_details = lifecycle_details
|
717
|
+
|
718
|
+
@property
|
719
|
+
def is_targetable(self):
|
720
|
+
"""
|
721
|
+
Gets the is_targetable of this FileSystem.
|
722
|
+
Specifies whether the file system can be used as a target file system for replication. The system sets this value to `true` if the file system is unexported, hasn't yet been specified as a target file system in any replication resource, and has no user snapshots. After the file system has been specified as a target in a replication, or if the file system contains user snapshots, the system sets this value to `false`.
|
723
|
+
For more information, see `Using Replication`__.
|
724
|
+
|
725
|
+
__ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/using-replication.htm
|
726
|
+
|
727
|
+
|
728
|
+
:return: The is_targetable of this FileSystem.
|
729
|
+
:rtype: bool
|
730
|
+
"""
|
731
|
+
return self._is_targetable
|
732
|
+
|
733
|
+
@is_targetable.setter
|
734
|
+
def is_targetable(self, is_targetable):
|
735
|
+
"""
|
736
|
+
Sets the is_targetable of this FileSystem.
|
737
|
+
Specifies whether the file system can be used as a target file system for replication. The system sets this value to `true` if the file system is unexported, hasn't yet been specified as a target file system in any replication resource, and has no user snapshots. After the file system has been specified as a target in a replication, or if the file system contains user snapshots, the system sets this value to `false`.
|
738
|
+
For more information, see `Using Replication`__.
|
739
|
+
|
740
|
+
__ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/using-replication.htm
|
741
|
+
|
742
|
+
|
743
|
+
:param is_targetable: The is_targetable of this FileSystem.
|
744
|
+
:type: bool
|
745
|
+
"""
|
746
|
+
self._is_targetable = is_targetable
|
747
|
+
|
748
|
+
@property
|
749
|
+
def replication_target_id(self):
|
750
|
+
"""
|
751
|
+
Gets the replication_target_id of this FileSystem.
|
752
|
+
The `OCID`__ of the replication target associated with the file system.
|
753
|
+
Empty if the file system is not being used as target in a replication.
|
754
|
+
|
755
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
756
|
+
|
757
|
+
|
758
|
+
:return: The replication_target_id of this FileSystem.
|
759
|
+
:rtype: str
|
760
|
+
"""
|
761
|
+
return self._replication_target_id
|
762
|
+
|
763
|
+
@replication_target_id.setter
|
764
|
+
def replication_target_id(self, replication_target_id):
|
765
|
+
"""
|
766
|
+
Sets the replication_target_id of this FileSystem.
|
767
|
+
The `OCID`__ of the replication target associated with the file system.
|
768
|
+
Empty if the file system is not being used as target in a replication.
|
769
|
+
|
770
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
771
|
+
|
772
|
+
|
773
|
+
:param replication_target_id: The replication_target_id of this FileSystem.
|
774
|
+
:type: str
|
775
|
+
"""
|
776
|
+
self._replication_target_id = replication_target_id
|
777
|
+
|
778
|
+
@property
|
779
|
+
def filesystem_snapshot_policy_id(self):
|
780
|
+
"""
|
781
|
+
Gets the filesystem_snapshot_policy_id of this FileSystem.
|
782
|
+
The `OCID`__ of the associated file system snapshot policy, which
|
783
|
+
controls the frequency of snapshot creation and retention period of the taken snapshots.
|
784
|
+
|
785
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
786
|
+
|
787
|
+
|
788
|
+
:return: The filesystem_snapshot_policy_id of this FileSystem.
|
789
|
+
:rtype: str
|
790
|
+
"""
|
791
|
+
return self._filesystem_snapshot_policy_id
|
792
|
+
|
793
|
+
@filesystem_snapshot_policy_id.setter
|
794
|
+
def filesystem_snapshot_policy_id(self, filesystem_snapshot_policy_id):
|
795
|
+
"""
|
796
|
+
Sets the filesystem_snapshot_policy_id of this FileSystem.
|
797
|
+
The `OCID`__ of the associated file system snapshot policy, which
|
798
|
+
controls the frequency of snapshot creation and retention period of the taken snapshots.
|
799
|
+
|
800
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
801
|
+
|
802
|
+
|
803
|
+
:param filesystem_snapshot_policy_id: The filesystem_snapshot_policy_id of this FileSystem.
|
804
|
+
:type: str
|
805
|
+
"""
|
806
|
+
self._filesystem_snapshot_policy_id = filesystem_snapshot_policy_id
|
807
|
+
|
808
|
+
def __repr__(self):
|
809
|
+
return formatted_flat_dict(self)
|
810
|
+
|
811
|
+
def __eq__(self, other):
|
812
|
+
if other is None:
|
813
|
+
return False
|
814
|
+
|
815
|
+
return self.__dict__ == other.__dict__
|
816
|
+
|
817
|
+
def __ne__(self, other):
|
818
|
+
return not self == other
|