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,188 @@
|
|
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: 20170115
|
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 Certificate(object):
|
14
|
+
"""
|
15
|
+
The configuration details of a certificate bundle.
|
16
|
+
For more information on SSL certficate configuration, see
|
17
|
+
`Managing SSL Certificates`__.
|
18
|
+
|
19
|
+
**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
20
|
+
|
21
|
+
__ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingcertificates.htm
|
22
|
+
"""
|
23
|
+
|
24
|
+
def __init__(self, **kwargs):
|
25
|
+
"""
|
26
|
+
Initializes a new Certificate object with values from keyword arguments.
|
27
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
28
|
+
|
29
|
+
:param certificate_name:
|
30
|
+
The value to assign to the certificate_name property of this Certificate.
|
31
|
+
:type certificate_name: str
|
32
|
+
|
33
|
+
:param public_certificate:
|
34
|
+
The value to assign to the public_certificate property of this Certificate.
|
35
|
+
:type public_certificate: str
|
36
|
+
|
37
|
+
:param ca_certificate:
|
38
|
+
The value to assign to the ca_certificate property of this Certificate.
|
39
|
+
:type ca_certificate: str
|
40
|
+
|
41
|
+
"""
|
42
|
+
self.swagger_types = {
|
43
|
+
'certificate_name': 'str',
|
44
|
+
'public_certificate': 'str',
|
45
|
+
'ca_certificate': 'str'
|
46
|
+
}
|
47
|
+
|
48
|
+
self.attribute_map = {
|
49
|
+
'certificate_name': 'certificateName',
|
50
|
+
'public_certificate': 'publicCertificate',
|
51
|
+
'ca_certificate': 'caCertificate'
|
52
|
+
}
|
53
|
+
|
54
|
+
self._certificate_name = None
|
55
|
+
self._public_certificate = None
|
56
|
+
self._ca_certificate = None
|
57
|
+
|
58
|
+
@property
|
59
|
+
def certificate_name(self):
|
60
|
+
"""
|
61
|
+
**[Required]** Gets the certificate_name of this Certificate.
|
62
|
+
A friendly name for the certificate bundle. It must be unique and it cannot be changed.
|
63
|
+
Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
|
64
|
+
Certificate bundle names cannot contain spaces. Avoid entering confidential information.
|
65
|
+
|
66
|
+
Example: `example_certificate_bundle`
|
67
|
+
|
68
|
+
|
69
|
+
:return: The certificate_name of this Certificate.
|
70
|
+
:rtype: str
|
71
|
+
"""
|
72
|
+
return self._certificate_name
|
73
|
+
|
74
|
+
@certificate_name.setter
|
75
|
+
def certificate_name(self, certificate_name):
|
76
|
+
"""
|
77
|
+
Sets the certificate_name of this Certificate.
|
78
|
+
A friendly name for the certificate bundle. It must be unique and it cannot be changed.
|
79
|
+
Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
|
80
|
+
Certificate bundle names cannot contain spaces. Avoid entering confidential information.
|
81
|
+
|
82
|
+
Example: `example_certificate_bundle`
|
83
|
+
|
84
|
+
|
85
|
+
:param certificate_name: The certificate_name of this Certificate.
|
86
|
+
:type: str
|
87
|
+
"""
|
88
|
+
self._certificate_name = certificate_name
|
89
|
+
|
90
|
+
@property
|
91
|
+
def public_certificate(self):
|
92
|
+
"""
|
93
|
+
**[Required]** Gets the public_certificate of this Certificate.
|
94
|
+
The public certificate, in PEM format, that you received from your SSL certificate provider.
|
95
|
+
|
96
|
+
Example:
|
97
|
+
|
98
|
+
-----BEGIN CERTIFICATE-----
|
99
|
+
MIIC2jCCAkMCAg38MA0GCSqGSIb3DQEBBQUAMIGbMQswCQYDVQQGEwJKUDEOMAwG
|
100
|
+
A1UECBMFVG9reW8xEDAOBgNVBAcTB0NodW8ta3UxETAPBgNVBAoTCEZyYW5rNERE
|
101
|
+
MRgwFgYDVQQLEw9XZWJDZXJ0IFN1cHBvcnQxGDAWBgNVBAMTD0ZyYW5rNEREIFdl
|
102
|
+
YiBDQTEjMCEGCSqGSIb3DQEJARYUc3VwcG9ydEBmcmFuazRkZC5jb20wHhcNMTIw
|
103
|
+
...
|
104
|
+
-----END CERTIFICATE-----
|
105
|
+
|
106
|
+
|
107
|
+
:return: The public_certificate of this Certificate.
|
108
|
+
:rtype: str
|
109
|
+
"""
|
110
|
+
return self._public_certificate
|
111
|
+
|
112
|
+
@public_certificate.setter
|
113
|
+
def public_certificate(self, public_certificate):
|
114
|
+
"""
|
115
|
+
Sets the public_certificate of this Certificate.
|
116
|
+
The public certificate, in PEM format, that you received from your SSL certificate provider.
|
117
|
+
|
118
|
+
Example:
|
119
|
+
|
120
|
+
-----BEGIN CERTIFICATE-----
|
121
|
+
MIIC2jCCAkMCAg38MA0GCSqGSIb3DQEBBQUAMIGbMQswCQYDVQQGEwJKUDEOMAwG
|
122
|
+
A1UECBMFVG9reW8xEDAOBgNVBAcTB0NodW8ta3UxETAPBgNVBAoTCEZyYW5rNERE
|
123
|
+
MRgwFgYDVQQLEw9XZWJDZXJ0IFN1cHBvcnQxGDAWBgNVBAMTD0ZyYW5rNEREIFdl
|
124
|
+
YiBDQTEjMCEGCSqGSIb3DQEJARYUc3VwcG9ydEBmcmFuazRkZC5jb20wHhcNMTIw
|
125
|
+
...
|
126
|
+
-----END CERTIFICATE-----
|
127
|
+
|
128
|
+
|
129
|
+
:param public_certificate: The public_certificate of this Certificate.
|
130
|
+
:type: str
|
131
|
+
"""
|
132
|
+
self._public_certificate = public_certificate
|
133
|
+
|
134
|
+
@property
|
135
|
+
def ca_certificate(self):
|
136
|
+
"""
|
137
|
+
**[Required]** Gets the ca_certificate of this Certificate.
|
138
|
+
The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider.
|
139
|
+
|
140
|
+
Example:
|
141
|
+
|
142
|
+
-----BEGIN CERTIFICATE-----
|
143
|
+
MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix
|
144
|
+
EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD
|
145
|
+
VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y
|
146
|
+
aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy
|
147
|
+
...
|
148
|
+
-----END CERTIFICATE-----
|
149
|
+
|
150
|
+
|
151
|
+
:return: The ca_certificate of this Certificate.
|
152
|
+
:rtype: str
|
153
|
+
"""
|
154
|
+
return self._ca_certificate
|
155
|
+
|
156
|
+
@ca_certificate.setter
|
157
|
+
def ca_certificate(self, ca_certificate):
|
158
|
+
"""
|
159
|
+
Sets the ca_certificate of this Certificate.
|
160
|
+
The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider.
|
161
|
+
|
162
|
+
Example:
|
163
|
+
|
164
|
+
-----BEGIN CERTIFICATE-----
|
165
|
+
MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix
|
166
|
+
EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD
|
167
|
+
VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y
|
168
|
+
aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy
|
169
|
+
...
|
170
|
+
-----END CERTIFICATE-----
|
171
|
+
|
172
|
+
|
173
|
+
:param ca_certificate: The ca_certificate of this Certificate.
|
174
|
+
:type: str
|
175
|
+
"""
|
176
|
+
self._ca_certificate = ca_certificate
|
177
|
+
|
178
|
+
def __repr__(self):
|
179
|
+
return formatted_flat_dict(self)
|
180
|
+
|
181
|
+
def __eq__(self, other):
|
182
|
+
if other is None:
|
183
|
+
return False
|
184
|
+
|
185
|
+
return self.__dict__ == other.__dict__
|
186
|
+
|
187
|
+
def __ne__(self, other):
|
188
|
+
return not self == other
|
@@ -0,0 +1,270 @@
|
|
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: 20170115
|
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 CertificateDetails(object):
|
14
|
+
"""
|
15
|
+
The configuration details for a certificate bundle.
|
16
|
+
For more information on SSL certficate configuration, see
|
17
|
+
`Managing SSL Certificates`__.
|
18
|
+
|
19
|
+
**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
20
|
+
|
21
|
+
__ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingcertificates.htm
|
22
|
+
"""
|
23
|
+
|
24
|
+
def __init__(self, **kwargs):
|
25
|
+
"""
|
26
|
+
Initializes a new CertificateDetails object with values from keyword arguments.
|
27
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
28
|
+
|
29
|
+
:param passphrase:
|
30
|
+
The value to assign to the passphrase property of this CertificateDetails.
|
31
|
+
:type passphrase: str
|
32
|
+
|
33
|
+
:param private_key:
|
34
|
+
The value to assign to the private_key property of this CertificateDetails.
|
35
|
+
:type private_key: str
|
36
|
+
|
37
|
+
:param public_certificate:
|
38
|
+
The value to assign to the public_certificate property of this CertificateDetails.
|
39
|
+
:type public_certificate: str
|
40
|
+
|
41
|
+
:param ca_certificate:
|
42
|
+
The value to assign to the ca_certificate property of this CertificateDetails.
|
43
|
+
:type ca_certificate: str
|
44
|
+
|
45
|
+
:param certificate_name:
|
46
|
+
The value to assign to the certificate_name property of this CertificateDetails.
|
47
|
+
:type certificate_name: str
|
48
|
+
|
49
|
+
"""
|
50
|
+
self.swagger_types = {
|
51
|
+
'passphrase': 'str',
|
52
|
+
'private_key': 'str',
|
53
|
+
'public_certificate': 'str',
|
54
|
+
'ca_certificate': 'str',
|
55
|
+
'certificate_name': 'str'
|
56
|
+
}
|
57
|
+
|
58
|
+
self.attribute_map = {
|
59
|
+
'passphrase': 'passphrase',
|
60
|
+
'private_key': 'privateKey',
|
61
|
+
'public_certificate': 'publicCertificate',
|
62
|
+
'ca_certificate': 'caCertificate',
|
63
|
+
'certificate_name': 'certificateName'
|
64
|
+
}
|
65
|
+
|
66
|
+
self._passphrase = None
|
67
|
+
self._private_key = None
|
68
|
+
self._public_certificate = None
|
69
|
+
self._ca_certificate = None
|
70
|
+
self._certificate_name = None
|
71
|
+
|
72
|
+
@property
|
73
|
+
def passphrase(self):
|
74
|
+
"""
|
75
|
+
Gets the passphrase of this CertificateDetails.
|
76
|
+
A passphrase for encrypted private keys. This is needed only if you created your certificate with a passphrase.
|
77
|
+
|
78
|
+
|
79
|
+
:return: The passphrase of this CertificateDetails.
|
80
|
+
:rtype: str
|
81
|
+
"""
|
82
|
+
return self._passphrase
|
83
|
+
|
84
|
+
@passphrase.setter
|
85
|
+
def passphrase(self, passphrase):
|
86
|
+
"""
|
87
|
+
Sets the passphrase of this CertificateDetails.
|
88
|
+
A passphrase for encrypted private keys. This is needed only if you created your certificate with a passphrase.
|
89
|
+
|
90
|
+
|
91
|
+
:param passphrase: The passphrase of this CertificateDetails.
|
92
|
+
:type: str
|
93
|
+
"""
|
94
|
+
self._passphrase = passphrase
|
95
|
+
|
96
|
+
@property
|
97
|
+
def private_key(self):
|
98
|
+
"""
|
99
|
+
Gets the private_key of this CertificateDetails.
|
100
|
+
The SSL private key for your certificate, in PEM format.
|
101
|
+
|
102
|
+
Example:
|
103
|
+
|
104
|
+
-----BEGIN RSA PRIVATE KEY-----
|
105
|
+
jO1O1v2ftXMsawM90tnXwc6xhOAT1gDBC9S8DKeca..JZNUgYYwNS0dP2UK
|
106
|
+
tmyN+XqVcAKw4HqVmChXy5b5msu8eIq3uc2NqNVtR..2ksSLukP8pxXcHyb
|
107
|
+
+sEwvM4uf8qbnHAqwnOnP9+KV9vds6BaH1eRA4CHz..n+NVZlzBsTxTlS16
|
108
|
+
/Umr7wJzVrMqK5sDiSu4WuaaBdqMGfL5hLsTjcBFD..Da2iyQmSKuVD4lIZ
|
109
|
+
...
|
110
|
+
-----END RSA PRIVATE KEY-----
|
111
|
+
|
112
|
+
|
113
|
+
:return: The private_key of this CertificateDetails.
|
114
|
+
:rtype: str
|
115
|
+
"""
|
116
|
+
return self._private_key
|
117
|
+
|
118
|
+
@private_key.setter
|
119
|
+
def private_key(self, private_key):
|
120
|
+
"""
|
121
|
+
Sets the private_key of this CertificateDetails.
|
122
|
+
The SSL private key for your certificate, in PEM format.
|
123
|
+
|
124
|
+
Example:
|
125
|
+
|
126
|
+
-----BEGIN RSA PRIVATE KEY-----
|
127
|
+
jO1O1v2ftXMsawM90tnXwc6xhOAT1gDBC9S8DKeca..JZNUgYYwNS0dP2UK
|
128
|
+
tmyN+XqVcAKw4HqVmChXy5b5msu8eIq3uc2NqNVtR..2ksSLukP8pxXcHyb
|
129
|
+
+sEwvM4uf8qbnHAqwnOnP9+KV9vds6BaH1eRA4CHz..n+NVZlzBsTxTlS16
|
130
|
+
/Umr7wJzVrMqK5sDiSu4WuaaBdqMGfL5hLsTjcBFD..Da2iyQmSKuVD4lIZ
|
131
|
+
...
|
132
|
+
-----END RSA PRIVATE KEY-----
|
133
|
+
|
134
|
+
|
135
|
+
:param private_key: The private_key of this CertificateDetails.
|
136
|
+
:type: str
|
137
|
+
"""
|
138
|
+
self._private_key = private_key
|
139
|
+
|
140
|
+
@property
|
141
|
+
def public_certificate(self):
|
142
|
+
"""
|
143
|
+
Gets the public_certificate of this CertificateDetails.
|
144
|
+
The public certificate, in PEM format, that you received from your SSL certificate provider.
|
145
|
+
|
146
|
+
Example:
|
147
|
+
|
148
|
+
-----BEGIN CERTIFICATE-----
|
149
|
+
MIIC2jCCAkMCAg38MA0GCSqGSIb3DQEBBQUAMIGbMQswCQYDVQQGEwJKUDEOMAwG
|
150
|
+
A1UECBMFVG9reW8xEDAOBgNVBAcTB0NodW8ta3UxETAPBgNVBAoTCEZyYW5rNERE
|
151
|
+
MRgwFgYDVQQLEw9XZWJDZXJ0IFN1cHBvcnQxGDAWBgNVBAMTD0ZyYW5rNEREIFdl
|
152
|
+
YiBDQTEjMCEGCSqGSIb3DQEJARYUc3VwcG9ydEBmcmFuazRkZC5jb20wHhcNMTIw
|
153
|
+
...
|
154
|
+
-----END CERTIFICATE-----
|
155
|
+
|
156
|
+
|
157
|
+
:return: The public_certificate of this CertificateDetails.
|
158
|
+
:rtype: str
|
159
|
+
"""
|
160
|
+
return self._public_certificate
|
161
|
+
|
162
|
+
@public_certificate.setter
|
163
|
+
def public_certificate(self, public_certificate):
|
164
|
+
"""
|
165
|
+
Sets the public_certificate of this CertificateDetails.
|
166
|
+
The public certificate, in PEM format, that you received from your SSL certificate provider.
|
167
|
+
|
168
|
+
Example:
|
169
|
+
|
170
|
+
-----BEGIN CERTIFICATE-----
|
171
|
+
MIIC2jCCAkMCAg38MA0GCSqGSIb3DQEBBQUAMIGbMQswCQYDVQQGEwJKUDEOMAwG
|
172
|
+
A1UECBMFVG9reW8xEDAOBgNVBAcTB0NodW8ta3UxETAPBgNVBAoTCEZyYW5rNERE
|
173
|
+
MRgwFgYDVQQLEw9XZWJDZXJ0IFN1cHBvcnQxGDAWBgNVBAMTD0ZyYW5rNEREIFdl
|
174
|
+
YiBDQTEjMCEGCSqGSIb3DQEJARYUc3VwcG9ydEBmcmFuazRkZC5jb20wHhcNMTIw
|
175
|
+
...
|
176
|
+
-----END CERTIFICATE-----
|
177
|
+
|
178
|
+
|
179
|
+
:param public_certificate: The public_certificate of this CertificateDetails.
|
180
|
+
:type: str
|
181
|
+
"""
|
182
|
+
self._public_certificate = public_certificate
|
183
|
+
|
184
|
+
@property
|
185
|
+
def ca_certificate(self):
|
186
|
+
"""
|
187
|
+
Gets the ca_certificate of this CertificateDetails.
|
188
|
+
The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider.
|
189
|
+
|
190
|
+
Example:
|
191
|
+
|
192
|
+
-----BEGIN CERTIFICATE-----
|
193
|
+
MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix
|
194
|
+
EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD
|
195
|
+
VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y
|
196
|
+
aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy
|
197
|
+
...
|
198
|
+
-----END CERTIFICATE-----
|
199
|
+
|
200
|
+
|
201
|
+
:return: The ca_certificate of this CertificateDetails.
|
202
|
+
:rtype: str
|
203
|
+
"""
|
204
|
+
return self._ca_certificate
|
205
|
+
|
206
|
+
@ca_certificate.setter
|
207
|
+
def ca_certificate(self, ca_certificate):
|
208
|
+
"""
|
209
|
+
Sets the ca_certificate of this CertificateDetails.
|
210
|
+
The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider.
|
211
|
+
|
212
|
+
Example:
|
213
|
+
|
214
|
+
-----BEGIN CERTIFICATE-----
|
215
|
+
MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix
|
216
|
+
EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD
|
217
|
+
VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y
|
218
|
+
aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy
|
219
|
+
...
|
220
|
+
-----END CERTIFICATE-----
|
221
|
+
|
222
|
+
|
223
|
+
:param ca_certificate: The ca_certificate of this CertificateDetails.
|
224
|
+
:type: str
|
225
|
+
"""
|
226
|
+
self._ca_certificate = ca_certificate
|
227
|
+
|
228
|
+
@property
|
229
|
+
def certificate_name(self):
|
230
|
+
"""
|
231
|
+
**[Required]** Gets the certificate_name of this CertificateDetails.
|
232
|
+
A friendly name for the certificate bundle. It must be unique and it cannot be changed.
|
233
|
+
Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
|
234
|
+
Certificate bundle names cannot contain spaces. Avoid entering confidential information.
|
235
|
+
|
236
|
+
Example: `example_certificate_bundle`
|
237
|
+
|
238
|
+
|
239
|
+
:return: The certificate_name of this CertificateDetails.
|
240
|
+
:rtype: str
|
241
|
+
"""
|
242
|
+
return self._certificate_name
|
243
|
+
|
244
|
+
@certificate_name.setter
|
245
|
+
def certificate_name(self, certificate_name):
|
246
|
+
"""
|
247
|
+
Sets the certificate_name of this CertificateDetails.
|
248
|
+
A friendly name for the certificate bundle. It must be unique and it cannot be changed.
|
249
|
+
Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
|
250
|
+
Certificate bundle names cannot contain spaces. Avoid entering confidential information.
|
251
|
+
|
252
|
+
Example: `example_certificate_bundle`
|
253
|
+
|
254
|
+
|
255
|
+
:param certificate_name: The certificate_name of this CertificateDetails.
|
256
|
+
:type: str
|
257
|
+
"""
|
258
|
+
self._certificate_name = certificate_name
|
259
|
+
|
260
|
+
def __repr__(self):
|
261
|
+
return formatted_flat_dict(self)
|
262
|
+
|
263
|
+
def __eq__(self, other):
|
264
|
+
if other is None:
|
265
|
+
return False
|
266
|
+
|
267
|
+
return self.__dict__ == other.__dict__
|
268
|
+
|
269
|
+
def __ne__(self, other):
|
270
|
+
return not self == other
|
@@ -0,0 +1,78 @@
|
|
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: 20170115
|
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 ChangeLoadBalancerCompartmentDetails(object):
|
14
|
+
"""
|
15
|
+
The configuration details for moving a load balancer to a different compartment.
|
16
|
+
|
17
|
+
**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
18
|
+
"""
|
19
|
+
|
20
|
+
def __init__(self, **kwargs):
|
21
|
+
"""
|
22
|
+
Initializes a new ChangeLoadBalancerCompartmentDetails object with values from keyword arguments.
|
23
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
24
|
+
|
25
|
+
:param compartment_id:
|
26
|
+
The value to assign to the compartment_id property of this ChangeLoadBalancerCompartmentDetails.
|
27
|
+
:type compartment_id: str
|
28
|
+
|
29
|
+
"""
|
30
|
+
self.swagger_types = {
|
31
|
+
'compartment_id': 'str'
|
32
|
+
}
|
33
|
+
|
34
|
+
self.attribute_map = {
|
35
|
+
'compartment_id': 'compartmentId'
|
36
|
+
}
|
37
|
+
|
38
|
+
self._compartment_id = None
|
39
|
+
|
40
|
+
@property
|
41
|
+
def compartment_id(self):
|
42
|
+
"""
|
43
|
+
**[Required]** Gets the compartment_id of this ChangeLoadBalancerCompartmentDetails.
|
44
|
+
The `OCID`__ of the compartment to move the load balancer to.
|
45
|
+
|
46
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
47
|
+
|
48
|
+
|
49
|
+
:return: The compartment_id of this ChangeLoadBalancerCompartmentDetails.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._compartment_id
|
53
|
+
|
54
|
+
@compartment_id.setter
|
55
|
+
def compartment_id(self, compartment_id):
|
56
|
+
"""
|
57
|
+
Sets the compartment_id of this ChangeLoadBalancerCompartmentDetails.
|
58
|
+
The `OCID`__ of the compartment to move the load balancer to.
|
59
|
+
|
60
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
61
|
+
|
62
|
+
|
63
|
+
:param compartment_id: The compartment_id of this ChangeLoadBalancerCompartmentDetails.
|
64
|
+
:type: str
|
65
|
+
"""
|
66
|
+
self._compartment_id = compartment_id
|
67
|
+
|
68
|
+
def __repr__(self):
|
69
|
+
return formatted_flat_dict(self)
|
70
|
+
|
71
|
+
def __eq__(self, other):
|
72
|
+
if other is None:
|
73
|
+
return False
|
74
|
+
|
75
|
+
return self.__dict__ == other.__dict__
|
76
|
+
|
77
|
+
def __ne__(self, other):
|
78
|
+
return not self == other
|