2021-10-19 13:44:01 +00:00
|
|
|
|
# coding: utf-8
|
|
|
|
|
|
|
|
|
|
import six
|
|
|
|
|
|
|
|
|
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
|
|
|
|
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
class EndpointResponseBody:
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
Attributes:
|
|
|
|
|
openapi_types (dict): The key is attribute name
|
|
|
|
|
and the value is attribute type.
|
|
|
|
|
attribute_map (dict): The key is attribute name
|
|
|
|
|
and the value is json key in definition.
|
|
|
|
|
"""
|
|
|
|
|
sensitive_list = []
|
|
|
|
|
|
|
|
|
|
openapi_types = {
|
|
|
|
|
'id': 'str',
|
|
|
|
|
'service_type': 'str',
|
|
|
|
|
'status': 'str',
|
|
|
|
|
'active_status': 'list[str]',
|
|
|
|
|
'endpoint_service_name': 'str',
|
|
|
|
|
'marker_id': 'int',
|
|
|
|
|
'endpoint_service_id': 'str',
|
|
|
|
|
'enable_dns': 'bool',
|
|
|
|
|
'dns_names': 'list[str]',
|
2021-11-25 09:11:54 +00:00
|
|
|
|
'ip': 'str',
|
2021-10-19 13:44:01 +00:00
|
|
|
|
'vpc_id': 'str',
|
2021-11-25 09:11:54 +00:00
|
|
|
|
'subnet_id': 'str',
|
2024-03-14 11:13:03 +00:00
|
|
|
|
'created_at': 'datetime',
|
|
|
|
|
'updated_at': 'datetime',
|
2021-10-19 13:44:01 +00:00
|
|
|
|
'project_id': 'str',
|
|
|
|
|
'tags': 'list[TagList]',
|
2021-11-25 09:11:54 +00:00
|
|
|
|
'error': 'list[QueryError]',
|
2021-10-19 13:44:01 +00:00
|
|
|
|
'whitelist': 'list[str]',
|
|
|
|
|
'enable_whitelist': 'bool',
|
2022-09-28 08:54:22 +00:00
|
|
|
|
'routetables': 'list[str]',
|
|
|
|
|
'description': 'str',
|
|
|
|
|
'policy_statement': 'list[PolicyStatement]',
|
2024-08-01 08:11:16 +00:00
|
|
|
|
'policy_document': 'object',
|
2022-09-28 08:54:22 +00:00
|
|
|
|
'endpoint_pool_id': 'str',
|
|
|
|
|
'public_border_group': 'str'
|
2021-10-19 13:44:01 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
attribute_map = {
|
|
|
|
|
'id': 'id',
|
|
|
|
|
'service_type': 'service_type',
|
|
|
|
|
'status': 'status',
|
|
|
|
|
'active_status': 'active_status',
|
|
|
|
|
'endpoint_service_name': 'endpoint_service_name',
|
|
|
|
|
'marker_id': 'marker_id',
|
|
|
|
|
'endpoint_service_id': 'endpoint_service_id',
|
|
|
|
|
'enable_dns': 'enable_dns',
|
|
|
|
|
'dns_names': 'dns_names',
|
2021-11-25 09:11:54 +00:00
|
|
|
|
'ip': 'ip',
|
2021-10-19 13:44:01 +00:00
|
|
|
|
'vpc_id': 'vpc_id',
|
2021-11-25 09:11:54 +00:00
|
|
|
|
'subnet_id': 'subnet_id',
|
2021-10-19 13:44:01 +00:00
|
|
|
|
'created_at': 'created_at',
|
|
|
|
|
'updated_at': 'updated_at',
|
|
|
|
|
'project_id': 'project_id',
|
|
|
|
|
'tags': 'tags',
|
2021-11-25 09:11:54 +00:00
|
|
|
|
'error': 'error',
|
2021-10-19 13:44:01 +00:00
|
|
|
|
'whitelist': 'whitelist',
|
|
|
|
|
'enable_whitelist': 'enable_whitelist',
|
2022-09-28 08:54:22 +00:00
|
|
|
|
'routetables': 'routetables',
|
|
|
|
|
'description': 'description',
|
|
|
|
|
'policy_statement': 'policy_statement',
|
2024-08-01 08:11:16 +00:00
|
|
|
|
'policy_document': 'policy_document',
|
2022-09-28 08:54:22 +00:00
|
|
|
|
'endpoint_pool_id': 'endpoint_pool_id',
|
|
|
|
|
'public_border_group': 'public_border_group'
|
2021-10-19 13:44:01 +00:00
|
|
|
|
}
|
|
|
|
|
|
2024-08-01 08:11:16 +00:00
|
|
|
|
def __init__(self, id=None, service_type=None, status=None, active_status=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, enable_dns=None, dns_names=None, ip=None, vpc_id=None, subnet_id=None, created_at=None, updated_at=None, project_id=None, tags=None, error=None, whitelist=None, enable_whitelist=None, routetables=None, description=None, policy_statement=None, policy_document=None, endpoint_pool_id=None, public_border_group=None):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""EndpointResponseBody
|
2022-04-21 12:03:46 +00:00
|
|
|
|
|
|
|
|
|
The model defined in huaweicloud sdk
|
|
|
|
|
|
|
|
|
|
:param id: 终端节点的ID,唯一标识。
|
|
|
|
|
:type id: str
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param service_type: 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type service_type: str
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type status: str
|
2024-06-27 11:16:10 +00:00
|
|
|
|
:param active_status: 账号状态。 - frozen:冻结 - active:解冻
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type active_status: list[str]
|
|
|
|
|
:param endpoint_service_name: 终端节点服务的名称。
|
|
|
|
|
:type endpoint_service_name: str
|
|
|
|
|
:param marker_id: 终端节点的报文标识。
|
|
|
|
|
:type marker_id: int
|
|
|
|
|
:param endpoint_service_id: 终端节点服务的ID。
|
|
|
|
|
:type endpoint_service_id: str
|
2024-06-27 11:16:10 +00:00
|
|
|
|
:param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type enable_dns: bool
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:param dns_names: 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type dns_names: list[str]
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:param ip: 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: 当查询连接interface类型终端节点服务的终端节点时。 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type ip: str
|
|
|
|
|
:param vpc_id: 终端节点所在的VPC的ID。
|
|
|
|
|
:type vpc_id: str
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:param subnet_id: vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type subnet_id: str
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:param created_at: 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:type created_at: datetime
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:param updated_at: 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:type updated_at: datetime
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:param project_id: 项目ID,获取方法请参见获取项目ID。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type project_id: str
|
|
|
|
|
:param tags: 标签列表,没有标签默认为空数组。
|
|
|
|
|
:type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:param error: 错误信息。 当终端节点状态异常,即“status”的值为“failed”时,会返回该字段。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type error: list[:class:`huaweicloudsdkvpcep.v1.QueryError`]
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:param whitelist: 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type whitelist: list[str]
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type enable_whitelist: bool
|
2024-06-27 11:16:10 +00:00
|
|
|
|
:param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type routetables: list[str]
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
|
|
|
|
:type description: str
|
2024-06-27 11:16:10 +00:00
|
|
|
|
:param policy_statement: 终端节点策略信息
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
2024-08-01 08:11:16 +00:00
|
|
|
|
:param policy_document: iam 5.0 策略
|
|
|
|
|
:type policy_document: object
|
2023-04-20 08:57:41 +00:00
|
|
|
|
:param endpoint_pool_id: 待废弃,实例相关联的集群ID
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:type endpoint_pool_id: str
|
2024-08-01 08:11:16 +00:00
|
|
|
|
:param public_border_group: 终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回该字段
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:type public_border_group: str
|
2022-04-21 12:03:46 +00:00
|
|
|
|
"""
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
self._id = None
|
|
|
|
|
self._service_type = None
|
|
|
|
|
self._status = None
|
|
|
|
|
self._active_status = None
|
|
|
|
|
self._endpoint_service_name = None
|
|
|
|
|
self._marker_id = None
|
|
|
|
|
self._endpoint_service_id = None
|
|
|
|
|
self._enable_dns = None
|
|
|
|
|
self._dns_names = None
|
2021-11-25 09:11:54 +00:00
|
|
|
|
self._ip = None
|
2021-10-19 13:44:01 +00:00
|
|
|
|
self._vpc_id = None
|
2021-11-25 09:11:54 +00:00
|
|
|
|
self._subnet_id = None
|
2021-10-19 13:44:01 +00:00
|
|
|
|
self._created_at = None
|
|
|
|
|
self._updated_at = None
|
|
|
|
|
self._project_id = None
|
|
|
|
|
self._tags = None
|
2021-11-25 09:11:54 +00:00
|
|
|
|
self._error = None
|
2021-10-19 13:44:01 +00:00
|
|
|
|
self._whitelist = None
|
|
|
|
|
self._enable_whitelist = None
|
|
|
|
|
self._routetables = None
|
2022-09-28 08:54:22 +00:00
|
|
|
|
self._description = None
|
|
|
|
|
self._policy_statement = None
|
2024-08-01 08:11:16 +00:00
|
|
|
|
self._policy_document = None
|
2022-09-28 08:54:22 +00:00
|
|
|
|
self._endpoint_pool_id = None
|
|
|
|
|
self._public_border_group = None
|
2021-10-19 13:44:01 +00:00
|
|
|
|
self.discriminator = None
|
|
|
|
|
|
|
|
|
|
if id is not None:
|
|
|
|
|
self.id = id
|
|
|
|
|
if service_type is not None:
|
|
|
|
|
self.service_type = service_type
|
|
|
|
|
if status is not None:
|
|
|
|
|
self.status = status
|
|
|
|
|
if active_status is not None:
|
|
|
|
|
self.active_status = active_status
|
|
|
|
|
if endpoint_service_name is not None:
|
|
|
|
|
self.endpoint_service_name = endpoint_service_name
|
|
|
|
|
if marker_id is not None:
|
|
|
|
|
self.marker_id = marker_id
|
|
|
|
|
if endpoint_service_id is not None:
|
|
|
|
|
self.endpoint_service_id = endpoint_service_id
|
|
|
|
|
if enable_dns is not None:
|
|
|
|
|
self.enable_dns = enable_dns
|
|
|
|
|
if dns_names is not None:
|
|
|
|
|
self.dns_names = dns_names
|
2021-11-25 09:11:54 +00:00
|
|
|
|
if ip is not None:
|
|
|
|
|
self.ip = ip
|
2021-10-19 13:44:01 +00:00
|
|
|
|
if vpc_id is not None:
|
|
|
|
|
self.vpc_id = vpc_id
|
2021-11-25 09:11:54 +00:00
|
|
|
|
if subnet_id is not None:
|
|
|
|
|
self.subnet_id = subnet_id
|
2021-10-19 13:44:01 +00:00
|
|
|
|
if created_at is not None:
|
|
|
|
|
self.created_at = created_at
|
|
|
|
|
if updated_at is not None:
|
|
|
|
|
self.updated_at = updated_at
|
|
|
|
|
if project_id is not None:
|
|
|
|
|
self.project_id = project_id
|
|
|
|
|
if tags is not None:
|
|
|
|
|
self.tags = tags
|
2021-11-25 09:11:54 +00:00
|
|
|
|
if error is not None:
|
|
|
|
|
self.error = error
|
2021-10-19 13:44:01 +00:00
|
|
|
|
if whitelist is not None:
|
|
|
|
|
self.whitelist = whitelist
|
|
|
|
|
if enable_whitelist is not None:
|
|
|
|
|
self.enable_whitelist = enable_whitelist
|
|
|
|
|
if routetables is not None:
|
|
|
|
|
self.routetables = routetables
|
2022-09-28 08:54:22 +00:00
|
|
|
|
if description is not None:
|
|
|
|
|
self.description = description
|
|
|
|
|
if policy_statement is not None:
|
|
|
|
|
self.policy_statement = policy_statement
|
2024-08-01 08:11:16 +00:00
|
|
|
|
if policy_document is not None:
|
|
|
|
|
self.policy_document = policy_document
|
2022-09-28 08:54:22 +00:00
|
|
|
|
if endpoint_pool_id is not None:
|
|
|
|
|
self.endpoint_pool_id = endpoint_pool_id
|
|
|
|
|
if public_border_group is not None:
|
|
|
|
|
self.public_border_group = public_border_group
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def id(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the id of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
|
|
|
|
终端节点的ID,唯一标识。
|
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The id of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._id
|
|
|
|
|
|
|
|
|
|
@id.setter
|
|
|
|
|
def id(self, id):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the id of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
|
|
|
|
终端节点的ID,唯一标识。
|
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param id: The id of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type id: str
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._id = id
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def service_type(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the service_type of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The service_type of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._service_type
|
|
|
|
|
|
|
|
|
|
@service_type.setter
|
|
|
|
|
def service_type(self, service_type):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the service_type of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param service_type: The service_type of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type service_type: str
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._service_type = service_type
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def status(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the status of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The status of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._status
|
|
|
|
|
|
|
|
|
|
@status.setter
|
|
|
|
|
def status(self, status):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the status of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param status: The status of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type status: str
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._status = status
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def active_status(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the active_status of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-06-27 11:16:10 +00:00
|
|
|
|
账号状态。 - frozen:冻结 - active:解冻
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The active_status of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
:rtype: list[str]
|
|
|
|
|
"""
|
|
|
|
|
return self._active_status
|
|
|
|
|
|
|
|
|
|
@active_status.setter
|
|
|
|
|
def active_status(self, active_status):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the active_status of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-06-27 11:16:10 +00:00
|
|
|
|
账号状态。 - frozen:冻结 - active:解冻
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param active_status: The active_status of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type active_status: list[str]
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._active_status = active_status
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def endpoint_service_name(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the endpoint_service_name of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
|
|
|
|
终端节点服务的名称。
|
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The endpoint_service_name of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._endpoint_service_name
|
|
|
|
|
|
|
|
|
|
@endpoint_service_name.setter
|
|
|
|
|
def endpoint_service_name(self, endpoint_service_name):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the endpoint_service_name of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
|
|
|
|
终端节点服务的名称。
|
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param endpoint_service_name: The endpoint_service_name of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type endpoint_service_name: str
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._endpoint_service_name = endpoint_service_name
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def marker_id(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the marker_id of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
|
|
|
|
终端节点的报文标识。
|
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The marker_id of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
:rtype: int
|
|
|
|
|
"""
|
|
|
|
|
return self._marker_id
|
|
|
|
|
|
|
|
|
|
@marker_id.setter
|
|
|
|
|
def marker_id(self, marker_id):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the marker_id of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
|
|
|
|
终端节点的报文标识。
|
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param marker_id: The marker_id of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type marker_id: int
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._marker_id = marker_id
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def endpoint_service_id(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the endpoint_service_id of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
|
|
|
|
终端节点服务的ID。
|
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The endpoint_service_id of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._endpoint_service_id
|
|
|
|
|
|
|
|
|
|
@endpoint_service_id.setter
|
|
|
|
|
def endpoint_service_id(self, endpoint_service_id):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the endpoint_service_id of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
|
|
|
|
终端节点服务的ID。
|
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param endpoint_service_id: The endpoint_service_id of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type endpoint_service_id: str
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._endpoint_service_id = endpoint_service_id
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def enable_dns(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the enable_dns of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-06-27 11:16:10 +00:00
|
|
|
|
是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The enable_dns of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
:rtype: bool
|
|
|
|
|
"""
|
|
|
|
|
return self._enable_dns
|
|
|
|
|
|
|
|
|
|
@enable_dns.setter
|
|
|
|
|
def enable_dns(self, enable_dns):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the enable_dns of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-06-27 11:16:10 +00:00
|
|
|
|
是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param enable_dns: The enable_dns of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type enable_dns: bool
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._enable_dns = enable_dns
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def dns_names(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the dns_names of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The dns_names of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
:rtype: list[str]
|
|
|
|
|
"""
|
|
|
|
|
return self._dns_names
|
|
|
|
|
|
|
|
|
|
@dns_names.setter
|
|
|
|
|
def dns_names(self, dns_names):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the dns_names of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param dns_names: The dns_names of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type dns_names: list[str]
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._dns_names = dns_names
|
|
|
|
|
|
|
|
|
|
@property
|
2021-11-25 09:11:54 +00:00
|
|
|
|
def ip(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the ip of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: 当查询连接interface类型终端节点服务的终端节点时。 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The ip of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
2021-11-25 09:11:54 +00:00
|
|
|
|
return self._ip
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2021-11-25 09:11:54 +00:00
|
|
|
|
@ip.setter
|
|
|
|
|
def ip(self, ip):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the ip of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: 当查询连接interface类型终端节点服务的终端节点时。 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param ip: The ip of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type ip: str
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
2021-11-25 09:11:54 +00:00
|
|
|
|
self._ip = ip
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def vpc_id(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the vpc_id of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
|
|
|
|
终端节点所在的VPC的ID。
|
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The vpc_id of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._vpc_id
|
|
|
|
|
|
|
|
|
|
@vpc_id.setter
|
|
|
|
|
def vpc_id(self, vpc_id):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the vpc_id of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
|
|
|
|
终端节点所在的VPC的ID。
|
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param vpc_id: The vpc_id of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type vpc_id: str
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._vpc_id = vpc_id
|
|
|
|
|
|
2021-11-25 09:11:54 +00:00
|
|
|
|
@property
|
|
|
|
|
def subnet_id(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the subnet_id of this EndpointResponseBody.
|
2021-11-25 09:11:54 +00:00
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
|
2021-11-25 09:11:54 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The subnet_id of this EndpointResponseBody.
|
2021-11-25 09:11:54 +00:00
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._subnet_id
|
|
|
|
|
|
|
|
|
|
@subnet_id.setter
|
|
|
|
|
def subnet_id(self, subnet_id):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the subnet_id of this EndpointResponseBody.
|
2021-11-25 09:11:54 +00:00
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
|
2021-11-25 09:11:54 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param subnet_id: The subnet_id of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type subnet_id: str
|
2021-11-25 09:11:54 +00:00
|
|
|
|
"""
|
|
|
|
|
self._subnet_id = subnet_id
|
|
|
|
|
|
2021-10-19 13:44:01 +00:00
|
|
|
|
@property
|
|
|
|
|
def created_at(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the created_at of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The created_at of this EndpointResponseBody.
|
|
|
|
|
:rtype: datetime
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
return self._created_at
|
|
|
|
|
|
|
|
|
|
@created_at.setter
|
|
|
|
|
def created_at(self, created_at):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the created_at of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param created_at: The created_at of this EndpointResponseBody.
|
|
|
|
|
:type created_at: datetime
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._created_at = created_at
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def updated_at(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the updated_at of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The updated_at of this EndpointResponseBody.
|
|
|
|
|
:rtype: datetime
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
return self._updated_at
|
|
|
|
|
|
|
|
|
|
@updated_at.setter
|
|
|
|
|
def updated_at(self, updated_at):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the updated_at of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param updated_at: The updated_at of this EndpointResponseBody.
|
|
|
|
|
:type updated_at: datetime
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._updated_at = updated_at
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def project_id(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the project_id of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
项目ID,获取方法请参见获取项目ID。
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The project_id of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._project_id
|
|
|
|
|
|
|
|
|
|
@project_id.setter
|
|
|
|
|
def project_id(self, project_id):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the project_id of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
项目ID,获取方法请参见获取项目ID。
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param project_id: The project_id of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type project_id: str
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._project_id = project_id
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def tags(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the tags of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
|
|
|
|
标签列表,没有标签默认为空数组。
|
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The tags of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
return self._tags
|
|
|
|
|
|
|
|
|
|
@tags.setter
|
|
|
|
|
def tags(self, tags):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the tags of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
|
|
|
|
标签列表,没有标签默认为空数组。
|
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param tags: The tags of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._tags = tags
|
|
|
|
|
|
2021-11-25 09:11:54 +00:00
|
|
|
|
@property
|
|
|
|
|
def error(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the error of this EndpointResponseBody.
|
2021-11-25 09:11:54 +00:00
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
错误信息。 当终端节点状态异常,即“status”的值为“failed”时,会返回该字段。
|
2021-11-25 09:11:54 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The error of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.QueryError`]
|
2021-11-25 09:11:54 +00:00
|
|
|
|
"""
|
|
|
|
|
return self._error
|
|
|
|
|
|
|
|
|
|
@error.setter
|
|
|
|
|
def error(self, error):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the error of this EndpointResponseBody.
|
2021-11-25 09:11:54 +00:00
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
错误信息。 当终端节点状态异常,即“status”的值为“failed”时,会返回该字段。
|
2021-11-25 09:11:54 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param error: The error of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type error: list[:class:`huaweicloudsdkvpcep.v1.QueryError`]
|
2021-11-25 09:11:54 +00:00
|
|
|
|
"""
|
|
|
|
|
self._error = error
|
|
|
|
|
|
2021-10-19 13:44:01 +00:00
|
|
|
|
@property
|
|
|
|
|
def whitelist(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the whitelist of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The whitelist of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
:rtype: list[str]
|
|
|
|
|
"""
|
|
|
|
|
return self._whitelist
|
|
|
|
|
|
|
|
|
|
@whitelist.setter
|
|
|
|
|
def whitelist(self, whitelist):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the whitelist of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param whitelist: The whitelist of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type whitelist: list[str]
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._whitelist = whitelist
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def enable_whitelist(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the enable_whitelist of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The enable_whitelist of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
:rtype: bool
|
|
|
|
|
"""
|
|
|
|
|
return self._enable_whitelist
|
|
|
|
|
|
|
|
|
|
@enable_whitelist.setter
|
|
|
|
|
def enable_whitelist(self, enable_whitelist):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the enable_whitelist of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param enable_whitelist: The enable_whitelist of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type enable_whitelist: bool
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._enable_whitelist = enable_whitelist
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def routetables(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the routetables of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-06-27 11:16:10 +00:00
|
|
|
|
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The routetables of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
:rtype: list[str]
|
|
|
|
|
"""
|
|
|
|
|
return self._routetables
|
|
|
|
|
|
|
|
|
|
@routetables.setter
|
|
|
|
|
def routetables(self, routetables):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the routetables of this EndpointResponseBody.
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-06-27 11:16:10 +00:00
|
|
|
|
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
2021-10-19 13:44:01 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param routetables: The routetables of this EndpointResponseBody.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type routetables: list[str]
|
2021-10-19 13:44:01 +00:00
|
|
|
|
"""
|
|
|
|
|
self._routetables = routetables
|
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
@property
|
|
|
|
|
def description(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the description of this EndpointResponseBody.
|
2022-09-28 08:54:22 +00:00
|
|
|
|
|
|
|
|
|
描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The description of this EndpointResponseBody.
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._description
|
|
|
|
|
|
|
|
|
|
@description.setter
|
|
|
|
|
def description(self, description):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the description of this EndpointResponseBody.
|
2022-09-28 08:54:22 +00:00
|
|
|
|
|
|
|
|
|
描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param description: The description of this EndpointResponseBody.
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:type description: str
|
|
|
|
|
"""
|
|
|
|
|
self._description = description
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def policy_statement(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the policy_statement of this EndpointResponseBody.
|
2022-09-28 08:54:22 +00:00
|
|
|
|
|
2024-06-27 11:16:10 +00:00
|
|
|
|
终端节点策略信息
|
2022-09-28 08:54:22 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The policy_statement of this EndpointResponseBody.
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
|
|
|
|
"""
|
|
|
|
|
return self._policy_statement
|
|
|
|
|
|
|
|
|
|
@policy_statement.setter
|
|
|
|
|
def policy_statement(self, policy_statement):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the policy_statement of this EndpointResponseBody.
|
2022-09-28 08:54:22 +00:00
|
|
|
|
|
2024-06-27 11:16:10 +00:00
|
|
|
|
终端节点策略信息
|
2022-09-28 08:54:22 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param policy_statement: The policy_statement of this EndpointResponseBody.
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
|
|
|
|
"""
|
|
|
|
|
self._policy_statement = policy_statement
|
|
|
|
|
|
2024-08-01 08:11:16 +00:00
|
|
|
|
@property
|
|
|
|
|
def policy_document(self):
|
|
|
|
|
"""Gets the policy_document of this EndpointResponseBody.
|
|
|
|
|
|
|
|
|
|
iam 5.0 策略
|
|
|
|
|
|
|
|
|
|
:return: The policy_document of this EndpointResponseBody.
|
|
|
|
|
:rtype: object
|
|
|
|
|
"""
|
|
|
|
|
return self._policy_document
|
|
|
|
|
|
|
|
|
|
@policy_document.setter
|
|
|
|
|
def policy_document(self, policy_document):
|
|
|
|
|
"""Sets the policy_document of this EndpointResponseBody.
|
|
|
|
|
|
|
|
|
|
iam 5.0 策略
|
|
|
|
|
|
|
|
|
|
:param policy_document: The policy_document of this EndpointResponseBody.
|
|
|
|
|
:type policy_document: object
|
|
|
|
|
"""
|
|
|
|
|
self._policy_document = policy_document
|
|
|
|
|
|
2022-09-28 08:54:22 +00:00
|
|
|
|
@property
|
|
|
|
|
def endpoint_pool_id(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the endpoint_pool_id of this EndpointResponseBody.
|
2022-09-28 08:54:22 +00:00
|
|
|
|
|
2023-04-20 08:57:41 +00:00
|
|
|
|
待废弃,实例相关联的集群ID
|
2022-09-28 08:54:22 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The endpoint_pool_id of this EndpointResponseBody.
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._endpoint_pool_id
|
|
|
|
|
|
|
|
|
|
@endpoint_pool_id.setter
|
|
|
|
|
def endpoint_pool_id(self, endpoint_pool_id):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the endpoint_pool_id of this EndpointResponseBody.
|
2022-09-28 08:54:22 +00:00
|
|
|
|
|
2023-04-20 08:57:41 +00:00
|
|
|
|
待废弃,实例相关联的集群ID
|
2022-09-28 08:54:22 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param endpoint_pool_id: The endpoint_pool_id of this EndpointResponseBody.
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:type endpoint_pool_id: str
|
|
|
|
|
"""
|
|
|
|
|
self._endpoint_pool_id = endpoint_pool_id
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def public_border_group(self):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Gets the public_border_group of this EndpointResponseBody.
|
2022-09-28 08:54:22 +00:00
|
|
|
|
|
2024-08-01 08:11:16 +00:00
|
|
|
|
终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回该字段
|
2022-09-28 08:54:22 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:return: The public_border_group of this EndpointResponseBody.
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._public_border_group
|
|
|
|
|
|
|
|
|
|
@public_border_group.setter
|
|
|
|
|
def public_border_group(self, public_border_group):
|
2024-03-14 11:13:03 +00:00
|
|
|
|
"""Sets the public_border_group of this EndpointResponseBody.
|
2022-09-28 08:54:22 +00:00
|
|
|
|
|
2024-08-01 08:11:16 +00:00
|
|
|
|
终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回该字段
|
2022-09-28 08:54:22 +00:00
|
|
|
|
|
2024-03-14 11:13:03 +00:00
|
|
|
|
:param public_border_group: The public_border_group of this EndpointResponseBody.
|
2022-09-28 08:54:22 +00:00
|
|
|
|
:type public_border_group: str
|
|
|
|
|
"""
|
|
|
|
|
self._public_border_group = public_border_group
|
|
|
|
|
|
2021-10-19 13:44:01 +00:00
|
|
|
|
def to_dict(self):
|
|
|
|
|
"""Returns the model properties as a dict"""
|
|
|
|
|
result = {}
|
|
|
|
|
|
|
|
|
|
for attr, _ in six.iteritems(self.openapi_types):
|
|
|
|
|
value = getattr(self, attr)
|
|
|
|
|
if isinstance(value, list):
|
|
|
|
|
result[attr] = list(map(
|
|
|
|
|
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
|
|
|
value
|
|
|
|
|
))
|
|
|
|
|
elif hasattr(value, "to_dict"):
|
|
|
|
|
result[attr] = value.to_dict()
|
|
|
|
|
elif isinstance(value, dict):
|
|
|
|
|
result[attr] = dict(map(
|
|
|
|
|
lambda item: (item[0], item[1].to_dict())
|
|
|
|
|
if hasattr(item[1], "to_dict") else item,
|
|
|
|
|
value.items()
|
|
|
|
|
))
|
|
|
|
|
else:
|
|
|
|
|
if attr in self.sensitive_list:
|
|
|
|
|
result[attr] = "****"
|
|
|
|
|
else:
|
|
|
|
|
result[attr] = value
|
|
|
|
|
|
|
|
|
|
return result
|
|
|
|
|
|
|
|
|
|
def to_str(self):
|
|
|
|
|
"""Returns the string representation of the model"""
|
|
|
|
|
import simplejson as json
|
|
|
|
|
if six.PY2:
|
|
|
|
|
import sys
|
|
|
|
|
reload(sys)
|
|
|
|
|
sys.setdefaultencoding("utf-8")
|
|
|
|
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
|
|
|
|
|
|
|
|
def __repr__(self):
|
|
|
|
|
"""For `print`"""
|
|
|
|
|
return self.to_str()
|
|
|
|
|
|
|
|
|
|
def __eq__(self, other):
|
|
|
|
|
"""Returns true if both objects are equal"""
|
2024-03-14 11:13:03 +00:00
|
|
|
|
if not isinstance(other, EndpointResponseBody):
|
2021-10-19 13:44:01 +00:00
|
|
|
|
return False
|
|
|
|
|
|
|
|
|
|
return self.__dict__ == other.__dict__
|
|
|
|
|
|
|
|
|
|
def __ne__(self, other):
|
|
|
|
|
"""Returns true if both objects are not equal"""
|
|
|
|
|
return not self == other
|