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,437 @@
|
|
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: 20181201
|
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 CreateFunctionDetails(object):
|
14
|
+
"""
|
15
|
+
Properties to create a new function.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new CreateFunctionDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param display_name:
|
24
|
+
The value to assign to the display_name property of this CreateFunctionDetails.
|
25
|
+
:type display_name: str
|
26
|
+
|
27
|
+
:param application_id:
|
28
|
+
The value to assign to the application_id property of this CreateFunctionDetails.
|
29
|
+
:type application_id: str
|
30
|
+
|
31
|
+
:param image:
|
32
|
+
The value to assign to the image property of this CreateFunctionDetails.
|
33
|
+
:type image: str
|
34
|
+
|
35
|
+
:param image_digest:
|
36
|
+
The value to assign to the image_digest property of this CreateFunctionDetails.
|
37
|
+
:type image_digest: str
|
38
|
+
|
39
|
+
:param source_details:
|
40
|
+
The value to assign to the source_details property of this CreateFunctionDetails.
|
41
|
+
:type source_details: oci.functions.models.FunctionSourceDetails
|
42
|
+
|
43
|
+
:param memory_in_mbs:
|
44
|
+
The value to assign to the memory_in_mbs property of this CreateFunctionDetails.
|
45
|
+
:type memory_in_mbs: int
|
46
|
+
|
47
|
+
:param config:
|
48
|
+
The value to assign to the config property of this CreateFunctionDetails.
|
49
|
+
:type config: dict(str, str)
|
50
|
+
|
51
|
+
:param timeout_in_seconds:
|
52
|
+
The value to assign to the timeout_in_seconds property of this CreateFunctionDetails.
|
53
|
+
:type timeout_in_seconds: int
|
54
|
+
|
55
|
+
:param provisioned_concurrency_config:
|
56
|
+
The value to assign to the provisioned_concurrency_config property of this CreateFunctionDetails.
|
57
|
+
:type provisioned_concurrency_config: oci.functions.models.FunctionProvisionedConcurrencyConfig
|
58
|
+
|
59
|
+
:param trace_config:
|
60
|
+
The value to assign to the trace_config property of this CreateFunctionDetails.
|
61
|
+
:type trace_config: oci.functions.models.FunctionTraceConfig
|
62
|
+
|
63
|
+
:param freeform_tags:
|
64
|
+
The value to assign to the freeform_tags property of this CreateFunctionDetails.
|
65
|
+
:type freeform_tags: dict(str, str)
|
66
|
+
|
67
|
+
:param defined_tags:
|
68
|
+
The value to assign to the defined_tags property of this CreateFunctionDetails.
|
69
|
+
:type defined_tags: dict(str, dict(str, object))
|
70
|
+
|
71
|
+
"""
|
72
|
+
self.swagger_types = {
|
73
|
+
'display_name': 'str',
|
74
|
+
'application_id': 'str',
|
75
|
+
'image': 'str',
|
76
|
+
'image_digest': 'str',
|
77
|
+
'source_details': 'FunctionSourceDetails',
|
78
|
+
'memory_in_mbs': 'int',
|
79
|
+
'config': 'dict(str, str)',
|
80
|
+
'timeout_in_seconds': 'int',
|
81
|
+
'provisioned_concurrency_config': 'FunctionProvisionedConcurrencyConfig',
|
82
|
+
'trace_config': 'FunctionTraceConfig',
|
83
|
+
'freeform_tags': 'dict(str, str)',
|
84
|
+
'defined_tags': 'dict(str, dict(str, object))'
|
85
|
+
}
|
86
|
+
|
87
|
+
self.attribute_map = {
|
88
|
+
'display_name': 'displayName',
|
89
|
+
'application_id': 'applicationId',
|
90
|
+
'image': 'image',
|
91
|
+
'image_digest': 'imageDigest',
|
92
|
+
'source_details': 'sourceDetails',
|
93
|
+
'memory_in_mbs': 'memoryInMBs',
|
94
|
+
'config': 'config',
|
95
|
+
'timeout_in_seconds': 'timeoutInSeconds',
|
96
|
+
'provisioned_concurrency_config': 'provisionedConcurrencyConfig',
|
97
|
+
'trace_config': 'traceConfig',
|
98
|
+
'freeform_tags': 'freeformTags',
|
99
|
+
'defined_tags': 'definedTags'
|
100
|
+
}
|
101
|
+
|
102
|
+
self._display_name = None
|
103
|
+
self._application_id = None
|
104
|
+
self._image = None
|
105
|
+
self._image_digest = None
|
106
|
+
self._source_details = None
|
107
|
+
self._memory_in_mbs = None
|
108
|
+
self._config = None
|
109
|
+
self._timeout_in_seconds = None
|
110
|
+
self._provisioned_concurrency_config = None
|
111
|
+
self._trace_config = None
|
112
|
+
self._freeform_tags = None
|
113
|
+
self._defined_tags = None
|
114
|
+
|
115
|
+
@property
|
116
|
+
def display_name(self):
|
117
|
+
"""
|
118
|
+
**[Required]** Gets the display_name of this CreateFunctionDetails.
|
119
|
+
The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
|
120
|
+
|
121
|
+
|
122
|
+
:return: The display_name of this CreateFunctionDetails.
|
123
|
+
:rtype: str
|
124
|
+
"""
|
125
|
+
return self._display_name
|
126
|
+
|
127
|
+
@display_name.setter
|
128
|
+
def display_name(self, display_name):
|
129
|
+
"""
|
130
|
+
Sets the display_name of this CreateFunctionDetails.
|
131
|
+
The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
|
132
|
+
|
133
|
+
|
134
|
+
:param display_name: The display_name of this CreateFunctionDetails.
|
135
|
+
:type: str
|
136
|
+
"""
|
137
|
+
self._display_name = display_name
|
138
|
+
|
139
|
+
@property
|
140
|
+
def application_id(self):
|
141
|
+
"""
|
142
|
+
**[Required]** Gets the application_id of this CreateFunctionDetails.
|
143
|
+
The OCID of the application this function belongs to.
|
144
|
+
|
145
|
+
|
146
|
+
:return: The application_id of this CreateFunctionDetails.
|
147
|
+
:rtype: str
|
148
|
+
"""
|
149
|
+
return self._application_id
|
150
|
+
|
151
|
+
@application_id.setter
|
152
|
+
def application_id(self, application_id):
|
153
|
+
"""
|
154
|
+
Sets the application_id of this CreateFunctionDetails.
|
155
|
+
The OCID of the application this function belongs to.
|
156
|
+
|
157
|
+
|
158
|
+
:param application_id: The application_id of this CreateFunctionDetails.
|
159
|
+
:type: str
|
160
|
+
"""
|
161
|
+
self._application_id = application_id
|
162
|
+
|
163
|
+
@property
|
164
|
+
def image(self):
|
165
|
+
"""
|
166
|
+
Gets the image of this CreateFunctionDetails.
|
167
|
+
The qualified name of the Docker image to use in the function, including the image tag.
|
168
|
+
The image should be in the OCI Registry that is in the same region as the function itself.
|
169
|
+
Example: `phx.ocir.io/ten/functions/function:0.0.1`
|
170
|
+
|
171
|
+
|
172
|
+
:return: The image of this CreateFunctionDetails.
|
173
|
+
:rtype: str
|
174
|
+
"""
|
175
|
+
return self._image
|
176
|
+
|
177
|
+
@image.setter
|
178
|
+
def image(self, image):
|
179
|
+
"""
|
180
|
+
Sets the image of this CreateFunctionDetails.
|
181
|
+
The qualified name of the Docker image to use in the function, including the image tag.
|
182
|
+
The image should be in the OCI Registry that is in the same region as the function itself.
|
183
|
+
Example: `phx.ocir.io/ten/functions/function:0.0.1`
|
184
|
+
|
185
|
+
|
186
|
+
:param image: The image of this CreateFunctionDetails.
|
187
|
+
:type: str
|
188
|
+
"""
|
189
|
+
self._image = image
|
190
|
+
|
191
|
+
@property
|
192
|
+
def image_digest(self):
|
193
|
+
"""
|
194
|
+
Gets the image_digest of this CreateFunctionDetails.
|
195
|
+
The image digest for the version of the image that will be pulled when invoking this function.
|
196
|
+
If no value is specified, the digest currently associated with the image in the OCI Registry will be used.
|
197
|
+
Example: `sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7`
|
198
|
+
|
199
|
+
|
200
|
+
:return: The image_digest of this CreateFunctionDetails.
|
201
|
+
:rtype: str
|
202
|
+
"""
|
203
|
+
return self._image_digest
|
204
|
+
|
205
|
+
@image_digest.setter
|
206
|
+
def image_digest(self, image_digest):
|
207
|
+
"""
|
208
|
+
Sets the image_digest of this CreateFunctionDetails.
|
209
|
+
The image digest for the version of the image that will be pulled when invoking this function.
|
210
|
+
If no value is specified, the digest currently associated with the image in the OCI Registry will be used.
|
211
|
+
Example: `sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7`
|
212
|
+
|
213
|
+
|
214
|
+
:param image_digest: The image_digest of this CreateFunctionDetails.
|
215
|
+
:type: str
|
216
|
+
"""
|
217
|
+
self._image_digest = image_digest
|
218
|
+
|
219
|
+
@property
|
220
|
+
def source_details(self):
|
221
|
+
"""
|
222
|
+
Gets the source_details of this CreateFunctionDetails.
|
223
|
+
|
224
|
+
:return: The source_details of this CreateFunctionDetails.
|
225
|
+
:rtype: oci.functions.models.FunctionSourceDetails
|
226
|
+
"""
|
227
|
+
return self._source_details
|
228
|
+
|
229
|
+
@source_details.setter
|
230
|
+
def source_details(self, source_details):
|
231
|
+
"""
|
232
|
+
Sets the source_details of this CreateFunctionDetails.
|
233
|
+
|
234
|
+
:param source_details: The source_details of this CreateFunctionDetails.
|
235
|
+
:type: oci.functions.models.FunctionSourceDetails
|
236
|
+
"""
|
237
|
+
self._source_details = source_details
|
238
|
+
|
239
|
+
@property
|
240
|
+
def memory_in_mbs(self):
|
241
|
+
"""
|
242
|
+
**[Required]** Gets the memory_in_mbs of this CreateFunctionDetails.
|
243
|
+
Maximum usable memory for the function (MiB).
|
244
|
+
|
245
|
+
|
246
|
+
:return: The memory_in_mbs of this CreateFunctionDetails.
|
247
|
+
:rtype: int
|
248
|
+
"""
|
249
|
+
return self._memory_in_mbs
|
250
|
+
|
251
|
+
@memory_in_mbs.setter
|
252
|
+
def memory_in_mbs(self, memory_in_mbs):
|
253
|
+
"""
|
254
|
+
Sets the memory_in_mbs of this CreateFunctionDetails.
|
255
|
+
Maximum usable memory for the function (MiB).
|
256
|
+
|
257
|
+
|
258
|
+
:param memory_in_mbs: The memory_in_mbs of this CreateFunctionDetails.
|
259
|
+
:type: int
|
260
|
+
"""
|
261
|
+
self._memory_in_mbs = memory_in_mbs
|
262
|
+
|
263
|
+
@property
|
264
|
+
def config(self):
|
265
|
+
"""
|
266
|
+
Gets the config of this CreateFunctionDetails.
|
267
|
+
Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values.
|
268
|
+
Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters.
|
269
|
+
|
270
|
+
Example: `{\"MY_FUNCTION_CONFIG\": \"ConfVal\"}`
|
271
|
+
|
272
|
+
The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.
|
273
|
+
|
274
|
+
|
275
|
+
:return: The config of this CreateFunctionDetails.
|
276
|
+
:rtype: dict(str, str)
|
277
|
+
"""
|
278
|
+
return self._config
|
279
|
+
|
280
|
+
@config.setter
|
281
|
+
def config(self, config):
|
282
|
+
"""
|
283
|
+
Sets the config of this CreateFunctionDetails.
|
284
|
+
Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values.
|
285
|
+
Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters.
|
286
|
+
|
287
|
+
Example: `{\"MY_FUNCTION_CONFIG\": \"ConfVal\"}`
|
288
|
+
|
289
|
+
The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.
|
290
|
+
|
291
|
+
|
292
|
+
:param config: The config of this CreateFunctionDetails.
|
293
|
+
:type: dict(str, str)
|
294
|
+
"""
|
295
|
+
self._config = config
|
296
|
+
|
297
|
+
@property
|
298
|
+
def timeout_in_seconds(self):
|
299
|
+
"""
|
300
|
+
Gets the timeout_in_seconds of this CreateFunctionDetails.
|
301
|
+
Timeout for executions of the function. Value in seconds.
|
302
|
+
|
303
|
+
|
304
|
+
:return: The timeout_in_seconds of this CreateFunctionDetails.
|
305
|
+
:rtype: int
|
306
|
+
"""
|
307
|
+
return self._timeout_in_seconds
|
308
|
+
|
309
|
+
@timeout_in_seconds.setter
|
310
|
+
def timeout_in_seconds(self, timeout_in_seconds):
|
311
|
+
"""
|
312
|
+
Sets the timeout_in_seconds of this CreateFunctionDetails.
|
313
|
+
Timeout for executions of the function. Value in seconds.
|
314
|
+
|
315
|
+
|
316
|
+
:param timeout_in_seconds: The timeout_in_seconds of this CreateFunctionDetails.
|
317
|
+
:type: int
|
318
|
+
"""
|
319
|
+
self._timeout_in_seconds = timeout_in_seconds
|
320
|
+
|
321
|
+
@property
|
322
|
+
def provisioned_concurrency_config(self):
|
323
|
+
"""
|
324
|
+
Gets the provisioned_concurrency_config of this CreateFunctionDetails.
|
325
|
+
|
326
|
+
:return: The provisioned_concurrency_config of this CreateFunctionDetails.
|
327
|
+
:rtype: oci.functions.models.FunctionProvisionedConcurrencyConfig
|
328
|
+
"""
|
329
|
+
return self._provisioned_concurrency_config
|
330
|
+
|
331
|
+
@provisioned_concurrency_config.setter
|
332
|
+
def provisioned_concurrency_config(self, provisioned_concurrency_config):
|
333
|
+
"""
|
334
|
+
Sets the provisioned_concurrency_config of this CreateFunctionDetails.
|
335
|
+
|
336
|
+
:param provisioned_concurrency_config: The provisioned_concurrency_config of this CreateFunctionDetails.
|
337
|
+
:type: oci.functions.models.FunctionProvisionedConcurrencyConfig
|
338
|
+
"""
|
339
|
+
self._provisioned_concurrency_config = provisioned_concurrency_config
|
340
|
+
|
341
|
+
@property
|
342
|
+
def trace_config(self):
|
343
|
+
"""
|
344
|
+
Gets the trace_config of this CreateFunctionDetails.
|
345
|
+
|
346
|
+
:return: The trace_config of this CreateFunctionDetails.
|
347
|
+
:rtype: oci.functions.models.FunctionTraceConfig
|
348
|
+
"""
|
349
|
+
return self._trace_config
|
350
|
+
|
351
|
+
@trace_config.setter
|
352
|
+
def trace_config(self, trace_config):
|
353
|
+
"""
|
354
|
+
Sets the trace_config of this CreateFunctionDetails.
|
355
|
+
|
356
|
+
:param trace_config: The trace_config of this CreateFunctionDetails.
|
357
|
+
:type: oci.functions.models.FunctionTraceConfig
|
358
|
+
"""
|
359
|
+
self._trace_config = trace_config
|
360
|
+
|
361
|
+
@property
|
362
|
+
def freeform_tags(self):
|
363
|
+
"""
|
364
|
+
Gets the freeform_tags of this CreateFunctionDetails.
|
365
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
366
|
+
For more information, see `Resource Tags`__.
|
367
|
+
|
368
|
+
Example: `{\"Department\": \"Finance\"}`
|
369
|
+
|
370
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
|
371
|
+
|
372
|
+
|
373
|
+
:return: The freeform_tags of this CreateFunctionDetails.
|
374
|
+
:rtype: dict(str, str)
|
375
|
+
"""
|
376
|
+
return self._freeform_tags
|
377
|
+
|
378
|
+
@freeform_tags.setter
|
379
|
+
def freeform_tags(self, freeform_tags):
|
380
|
+
"""
|
381
|
+
Sets the freeform_tags of this CreateFunctionDetails.
|
382
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
383
|
+
For more information, see `Resource Tags`__.
|
384
|
+
|
385
|
+
Example: `{\"Department\": \"Finance\"}`
|
386
|
+
|
387
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
|
388
|
+
|
389
|
+
|
390
|
+
:param freeform_tags: The freeform_tags of this CreateFunctionDetails.
|
391
|
+
:type: dict(str, str)
|
392
|
+
"""
|
393
|
+
self._freeform_tags = freeform_tags
|
394
|
+
|
395
|
+
@property
|
396
|
+
def defined_tags(self):
|
397
|
+
"""
|
398
|
+
Gets the defined_tags of this CreateFunctionDetails.
|
399
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__.
|
400
|
+
|
401
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
402
|
+
|
403
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
|
404
|
+
|
405
|
+
|
406
|
+
:return: The defined_tags of this CreateFunctionDetails.
|
407
|
+
:rtype: dict(str, dict(str, object))
|
408
|
+
"""
|
409
|
+
return self._defined_tags
|
410
|
+
|
411
|
+
@defined_tags.setter
|
412
|
+
def defined_tags(self, defined_tags):
|
413
|
+
"""
|
414
|
+
Sets the defined_tags of this CreateFunctionDetails.
|
415
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__.
|
416
|
+
|
417
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
418
|
+
|
419
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
|
420
|
+
|
421
|
+
|
422
|
+
:param defined_tags: The defined_tags of this CreateFunctionDetails.
|
423
|
+
:type: dict(str, dict(str, object))
|
424
|
+
"""
|
425
|
+
self._defined_tags = defined_tags
|
426
|
+
|
427
|
+
def __repr__(self):
|
428
|
+
return formatted_flat_dict(self)
|
429
|
+
|
430
|
+
def __eq__(self, other):
|
431
|
+
if other is None:
|
432
|
+
return False
|
433
|
+
|
434
|
+
return self.__dict__ == other.__dict__
|
435
|
+
|
436
|
+
def __ne__(self, other):
|
437
|
+
return not self == other
|