mv-oci-sdk 2.142.0__py3-none-any.whl → 2.142.0.1__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.1.dist-info}/METADATA +3 -3
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/RECORD +197 -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/version.py +1 -1
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/LICENSE.txt +0 -0
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/WHEEL +0 -0
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,220 @@
|
|
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
|
+
from .create_outbound_connector_details import CreateOutboundConnectorDetails
|
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 CreateLdapBindAccountDetails(CreateOutboundConnectorDetails):
|
14
|
+
"""
|
15
|
+
Account details for the LDAP bind account to be used by mount targets that use this outbound connector.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new CreateLdapBindAccountDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.file_storage.models.CreateLdapBindAccountDetails.connector_type` attribute
|
21
|
+
of this class is ``LDAPBIND`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param availability_domain:
|
25
|
+
The value to assign to the availability_domain property of this CreateLdapBindAccountDetails.
|
26
|
+
:type availability_domain: str
|
27
|
+
|
28
|
+
:param compartment_id:
|
29
|
+
The value to assign to the compartment_id property of this CreateLdapBindAccountDetails.
|
30
|
+
:type compartment_id: str
|
31
|
+
|
32
|
+
:param display_name:
|
33
|
+
The value to assign to the display_name property of this CreateLdapBindAccountDetails.
|
34
|
+
:type display_name: str
|
35
|
+
|
36
|
+
:param connector_type:
|
37
|
+
The value to assign to the connector_type property of this CreateLdapBindAccountDetails.
|
38
|
+
:type connector_type: str
|
39
|
+
|
40
|
+
:param freeform_tags:
|
41
|
+
The value to assign to the freeform_tags property of this CreateLdapBindAccountDetails.
|
42
|
+
:type freeform_tags: dict(str, str)
|
43
|
+
|
44
|
+
:param defined_tags:
|
45
|
+
The value to assign to the defined_tags property of this CreateLdapBindAccountDetails.
|
46
|
+
:type defined_tags: dict(str, dict(str, object))
|
47
|
+
|
48
|
+
:param locks:
|
49
|
+
The value to assign to the locks property of this CreateLdapBindAccountDetails.
|
50
|
+
:type locks: list[oci.file_storage.models.ResourceLock]
|
51
|
+
|
52
|
+
:param endpoints:
|
53
|
+
The value to assign to the endpoints property of this CreateLdapBindAccountDetails.
|
54
|
+
:type endpoints: list[oci.file_storage.models.Endpoint]
|
55
|
+
|
56
|
+
:param bind_distinguished_name:
|
57
|
+
The value to assign to the bind_distinguished_name property of this CreateLdapBindAccountDetails.
|
58
|
+
:type bind_distinguished_name: str
|
59
|
+
|
60
|
+
:param password_secret_id:
|
61
|
+
The value to assign to the password_secret_id property of this CreateLdapBindAccountDetails.
|
62
|
+
:type password_secret_id: str
|
63
|
+
|
64
|
+
:param password_secret_version:
|
65
|
+
The value to assign to the password_secret_version property of this CreateLdapBindAccountDetails.
|
66
|
+
:type password_secret_version: int
|
67
|
+
|
68
|
+
"""
|
69
|
+
self.swagger_types = {
|
70
|
+
'availability_domain': 'str',
|
71
|
+
'compartment_id': 'str',
|
72
|
+
'display_name': 'str',
|
73
|
+
'connector_type': 'str',
|
74
|
+
'freeform_tags': 'dict(str, str)',
|
75
|
+
'defined_tags': 'dict(str, dict(str, object))',
|
76
|
+
'locks': 'list[ResourceLock]',
|
77
|
+
'endpoints': 'list[Endpoint]',
|
78
|
+
'bind_distinguished_name': 'str',
|
79
|
+
'password_secret_id': 'str',
|
80
|
+
'password_secret_version': 'int'
|
81
|
+
}
|
82
|
+
|
83
|
+
self.attribute_map = {
|
84
|
+
'availability_domain': 'availabilityDomain',
|
85
|
+
'compartment_id': 'compartmentId',
|
86
|
+
'display_name': 'displayName',
|
87
|
+
'connector_type': 'connectorType',
|
88
|
+
'freeform_tags': 'freeformTags',
|
89
|
+
'defined_tags': 'definedTags',
|
90
|
+
'locks': 'locks',
|
91
|
+
'endpoints': 'endpoints',
|
92
|
+
'bind_distinguished_name': 'bindDistinguishedName',
|
93
|
+
'password_secret_id': 'passwordSecretId',
|
94
|
+
'password_secret_version': 'passwordSecretVersion'
|
95
|
+
}
|
96
|
+
|
97
|
+
self._availability_domain = None
|
98
|
+
self._compartment_id = None
|
99
|
+
self._display_name = None
|
100
|
+
self._connector_type = None
|
101
|
+
self._freeform_tags = None
|
102
|
+
self._defined_tags = None
|
103
|
+
self._locks = None
|
104
|
+
self._endpoints = None
|
105
|
+
self._bind_distinguished_name = None
|
106
|
+
self._password_secret_id = None
|
107
|
+
self._password_secret_version = None
|
108
|
+
self._connector_type = 'LDAPBIND'
|
109
|
+
|
110
|
+
@property
|
111
|
+
def endpoints(self):
|
112
|
+
"""
|
113
|
+
**[Required]** Gets the endpoints of this CreateLdapBindAccountDetails.
|
114
|
+
Array of server endpoints to use when connecting with the LDAP bind account.
|
115
|
+
|
116
|
+
|
117
|
+
:return: The endpoints of this CreateLdapBindAccountDetails.
|
118
|
+
:rtype: list[oci.file_storage.models.Endpoint]
|
119
|
+
"""
|
120
|
+
return self._endpoints
|
121
|
+
|
122
|
+
@endpoints.setter
|
123
|
+
def endpoints(self, endpoints):
|
124
|
+
"""
|
125
|
+
Sets the endpoints of this CreateLdapBindAccountDetails.
|
126
|
+
Array of server endpoints to use when connecting with the LDAP bind account.
|
127
|
+
|
128
|
+
|
129
|
+
:param endpoints: The endpoints of this CreateLdapBindAccountDetails.
|
130
|
+
:type: list[oci.file_storage.models.Endpoint]
|
131
|
+
"""
|
132
|
+
self._endpoints = endpoints
|
133
|
+
|
134
|
+
@property
|
135
|
+
def bind_distinguished_name(self):
|
136
|
+
"""
|
137
|
+
**[Required]** Gets the bind_distinguished_name of this CreateLdapBindAccountDetails.
|
138
|
+
The LDAP Distinguished Name of the bind account.
|
139
|
+
|
140
|
+
|
141
|
+
:return: The bind_distinguished_name of this CreateLdapBindAccountDetails.
|
142
|
+
:rtype: str
|
143
|
+
"""
|
144
|
+
return self._bind_distinguished_name
|
145
|
+
|
146
|
+
@bind_distinguished_name.setter
|
147
|
+
def bind_distinguished_name(self, bind_distinguished_name):
|
148
|
+
"""
|
149
|
+
Sets the bind_distinguished_name of this CreateLdapBindAccountDetails.
|
150
|
+
The LDAP Distinguished Name of the bind account.
|
151
|
+
|
152
|
+
|
153
|
+
:param bind_distinguished_name: The bind_distinguished_name of this CreateLdapBindAccountDetails.
|
154
|
+
:type: str
|
155
|
+
"""
|
156
|
+
self._bind_distinguished_name = bind_distinguished_name
|
157
|
+
|
158
|
+
@property
|
159
|
+
def password_secret_id(self):
|
160
|
+
"""
|
161
|
+
Gets the password_secret_id of this CreateLdapBindAccountDetails.
|
162
|
+
The `OCID`__ of the password for the LDAP bind account in the Vault.
|
163
|
+
|
164
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
165
|
+
|
166
|
+
|
167
|
+
:return: The password_secret_id of this CreateLdapBindAccountDetails.
|
168
|
+
:rtype: str
|
169
|
+
"""
|
170
|
+
return self._password_secret_id
|
171
|
+
|
172
|
+
@password_secret_id.setter
|
173
|
+
def password_secret_id(self, password_secret_id):
|
174
|
+
"""
|
175
|
+
Sets the password_secret_id of this CreateLdapBindAccountDetails.
|
176
|
+
The `OCID`__ of the password for the LDAP bind account in the Vault.
|
177
|
+
|
178
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
179
|
+
|
180
|
+
|
181
|
+
:param password_secret_id: The password_secret_id of this CreateLdapBindAccountDetails.
|
182
|
+
:type: str
|
183
|
+
"""
|
184
|
+
self._password_secret_id = password_secret_id
|
185
|
+
|
186
|
+
@property
|
187
|
+
def password_secret_version(self):
|
188
|
+
"""
|
189
|
+
Gets the password_secret_version of this CreateLdapBindAccountDetails.
|
190
|
+
Version of the password secret in the Vault to use.
|
191
|
+
|
192
|
+
|
193
|
+
:return: The password_secret_version of this CreateLdapBindAccountDetails.
|
194
|
+
:rtype: int
|
195
|
+
"""
|
196
|
+
return self._password_secret_version
|
197
|
+
|
198
|
+
@password_secret_version.setter
|
199
|
+
def password_secret_version(self, password_secret_version):
|
200
|
+
"""
|
201
|
+
Sets the password_secret_version of this CreateLdapBindAccountDetails.
|
202
|
+
Version of the password secret in the Vault to use.
|
203
|
+
|
204
|
+
|
205
|
+
:param password_secret_version: The password_secret_version of this CreateLdapBindAccountDetails.
|
206
|
+
:type: int
|
207
|
+
"""
|
208
|
+
self._password_secret_version = password_secret_version
|
209
|
+
|
210
|
+
def __repr__(self):
|
211
|
+
return formatted_flat_dict(self)
|
212
|
+
|
213
|
+
def __eq__(self, other):
|
214
|
+
if other is None:
|
215
|
+
return False
|
216
|
+
|
217
|
+
return self.__dict__ == other.__dict__
|
218
|
+
|
219
|
+
def __ne__(self, other):
|
220
|
+
return not self == other
|
@@ -0,0 +1,317 @@
|
|
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 CreateLdapIdmapDetails(object):
|
14
|
+
"""
|
15
|
+
Mount target details about the LDAP ID mapping configuration.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the schema_type property of a CreateLdapIdmapDetails.
|
19
|
+
#: This constant has a value of "RFC2307"
|
20
|
+
SCHEMA_TYPE_RFC2307 = "RFC2307"
|
21
|
+
|
22
|
+
def __init__(self, **kwargs):
|
23
|
+
"""
|
24
|
+
Initializes a new CreateLdapIdmapDetails object with values from keyword arguments.
|
25
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
26
|
+
|
27
|
+
:param schema_type:
|
28
|
+
The value to assign to the schema_type property of this CreateLdapIdmapDetails.
|
29
|
+
Allowed values for this property are: "RFC2307"
|
30
|
+
:type schema_type: str
|
31
|
+
|
32
|
+
:param cache_refresh_interval_seconds:
|
33
|
+
The value to assign to the cache_refresh_interval_seconds property of this CreateLdapIdmapDetails.
|
34
|
+
:type cache_refresh_interval_seconds: int
|
35
|
+
|
36
|
+
:param cache_lifetime_seconds:
|
37
|
+
The value to assign to the cache_lifetime_seconds property of this CreateLdapIdmapDetails.
|
38
|
+
:type cache_lifetime_seconds: int
|
39
|
+
|
40
|
+
:param negative_cache_lifetime_seconds:
|
41
|
+
The value to assign to the negative_cache_lifetime_seconds property of this CreateLdapIdmapDetails.
|
42
|
+
:type negative_cache_lifetime_seconds: int
|
43
|
+
|
44
|
+
:param user_search_base:
|
45
|
+
The value to assign to the user_search_base property of this CreateLdapIdmapDetails.
|
46
|
+
:type user_search_base: str
|
47
|
+
|
48
|
+
:param group_search_base:
|
49
|
+
The value to assign to the group_search_base property of this CreateLdapIdmapDetails.
|
50
|
+
:type group_search_base: str
|
51
|
+
|
52
|
+
:param outbound_connector1_id:
|
53
|
+
The value to assign to the outbound_connector1_id property of this CreateLdapIdmapDetails.
|
54
|
+
:type outbound_connector1_id: str
|
55
|
+
|
56
|
+
:param outbound_connector2_id:
|
57
|
+
The value to assign to the outbound_connector2_id property of this CreateLdapIdmapDetails.
|
58
|
+
:type outbound_connector2_id: str
|
59
|
+
|
60
|
+
"""
|
61
|
+
self.swagger_types = {
|
62
|
+
'schema_type': 'str',
|
63
|
+
'cache_refresh_interval_seconds': 'int',
|
64
|
+
'cache_lifetime_seconds': 'int',
|
65
|
+
'negative_cache_lifetime_seconds': 'int',
|
66
|
+
'user_search_base': 'str',
|
67
|
+
'group_search_base': 'str',
|
68
|
+
'outbound_connector1_id': 'str',
|
69
|
+
'outbound_connector2_id': 'str'
|
70
|
+
}
|
71
|
+
|
72
|
+
self.attribute_map = {
|
73
|
+
'schema_type': 'schemaType',
|
74
|
+
'cache_refresh_interval_seconds': 'cacheRefreshIntervalSeconds',
|
75
|
+
'cache_lifetime_seconds': 'cacheLifetimeSeconds',
|
76
|
+
'negative_cache_lifetime_seconds': 'negativeCacheLifetimeSeconds',
|
77
|
+
'user_search_base': 'userSearchBase',
|
78
|
+
'group_search_base': 'groupSearchBase',
|
79
|
+
'outbound_connector1_id': 'outboundConnector1Id',
|
80
|
+
'outbound_connector2_id': 'outboundConnector2Id'
|
81
|
+
}
|
82
|
+
|
83
|
+
self._schema_type = None
|
84
|
+
self._cache_refresh_interval_seconds = None
|
85
|
+
self._cache_lifetime_seconds = None
|
86
|
+
self._negative_cache_lifetime_seconds = None
|
87
|
+
self._user_search_base = None
|
88
|
+
self._group_search_base = None
|
89
|
+
self._outbound_connector1_id = None
|
90
|
+
self._outbound_connector2_id = None
|
91
|
+
|
92
|
+
@property
|
93
|
+
def schema_type(self):
|
94
|
+
"""
|
95
|
+
Gets the schema_type of this CreateLdapIdmapDetails.
|
96
|
+
Schema type of the LDAP account.
|
97
|
+
|
98
|
+
Allowed values for this property are: "RFC2307"
|
99
|
+
|
100
|
+
|
101
|
+
:return: The schema_type of this CreateLdapIdmapDetails.
|
102
|
+
:rtype: str
|
103
|
+
"""
|
104
|
+
return self._schema_type
|
105
|
+
|
106
|
+
@schema_type.setter
|
107
|
+
def schema_type(self, schema_type):
|
108
|
+
"""
|
109
|
+
Sets the schema_type of this CreateLdapIdmapDetails.
|
110
|
+
Schema type of the LDAP account.
|
111
|
+
|
112
|
+
|
113
|
+
:param schema_type: The schema_type of this CreateLdapIdmapDetails.
|
114
|
+
:type: str
|
115
|
+
"""
|
116
|
+
allowed_values = ["RFC2307"]
|
117
|
+
if not value_allowed_none_or_none_sentinel(schema_type, allowed_values):
|
118
|
+
raise ValueError(
|
119
|
+
f"Invalid value for `schema_type`, must be None or one of {allowed_values}"
|
120
|
+
)
|
121
|
+
self._schema_type = schema_type
|
122
|
+
|
123
|
+
@property
|
124
|
+
def cache_refresh_interval_seconds(self):
|
125
|
+
"""
|
126
|
+
Gets the cache_refresh_interval_seconds of this CreateLdapIdmapDetails.
|
127
|
+
The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
|
128
|
+
|
129
|
+
|
130
|
+
:return: The cache_refresh_interval_seconds of this CreateLdapIdmapDetails.
|
131
|
+
:rtype: int
|
132
|
+
"""
|
133
|
+
return self._cache_refresh_interval_seconds
|
134
|
+
|
135
|
+
@cache_refresh_interval_seconds.setter
|
136
|
+
def cache_refresh_interval_seconds(self, cache_refresh_interval_seconds):
|
137
|
+
"""
|
138
|
+
Sets the cache_refresh_interval_seconds of this CreateLdapIdmapDetails.
|
139
|
+
The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
|
140
|
+
|
141
|
+
|
142
|
+
:param cache_refresh_interval_seconds: The cache_refresh_interval_seconds of this CreateLdapIdmapDetails.
|
143
|
+
:type: int
|
144
|
+
"""
|
145
|
+
self._cache_refresh_interval_seconds = cache_refresh_interval_seconds
|
146
|
+
|
147
|
+
@property
|
148
|
+
def cache_lifetime_seconds(self):
|
149
|
+
"""
|
150
|
+
Gets the cache_lifetime_seconds of this CreateLdapIdmapDetails.
|
151
|
+
The maximum amount of time the mount target is allowed to use a cached entry.
|
152
|
+
|
153
|
+
|
154
|
+
:return: The cache_lifetime_seconds of this CreateLdapIdmapDetails.
|
155
|
+
:rtype: int
|
156
|
+
"""
|
157
|
+
return self._cache_lifetime_seconds
|
158
|
+
|
159
|
+
@cache_lifetime_seconds.setter
|
160
|
+
def cache_lifetime_seconds(self, cache_lifetime_seconds):
|
161
|
+
"""
|
162
|
+
Sets the cache_lifetime_seconds of this CreateLdapIdmapDetails.
|
163
|
+
The maximum amount of time the mount target is allowed to use a cached entry.
|
164
|
+
|
165
|
+
|
166
|
+
:param cache_lifetime_seconds: The cache_lifetime_seconds of this CreateLdapIdmapDetails.
|
167
|
+
:type: int
|
168
|
+
"""
|
169
|
+
self._cache_lifetime_seconds = cache_lifetime_seconds
|
170
|
+
|
171
|
+
@property
|
172
|
+
def negative_cache_lifetime_seconds(self):
|
173
|
+
"""
|
174
|
+
Gets the negative_cache_lifetime_seconds of this CreateLdapIdmapDetails.
|
175
|
+
The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
|
176
|
+
|
177
|
+
|
178
|
+
:return: The negative_cache_lifetime_seconds of this CreateLdapIdmapDetails.
|
179
|
+
:rtype: int
|
180
|
+
"""
|
181
|
+
return self._negative_cache_lifetime_seconds
|
182
|
+
|
183
|
+
@negative_cache_lifetime_seconds.setter
|
184
|
+
def negative_cache_lifetime_seconds(self, negative_cache_lifetime_seconds):
|
185
|
+
"""
|
186
|
+
Sets the negative_cache_lifetime_seconds of this CreateLdapIdmapDetails.
|
187
|
+
The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
|
188
|
+
|
189
|
+
|
190
|
+
:param negative_cache_lifetime_seconds: The negative_cache_lifetime_seconds of this CreateLdapIdmapDetails.
|
191
|
+
:type: int
|
192
|
+
"""
|
193
|
+
self._negative_cache_lifetime_seconds = negative_cache_lifetime_seconds
|
194
|
+
|
195
|
+
@property
|
196
|
+
def user_search_base(self):
|
197
|
+
"""
|
198
|
+
Gets the user_search_base of this CreateLdapIdmapDetails.
|
199
|
+
All LDAP searches are recursive starting at this user.
|
200
|
+
|
201
|
+
Example: `CN=User,DC=domain,DC=com`
|
202
|
+
|
203
|
+
|
204
|
+
:return: The user_search_base of this CreateLdapIdmapDetails.
|
205
|
+
:rtype: str
|
206
|
+
"""
|
207
|
+
return self._user_search_base
|
208
|
+
|
209
|
+
@user_search_base.setter
|
210
|
+
def user_search_base(self, user_search_base):
|
211
|
+
"""
|
212
|
+
Sets the user_search_base of this CreateLdapIdmapDetails.
|
213
|
+
All LDAP searches are recursive starting at this user.
|
214
|
+
|
215
|
+
Example: `CN=User,DC=domain,DC=com`
|
216
|
+
|
217
|
+
|
218
|
+
:param user_search_base: The user_search_base of this CreateLdapIdmapDetails.
|
219
|
+
:type: str
|
220
|
+
"""
|
221
|
+
self._user_search_base = user_search_base
|
222
|
+
|
223
|
+
@property
|
224
|
+
def group_search_base(self):
|
225
|
+
"""
|
226
|
+
Gets the group_search_base of this CreateLdapIdmapDetails.
|
227
|
+
All LDAP searches are recursive starting at this group.
|
228
|
+
|
229
|
+
Example: `CN=Group,DC=domain,DC=com`
|
230
|
+
|
231
|
+
|
232
|
+
:return: The group_search_base of this CreateLdapIdmapDetails.
|
233
|
+
:rtype: str
|
234
|
+
"""
|
235
|
+
return self._group_search_base
|
236
|
+
|
237
|
+
@group_search_base.setter
|
238
|
+
def group_search_base(self, group_search_base):
|
239
|
+
"""
|
240
|
+
Sets the group_search_base of this CreateLdapIdmapDetails.
|
241
|
+
All LDAP searches are recursive starting at this group.
|
242
|
+
|
243
|
+
Example: `CN=Group,DC=domain,DC=com`
|
244
|
+
|
245
|
+
|
246
|
+
:param group_search_base: The group_search_base of this CreateLdapIdmapDetails.
|
247
|
+
:type: str
|
248
|
+
"""
|
249
|
+
self._group_search_base = group_search_base
|
250
|
+
|
251
|
+
@property
|
252
|
+
def outbound_connector1_id(self):
|
253
|
+
"""
|
254
|
+
Gets the outbound_connector1_id of this CreateLdapIdmapDetails.
|
255
|
+
The `OCID`__ of the first connector to use to communicate with the LDAP server.
|
256
|
+
|
257
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
258
|
+
|
259
|
+
|
260
|
+
:return: The outbound_connector1_id of this CreateLdapIdmapDetails.
|
261
|
+
:rtype: str
|
262
|
+
"""
|
263
|
+
return self._outbound_connector1_id
|
264
|
+
|
265
|
+
@outbound_connector1_id.setter
|
266
|
+
def outbound_connector1_id(self, outbound_connector1_id):
|
267
|
+
"""
|
268
|
+
Sets the outbound_connector1_id of this CreateLdapIdmapDetails.
|
269
|
+
The `OCID`__ of the first connector to use to communicate with the LDAP server.
|
270
|
+
|
271
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
272
|
+
|
273
|
+
|
274
|
+
:param outbound_connector1_id: The outbound_connector1_id of this CreateLdapIdmapDetails.
|
275
|
+
:type: str
|
276
|
+
"""
|
277
|
+
self._outbound_connector1_id = outbound_connector1_id
|
278
|
+
|
279
|
+
@property
|
280
|
+
def outbound_connector2_id(self):
|
281
|
+
"""
|
282
|
+
Gets the outbound_connector2_id of this CreateLdapIdmapDetails.
|
283
|
+
The `OCID`__ of the second connector to use to communicate with the LDAP server.
|
284
|
+
|
285
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
286
|
+
|
287
|
+
|
288
|
+
:return: The outbound_connector2_id of this CreateLdapIdmapDetails.
|
289
|
+
:rtype: str
|
290
|
+
"""
|
291
|
+
return self._outbound_connector2_id
|
292
|
+
|
293
|
+
@outbound_connector2_id.setter
|
294
|
+
def outbound_connector2_id(self, outbound_connector2_id):
|
295
|
+
"""
|
296
|
+
Sets the outbound_connector2_id of this CreateLdapIdmapDetails.
|
297
|
+
The `OCID`__ of the second connector to use to communicate with the LDAP server.
|
298
|
+
|
299
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
300
|
+
|
301
|
+
|
302
|
+
:param outbound_connector2_id: The outbound_connector2_id of this CreateLdapIdmapDetails.
|
303
|
+
:type: str
|
304
|
+
"""
|
305
|
+
self._outbound_connector2_id = outbound_connector2_id
|
306
|
+
|
307
|
+
def __repr__(self):
|
308
|
+
return formatted_flat_dict(self)
|
309
|
+
|
310
|
+
def __eq__(self, other):
|
311
|
+
if other is None:
|
312
|
+
return False
|
313
|
+
|
314
|
+
return self.__dict__ == other.__dict__
|
315
|
+
|
316
|
+
def __ne__(self, other):
|
317
|
+
return not self == other
|