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,337 @@
|
|
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 CreateFilesystemSnapshotPolicyDetails(object):
|
14
|
+
"""
|
15
|
+
Details for creating the file system snapshot policy.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new CreateFilesystemSnapshotPolicyDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param availability_domain:
|
24
|
+
The value to assign to the availability_domain property of this CreateFilesystemSnapshotPolicyDetails.
|
25
|
+
:type availability_domain: str
|
26
|
+
|
27
|
+
:param compartment_id:
|
28
|
+
The value to assign to the compartment_id property of this CreateFilesystemSnapshotPolicyDetails.
|
29
|
+
:type compartment_id: str
|
30
|
+
|
31
|
+
:param display_name:
|
32
|
+
The value to assign to the display_name property of this CreateFilesystemSnapshotPolicyDetails.
|
33
|
+
:type display_name: str
|
34
|
+
|
35
|
+
:param policy_prefix:
|
36
|
+
The value to assign to the policy_prefix property of this CreateFilesystemSnapshotPolicyDetails.
|
37
|
+
:type policy_prefix: str
|
38
|
+
|
39
|
+
:param schedules:
|
40
|
+
The value to assign to the schedules property of this CreateFilesystemSnapshotPolicyDetails.
|
41
|
+
:type schedules: list[oci.file_storage.models.SnapshotSchedule]
|
42
|
+
|
43
|
+
:param freeform_tags:
|
44
|
+
The value to assign to the freeform_tags property of this CreateFilesystemSnapshotPolicyDetails.
|
45
|
+
:type freeform_tags: dict(str, str)
|
46
|
+
|
47
|
+
:param defined_tags:
|
48
|
+
The value to assign to the defined_tags property of this CreateFilesystemSnapshotPolicyDetails.
|
49
|
+
:type defined_tags: dict(str, dict(str, object))
|
50
|
+
|
51
|
+
:param locks:
|
52
|
+
The value to assign to the locks property of this CreateFilesystemSnapshotPolicyDetails.
|
53
|
+
:type locks: list[oci.file_storage.models.ResourceLock]
|
54
|
+
|
55
|
+
"""
|
56
|
+
self.swagger_types = {
|
57
|
+
'availability_domain': 'str',
|
58
|
+
'compartment_id': 'str',
|
59
|
+
'display_name': 'str',
|
60
|
+
'policy_prefix': 'str',
|
61
|
+
'schedules': 'list[SnapshotSchedule]',
|
62
|
+
'freeform_tags': 'dict(str, str)',
|
63
|
+
'defined_tags': 'dict(str, dict(str, object))',
|
64
|
+
'locks': 'list[ResourceLock]'
|
65
|
+
}
|
66
|
+
|
67
|
+
self.attribute_map = {
|
68
|
+
'availability_domain': 'availabilityDomain',
|
69
|
+
'compartment_id': 'compartmentId',
|
70
|
+
'display_name': 'displayName',
|
71
|
+
'policy_prefix': 'policyPrefix',
|
72
|
+
'schedules': 'schedules',
|
73
|
+
'freeform_tags': 'freeformTags',
|
74
|
+
'defined_tags': 'definedTags',
|
75
|
+
'locks': 'locks'
|
76
|
+
}
|
77
|
+
|
78
|
+
self._availability_domain = None
|
79
|
+
self._compartment_id = None
|
80
|
+
self._display_name = None
|
81
|
+
self._policy_prefix = None
|
82
|
+
self._schedules = None
|
83
|
+
self._freeform_tags = None
|
84
|
+
self._defined_tags = None
|
85
|
+
self._locks = None
|
86
|
+
|
87
|
+
@property
|
88
|
+
def availability_domain(self):
|
89
|
+
"""
|
90
|
+
**[Required]** Gets the availability_domain of this CreateFilesystemSnapshotPolicyDetails.
|
91
|
+
The availability domain that the file system snapshot policy is in.
|
92
|
+
|
93
|
+
Example: `Uocm:PHX-AD-1`
|
94
|
+
|
95
|
+
|
96
|
+
:return: The availability_domain of this CreateFilesystemSnapshotPolicyDetails.
|
97
|
+
:rtype: str
|
98
|
+
"""
|
99
|
+
return self._availability_domain
|
100
|
+
|
101
|
+
@availability_domain.setter
|
102
|
+
def availability_domain(self, availability_domain):
|
103
|
+
"""
|
104
|
+
Sets the availability_domain of this CreateFilesystemSnapshotPolicyDetails.
|
105
|
+
The availability domain that the file system snapshot policy is in.
|
106
|
+
|
107
|
+
Example: `Uocm:PHX-AD-1`
|
108
|
+
|
109
|
+
|
110
|
+
:param availability_domain: The availability_domain of this CreateFilesystemSnapshotPolicyDetails.
|
111
|
+
:type: str
|
112
|
+
"""
|
113
|
+
self._availability_domain = availability_domain
|
114
|
+
|
115
|
+
@property
|
116
|
+
def compartment_id(self):
|
117
|
+
"""
|
118
|
+
**[Required]** Gets the compartment_id of this CreateFilesystemSnapshotPolicyDetails.
|
119
|
+
The `OCID`__ of the compartment that contains the file system snapshot policy.
|
120
|
+
|
121
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
122
|
+
|
123
|
+
|
124
|
+
:return: The compartment_id of this CreateFilesystemSnapshotPolicyDetails.
|
125
|
+
:rtype: str
|
126
|
+
"""
|
127
|
+
return self._compartment_id
|
128
|
+
|
129
|
+
@compartment_id.setter
|
130
|
+
def compartment_id(self, compartment_id):
|
131
|
+
"""
|
132
|
+
Sets the compartment_id of this CreateFilesystemSnapshotPolicyDetails.
|
133
|
+
The `OCID`__ of the compartment that contains the file system snapshot policy.
|
134
|
+
|
135
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
136
|
+
|
137
|
+
|
138
|
+
:param compartment_id: The compartment_id of this CreateFilesystemSnapshotPolicyDetails.
|
139
|
+
:type: str
|
140
|
+
"""
|
141
|
+
self._compartment_id = compartment_id
|
142
|
+
|
143
|
+
@property
|
144
|
+
def display_name(self):
|
145
|
+
"""
|
146
|
+
Gets the display_name of this CreateFilesystemSnapshotPolicyDetails.
|
147
|
+
A user-friendly name. It does not have to be unique, and it is changeable.
|
148
|
+
Avoid entering confidential information.
|
149
|
+
|
150
|
+
Example: `policy1`
|
151
|
+
|
152
|
+
|
153
|
+
:return: The display_name of this CreateFilesystemSnapshotPolicyDetails.
|
154
|
+
:rtype: str
|
155
|
+
"""
|
156
|
+
return self._display_name
|
157
|
+
|
158
|
+
@display_name.setter
|
159
|
+
def display_name(self, display_name):
|
160
|
+
"""
|
161
|
+
Sets the display_name of this CreateFilesystemSnapshotPolicyDetails.
|
162
|
+
A user-friendly name. It does not have to be unique, and it is changeable.
|
163
|
+
Avoid entering confidential information.
|
164
|
+
|
165
|
+
Example: `policy1`
|
166
|
+
|
167
|
+
|
168
|
+
:param display_name: The display_name of this CreateFilesystemSnapshotPolicyDetails.
|
169
|
+
:type: str
|
170
|
+
"""
|
171
|
+
self._display_name = display_name
|
172
|
+
|
173
|
+
@property
|
174
|
+
def policy_prefix(self):
|
175
|
+
"""
|
176
|
+
Gets the policy_prefix of this CreateFilesystemSnapshotPolicyDetails.
|
177
|
+
The prefix to apply to all snapshots created by this policy.
|
178
|
+
|
179
|
+
Example: `acme`
|
180
|
+
|
181
|
+
|
182
|
+
:return: The policy_prefix of this CreateFilesystemSnapshotPolicyDetails.
|
183
|
+
:rtype: str
|
184
|
+
"""
|
185
|
+
return self._policy_prefix
|
186
|
+
|
187
|
+
@policy_prefix.setter
|
188
|
+
def policy_prefix(self, policy_prefix):
|
189
|
+
"""
|
190
|
+
Sets the policy_prefix of this CreateFilesystemSnapshotPolicyDetails.
|
191
|
+
The prefix to apply to all snapshots created by this policy.
|
192
|
+
|
193
|
+
Example: `acme`
|
194
|
+
|
195
|
+
|
196
|
+
:param policy_prefix: The policy_prefix of this CreateFilesystemSnapshotPolicyDetails.
|
197
|
+
:type: str
|
198
|
+
"""
|
199
|
+
self._policy_prefix = policy_prefix
|
200
|
+
|
201
|
+
@property
|
202
|
+
def schedules(self):
|
203
|
+
"""
|
204
|
+
Gets the schedules of this CreateFilesystemSnapshotPolicyDetails.
|
205
|
+
The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy.
|
206
|
+
|
207
|
+
If using the CLI, provide the schedule as a list of JSON strings, with the list wrapped in
|
208
|
+
quotation marks, i.e.
|
209
|
+
```
|
210
|
+
--schedules '[{\"timeZone\":\"UTC\",\"period\":\"DAILY\",\"hourOfDay\":18},{\"timeZone\":\"UTC\",\"period\":\"HOURLY\"}]'
|
211
|
+
```
|
212
|
+
|
213
|
+
|
214
|
+
:return: The schedules of this CreateFilesystemSnapshotPolicyDetails.
|
215
|
+
:rtype: list[oci.file_storage.models.SnapshotSchedule]
|
216
|
+
"""
|
217
|
+
return self._schedules
|
218
|
+
|
219
|
+
@schedules.setter
|
220
|
+
def schedules(self, schedules):
|
221
|
+
"""
|
222
|
+
Sets the schedules of this CreateFilesystemSnapshotPolicyDetails.
|
223
|
+
The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy.
|
224
|
+
|
225
|
+
If using the CLI, provide the schedule as a list of JSON strings, with the list wrapped in
|
226
|
+
quotation marks, i.e.
|
227
|
+
```
|
228
|
+
--schedules '[{\"timeZone\":\"UTC\",\"period\":\"DAILY\",\"hourOfDay\":18},{\"timeZone\":\"UTC\",\"period\":\"HOURLY\"}]'
|
229
|
+
```
|
230
|
+
|
231
|
+
|
232
|
+
:param schedules: The schedules of this CreateFilesystemSnapshotPolicyDetails.
|
233
|
+
:type: list[oci.file_storage.models.SnapshotSchedule]
|
234
|
+
"""
|
235
|
+
self._schedules = schedules
|
236
|
+
|
237
|
+
@property
|
238
|
+
def freeform_tags(self):
|
239
|
+
"""
|
240
|
+
Gets the freeform_tags of this CreateFilesystemSnapshotPolicyDetails.
|
241
|
+
Free-form tags for this resource. Each tag is a simple key-value pair
|
242
|
+
with no predefined name, type, or namespace.
|
243
|
+
For more information, see `Resource Tags`__.
|
244
|
+
Example: `{\"Department\": \"Finance\"}`
|
245
|
+
|
246
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
247
|
+
|
248
|
+
|
249
|
+
:return: The freeform_tags of this CreateFilesystemSnapshotPolicyDetails.
|
250
|
+
:rtype: dict(str, str)
|
251
|
+
"""
|
252
|
+
return self._freeform_tags
|
253
|
+
|
254
|
+
@freeform_tags.setter
|
255
|
+
def freeform_tags(self, freeform_tags):
|
256
|
+
"""
|
257
|
+
Sets the freeform_tags of this CreateFilesystemSnapshotPolicyDetails.
|
258
|
+
Free-form tags for this resource. Each tag is a simple key-value pair
|
259
|
+
with no predefined name, type, or namespace.
|
260
|
+
For more information, see `Resource Tags`__.
|
261
|
+
Example: `{\"Department\": \"Finance\"}`
|
262
|
+
|
263
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
264
|
+
|
265
|
+
|
266
|
+
:param freeform_tags: The freeform_tags of this CreateFilesystemSnapshotPolicyDetails.
|
267
|
+
:type: dict(str, str)
|
268
|
+
"""
|
269
|
+
self._freeform_tags = freeform_tags
|
270
|
+
|
271
|
+
@property
|
272
|
+
def defined_tags(self):
|
273
|
+
"""
|
274
|
+
Gets the defined_tags of this CreateFilesystemSnapshotPolicyDetails.
|
275
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
276
|
+
For more information, see `Resource Tags`__.
|
277
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
278
|
+
|
279
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
280
|
+
|
281
|
+
|
282
|
+
:return: The defined_tags of this CreateFilesystemSnapshotPolicyDetails.
|
283
|
+
:rtype: dict(str, dict(str, object))
|
284
|
+
"""
|
285
|
+
return self._defined_tags
|
286
|
+
|
287
|
+
@defined_tags.setter
|
288
|
+
def defined_tags(self, defined_tags):
|
289
|
+
"""
|
290
|
+
Sets the defined_tags of this CreateFilesystemSnapshotPolicyDetails.
|
291
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
292
|
+
For more information, see `Resource Tags`__.
|
293
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
294
|
+
|
295
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
296
|
+
|
297
|
+
|
298
|
+
:param defined_tags: The defined_tags of this CreateFilesystemSnapshotPolicyDetails.
|
299
|
+
:type: dict(str, dict(str, object))
|
300
|
+
"""
|
301
|
+
self._defined_tags = defined_tags
|
302
|
+
|
303
|
+
@property
|
304
|
+
def locks(self):
|
305
|
+
"""
|
306
|
+
Gets the locks of this CreateFilesystemSnapshotPolicyDetails.
|
307
|
+
Locks associated with this resource.
|
308
|
+
|
309
|
+
|
310
|
+
:return: The locks of this CreateFilesystemSnapshotPolicyDetails.
|
311
|
+
:rtype: list[oci.file_storage.models.ResourceLock]
|
312
|
+
"""
|
313
|
+
return self._locks
|
314
|
+
|
315
|
+
@locks.setter
|
316
|
+
def locks(self, locks):
|
317
|
+
"""
|
318
|
+
Sets the locks of this CreateFilesystemSnapshotPolicyDetails.
|
319
|
+
Locks associated with this resource.
|
320
|
+
|
321
|
+
|
322
|
+
:param locks: The locks of this CreateFilesystemSnapshotPolicyDetails.
|
323
|
+
:type: list[oci.file_storage.models.ResourceLock]
|
324
|
+
"""
|
325
|
+
self._locks = locks
|
326
|
+
|
327
|
+
def __repr__(self):
|
328
|
+
return formatted_flat_dict(self)
|
329
|
+
|
330
|
+
def __eq__(self, other):
|
331
|
+
if other is None:
|
332
|
+
return False
|
333
|
+
|
334
|
+
return self.__dict__ == other.__dict__
|
335
|
+
|
336
|
+
def __ne__(self, other):
|
337
|
+
return not self == other
|
@@ -0,0 +1,200 @@
|
|
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 CreateKerberosDetails(object):
|
14
|
+
"""
|
15
|
+
Kerberos details needed to create configuration.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new CreateKerberosDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param kerberos_realm:
|
24
|
+
The value to assign to the kerberos_realm property of this CreateKerberosDetails.
|
25
|
+
:type kerberos_realm: str
|
26
|
+
|
27
|
+
:param key_tab_secret_id:
|
28
|
+
The value to assign to the key_tab_secret_id property of this CreateKerberosDetails.
|
29
|
+
:type key_tab_secret_id: str
|
30
|
+
|
31
|
+
:param current_key_tab_secret_version:
|
32
|
+
The value to assign to the current_key_tab_secret_version property of this CreateKerberosDetails.
|
33
|
+
:type current_key_tab_secret_version: int
|
34
|
+
|
35
|
+
:param backup_key_tab_secret_version:
|
36
|
+
The value to assign to the backup_key_tab_secret_version property of this CreateKerberosDetails.
|
37
|
+
:type backup_key_tab_secret_version: int
|
38
|
+
|
39
|
+
:param is_kerberos_enabled:
|
40
|
+
The value to assign to the is_kerberos_enabled property of this CreateKerberosDetails.
|
41
|
+
:type is_kerberos_enabled: bool
|
42
|
+
|
43
|
+
"""
|
44
|
+
self.swagger_types = {
|
45
|
+
'kerberos_realm': 'str',
|
46
|
+
'key_tab_secret_id': 'str',
|
47
|
+
'current_key_tab_secret_version': 'int',
|
48
|
+
'backup_key_tab_secret_version': 'int',
|
49
|
+
'is_kerberos_enabled': 'bool'
|
50
|
+
}
|
51
|
+
|
52
|
+
self.attribute_map = {
|
53
|
+
'kerberos_realm': 'kerberosRealm',
|
54
|
+
'key_tab_secret_id': 'keyTabSecretId',
|
55
|
+
'current_key_tab_secret_version': 'currentKeyTabSecretVersion',
|
56
|
+
'backup_key_tab_secret_version': 'backupKeyTabSecretVersion',
|
57
|
+
'is_kerberos_enabled': 'isKerberosEnabled'
|
58
|
+
}
|
59
|
+
|
60
|
+
self._kerberos_realm = None
|
61
|
+
self._key_tab_secret_id = None
|
62
|
+
self._current_key_tab_secret_version = None
|
63
|
+
self._backup_key_tab_secret_version = None
|
64
|
+
self._is_kerberos_enabled = None
|
65
|
+
|
66
|
+
@property
|
67
|
+
def kerberos_realm(self):
|
68
|
+
"""
|
69
|
+
**[Required]** Gets the kerberos_realm of this CreateKerberosDetails.
|
70
|
+
The Kerberos realm that the mount target will join.
|
71
|
+
|
72
|
+
|
73
|
+
:return: The kerberos_realm of this CreateKerberosDetails.
|
74
|
+
:rtype: str
|
75
|
+
"""
|
76
|
+
return self._kerberos_realm
|
77
|
+
|
78
|
+
@kerberos_realm.setter
|
79
|
+
def kerberos_realm(self, kerberos_realm):
|
80
|
+
"""
|
81
|
+
Sets the kerberos_realm of this CreateKerberosDetails.
|
82
|
+
The Kerberos realm that the mount target will join.
|
83
|
+
|
84
|
+
|
85
|
+
:param kerberos_realm: The kerberos_realm of this CreateKerberosDetails.
|
86
|
+
:type: str
|
87
|
+
"""
|
88
|
+
self._kerberos_realm = kerberos_realm
|
89
|
+
|
90
|
+
@property
|
91
|
+
def key_tab_secret_id(self):
|
92
|
+
"""
|
93
|
+
Gets the key_tab_secret_id of this CreateKerberosDetails.
|
94
|
+
The `OCID`__ of the keytab Secret in the Vault.
|
95
|
+
|
96
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
97
|
+
|
98
|
+
|
99
|
+
:return: The key_tab_secret_id of this CreateKerberosDetails.
|
100
|
+
:rtype: str
|
101
|
+
"""
|
102
|
+
return self._key_tab_secret_id
|
103
|
+
|
104
|
+
@key_tab_secret_id.setter
|
105
|
+
def key_tab_secret_id(self, key_tab_secret_id):
|
106
|
+
"""
|
107
|
+
Sets the key_tab_secret_id of this CreateKerberosDetails.
|
108
|
+
The `OCID`__ of the keytab Secret in the Vault.
|
109
|
+
|
110
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
111
|
+
|
112
|
+
|
113
|
+
:param key_tab_secret_id: The key_tab_secret_id of this CreateKerberosDetails.
|
114
|
+
:type: str
|
115
|
+
"""
|
116
|
+
self._key_tab_secret_id = key_tab_secret_id
|
117
|
+
|
118
|
+
@property
|
119
|
+
def current_key_tab_secret_version(self):
|
120
|
+
"""
|
121
|
+
Gets the current_key_tab_secret_version of this CreateKerberosDetails.
|
122
|
+
Version of the keytab Secret in the Vault to use.
|
123
|
+
|
124
|
+
|
125
|
+
:return: The current_key_tab_secret_version of this CreateKerberosDetails.
|
126
|
+
:rtype: int
|
127
|
+
"""
|
128
|
+
return self._current_key_tab_secret_version
|
129
|
+
|
130
|
+
@current_key_tab_secret_version.setter
|
131
|
+
def current_key_tab_secret_version(self, current_key_tab_secret_version):
|
132
|
+
"""
|
133
|
+
Sets the current_key_tab_secret_version of this CreateKerberosDetails.
|
134
|
+
Version of the keytab Secret in the Vault to use.
|
135
|
+
|
136
|
+
|
137
|
+
:param current_key_tab_secret_version: The current_key_tab_secret_version of this CreateKerberosDetails.
|
138
|
+
:type: int
|
139
|
+
"""
|
140
|
+
self._current_key_tab_secret_version = current_key_tab_secret_version
|
141
|
+
|
142
|
+
@property
|
143
|
+
def backup_key_tab_secret_version(self):
|
144
|
+
"""
|
145
|
+
Gets the backup_key_tab_secret_version of this CreateKerberosDetails.
|
146
|
+
Version of the keytab Secret in the Vault to use as a backup.
|
147
|
+
|
148
|
+
|
149
|
+
:return: The backup_key_tab_secret_version of this CreateKerberosDetails.
|
150
|
+
:rtype: int
|
151
|
+
"""
|
152
|
+
return self._backup_key_tab_secret_version
|
153
|
+
|
154
|
+
@backup_key_tab_secret_version.setter
|
155
|
+
def backup_key_tab_secret_version(self, backup_key_tab_secret_version):
|
156
|
+
"""
|
157
|
+
Sets the backup_key_tab_secret_version of this CreateKerberosDetails.
|
158
|
+
Version of the keytab Secret in the Vault to use as a backup.
|
159
|
+
|
160
|
+
|
161
|
+
:param backup_key_tab_secret_version: The backup_key_tab_secret_version of this CreateKerberosDetails.
|
162
|
+
:type: int
|
163
|
+
"""
|
164
|
+
self._backup_key_tab_secret_version = backup_key_tab_secret_version
|
165
|
+
|
166
|
+
@property
|
167
|
+
def is_kerberos_enabled(self):
|
168
|
+
"""
|
169
|
+
Gets the is_kerberos_enabled of this CreateKerberosDetails.
|
170
|
+
Specifies whether to enable or disable Kerberos.
|
171
|
+
|
172
|
+
|
173
|
+
:return: The is_kerberos_enabled of this CreateKerberosDetails.
|
174
|
+
:rtype: bool
|
175
|
+
"""
|
176
|
+
return self._is_kerberos_enabled
|
177
|
+
|
178
|
+
@is_kerberos_enabled.setter
|
179
|
+
def is_kerberos_enabled(self, is_kerberos_enabled):
|
180
|
+
"""
|
181
|
+
Sets the is_kerberos_enabled of this CreateKerberosDetails.
|
182
|
+
Specifies whether to enable or disable Kerberos.
|
183
|
+
|
184
|
+
|
185
|
+
:param is_kerberos_enabled: The is_kerberos_enabled of this CreateKerberosDetails.
|
186
|
+
:type: bool
|
187
|
+
"""
|
188
|
+
self._is_kerberos_enabled = is_kerberos_enabled
|
189
|
+
|
190
|
+
def __repr__(self):
|
191
|
+
return formatted_flat_dict(self)
|
192
|
+
|
193
|
+
def __eq__(self, other):
|
194
|
+
if other is None:
|
195
|
+
return False
|
196
|
+
|
197
|
+
return self.__dict__ == other.__dict__
|
198
|
+
|
199
|
+
def __ne__(self, other):
|
200
|
+
return not self == other
|