huaweicloudsdkgeip 3.1.177__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkgeip/__init__.py +0 -0
- huaweicloudsdkgeip/v3/__init__.py +224 -0
- huaweicloudsdkgeip/v3/geip_async_client.py +4984 -0
- huaweicloudsdkgeip/v3/geip_client.py +4981 -0
- huaweicloudsdkgeip/v3/model/__init__.py +221 -0
- huaweicloudsdkgeip/v3/model/add_geip_segment_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/add_geip_segment_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/add_global_eip_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/add_global_eip_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/allowed_bandwidth_types.py +166 -0
- huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_request.py +128 -0
- huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_response.py +162 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip.py +129 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_associate_instance_info.py +253 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_gc_bandwidth_info.py +398 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body_global_eip_segment.py +249 -0
- huaweicloudsdkgeip/v3/model/associate_instance_request.py +157 -0
- huaweicloudsdkgeip/v3/model/associate_instance_response.py +162 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth.py +135 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip.py +734 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body_global_eip.py +107 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_request.py +128 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_response.py +137 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_response.py +133 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_segment_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_job.py +166 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip.py +304 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip_internet_bandwidth_info.py +282 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_response.py +166 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth.py +598 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body_internet_bandwidth.py +395 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_create_v2_request_body.py +136 -0
- huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body.py +136 -0
- huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body_tags.py +136 -0
- huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_response.py +137 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_response.py +133 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_segment_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/batch_internet_bandwidths_global_eip_response_body.py +107 -0
- huaweicloudsdkgeip/v3/model/count_geip_segments.py +107 -0
- huaweicloudsdkgeip/v3/model/count_global_eip_segment_request.py +745 -0
- huaweicloudsdkgeip/v3/model/count_global_eip_segment_response.py +162 -0
- huaweicloudsdkgeip/v3/model/count_global_eips.py +107 -0
- huaweicloudsdkgeip/v3/model/count_global_eips_request.py +654 -0
- huaweicloudsdkgeip/v3/model/count_global_eips_response.py +162 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidth_request.py +279 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidths.py +107 -0
- huaweicloudsdkgeip/v3/model/create_global_eip.py +135 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request.py +104 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip.py +280 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip_tags.py +135 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_response.py +162 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request.py +104 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment.py +304 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment_internet_bandwidth.py +282 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_response.py +162 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth.py +684 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body_internet_bandwidth.py +365 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/create_tag.py +136 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_record.py +166 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_request.py +77 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_response.py +162 -0
- huaweicloudsdkgeip/v3/model/create_v2_tag_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/create_v2_tag_request_body_tag.py +135 -0
- huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_request.py +127 -0
- huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_request.py +103 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_segment_request.py +103 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_segment_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_tag_request.py +127 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_tag_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_request.py +103 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_request.py +127 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_user_disclaimer_request.py +77 -0
- huaweicloudsdkgeip/v3/model/delete_user_disclaimer_response.py +108 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth.py +107 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_global_eips.py +734 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_request.py +128 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_request.py +103 -0
- huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_response.py +162 -0
- huaweicloudsdkgeip/v3/model/disassociate_instance_request.py +131 -0
- huaweicloudsdkgeip/v3/model/disassociate_instance_response.py +162 -0
- huaweicloudsdkgeip/v3/model/ext_limit_pojo.py +166 -0
- huaweicloudsdkgeip/v3/model/geip_resource.py +191 -0
- huaweicloudsdkgeip/v3/model/geip_tags.py +135 -0
- huaweicloudsdkgeip/v3/model/get_account_tags_v2.py +135 -0
- huaweicloudsdkgeip/v3/model/global_connection_bandwidth_info.py +253 -0
- huaweicloudsdkgeip/v3/model/instance_info.py +340 -0
- huaweicloudsdkgeip/v3/model/internet_bandwidth_info.py +137 -0
- huaweicloudsdkgeip/v3/model/list_access_sites.py +311 -0
- huaweicloudsdkgeip/v3/model/list_access_sites_request.py +378 -0
- huaweicloudsdkgeip/v3/model/list_access_sites_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools.py +427 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools_request.py +453 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_request.py +245 -0
- huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_response.py +162 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_request.py +104 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_request.py +77 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_request.py +162 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_request.py +104 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_request.py +77 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_request.py +154 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments.py +680 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments_request.py +853 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_global_eips.py +734 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_request.py +903 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_response_body_page_info.py +166 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_request.py +104 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_request.py +77 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_response.py +137 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_request.py +154 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits.py +249 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_request.py +212 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths.py +746 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths_request.py +528 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_jobs.py +311 -0
- huaweicloudsdkgeip/v3/model/list_jobs_request.py +353 -0
- huaweicloudsdkgeip/v3/model/list_jobs_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_quotas.py +107 -0
- huaweicloudsdkgeip/v3/model/list_resources_by_tags_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/list_support_instances_support_regions.py +311 -0
- huaweicloudsdkgeip/v3/model/list_support_masks.py +224 -0
- huaweicloudsdkgeip/v3/model/list_support_masks_request.py +353 -0
- huaweicloudsdkgeip/v3/model/list_support_masks_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_support_regions.py +340 -0
- huaweicloudsdkgeip/v3/model/list_support_regions_request.py +453 -0
- huaweicloudsdkgeip/v3/model/list_support_regions_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_request.py +128 -0
- huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_response.py +166 -0
- huaweicloudsdkgeip/v3/model/lock_info.py +369 -0
- huaweicloudsdkgeip/v3/model/native_uuid.py +77 -0
- huaweicloudsdkgeip/v3/model/resources_info.py +195 -0
- huaweicloudsdkgeip/v3/model/short_global_eip_segment.py +137 -0
- huaweicloudsdkgeip/v3/model/show_geip_segment_tags_request.py +103 -0
- huaweicloudsdkgeip/v3/model/show_geip_segment_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/show_global_eip.py +734 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_request.py +128 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_response.py +162 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment.py +680 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment_request.py +128 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment_response.py +162 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_tags_request.py +103 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth.py +688 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_request.py +128 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_request.py +103 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/show_job.py +311 -0
- huaweicloudsdkgeip/v3/model/show_jobs_request.py +132 -0
- huaweicloudsdkgeip/v3/model/show_jobs_response.py +162 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_record.py +166 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_request.py +104 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_response.py +162 -0
- huaweicloudsdkgeip/v3/model/sys_tag.py +135 -0
- huaweicloudsdkgeip/v3/model/tag.py +137 -0
- huaweicloudsdkgeip/v3/model/update_global_eip.py +137 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request.py +128 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request_body_global_eip.py +137 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_response.py +162 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request.py +128 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body_global_eip_segment.py +137 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_response.py +162 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth.py +630 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request.py +128 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body_internet_bandwidth.py +224 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/region/__init__.py +0 -0
- huaweicloudsdkgeip/v3/region/geip_region.py +31 -0
- huaweicloudsdkgeip-3.1.177.dist-info/METADATA +25 -0
- huaweicloudsdkgeip-3.1.177.dist-info/RECORD +227 -0
- huaweicloudsdkgeip-3.1.177.dist-info/WHEEL +4 -0
- huaweicloudsdkgeip-3.1.177.dist-info/licenses/LICENSE +13 -0
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class CreateGlobalEip:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'id': 'str',
|
|
19
|
+
'name': 'str'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'id': 'id',
|
|
24
|
+
'name': 'name'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, id=None, name=None):
|
|
28
|
+
r"""CreateGlobalEip
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param id: 全域弹性公网IP的ID
|
|
33
|
+
:type id: str
|
|
34
|
+
:param name: - 功能说明:全域弹性公网IP段名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
35
|
+
:type name: str
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
self._id = None
|
|
41
|
+
self._name = None
|
|
42
|
+
self.discriminator = None
|
|
43
|
+
|
|
44
|
+
self.id = id
|
|
45
|
+
self.name = name
|
|
46
|
+
|
|
47
|
+
@property
|
|
48
|
+
def id(self):
|
|
49
|
+
r"""Gets the id of this CreateGlobalEip.
|
|
50
|
+
|
|
51
|
+
全域弹性公网IP的ID
|
|
52
|
+
|
|
53
|
+
:return: The id of this CreateGlobalEip.
|
|
54
|
+
:rtype: str
|
|
55
|
+
"""
|
|
56
|
+
return self._id
|
|
57
|
+
|
|
58
|
+
@id.setter
|
|
59
|
+
def id(self, id):
|
|
60
|
+
r"""Sets the id of this CreateGlobalEip.
|
|
61
|
+
|
|
62
|
+
全域弹性公网IP的ID
|
|
63
|
+
|
|
64
|
+
:param id: The id of this CreateGlobalEip.
|
|
65
|
+
:type id: str
|
|
66
|
+
"""
|
|
67
|
+
self._id = id
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
def name(self):
|
|
71
|
+
r"""Gets the name of this CreateGlobalEip.
|
|
72
|
+
|
|
73
|
+
- 功能说明:全域弹性公网IP段名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
74
|
+
|
|
75
|
+
:return: The name of this CreateGlobalEip.
|
|
76
|
+
:rtype: str
|
|
77
|
+
"""
|
|
78
|
+
return self._name
|
|
79
|
+
|
|
80
|
+
@name.setter
|
|
81
|
+
def name(self, name):
|
|
82
|
+
r"""Sets the name of this CreateGlobalEip.
|
|
83
|
+
|
|
84
|
+
- 功能说明:全域弹性公网IP段名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
85
|
+
|
|
86
|
+
:param name: The name of this CreateGlobalEip.
|
|
87
|
+
:type name: str
|
|
88
|
+
"""
|
|
89
|
+
self._name = name
|
|
90
|
+
|
|
91
|
+
def to_dict(self):
|
|
92
|
+
result = {}
|
|
93
|
+
|
|
94
|
+
for attr, _ in self.openapi_types.items():
|
|
95
|
+
value = getattr(self, attr)
|
|
96
|
+
if isinstance(value, list):
|
|
97
|
+
result[attr] = list(map(
|
|
98
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
99
|
+
value
|
|
100
|
+
))
|
|
101
|
+
elif hasattr(value, "to_dict"):
|
|
102
|
+
result[attr] = value.to_dict()
|
|
103
|
+
elif isinstance(value, dict):
|
|
104
|
+
result[attr] = dict(map(
|
|
105
|
+
lambda item: (item[0], item[1].to_dict())
|
|
106
|
+
if hasattr(item[1], "to_dict") else item,
|
|
107
|
+
value.items()
|
|
108
|
+
))
|
|
109
|
+
else:
|
|
110
|
+
if attr in self.sensitive_list:
|
|
111
|
+
result[attr] = "****"
|
|
112
|
+
else:
|
|
113
|
+
result[attr] = value
|
|
114
|
+
|
|
115
|
+
return result
|
|
116
|
+
|
|
117
|
+
def to_str(self):
|
|
118
|
+
"""Returns the string representation of the model"""
|
|
119
|
+
import simplejson as json
|
|
120
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
121
|
+
|
|
122
|
+
def __repr__(self):
|
|
123
|
+
"""For `print`"""
|
|
124
|
+
return self.to_str()
|
|
125
|
+
|
|
126
|
+
def __eq__(self, other):
|
|
127
|
+
"""Returns true if both objects are equal"""
|
|
128
|
+
if not isinstance(other, CreateGlobalEip):
|
|
129
|
+
return False
|
|
130
|
+
|
|
131
|
+
return self.__dict__ == other.__dict__
|
|
132
|
+
|
|
133
|
+
def __ne__(self, other):
|
|
134
|
+
"""Returns true if both objects are not equal"""
|
|
135
|
+
return not self == other
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class CreateGlobalEipRequest:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'body': 'CreateGlobalEipRequestBody'
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
attribute_map = {
|
|
22
|
+
'body': 'body'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
def __init__(self, body=None):
|
|
26
|
+
r"""CreateGlobalEipRequest
|
|
27
|
+
|
|
28
|
+
The model defined in huaweicloud sdk
|
|
29
|
+
|
|
30
|
+
:param body: Body of the CreateGlobalEipRequest
|
|
31
|
+
:type body: :class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBody`
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
self._body = None
|
|
37
|
+
self.discriminator = None
|
|
38
|
+
|
|
39
|
+
if body is not None:
|
|
40
|
+
self.body = body
|
|
41
|
+
|
|
42
|
+
@property
|
|
43
|
+
def body(self):
|
|
44
|
+
r"""Gets the body of this CreateGlobalEipRequest.
|
|
45
|
+
|
|
46
|
+
:return: The body of this CreateGlobalEipRequest.
|
|
47
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBody`
|
|
48
|
+
"""
|
|
49
|
+
return self._body
|
|
50
|
+
|
|
51
|
+
@body.setter
|
|
52
|
+
def body(self, body):
|
|
53
|
+
r"""Sets the body of this CreateGlobalEipRequest.
|
|
54
|
+
|
|
55
|
+
:param body: The body of this CreateGlobalEipRequest.
|
|
56
|
+
:type body: :class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBody`
|
|
57
|
+
"""
|
|
58
|
+
self._body = body
|
|
59
|
+
|
|
60
|
+
def to_dict(self):
|
|
61
|
+
result = {}
|
|
62
|
+
|
|
63
|
+
for attr, _ in self.openapi_types.items():
|
|
64
|
+
value = getattr(self, attr)
|
|
65
|
+
if isinstance(value, list):
|
|
66
|
+
result[attr] = list(map(
|
|
67
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
68
|
+
value
|
|
69
|
+
))
|
|
70
|
+
elif hasattr(value, "to_dict"):
|
|
71
|
+
result[attr] = value.to_dict()
|
|
72
|
+
elif isinstance(value, dict):
|
|
73
|
+
result[attr] = dict(map(
|
|
74
|
+
lambda item: (item[0], item[1].to_dict())
|
|
75
|
+
if hasattr(item[1], "to_dict") else item,
|
|
76
|
+
value.items()
|
|
77
|
+
))
|
|
78
|
+
else:
|
|
79
|
+
if attr in self.sensitive_list:
|
|
80
|
+
result[attr] = "****"
|
|
81
|
+
else:
|
|
82
|
+
result[attr] = value
|
|
83
|
+
|
|
84
|
+
return result
|
|
85
|
+
|
|
86
|
+
def to_str(self):
|
|
87
|
+
"""Returns the string representation of the model"""
|
|
88
|
+
import simplejson as json
|
|
89
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
90
|
+
|
|
91
|
+
def __repr__(self):
|
|
92
|
+
"""For `print`"""
|
|
93
|
+
return self.to_str()
|
|
94
|
+
|
|
95
|
+
def __eq__(self, other):
|
|
96
|
+
"""Returns true if both objects are equal"""
|
|
97
|
+
if not isinstance(other, CreateGlobalEipRequest):
|
|
98
|
+
return False
|
|
99
|
+
|
|
100
|
+
return self.__dict__ == other.__dict__
|
|
101
|
+
|
|
102
|
+
def __ne__(self, other):
|
|
103
|
+
"""Returns true if both objects are not equal"""
|
|
104
|
+
return not self == other
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class CreateGlobalEipRequestBody:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'dry_run': 'bool',
|
|
19
|
+
'global_eip': 'CreateGlobalEipRequestBodyGlobalEip'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'dry_run': 'dry_run',
|
|
24
|
+
'global_eip': 'global_eip'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, dry_run=None, global_eip=None):
|
|
28
|
+
r"""CreateGlobalEipRequestBody
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param dry_run:
|
|
33
|
+
:type dry_run: bool
|
|
34
|
+
:param global_eip:
|
|
35
|
+
:type global_eip: :class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEip`
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
self._dry_run = None
|
|
41
|
+
self._global_eip = None
|
|
42
|
+
self.discriminator = None
|
|
43
|
+
|
|
44
|
+
if dry_run is not None:
|
|
45
|
+
self.dry_run = dry_run
|
|
46
|
+
self.global_eip = global_eip
|
|
47
|
+
|
|
48
|
+
@property
|
|
49
|
+
def dry_run(self):
|
|
50
|
+
r"""Gets the dry_run of this CreateGlobalEipRequestBody.
|
|
51
|
+
|
|
52
|
+
:return: The dry_run of this CreateGlobalEipRequestBody.
|
|
53
|
+
:rtype: bool
|
|
54
|
+
"""
|
|
55
|
+
return self._dry_run
|
|
56
|
+
|
|
57
|
+
@dry_run.setter
|
|
58
|
+
def dry_run(self, dry_run):
|
|
59
|
+
r"""Sets the dry_run of this CreateGlobalEipRequestBody.
|
|
60
|
+
|
|
61
|
+
:param dry_run: The dry_run of this CreateGlobalEipRequestBody.
|
|
62
|
+
:type dry_run: bool
|
|
63
|
+
"""
|
|
64
|
+
self._dry_run = dry_run
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
def global_eip(self):
|
|
68
|
+
r"""Gets the global_eip of this CreateGlobalEipRequestBody.
|
|
69
|
+
|
|
70
|
+
:return: The global_eip of this CreateGlobalEipRequestBody.
|
|
71
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEip`
|
|
72
|
+
"""
|
|
73
|
+
return self._global_eip
|
|
74
|
+
|
|
75
|
+
@global_eip.setter
|
|
76
|
+
def global_eip(self, global_eip):
|
|
77
|
+
r"""Sets the global_eip of this CreateGlobalEipRequestBody.
|
|
78
|
+
|
|
79
|
+
:param global_eip: The global_eip of this CreateGlobalEipRequestBody.
|
|
80
|
+
:type global_eip: :class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEip`
|
|
81
|
+
"""
|
|
82
|
+
self._global_eip = global_eip
|
|
83
|
+
|
|
84
|
+
def to_dict(self):
|
|
85
|
+
result = {}
|
|
86
|
+
|
|
87
|
+
for attr, _ in self.openapi_types.items():
|
|
88
|
+
value = getattr(self, attr)
|
|
89
|
+
if isinstance(value, list):
|
|
90
|
+
result[attr] = list(map(
|
|
91
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
92
|
+
value
|
|
93
|
+
))
|
|
94
|
+
elif hasattr(value, "to_dict"):
|
|
95
|
+
result[attr] = value.to_dict()
|
|
96
|
+
elif isinstance(value, dict):
|
|
97
|
+
result[attr] = dict(map(
|
|
98
|
+
lambda item: (item[0], item[1].to_dict())
|
|
99
|
+
if hasattr(item[1], "to_dict") else item,
|
|
100
|
+
value.items()
|
|
101
|
+
))
|
|
102
|
+
else:
|
|
103
|
+
if attr in self.sensitive_list:
|
|
104
|
+
result[attr] = "****"
|
|
105
|
+
else:
|
|
106
|
+
result[attr] = value
|
|
107
|
+
|
|
108
|
+
return result
|
|
109
|
+
|
|
110
|
+
def to_str(self):
|
|
111
|
+
"""Returns the string representation of the model"""
|
|
112
|
+
import simplejson as json
|
|
113
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
114
|
+
|
|
115
|
+
def __repr__(self):
|
|
116
|
+
"""For `print`"""
|
|
117
|
+
return self.to_str()
|
|
118
|
+
|
|
119
|
+
def __eq__(self, other):
|
|
120
|
+
"""Returns true if both objects are equal"""
|
|
121
|
+
if not isinstance(other, CreateGlobalEipRequestBody):
|
|
122
|
+
return False
|
|
123
|
+
|
|
124
|
+
return self.__dict__ == other.__dict__
|
|
125
|
+
|
|
126
|
+
def __ne__(self, other):
|
|
127
|
+
"""Returns true if both objects are not equal"""
|
|
128
|
+
return not self == other
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class CreateGlobalEipRequestBodyGlobalEip:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'name': 'str',
|
|
19
|
+
'description': 'str',
|
|
20
|
+
'geip_pool_name': 'str',
|
|
21
|
+
'access_site': 'str',
|
|
22
|
+
'internet_bandwidth_id': 'str',
|
|
23
|
+
'tags': 'list[CreateGlobalEipRequestBodyGlobalEipTags]',
|
|
24
|
+
'enterprise_project_id': 'str'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
attribute_map = {
|
|
28
|
+
'name': 'name',
|
|
29
|
+
'description': 'description',
|
|
30
|
+
'geip_pool_name': 'geip_pool_name',
|
|
31
|
+
'access_site': 'access_site',
|
|
32
|
+
'internet_bandwidth_id': 'internet_bandwidth_id',
|
|
33
|
+
'tags': 'tags',
|
|
34
|
+
'enterprise_project_id': 'enterprise_project_id'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
def __init__(self, name=None, description=None, geip_pool_name=None, access_site=None, internet_bandwidth_id=None, tags=None, enterprise_project_id=None):
|
|
38
|
+
r"""CreateGlobalEipRequestBodyGlobalEip
|
|
39
|
+
|
|
40
|
+
The model defined in huaweicloud sdk
|
|
41
|
+
|
|
42
|
+
:param name: - 功能说明:全域弹性公网IP段名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
43
|
+
:type name: str
|
|
44
|
+
:param description: - 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
45
|
+
:type description: str
|
|
46
|
+
:param geip_pool_name: 全域弹性公网IP池子名称
|
|
47
|
+
:type geip_pool_name: str
|
|
48
|
+
:param access_site: 接入点信息
|
|
49
|
+
:type access_site: str
|
|
50
|
+
:param internet_bandwidth_id: 全域公网带宽的ID
|
|
51
|
+
:type internet_bandwidth_id: str
|
|
52
|
+
:param tags: 全域弹性公网IP标签
|
|
53
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
54
|
+
:param enterprise_project_id: - 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
55
|
+
:type enterprise_project_id: str
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
self._name = None
|
|
61
|
+
self._description = None
|
|
62
|
+
self._geip_pool_name = None
|
|
63
|
+
self._access_site = None
|
|
64
|
+
self._internet_bandwidth_id = None
|
|
65
|
+
self._tags = None
|
|
66
|
+
self._enterprise_project_id = None
|
|
67
|
+
self.discriminator = None
|
|
68
|
+
|
|
69
|
+
if name is not None:
|
|
70
|
+
self.name = name
|
|
71
|
+
if description is not None:
|
|
72
|
+
self.description = description
|
|
73
|
+
self.geip_pool_name = geip_pool_name
|
|
74
|
+
self.access_site = access_site
|
|
75
|
+
if internet_bandwidth_id is not None:
|
|
76
|
+
self.internet_bandwidth_id = internet_bandwidth_id
|
|
77
|
+
if tags is not None:
|
|
78
|
+
self.tags = tags
|
|
79
|
+
if enterprise_project_id is not None:
|
|
80
|
+
self.enterprise_project_id = enterprise_project_id
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
def name(self):
|
|
84
|
+
r"""Gets the name of this CreateGlobalEipRequestBodyGlobalEip.
|
|
85
|
+
|
|
86
|
+
- 功能说明:全域弹性公网IP段名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
87
|
+
|
|
88
|
+
:return: The name of this CreateGlobalEipRequestBodyGlobalEip.
|
|
89
|
+
:rtype: str
|
|
90
|
+
"""
|
|
91
|
+
return self._name
|
|
92
|
+
|
|
93
|
+
@name.setter
|
|
94
|
+
def name(self, name):
|
|
95
|
+
r"""Sets the name of this CreateGlobalEipRequestBodyGlobalEip.
|
|
96
|
+
|
|
97
|
+
- 功能说明:全域弹性公网IP段名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
98
|
+
|
|
99
|
+
:param name: The name of this CreateGlobalEipRequestBodyGlobalEip.
|
|
100
|
+
:type name: str
|
|
101
|
+
"""
|
|
102
|
+
self._name = name
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
def description(self):
|
|
106
|
+
r"""Gets the description of this CreateGlobalEipRequestBodyGlobalEip.
|
|
107
|
+
|
|
108
|
+
- 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
109
|
+
|
|
110
|
+
:return: The description of this CreateGlobalEipRequestBodyGlobalEip.
|
|
111
|
+
:rtype: str
|
|
112
|
+
"""
|
|
113
|
+
return self._description
|
|
114
|
+
|
|
115
|
+
@description.setter
|
|
116
|
+
def description(self, description):
|
|
117
|
+
r"""Sets the description of this CreateGlobalEipRequestBodyGlobalEip.
|
|
118
|
+
|
|
119
|
+
- 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
120
|
+
|
|
121
|
+
:param description: The description of this CreateGlobalEipRequestBodyGlobalEip.
|
|
122
|
+
:type description: str
|
|
123
|
+
"""
|
|
124
|
+
self._description = description
|
|
125
|
+
|
|
126
|
+
@property
|
|
127
|
+
def geip_pool_name(self):
|
|
128
|
+
r"""Gets the geip_pool_name of this CreateGlobalEipRequestBodyGlobalEip.
|
|
129
|
+
|
|
130
|
+
全域弹性公网IP池子名称
|
|
131
|
+
|
|
132
|
+
:return: The geip_pool_name of this CreateGlobalEipRequestBodyGlobalEip.
|
|
133
|
+
:rtype: str
|
|
134
|
+
"""
|
|
135
|
+
return self._geip_pool_name
|
|
136
|
+
|
|
137
|
+
@geip_pool_name.setter
|
|
138
|
+
def geip_pool_name(self, geip_pool_name):
|
|
139
|
+
r"""Sets the geip_pool_name of this CreateGlobalEipRequestBodyGlobalEip.
|
|
140
|
+
|
|
141
|
+
全域弹性公网IP池子名称
|
|
142
|
+
|
|
143
|
+
:param geip_pool_name: The geip_pool_name of this CreateGlobalEipRequestBodyGlobalEip.
|
|
144
|
+
:type geip_pool_name: str
|
|
145
|
+
"""
|
|
146
|
+
self._geip_pool_name = geip_pool_name
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
def access_site(self):
|
|
150
|
+
r"""Gets the access_site of this CreateGlobalEipRequestBodyGlobalEip.
|
|
151
|
+
|
|
152
|
+
接入点信息
|
|
153
|
+
|
|
154
|
+
:return: The access_site of this CreateGlobalEipRequestBodyGlobalEip.
|
|
155
|
+
:rtype: str
|
|
156
|
+
"""
|
|
157
|
+
return self._access_site
|
|
158
|
+
|
|
159
|
+
@access_site.setter
|
|
160
|
+
def access_site(self, access_site):
|
|
161
|
+
r"""Sets the access_site of this CreateGlobalEipRequestBodyGlobalEip.
|
|
162
|
+
|
|
163
|
+
接入点信息
|
|
164
|
+
|
|
165
|
+
:param access_site: The access_site of this CreateGlobalEipRequestBodyGlobalEip.
|
|
166
|
+
:type access_site: str
|
|
167
|
+
"""
|
|
168
|
+
self._access_site = access_site
|
|
169
|
+
|
|
170
|
+
@property
|
|
171
|
+
def internet_bandwidth_id(self):
|
|
172
|
+
r"""Gets the internet_bandwidth_id of this CreateGlobalEipRequestBodyGlobalEip.
|
|
173
|
+
|
|
174
|
+
全域公网带宽的ID
|
|
175
|
+
|
|
176
|
+
:return: The internet_bandwidth_id of this CreateGlobalEipRequestBodyGlobalEip.
|
|
177
|
+
:rtype: str
|
|
178
|
+
"""
|
|
179
|
+
return self._internet_bandwidth_id
|
|
180
|
+
|
|
181
|
+
@internet_bandwidth_id.setter
|
|
182
|
+
def internet_bandwidth_id(self, internet_bandwidth_id):
|
|
183
|
+
r"""Sets the internet_bandwidth_id of this CreateGlobalEipRequestBodyGlobalEip.
|
|
184
|
+
|
|
185
|
+
全域公网带宽的ID
|
|
186
|
+
|
|
187
|
+
:param internet_bandwidth_id: The internet_bandwidth_id of this CreateGlobalEipRequestBodyGlobalEip.
|
|
188
|
+
:type internet_bandwidth_id: str
|
|
189
|
+
"""
|
|
190
|
+
self._internet_bandwidth_id = internet_bandwidth_id
|
|
191
|
+
|
|
192
|
+
@property
|
|
193
|
+
def tags(self):
|
|
194
|
+
r"""Gets the tags of this CreateGlobalEipRequestBodyGlobalEip.
|
|
195
|
+
|
|
196
|
+
全域弹性公网IP标签
|
|
197
|
+
|
|
198
|
+
:return: The tags of this CreateGlobalEipRequestBodyGlobalEip.
|
|
199
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
200
|
+
"""
|
|
201
|
+
return self._tags
|
|
202
|
+
|
|
203
|
+
@tags.setter
|
|
204
|
+
def tags(self, tags):
|
|
205
|
+
r"""Sets the tags of this CreateGlobalEipRequestBodyGlobalEip.
|
|
206
|
+
|
|
207
|
+
全域弹性公网IP标签
|
|
208
|
+
|
|
209
|
+
:param tags: The tags of this CreateGlobalEipRequestBodyGlobalEip.
|
|
210
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
211
|
+
"""
|
|
212
|
+
self._tags = tags
|
|
213
|
+
|
|
214
|
+
@property
|
|
215
|
+
def enterprise_project_id(self):
|
|
216
|
+
r"""Gets the enterprise_project_id of this CreateGlobalEipRequestBodyGlobalEip.
|
|
217
|
+
|
|
218
|
+
- 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
219
|
+
|
|
220
|
+
:return: The enterprise_project_id of this CreateGlobalEipRequestBodyGlobalEip.
|
|
221
|
+
:rtype: str
|
|
222
|
+
"""
|
|
223
|
+
return self._enterprise_project_id
|
|
224
|
+
|
|
225
|
+
@enterprise_project_id.setter
|
|
226
|
+
def enterprise_project_id(self, enterprise_project_id):
|
|
227
|
+
r"""Sets the enterprise_project_id of this CreateGlobalEipRequestBodyGlobalEip.
|
|
228
|
+
|
|
229
|
+
- 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
230
|
+
|
|
231
|
+
:param enterprise_project_id: The enterprise_project_id of this CreateGlobalEipRequestBodyGlobalEip.
|
|
232
|
+
:type enterprise_project_id: str
|
|
233
|
+
"""
|
|
234
|
+
self._enterprise_project_id = enterprise_project_id
|
|
235
|
+
|
|
236
|
+
def to_dict(self):
|
|
237
|
+
result = {}
|
|
238
|
+
|
|
239
|
+
for attr, _ in self.openapi_types.items():
|
|
240
|
+
value = getattr(self, attr)
|
|
241
|
+
if isinstance(value, list):
|
|
242
|
+
result[attr] = list(map(
|
|
243
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
244
|
+
value
|
|
245
|
+
))
|
|
246
|
+
elif hasattr(value, "to_dict"):
|
|
247
|
+
result[attr] = value.to_dict()
|
|
248
|
+
elif isinstance(value, dict):
|
|
249
|
+
result[attr] = dict(map(
|
|
250
|
+
lambda item: (item[0], item[1].to_dict())
|
|
251
|
+
if hasattr(item[1], "to_dict") else item,
|
|
252
|
+
value.items()
|
|
253
|
+
))
|
|
254
|
+
else:
|
|
255
|
+
if attr in self.sensitive_list:
|
|
256
|
+
result[attr] = "****"
|
|
257
|
+
else:
|
|
258
|
+
result[attr] = value
|
|
259
|
+
|
|
260
|
+
return result
|
|
261
|
+
|
|
262
|
+
def to_str(self):
|
|
263
|
+
"""Returns the string representation of the model"""
|
|
264
|
+
import simplejson as json
|
|
265
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
266
|
+
|
|
267
|
+
def __repr__(self):
|
|
268
|
+
"""For `print`"""
|
|
269
|
+
return self.to_str()
|
|
270
|
+
|
|
271
|
+
def __eq__(self, other):
|
|
272
|
+
"""Returns true if both objects are equal"""
|
|
273
|
+
if not isinstance(other, CreateGlobalEipRequestBodyGlobalEip):
|
|
274
|
+
return False
|
|
275
|
+
|
|
276
|
+
return self.__dict__ == other.__dict__
|
|
277
|
+
|
|
278
|
+
def __ne__(self, other):
|
|
279
|
+
"""Returns true if both objects are not equal"""
|
|
280
|
+
return not self == other
|