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,304 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class BatchCreateGlobalEipRequestBodyGlobalEip:
|
|
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_info': 'BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo',
|
|
23
|
+
'count': 'int',
|
|
24
|
+
'tags': 'list[CreateGlobalEipRequestBodyGlobalEipTags]',
|
|
25
|
+
'enterprise_project_id': 'str'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
attribute_map = {
|
|
29
|
+
'name': 'name',
|
|
30
|
+
'description': 'description',
|
|
31
|
+
'geip_pool_name': 'geip_pool_name',
|
|
32
|
+
'access_site': 'access_site',
|
|
33
|
+
'internet_bandwidth_info': 'internet_bandwidth_info',
|
|
34
|
+
'count': 'count',
|
|
35
|
+
'tags': 'tags',
|
|
36
|
+
'enterprise_project_id': 'enterprise_project_id'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
def __init__(self, name=None, description=None, geip_pool_name=None, access_site=None, internet_bandwidth_info=None, count=None, tags=None, enterprise_project_id=None):
|
|
40
|
+
r"""BatchCreateGlobalEipRequestBodyGlobalEip
|
|
41
|
+
|
|
42
|
+
The model defined in huaweicloud sdk
|
|
43
|
+
|
|
44
|
+
:param name: - 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
45
|
+
:type name: str
|
|
46
|
+
:param description: - 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
47
|
+
:type description: str
|
|
48
|
+
:param geip_pool_name: 全域弹性公网IP池子名称
|
|
49
|
+
:type geip_pool_name: str
|
|
50
|
+
:param access_site: 接入点信息
|
|
51
|
+
:type access_site: str
|
|
52
|
+
:param internet_bandwidth_info:
|
|
53
|
+
:type internet_bandwidth_info: :class:`huaweicloudsdkgeip.v3.BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo`
|
|
54
|
+
:param count: 批创个数
|
|
55
|
+
:type count: int
|
|
56
|
+
:param tags: 全域弹性公网IP标签
|
|
57
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
58
|
+
:param enterprise_project_id: - 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
59
|
+
:type enterprise_project_id: str
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
self._name = None
|
|
65
|
+
self._description = None
|
|
66
|
+
self._geip_pool_name = None
|
|
67
|
+
self._access_site = None
|
|
68
|
+
self._internet_bandwidth_info = None
|
|
69
|
+
self._count = None
|
|
70
|
+
self._tags = None
|
|
71
|
+
self._enterprise_project_id = None
|
|
72
|
+
self.discriminator = None
|
|
73
|
+
|
|
74
|
+
if name is not None:
|
|
75
|
+
self.name = name
|
|
76
|
+
if description is not None:
|
|
77
|
+
self.description = description
|
|
78
|
+
self.geip_pool_name = geip_pool_name
|
|
79
|
+
self.access_site = access_site
|
|
80
|
+
self.internet_bandwidth_info = internet_bandwidth_info
|
|
81
|
+
if count is not None:
|
|
82
|
+
self.count = count
|
|
83
|
+
if tags is not None:
|
|
84
|
+
self.tags = tags
|
|
85
|
+
if enterprise_project_id is not None:
|
|
86
|
+
self.enterprise_project_id = enterprise_project_id
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
def name(self):
|
|
90
|
+
r"""Gets the name of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
91
|
+
|
|
92
|
+
- 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
93
|
+
|
|
94
|
+
:return: The name of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
95
|
+
:rtype: str
|
|
96
|
+
"""
|
|
97
|
+
return self._name
|
|
98
|
+
|
|
99
|
+
@name.setter
|
|
100
|
+
def name(self, name):
|
|
101
|
+
r"""Sets the name of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
102
|
+
|
|
103
|
+
- 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
104
|
+
|
|
105
|
+
:param name: The name of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
106
|
+
:type name: str
|
|
107
|
+
"""
|
|
108
|
+
self._name = name
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
def description(self):
|
|
112
|
+
r"""Gets the description of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
113
|
+
|
|
114
|
+
- 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
115
|
+
|
|
116
|
+
:return: The description of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
117
|
+
:rtype: str
|
|
118
|
+
"""
|
|
119
|
+
return self._description
|
|
120
|
+
|
|
121
|
+
@description.setter
|
|
122
|
+
def description(self, description):
|
|
123
|
+
r"""Sets the description of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
124
|
+
|
|
125
|
+
- 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
126
|
+
|
|
127
|
+
:param description: The description of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
128
|
+
:type description: str
|
|
129
|
+
"""
|
|
130
|
+
self._description = description
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def geip_pool_name(self):
|
|
134
|
+
r"""Gets the geip_pool_name of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
135
|
+
|
|
136
|
+
全域弹性公网IP池子名称
|
|
137
|
+
|
|
138
|
+
:return: The geip_pool_name of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
139
|
+
:rtype: str
|
|
140
|
+
"""
|
|
141
|
+
return self._geip_pool_name
|
|
142
|
+
|
|
143
|
+
@geip_pool_name.setter
|
|
144
|
+
def geip_pool_name(self, geip_pool_name):
|
|
145
|
+
r"""Sets the geip_pool_name of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
146
|
+
|
|
147
|
+
全域弹性公网IP池子名称
|
|
148
|
+
|
|
149
|
+
:param geip_pool_name: The geip_pool_name of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
150
|
+
:type geip_pool_name: str
|
|
151
|
+
"""
|
|
152
|
+
self._geip_pool_name = geip_pool_name
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
def access_site(self):
|
|
156
|
+
r"""Gets the access_site of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
157
|
+
|
|
158
|
+
接入点信息
|
|
159
|
+
|
|
160
|
+
:return: The access_site of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
161
|
+
:rtype: str
|
|
162
|
+
"""
|
|
163
|
+
return self._access_site
|
|
164
|
+
|
|
165
|
+
@access_site.setter
|
|
166
|
+
def access_site(self, access_site):
|
|
167
|
+
r"""Sets the access_site of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
168
|
+
|
|
169
|
+
接入点信息
|
|
170
|
+
|
|
171
|
+
:param access_site: The access_site of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
172
|
+
:type access_site: str
|
|
173
|
+
"""
|
|
174
|
+
self._access_site = access_site
|
|
175
|
+
|
|
176
|
+
@property
|
|
177
|
+
def internet_bandwidth_info(self):
|
|
178
|
+
r"""Gets the internet_bandwidth_info of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
179
|
+
|
|
180
|
+
:return: The internet_bandwidth_info of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
181
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo`
|
|
182
|
+
"""
|
|
183
|
+
return self._internet_bandwidth_info
|
|
184
|
+
|
|
185
|
+
@internet_bandwidth_info.setter
|
|
186
|
+
def internet_bandwidth_info(self, internet_bandwidth_info):
|
|
187
|
+
r"""Sets the internet_bandwidth_info of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
188
|
+
|
|
189
|
+
:param internet_bandwidth_info: The internet_bandwidth_info of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
190
|
+
:type internet_bandwidth_info: :class:`huaweicloudsdkgeip.v3.BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo`
|
|
191
|
+
"""
|
|
192
|
+
self._internet_bandwidth_info = internet_bandwidth_info
|
|
193
|
+
|
|
194
|
+
@property
|
|
195
|
+
def count(self):
|
|
196
|
+
r"""Gets the count of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
197
|
+
|
|
198
|
+
批创个数
|
|
199
|
+
|
|
200
|
+
:return: The count of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
201
|
+
:rtype: int
|
|
202
|
+
"""
|
|
203
|
+
return self._count
|
|
204
|
+
|
|
205
|
+
@count.setter
|
|
206
|
+
def count(self, count):
|
|
207
|
+
r"""Sets the count of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
208
|
+
|
|
209
|
+
批创个数
|
|
210
|
+
|
|
211
|
+
:param count: The count of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
212
|
+
:type count: int
|
|
213
|
+
"""
|
|
214
|
+
self._count = count
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
def tags(self):
|
|
218
|
+
r"""Gets the tags of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
219
|
+
|
|
220
|
+
全域弹性公网IP标签
|
|
221
|
+
|
|
222
|
+
:return: The tags of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
223
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
224
|
+
"""
|
|
225
|
+
return self._tags
|
|
226
|
+
|
|
227
|
+
@tags.setter
|
|
228
|
+
def tags(self, tags):
|
|
229
|
+
r"""Sets the tags of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
230
|
+
|
|
231
|
+
全域弹性公网IP标签
|
|
232
|
+
|
|
233
|
+
:param tags: The tags of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
234
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
235
|
+
"""
|
|
236
|
+
self._tags = tags
|
|
237
|
+
|
|
238
|
+
@property
|
|
239
|
+
def enterprise_project_id(self):
|
|
240
|
+
r"""Gets the enterprise_project_id of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
241
|
+
|
|
242
|
+
- 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
243
|
+
|
|
244
|
+
:return: The enterprise_project_id of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
245
|
+
:rtype: str
|
|
246
|
+
"""
|
|
247
|
+
return self._enterprise_project_id
|
|
248
|
+
|
|
249
|
+
@enterprise_project_id.setter
|
|
250
|
+
def enterprise_project_id(self, enterprise_project_id):
|
|
251
|
+
r"""Sets the enterprise_project_id of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
252
|
+
|
|
253
|
+
- 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
254
|
+
|
|
255
|
+
:param enterprise_project_id: The enterprise_project_id of this BatchCreateGlobalEipRequestBodyGlobalEip.
|
|
256
|
+
:type enterprise_project_id: str
|
|
257
|
+
"""
|
|
258
|
+
self._enterprise_project_id = enterprise_project_id
|
|
259
|
+
|
|
260
|
+
def to_dict(self):
|
|
261
|
+
result = {}
|
|
262
|
+
|
|
263
|
+
for attr, _ in self.openapi_types.items():
|
|
264
|
+
value = getattr(self, attr)
|
|
265
|
+
if isinstance(value, list):
|
|
266
|
+
result[attr] = list(map(
|
|
267
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
268
|
+
value
|
|
269
|
+
))
|
|
270
|
+
elif hasattr(value, "to_dict"):
|
|
271
|
+
result[attr] = value.to_dict()
|
|
272
|
+
elif isinstance(value, dict):
|
|
273
|
+
result[attr] = dict(map(
|
|
274
|
+
lambda item: (item[0], item[1].to_dict())
|
|
275
|
+
if hasattr(item[1], "to_dict") else item,
|
|
276
|
+
value.items()
|
|
277
|
+
))
|
|
278
|
+
else:
|
|
279
|
+
if attr in self.sensitive_list:
|
|
280
|
+
result[attr] = "****"
|
|
281
|
+
else:
|
|
282
|
+
result[attr] = value
|
|
283
|
+
|
|
284
|
+
return result
|
|
285
|
+
|
|
286
|
+
def to_str(self):
|
|
287
|
+
"""Returns the string representation of the model"""
|
|
288
|
+
import simplejson as json
|
|
289
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
290
|
+
|
|
291
|
+
def __repr__(self):
|
|
292
|
+
"""For `print`"""
|
|
293
|
+
return self.to_str()
|
|
294
|
+
|
|
295
|
+
def __eq__(self, other):
|
|
296
|
+
"""Returns true if both objects are equal"""
|
|
297
|
+
if not isinstance(other, BatchCreateGlobalEipRequestBodyGlobalEip):
|
|
298
|
+
return False
|
|
299
|
+
|
|
300
|
+
return self.__dict__ == other.__dict__
|
|
301
|
+
|
|
302
|
+
def __ne__(self, other):
|
|
303
|
+
"""Returns true if both objects are not equal"""
|
|
304
|
+
return not self == other
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo:
|
|
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
|
+
'ingress_size': 'int',
|
|
20
|
+
'charge_mode': 'str',
|
|
21
|
+
'size': 'int',
|
|
22
|
+
'name': 'str',
|
|
23
|
+
'tags': 'list[CreateGlobalEipRequestBodyGlobalEipTags]',
|
|
24
|
+
'type': 'str'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
attribute_map = {
|
|
28
|
+
'id': 'id',
|
|
29
|
+
'ingress_size': 'ingress_size',
|
|
30
|
+
'charge_mode': 'charge_mode',
|
|
31
|
+
'size': 'size',
|
|
32
|
+
'name': 'name',
|
|
33
|
+
'tags': 'tags',
|
|
34
|
+
'type': 'type'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
def __init__(self, id=None, ingress_size=None, charge_mode=None, size=None, name=None, tags=None, type=None):
|
|
38
|
+
r"""BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo
|
|
39
|
+
|
|
40
|
+
The model defined in huaweicloud sdk
|
|
41
|
+
|
|
42
|
+
:param id: 全域公网带宽的ID
|
|
43
|
+
:type id: str
|
|
44
|
+
:param ingress_size: 全域公网带宽大小(入云方向)
|
|
45
|
+
:type ingress_size: int
|
|
46
|
+
:param charge_mode: 计费模式
|
|
47
|
+
:type charge_mode: str
|
|
48
|
+
:param size: 全域公网带宽大小(出云方向)
|
|
49
|
+
:type size: int
|
|
50
|
+
:param name: - 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
51
|
+
:type name: str
|
|
52
|
+
:param tags: 全域弹性公网IP标签
|
|
53
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
54
|
+
:param type: 全域公网带宽类型
|
|
55
|
+
:type type: str
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
self._id = None
|
|
61
|
+
self._ingress_size = None
|
|
62
|
+
self._charge_mode = None
|
|
63
|
+
self._size = None
|
|
64
|
+
self._name = None
|
|
65
|
+
self._tags = None
|
|
66
|
+
self._type = None
|
|
67
|
+
self.discriminator = None
|
|
68
|
+
|
|
69
|
+
if id is not None:
|
|
70
|
+
self.id = id
|
|
71
|
+
if ingress_size is not None:
|
|
72
|
+
self.ingress_size = ingress_size
|
|
73
|
+
if charge_mode is not None:
|
|
74
|
+
self.charge_mode = charge_mode
|
|
75
|
+
if size is not None:
|
|
76
|
+
self.size = size
|
|
77
|
+
if name is not None:
|
|
78
|
+
self.name = name
|
|
79
|
+
if tags is not None:
|
|
80
|
+
self.tags = tags
|
|
81
|
+
if type is not None:
|
|
82
|
+
self.type = type
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def id(self):
|
|
86
|
+
r"""Gets the id of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
87
|
+
|
|
88
|
+
全域公网带宽的ID
|
|
89
|
+
|
|
90
|
+
:return: The id of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._id
|
|
94
|
+
|
|
95
|
+
@id.setter
|
|
96
|
+
def id(self, id):
|
|
97
|
+
r"""Sets the id of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
98
|
+
|
|
99
|
+
全域公网带宽的ID
|
|
100
|
+
|
|
101
|
+
:param id: The id of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
102
|
+
:type id: str
|
|
103
|
+
"""
|
|
104
|
+
self._id = id
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def ingress_size(self):
|
|
108
|
+
r"""Gets the ingress_size of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
109
|
+
|
|
110
|
+
全域公网带宽大小(入云方向)
|
|
111
|
+
|
|
112
|
+
:return: The ingress_size of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
113
|
+
:rtype: int
|
|
114
|
+
"""
|
|
115
|
+
return self._ingress_size
|
|
116
|
+
|
|
117
|
+
@ingress_size.setter
|
|
118
|
+
def ingress_size(self, ingress_size):
|
|
119
|
+
r"""Sets the ingress_size of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
120
|
+
|
|
121
|
+
全域公网带宽大小(入云方向)
|
|
122
|
+
|
|
123
|
+
:param ingress_size: The ingress_size of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
124
|
+
:type ingress_size: int
|
|
125
|
+
"""
|
|
126
|
+
self._ingress_size = ingress_size
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
def charge_mode(self):
|
|
130
|
+
r"""Gets the charge_mode of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
131
|
+
|
|
132
|
+
计费模式
|
|
133
|
+
|
|
134
|
+
:return: The charge_mode of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
135
|
+
:rtype: str
|
|
136
|
+
"""
|
|
137
|
+
return self._charge_mode
|
|
138
|
+
|
|
139
|
+
@charge_mode.setter
|
|
140
|
+
def charge_mode(self, charge_mode):
|
|
141
|
+
r"""Sets the charge_mode of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
142
|
+
|
|
143
|
+
计费模式
|
|
144
|
+
|
|
145
|
+
:param charge_mode: The charge_mode of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
146
|
+
:type charge_mode: str
|
|
147
|
+
"""
|
|
148
|
+
self._charge_mode = charge_mode
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
def size(self):
|
|
152
|
+
r"""Gets the size of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
153
|
+
|
|
154
|
+
全域公网带宽大小(出云方向)
|
|
155
|
+
|
|
156
|
+
:return: The size of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
157
|
+
:rtype: int
|
|
158
|
+
"""
|
|
159
|
+
return self._size
|
|
160
|
+
|
|
161
|
+
@size.setter
|
|
162
|
+
def size(self, size):
|
|
163
|
+
r"""Sets the size of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
164
|
+
|
|
165
|
+
全域公网带宽大小(出云方向)
|
|
166
|
+
|
|
167
|
+
:param size: The size of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
168
|
+
:type size: int
|
|
169
|
+
"""
|
|
170
|
+
self._size = size
|
|
171
|
+
|
|
172
|
+
@property
|
|
173
|
+
def name(self):
|
|
174
|
+
r"""Gets the name of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
175
|
+
|
|
176
|
+
- 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
177
|
+
|
|
178
|
+
:return: The name of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
179
|
+
:rtype: str
|
|
180
|
+
"""
|
|
181
|
+
return self._name
|
|
182
|
+
|
|
183
|
+
@name.setter
|
|
184
|
+
def name(self, name):
|
|
185
|
+
r"""Sets the name of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
186
|
+
|
|
187
|
+
- 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
188
|
+
|
|
189
|
+
:param name: The name of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
190
|
+
:type name: str
|
|
191
|
+
"""
|
|
192
|
+
self._name = name
|
|
193
|
+
|
|
194
|
+
@property
|
|
195
|
+
def tags(self):
|
|
196
|
+
r"""Gets the tags of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
197
|
+
|
|
198
|
+
全域弹性公网IP标签
|
|
199
|
+
|
|
200
|
+
:return: The tags of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
201
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
202
|
+
"""
|
|
203
|
+
return self._tags
|
|
204
|
+
|
|
205
|
+
@tags.setter
|
|
206
|
+
def tags(self, tags):
|
|
207
|
+
r"""Sets the tags of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
208
|
+
|
|
209
|
+
全域弹性公网IP标签
|
|
210
|
+
|
|
211
|
+
:param tags: The tags of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
212
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
213
|
+
"""
|
|
214
|
+
self._tags = tags
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
def type(self):
|
|
218
|
+
r"""Gets the type of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
219
|
+
|
|
220
|
+
全域公网带宽类型
|
|
221
|
+
|
|
222
|
+
:return: The type of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
223
|
+
:rtype: str
|
|
224
|
+
"""
|
|
225
|
+
return self._type
|
|
226
|
+
|
|
227
|
+
@type.setter
|
|
228
|
+
def type(self, type):
|
|
229
|
+
r"""Sets the type of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
230
|
+
|
|
231
|
+
全域公网带宽类型
|
|
232
|
+
|
|
233
|
+
:param type: The type of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
|
|
234
|
+
:type type: str
|
|
235
|
+
"""
|
|
236
|
+
self._type = type
|
|
237
|
+
|
|
238
|
+
def to_dict(self):
|
|
239
|
+
result = {}
|
|
240
|
+
|
|
241
|
+
for attr, _ in self.openapi_types.items():
|
|
242
|
+
value = getattr(self, attr)
|
|
243
|
+
if isinstance(value, list):
|
|
244
|
+
result[attr] = list(map(
|
|
245
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
246
|
+
value
|
|
247
|
+
))
|
|
248
|
+
elif hasattr(value, "to_dict"):
|
|
249
|
+
result[attr] = value.to_dict()
|
|
250
|
+
elif isinstance(value, dict):
|
|
251
|
+
result[attr] = dict(map(
|
|
252
|
+
lambda item: (item[0], item[1].to_dict())
|
|
253
|
+
if hasattr(item[1], "to_dict") else item,
|
|
254
|
+
value.items()
|
|
255
|
+
))
|
|
256
|
+
else:
|
|
257
|
+
if attr in self.sensitive_list:
|
|
258
|
+
result[attr] = "****"
|
|
259
|
+
else:
|
|
260
|
+
result[attr] = value
|
|
261
|
+
|
|
262
|
+
return result
|
|
263
|
+
|
|
264
|
+
def to_str(self):
|
|
265
|
+
"""Returns the string representation of the model"""
|
|
266
|
+
import simplejson as json
|
|
267
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
268
|
+
|
|
269
|
+
def __repr__(self):
|
|
270
|
+
"""For `print`"""
|
|
271
|
+
return self.to_str()
|
|
272
|
+
|
|
273
|
+
def __eq__(self, other):
|
|
274
|
+
"""Returns true if both objects are equal"""
|
|
275
|
+
if not isinstance(other, BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo):
|
|
276
|
+
return False
|
|
277
|
+
|
|
278
|
+
return self.__dict__ == other.__dict__
|
|
279
|
+
|
|
280
|
+
def __ne__(self, other):
|
|
281
|
+
"""Returns true if both objects are not equal"""
|
|
282
|
+
return not self == other
|