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,261 @@
|
|
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 CreateSnapshotDetails(object):
|
14
|
+
"""
|
15
|
+
Details for creating the snapshot.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new CreateSnapshotDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param file_system_id:
|
24
|
+
The value to assign to the file_system_id property of this CreateSnapshotDetails.
|
25
|
+
:type file_system_id: str
|
26
|
+
|
27
|
+
:param name:
|
28
|
+
The value to assign to the name property of this CreateSnapshotDetails.
|
29
|
+
:type name: str
|
30
|
+
|
31
|
+
:param expiration_time:
|
32
|
+
The value to assign to the expiration_time property of this CreateSnapshotDetails.
|
33
|
+
:type expiration_time: datetime
|
34
|
+
|
35
|
+
:param freeform_tags:
|
36
|
+
The value to assign to the freeform_tags property of this CreateSnapshotDetails.
|
37
|
+
:type freeform_tags: dict(str, str)
|
38
|
+
|
39
|
+
:param defined_tags:
|
40
|
+
The value to assign to the defined_tags property of this CreateSnapshotDetails.
|
41
|
+
:type defined_tags: dict(str, dict(str, object))
|
42
|
+
|
43
|
+
:param locks:
|
44
|
+
The value to assign to the locks property of this CreateSnapshotDetails.
|
45
|
+
:type locks: list[oci.file_storage.models.ResourceLock]
|
46
|
+
|
47
|
+
"""
|
48
|
+
self.swagger_types = {
|
49
|
+
'file_system_id': 'str',
|
50
|
+
'name': 'str',
|
51
|
+
'expiration_time': 'datetime',
|
52
|
+
'freeform_tags': 'dict(str, str)',
|
53
|
+
'defined_tags': 'dict(str, dict(str, object))',
|
54
|
+
'locks': 'list[ResourceLock]'
|
55
|
+
}
|
56
|
+
|
57
|
+
self.attribute_map = {
|
58
|
+
'file_system_id': 'fileSystemId',
|
59
|
+
'name': 'name',
|
60
|
+
'expiration_time': 'expirationTime',
|
61
|
+
'freeform_tags': 'freeformTags',
|
62
|
+
'defined_tags': 'definedTags',
|
63
|
+
'locks': 'locks'
|
64
|
+
}
|
65
|
+
|
66
|
+
self._file_system_id = None
|
67
|
+
self._name = None
|
68
|
+
self._expiration_time = None
|
69
|
+
self._freeform_tags = None
|
70
|
+
self._defined_tags = None
|
71
|
+
self._locks = None
|
72
|
+
|
73
|
+
@property
|
74
|
+
def file_system_id(self):
|
75
|
+
"""
|
76
|
+
**[Required]** Gets the file_system_id of this CreateSnapshotDetails.
|
77
|
+
The `OCID`__ of the file system to take a snapshot of.
|
78
|
+
|
79
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
80
|
+
|
81
|
+
|
82
|
+
:return: The file_system_id of this CreateSnapshotDetails.
|
83
|
+
:rtype: str
|
84
|
+
"""
|
85
|
+
return self._file_system_id
|
86
|
+
|
87
|
+
@file_system_id.setter
|
88
|
+
def file_system_id(self, file_system_id):
|
89
|
+
"""
|
90
|
+
Sets the file_system_id of this CreateSnapshotDetails.
|
91
|
+
The `OCID`__ of the file system to take a snapshot of.
|
92
|
+
|
93
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
94
|
+
|
95
|
+
|
96
|
+
:param file_system_id: The file_system_id of this CreateSnapshotDetails.
|
97
|
+
:type: str
|
98
|
+
"""
|
99
|
+
self._file_system_id = file_system_id
|
100
|
+
|
101
|
+
@property
|
102
|
+
def name(self):
|
103
|
+
"""
|
104
|
+
**[Required]** Gets the name of this CreateSnapshotDetails.
|
105
|
+
Name of the snapshot. This value is immutable. It must also be unique with respect
|
106
|
+
to all other non-DELETED snapshots on the associated file
|
107
|
+
system.
|
108
|
+
|
109
|
+
Avoid entering confidential information.
|
110
|
+
|
111
|
+
Example: `Sunday`
|
112
|
+
|
113
|
+
|
114
|
+
:return: The name of this CreateSnapshotDetails.
|
115
|
+
:rtype: str
|
116
|
+
"""
|
117
|
+
return self._name
|
118
|
+
|
119
|
+
@name.setter
|
120
|
+
def name(self, name):
|
121
|
+
"""
|
122
|
+
Sets the name of this CreateSnapshotDetails.
|
123
|
+
Name of the snapshot. This value is immutable. It must also be unique with respect
|
124
|
+
to all other non-DELETED snapshots on the associated file
|
125
|
+
system.
|
126
|
+
|
127
|
+
Avoid entering confidential information.
|
128
|
+
|
129
|
+
Example: `Sunday`
|
130
|
+
|
131
|
+
|
132
|
+
:param name: The name of this CreateSnapshotDetails.
|
133
|
+
:type: str
|
134
|
+
"""
|
135
|
+
self._name = name
|
136
|
+
|
137
|
+
@property
|
138
|
+
def expiration_time(self):
|
139
|
+
"""
|
140
|
+
Gets the expiration_time of this CreateSnapshotDetails.
|
141
|
+
The time when this snapshot will be deleted.
|
142
|
+
|
143
|
+
|
144
|
+
:return: The expiration_time of this CreateSnapshotDetails.
|
145
|
+
:rtype: datetime
|
146
|
+
"""
|
147
|
+
return self._expiration_time
|
148
|
+
|
149
|
+
@expiration_time.setter
|
150
|
+
def expiration_time(self, expiration_time):
|
151
|
+
"""
|
152
|
+
Sets the expiration_time of this CreateSnapshotDetails.
|
153
|
+
The time when this snapshot will be deleted.
|
154
|
+
|
155
|
+
|
156
|
+
:param expiration_time: The expiration_time of this CreateSnapshotDetails.
|
157
|
+
:type: datetime
|
158
|
+
"""
|
159
|
+
self._expiration_time = expiration_time
|
160
|
+
|
161
|
+
@property
|
162
|
+
def freeform_tags(self):
|
163
|
+
"""
|
164
|
+
Gets the freeform_tags of this CreateSnapshotDetails.
|
165
|
+
Free-form tags for this resource. Each tag is a simple key-value pair
|
166
|
+
with no predefined name, type, or namespace.
|
167
|
+
For more information, see `Resource Tags`__.
|
168
|
+
Example: `{\"Department\": \"Finance\"}`
|
169
|
+
|
170
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
171
|
+
|
172
|
+
|
173
|
+
:return: The freeform_tags of this CreateSnapshotDetails.
|
174
|
+
:rtype: dict(str, str)
|
175
|
+
"""
|
176
|
+
return self._freeform_tags
|
177
|
+
|
178
|
+
@freeform_tags.setter
|
179
|
+
def freeform_tags(self, freeform_tags):
|
180
|
+
"""
|
181
|
+
Sets the freeform_tags of this CreateSnapshotDetails.
|
182
|
+
Free-form tags for this resource. Each tag is a simple key-value pair
|
183
|
+
with no predefined name, type, or namespace.
|
184
|
+
For more information, see `Resource Tags`__.
|
185
|
+
Example: `{\"Department\": \"Finance\"}`
|
186
|
+
|
187
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
188
|
+
|
189
|
+
|
190
|
+
:param freeform_tags: The freeform_tags of this CreateSnapshotDetails.
|
191
|
+
:type: dict(str, str)
|
192
|
+
"""
|
193
|
+
self._freeform_tags = freeform_tags
|
194
|
+
|
195
|
+
@property
|
196
|
+
def defined_tags(self):
|
197
|
+
"""
|
198
|
+
Gets the defined_tags of this CreateSnapshotDetails.
|
199
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
200
|
+
For more information, see `Resource Tags`__.
|
201
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
202
|
+
|
203
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
204
|
+
|
205
|
+
|
206
|
+
:return: The defined_tags of this CreateSnapshotDetails.
|
207
|
+
:rtype: dict(str, dict(str, object))
|
208
|
+
"""
|
209
|
+
return self._defined_tags
|
210
|
+
|
211
|
+
@defined_tags.setter
|
212
|
+
def defined_tags(self, defined_tags):
|
213
|
+
"""
|
214
|
+
Sets the defined_tags of this CreateSnapshotDetails.
|
215
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
216
|
+
For more information, see `Resource Tags`__.
|
217
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
218
|
+
|
219
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
220
|
+
|
221
|
+
|
222
|
+
:param defined_tags: The defined_tags of this CreateSnapshotDetails.
|
223
|
+
:type: dict(str, dict(str, object))
|
224
|
+
"""
|
225
|
+
self._defined_tags = defined_tags
|
226
|
+
|
227
|
+
@property
|
228
|
+
def locks(self):
|
229
|
+
"""
|
230
|
+
Gets the locks of this CreateSnapshotDetails.
|
231
|
+
Locks associated with this resource.
|
232
|
+
|
233
|
+
|
234
|
+
:return: The locks of this CreateSnapshotDetails.
|
235
|
+
:rtype: list[oci.file_storage.models.ResourceLock]
|
236
|
+
"""
|
237
|
+
return self._locks
|
238
|
+
|
239
|
+
@locks.setter
|
240
|
+
def locks(self, locks):
|
241
|
+
"""
|
242
|
+
Sets the locks of this CreateSnapshotDetails.
|
243
|
+
Locks associated with this resource.
|
244
|
+
|
245
|
+
|
246
|
+
:param locks: The locks of this CreateSnapshotDetails.
|
247
|
+
:type: list[oci.file_storage.models.ResourceLock]
|
248
|
+
"""
|
249
|
+
self._locks = locks
|
250
|
+
|
251
|
+
def __repr__(self):
|
252
|
+
return formatted_flat_dict(self)
|
253
|
+
|
254
|
+
def __eq__(self, other):
|
255
|
+
if other is None:
|
256
|
+
return False
|
257
|
+
|
258
|
+
return self.__dict__ == other.__dict__
|
259
|
+
|
260
|
+
def __ne__(self, other):
|
261
|
+
return not self == other
|
@@ -0,0 +1,103 @@
|
|
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 Endpoint(object):
|
14
|
+
"""
|
15
|
+
Combination of DNS server name and port.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new Endpoint object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param hostname:
|
24
|
+
The value to assign to the hostname property of this Endpoint.
|
25
|
+
:type hostname: str
|
26
|
+
|
27
|
+
:param port:
|
28
|
+
The value to assign to the port property of this Endpoint.
|
29
|
+
:type port: int
|
30
|
+
|
31
|
+
"""
|
32
|
+
self.swagger_types = {
|
33
|
+
'hostname': 'str',
|
34
|
+
'port': 'int'
|
35
|
+
}
|
36
|
+
|
37
|
+
self.attribute_map = {
|
38
|
+
'hostname': 'hostname',
|
39
|
+
'port': 'port'
|
40
|
+
}
|
41
|
+
|
42
|
+
self._hostname = None
|
43
|
+
self._port = None
|
44
|
+
|
45
|
+
@property
|
46
|
+
def hostname(self):
|
47
|
+
"""
|
48
|
+
**[Required]** Gets the hostname of this Endpoint.
|
49
|
+
Name of the DNS server.
|
50
|
+
|
51
|
+
|
52
|
+
:return: The hostname of this Endpoint.
|
53
|
+
:rtype: str
|
54
|
+
"""
|
55
|
+
return self._hostname
|
56
|
+
|
57
|
+
@hostname.setter
|
58
|
+
def hostname(self, hostname):
|
59
|
+
"""
|
60
|
+
Sets the hostname of this Endpoint.
|
61
|
+
Name of the DNS server.
|
62
|
+
|
63
|
+
|
64
|
+
:param hostname: The hostname of this Endpoint.
|
65
|
+
:type: str
|
66
|
+
"""
|
67
|
+
self._hostname = hostname
|
68
|
+
|
69
|
+
@property
|
70
|
+
def port(self):
|
71
|
+
"""
|
72
|
+
**[Required]** Gets the port of this Endpoint.
|
73
|
+
Port of the DNS server.
|
74
|
+
|
75
|
+
|
76
|
+
:return: The port of this Endpoint.
|
77
|
+
:rtype: int
|
78
|
+
"""
|
79
|
+
return self._port
|
80
|
+
|
81
|
+
@port.setter
|
82
|
+
def port(self, port):
|
83
|
+
"""
|
84
|
+
Sets the port of this Endpoint.
|
85
|
+
Port of the DNS server.
|
86
|
+
|
87
|
+
|
88
|
+
:param port: The port of this Endpoint.
|
89
|
+
:type: int
|
90
|
+
"""
|
91
|
+
self._port = port
|
92
|
+
|
93
|
+
def __repr__(self):
|
94
|
+
return formatted_flat_dict(self)
|
95
|
+
|
96
|
+
def __eq__(self, other):
|
97
|
+
if other is None:
|
98
|
+
return False
|
99
|
+
|
100
|
+
return self.__dict__ == other.__dict__
|
101
|
+
|
102
|
+
def __ne__(self, other):
|
103
|
+
return not self == other
|