File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/integration/models/component_allow_list_details.py
Back
# coding: utf-8 # Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. # 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. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190131 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class ComponentAllowListDetails(object): """ A collection of AllowListedIps and AllowListedVcns for a specific OIC component: global, RT, or DT """ def __init__(self, **kwargs): """ Initializes a new ComponentAllowListDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param allowlisted_http_ips: The value to assign to the allowlisted_http_ips property of this ComponentAllowListDetails. :type allowlisted_http_ips: list[str] :param allowlisted_http_vcns: The value to assign to the allowlisted_http_vcns property of this ComponentAllowListDetails. :type allowlisted_http_vcns: list[oci.integration.models.VirtualCloudNetwork] """ self.swagger_types = { 'allowlisted_http_ips': 'list[str]', 'allowlisted_http_vcns': 'list[VirtualCloudNetwork]' } self.attribute_map = { 'allowlisted_http_ips': 'allowlistedHttpIps', 'allowlisted_http_vcns': 'allowlistedHttpVcns' } self._allowlisted_http_ips = None self._allowlisted_http_vcns = None @property def allowlisted_http_ips(self): """ Gets the allowlisted_http_ips of this ComponentAllowListDetails. Source IP addresses or IP address ranges ingress rules. (ex: \"168.122.59.5\", \"10.20.30.0/26\") An invalid IP or CIDR block will result in a 400 response. :return: The allowlisted_http_ips of this ComponentAllowListDetails. :rtype: list[str] """ return self._allowlisted_http_ips @allowlisted_http_ips.setter def allowlisted_http_ips(self, allowlisted_http_ips): """ Sets the allowlisted_http_ips of this ComponentAllowListDetails. Source IP addresses or IP address ranges ingress rules. (ex: \"168.122.59.5\", \"10.20.30.0/26\") An invalid IP or CIDR block will result in a 400 response. :param allowlisted_http_ips: The allowlisted_http_ips of this ComponentAllowListDetails. :type: list[str] """ self._allowlisted_http_ips = allowlisted_http_ips @property def allowlisted_http_vcns(self): """ Gets the allowlisted_http_vcns of this ComponentAllowListDetails. Virtual Cloud Networks allowed to access this network endpoint. :return: The allowlisted_http_vcns of this ComponentAllowListDetails. :rtype: list[oci.integration.models.VirtualCloudNetwork] """ return self._allowlisted_http_vcns @allowlisted_http_vcns.setter def allowlisted_http_vcns(self, allowlisted_http_vcns): """ Sets the allowlisted_http_vcns of this ComponentAllowListDetails. Virtual Cloud Networks allowed to access this network endpoint. :param allowlisted_http_vcns: The allowlisted_http_vcns of this ComponentAllowListDetails. :type: list[oci.integration.models.VirtualCloudNetwork] """ self._allowlisted_http_vcns = allowlisted_http_vcns def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings