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,598 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class BatchCreateInternetBandwidth:
|
|
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
|
+
'isp': 'str',
|
|
21
|
+
'ingress_size': 'int',
|
|
22
|
+
'access_site': 'str',
|
|
23
|
+
'size': 'int',
|
|
24
|
+
'description': 'str',
|
|
25
|
+
'charge_mode': 'str',
|
|
26
|
+
'domain_id': 'str',
|
|
27
|
+
'status': 'str',
|
|
28
|
+
'created_at': 'datetime',
|
|
29
|
+
'updated_at': 'datetime',
|
|
30
|
+
'ret_status': 'str',
|
|
31
|
+
'tags': 'list[Tag]',
|
|
32
|
+
'sys_tags': 'list[Tag]',
|
|
33
|
+
'enterprise_project_id': 'str',
|
|
34
|
+
'type': 'str',
|
|
35
|
+
'lock_infos': 'list[LockInfo]'
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
attribute_map = {
|
|
39
|
+
'id': 'id',
|
|
40
|
+
'name': 'name',
|
|
41
|
+
'isp': 'isp',
|
|
42
|
+
'ingress_size': 'ingress_size',
|
|
43
|
+
'access_site': 'access_site',
|
|
44
|
+
'size': 'size',
|
|
45
|
+
'description': 'description',
|
|
46
|
+
'charge_mode': 'charge_mode',
|
|
47
|
+
'domain_id': 'domain_id',
|
|
48
|
+
'status': 'status',
|
|
49
|
+
'created_at': 'created_at',
|
|
50
|
+
'updated_at': 'updated_at',
|
|
51
|
+
'ret_status': 'ret_status',
|
|
52
|
+
'tags': 'tags',
|
|
53
|
+
'sys_tags': 'sys_tags',
|
|
54
|
+
'enterprise_project_id': 'enterprise_project_id',
|
|
55
|
+
'type': 'type',
|
|
56
|
+
'lock_infos': 'lock_infos'
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
def __init__(self, id=None, name=None, isp=None, ingress_size=None, access_site=None, size=None, description=None, charge_mode=None, domain_id=None, status=None, created_at=None, updated_at=None, ret_status=None, tags=None, sys_tags=None, enterprise_project_id=None, type=None, lock_infos=None):
|
|
60
|
+
r"""BatchCreateInternetBandwidth
|
|
61
|
+
|
|
62
|
+
The model defined in huaweicloud sdk
|
|
63
|
+
|
|
64
|
+
:param id: 全域公网带宽的ID
|
|
65
|
+
:type id: str
|
|
66
|
+
:param name: - 功能说明:全域公网带宽名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
67
|
+
:type name: str
|
|
68
|
+
:param isp: 全域弹性公网IP所属线路
|
|
69
|
+
:type isp: str
|
|
70
|
+
:param ingress_size: 全域公网带宽大小(入云方向)
|
|
71
|
+
:type ingress_size: int
|
|
72
|
+
:param access_site: 接入点信息
|
|
73
|
+
:type access_site: str
|
|
74
|
+
:param size: 全域公网带宽大小(出云方向)
|
|
75
|
+
:type size: int
|
|
76
|
+
:param description: - 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
77
|
+
:type description: str
|
|
78
|
+
:param charge_mode: 计费模式
|
|
79
|
+
:type charge_mode: str
|
|
80
|
+
:param domain_id: - 租户账号ID,获取租户账号ID请参见[租户账号ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)
|
|
81
|
+
:type domain_id: str
|
|
82
|
+
:param status: 状态
|
|
83
|
+
:type status: str
|
|
84
|
+
:param created_at: 创建时间
|
|
85
|
+
:type created_at: datetime
|
|
86
|
+
:param updated_at: 更新时间
|
|
87
|
+
:type updated_at: datetime
|
|
88
|
+
:param ret_status: 是否创建成功标识,取值:successful、failed。
|
|
89
|
+
:type ret_status: str
|
|
90
|
+
:param tags: 全域公网带宽标签
|
|
91
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.Tag`]
|
|
92
|
+
:param sys_tags: 系统标签
|
|
93
|
+
:type sys_tags: list[:class:`huaweicloudsdkgeip.v3.Tag`]
|
|
94
|
+
:param enterprise_project_id: - 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
95
|
+
:type enterprise_project_id: str
|
|
96
|
+
:param type: 全域公网带宽类型
|
|
97
|
+
:type type: str
|
|
98
|
+
:param lock_infos: 全域公网带宽资源的锁状态
|
|
99
|
+
:type lock_infos: list[:class:`huaweicloudsdkgeip.v3.LockInfo`]
|
|
100
|
+
"""
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
self._id = None
|
|
105
|
+
self._name = None
|
|
106
|
+
self._isp = None
|
|
107
|
+
self._ingress_size = None
|
|
108
|
+
self._access_site = None
|
|
109
|
+
self._size = None
|
|
110
|
+
self._description = None
|
|
111
|
+
self._charge_mode = None
|
|
112
|
+
self._domain_id = None
|
|
113
|
+
self._status = None
|
|
114
|
+
self._created_at = None
|
|
115
|
+
self._updated_at = None
|
|
116
|
+
self._ret_status = None
|
|
117
|
+
self._tags = None
|
|
118
|
+
self._sys_tags = None
|
|
119
|
+
self._enterprise_project_id = None
|
|
120
|
+
self._type = None
|
|
121
|
+
self._lock_infos = None
|
|
122
|
+
self.discriminator = None
|
|
123
|
+
|
|
124
|
+
if id is not None:
|
|
125
|
+
self.id = id
|
|
126
|
+
if name is not None:
|
|
127
|
+
self.name = name
|
|
128
|
+
self.isp = isp
|
|
129
|
+
if ingress_size is not None:
|
|
130
|
+
self.ingress_size = ingress_size
|
|
131
|
+
self.access_site = access_site
|
|
132
|
+
self.size = size
|
|
133
|
+
if description is not None:
|
|
134
|
+
self.description = description
|
|
135
|
+
if charge_mode is not None:
|
|
136
|
+
self.charge_mode = charge_mode
|
|
137
|
+
if domain_id is not None:
|
|
138
|
+
self.domain_id = domain_id
|
|
139
|
+
if status is not None:
|
|
140
|
+
self.status = status
|
|
141
|
+
if created_at is not None:
|
|
142
|
+
self.created_at = created_at
|
|
143
|
+
if updated_at is not None:
|
|
144
|
+
self.updated_at = updated_at
|
|
145
|
+
if ret_status is not None:
|
|
146
|
+
self.ret_status = ret_status
|
|
147
|
+
if tags is not None:
|
|
148
|
+
self.tags = tags
|
|
149
|
+
if sys_tags is not None:
|
|
150
|
+
self.sys_tags = sys_tags
|
|
151
|
+
if enterprise_project_id is not None:
|
|
152
|
+
self.enterprise_project_id = enterprise_project_id
|
|
153
|
+
if type is not None:
|
|
154
|
+
self.type = type
|
|
155
|
+
if lock_infos is not None:
|
|
156
|
+
self.lock_infos = lock_infos
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
def id(self):
|
|
160
|
+
r"""Gets the id of this BatchCreateInternetBandwidth.
|
|
161
|
+
|
|
162
|
+
全域公网带宽的ID
|
|
163
|
+
|
|
164
|
+
:return: The id of this BatchCreateInternetBandwidth.
|
|
165
|
+
:rtype: str
|
|
166
|
+
"""
|
|
167
|
+
return self._id
|
|
168
|
+
|
|
169
|
+
@id.setter
|
|
170
|
+
def id(self, id):
|
|
171
|
+
r"""Sets the id of this BatchCreateInternetBandwidth.
|
|
172
|
+
|
|
173
|
+
全域公网带宽的ID
|
|
174
|
+
|
|
175
|
+
:param id: The id of this BatchCreateInternetBandwidth.
|
|
176
|
+
:type id: str
|
|
177
|
+
"""
|
|
178
|
+
self._id = id
|
|
179
|
+
|
|
180
|
+
@property
|
|
181
|
+
def name(self):
|
|
182
|
+
r"""Gets the name of this BatchCreateInternetBandwidth.
|
|
183
|
+
|
|
184
|
+
- 功能说明:全域公网带宽名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
185
|
+
|
|
186
|
+
:return: The name of this BatchCreateInternetBandwidth.
|
|
187
|
+
:rtype: str
|
|
188
|
+
"""
|
|
189
|
+
return self._name
|
|
190
|
+
|
|
191
|
+
@name.setter
|
|
192
|
+
def name(self, name):
|
|
193
|
+
r"""Sets the name of this BatchCreateInternetBandwidth.
|
|
194
|
+
|
|
195
|
+
- 功能说明:全域公网带宽名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
196
|
+
|
|
197
|
+
:param name: The name of this BatchCreateInternetBandwidth.
|
|
198
|
+
:type name: str
|
|
199
|
+
"""
|
|
200
|
+
self._name = name
|
|
201
|
+
|
|
202
|
+
@property
|
|
203
|
+
def isp(self):
|
|
204
|
+
r"""Gets the isp of this BatchCreateInternetBandwidth.
|
|
205
|
+
|
|
206
|
+
全域弹性公网IP所属线路
|
|
207
|
+
|
|
208
|
+
:return: The isp of this BatchCreateInternetBandwidth.
|
|
209
|
+
:rtype: str
|
|
210
|
+
"""
|
|
211
|
+
return self._isp
|
|
212
|
+
|
|
213
|
+
@isp.setter
|
|
214
|
+
def isp(self, isp):
|
|
215
|
+
r"""Sets the isp of this BatchCreateInternetBandwidth.
|
|
216
|
+
|
|
217
|
+
全域弹性公网IP所属线路
|
|
218
|
+
|
|
219
|
+
:param isp: The isp of this BatchCreateInternetBandwidth.
|
|
220
|
+
:type isp: str
|
|
221
|
+
"""
|
|
222
|
+
self._isp = isp
|
|
223
|
+
|
|
224
|
+
@property
|
|
225
|
+
def ingress_size(self):
|
|
226
|
+
r"""Gets the ingress_size of this BatchCreateInternetBandwidth.
|
|
227
|
+
|
|
228
|
+
全域公网带宽大小(入云方向)
|
|
229
|
+
|
|
230
|
+
:return: The ingress_size of this BatchCreateInternetBandwidth.
|
|
231
|
+
:rtype: int
|
|
232
|
+
"""
|
|
233
|
+
return self._ingress_size
|
|
234
|
+
|
|
235
|
+
@ingress_size.setter
|
|
236
|
+
def ingress_size(self, ingress_size):
|
|
237
|
+
r"""Sets the ingress_size of this BatchCreateInternetBandwidth.
|
|
238
|
+
|
|
239
|
+
全域公网带宽大小(入云方向)
|
|
240
|
+
|
|
241
|
+
:param ingress_size: The ingress_size of this BatchCreateInternetBandwidth.
|
|
242
|
+
:type ingress_size: int
|
|
243
|
+
"""
|
|
244
|
+
self._ingress_size = ingress_size
|
|
245
|
+
|
|
246
|
+
@property
|
|
247
|
+
def access_site(self):
|
|
248
|
+
r"""Gets the access_site of this BatchCreateInternetBandwidth.
|
|
249
|
+
|
|
250
|
+
接入点信息
|
|
251
|
+
|
|
252
|
+
:return: The access_site of this BatchCreateInternetBandwidth.
|
|
253
|
+
:rtype: str
|
|
254
|
+
"""
|
|
255
|
+
return self._access_site
|
|
256
|
+
|
|
257
|
+
@access_site.setter
|
|
258
|
+
def access_site(self, access_site):
|
|
259
|
+
r"""Sets the access_site of this BatchCreateInternetBandwidth.
|
|
260
|
+
|
|
261
|
+
接入点信息
|
|
262
|
+
|
|
263
|
+
:param access_site: The access_site of this BatchCreateInternetBandwidth.
|
|
264
|
+
:type access_site: str
|
|
265
|
+
"""
|
|
266
|
+
self._access_site = access_site
|
|
267
|
+
|
|
268
|
+
@property
|
|
269
|
+
def size(self):
|
|
270
|
+
r"""Gets the size of this BatchCreateInternetBandwidth.
|
|
271
|
+
|
|
272
|
+
全域公网带宽大小(出云方向)
|
|
273
|
+
|
|
274
|
+
:return: The size of this BatchCreateInternetBandwidth.
|
|
275
|
+
:rtype: int
|
|
276
|
+
"""
|
|
277
|
+
return self._size
|
|
278
|
+
|
|
279
|
+
@size.setter
|
|
280
|
+
def size(self, size):
|
|
281
|
+
r"""Sets the size of this BatchCreateInternetBandwidth.
|
|
282
|
+
|
|
283
|
+
全域公网带宽大小(出云方向)
|
|
284
|
+
|
|
285
|
+
:param size: The size of this BatchCreateInternetBandwidth.
|
|
286
|
+
:type size: int
|
|
287
|
+
"""
|
|
288
|
+
self._size = size
|
|
289
|
+
|
|
290
|
+
@property
|
|
291
|
+
def description(self):
|
|
292
|
+
r"""Gets the description of this BatchCreateInternetBandwidth.
|
|
293
|
+
|
|
294
|
+
- 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
295
|
+
|
|
296
|
+
:return: The description of this BatchCreateInternetBandwidth.
|
|
297
|
+
:rtype: str
|
|
298
|
+
"""
|
|
299
|
+
return self._description
|
|
300
|
+
|
|
301
|
+
@description.setter
|
|
302
|
+
def description(self, description):
|
|
303
|
+
r"""Sets the description of this BatchCreateInternetBandwidth.
|
|
304
|
+
|
|
305
|
+
- 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
306
|
+
|
|
307
|
+
:param description: The description of this BatchCreateInternetBandwidth.
|
|
308
|
+
:type description: str
|
|
309
|
+
"""
|
|
310
|
+
self._description = description
|
|
311
|
+
|
|
312
|
+
@property
|
|
313
|
+
def charge_mode(self):
|
|
314
|
+
r"""Gets the charge_mode of this BatchCreateInternetBandwidth.
|
|
315
|
+
|
|
316
|
+
计费模式
|
|
317
|
+
|
|
318
|
+
:return: The charge_mode of this BatchCreateInternetBandwidth.
|
|
319
|
+
:rtype: str
|
|
320
|
+
"""
|
|
321
|
+
return self._charge_mode
|
|
322
|
+
|
|
323
|
+
@charge_mode.setter
|
|
324
|
+
def charge_mode(self, charge_mode):
|
|
325
|
+
r"""Sets the charge_mode of this BatchCreateInternetBandwidth.
|
|
326
|
+
|
|
327
|
+
计费模式
|
|
328
|
+
|
|
329
|
+
:param charge_mode: The charge_mode of this BatchCreateInternetBandwidth.
|
|
330
|
+
:type charge_mode: str
|
|
331
|
+
"""
|
|
332
|
+
self._charge_mode = charge_mode
|
|
333
|
+
|
|
334
|
+
@property
|
|
335
|
+
def domain_id(self):
|
|
336
|
+
r"""Gets the domain_id of this BatchCreateInternetBandwidth.
|
|
337
|
+
|
|
338
|
+
- 租户账号ID,获取租户账号ID请参见[租户账号ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)
|
|
339
|
+
|
|
340
|
+
:return: The domain_id of this BatchCreateInternetBandwidth.
|
|
341
|
+
:rtype: str
|
|
342
|
+
"""
|
|
343
|
+
return self._domain_id
|
|
344
|
+
|
|
345
|
+
@domain_id.setter
|
|
346
|
+
def domain_id(self, domain_id):
|
|
347
|
+
r"""Sets the domain_id of this BatchCreateInternetBandwidth.
|
|
348
|
+
|
|
349
|
+
- 租户账号ID,获取租户账号ID请参见[租户账号ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)
|
|
350
|
+
|
|
351
|
+
:param domain_id: The domain_id of this BatchCreateInternetBandwidth.
|
|
352
|
+
:type domain_id: str
|
|
353
|
+
"""
|
|
354
|
+
self._domain_id = domain_id
|
|
355
|
+
|
|
356
|
+
@property
|
|
357
|
+
def status(self):
|
|
358
|
+
r"""Gets the status of this BatchCreateInternetBandwidth.
|
|
359
|
+
|
|
360
|
+
状态
|
|
361
|
+
|
|
362
|
+
:return: The status of this BatchCreateInternetBandwidth.
|
|
363
|
+
:rtype: str
|
|
364
|
+
"""
|
|
365
|
+
return self._status
|
|
366
|
+
|
|
367
|
+
@status.setter
|
|
368
|
+
def status(self, status):
|
|
369
|
+
r"""Sets the status of this BatchCreateInternetBandwidth.
|
|
370
|
+
|
|
371
|
+
状态
|
|
372
|
+
|
|
373
|
+
:param status: The status of this BatchCreateInternetBandwidth.
|
|
374
|
+
:type status: str
|
|
375
|
+
"""
|
|
376
|
+
self._status = status
|
|
377
|
+
|
|
378
|
+
@property
|
|
379
|
+
def created_at(self):
|
|
380
|
+
r"""Gets the created_at of this BatchCreateInternetBandwidth.
|
|
381
|
+
|
|
382
|
+
创建时间
|
|
383
|
+
|
|
384
|
+
:return: The created_at of this BatchCreateInternetBandwidth.
|
|
385
|
+
:rtype: datetime
|
|
386
|
+
"""
|
|
387
|
+
return self._created_at
|
|
388
|
+
|
|
389
|
+
@created_at.setter
|
|
390
|
+
def created_at(self, created_at):
|
|
391
|
+
r"""Sets the created_at of this BatchCreateInternetBandwidth.
|
|
392
|
+
|
|
393
|
+
创建时间
|
|
394
|
+
|
|
395
|
+
:param created_at: The created_at of this BatchCreateInternetBandwidth.
|
|
396
|
+
:type created_at: datetime
|
|
397
|
+
"""
|
|
398
|
+
self._created_at = created_at
|
|
399
|
+
|
|
400
|
+
@property
|
|
401
|
+
def updated_at(self):
|
|
402
|
+
r"""Gets the updated_at of this BatchCreateInternetBandwidth.
|
|
403
|
+
|
|
404
|
+
更新时间
|
|
405
|
+
|
|
406
|
+
:return: The updated_at of this BatchCreateInternetBandwidth.
|
|
407
|
+
:rtype: datetime
|
|
408
|
+
"""
|
|
409
|
+
return self._updated_at
|
|
410
|
+
|
|
411
|
+
@updated_at.setter
|
|
412
|
+
def updated_at(self, updated_at):
|
|
413
|
+
r"""Sets the updated_at of this BatchCreateInternetBandwidth.
|
|
414
|
+
|
|
415
|
+
更新时间
|
|
416
|
+
|
|
417
|
+
:param updated_at: The updated_at of this BatchCreateInternetBandwidth.
|
|
418
|
+
:type updated_at: datetime
|
|
419
|
+
"""
|
|
420
|
+
self._updated_at = updated_at
|
|
421
|
+
|
|
422
|
+
@property
|
|
423
|
+
def ret_status(self):
|
|
424
|
+
r"""Gets the ret_status of this BatchCreateInternetBandwidth.
|
|
425
|
+
|
|
426
|
+
是否创建成功标识,取值:successful、failed。
|
|
427
|
+
|
|
428
|
+
:return: The ret_status of this BatchCreateInternetBandwidth.
|
|
429
|
+
:rtype: str
|
|
430
|
+
"""
|
|
431
|
+
return self._ret_status
|
|
432
|
+
|
|
433
|
+
@ret_status.setter
|
|
434
|
+
def ret_status(self, ret_status):
|
|
435
|
+
r"""Sets the ret_status of this BatchCreateInternetBandwidth.
|
|
436
|
+
|
|
437
|
+
是否创建成功标识,取值:successful、failed。
|
|
438
|
+
|
|
439
|
+
:param ret_status: The ret_status of this BatchCreateInternetBandwidth.
|
|
440
|
+
:type ret_status: str
|
|
441
|
+
"""
|
|
442
|
+
self._ret_status = ret_status
|
|
443
|
+
|
|
444
|
+
@property
|
|
445
|
+
def tags(self):
|
|
446
|
+
r"""Gets the tags of this BatchCreateInternetBandwidth.
|
|
447
|
+
|
|
448
|
+
全域公网带宽标签
|
|
449
|
+
|
|
450
|
+
:return: The tags of this BatchCreateInternetBandwidth.
|
|
451
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.Tag`]
|
|
452
|
+
"""
|
|
453
|
+
return self._tags
|
|
454
|
+
|
|
455
|
+
@tags.setter
|
|
456
|
+
def tags(self, tags):
|
|
457
|
+
r"""Sets the tags of this BatchCreateInternetBandwidth.
|
|
458
|
+
|
|
459
|
+
全域公网带宽标签
|
|
460
|
+
|
|
461
|
+
:param tags: The tags of this BatchCreateInternetBandwidth.
|
|
462
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.Tag`]
|
|
463
|
+
"""
|
|
464
|
+
self._tags = tags
|
|
465
|
+
|
|
466
|
+
@property
|
|
467
|
+
def sys_tags(self):
|
|
468
|
+
r"""Gets the sys_tags of this BatchCreateInternetBandwidth.
|
|
469
|
+
|
|
470
|
+
系统标签
|
|
471
|
+
|
|
472
|
+
:return: The sys_tags of this BatchCreateInternetBandwidth.
|
|
473
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.Tag`]
|
|
474
|
+
"""
|
|
475
|
+
return self._sys_tags
|
|
476
|
+
|
|
477
|
+
@sys_tags.setter
|
|
478
|
+
def sys_tags(self, sys_tags):
|
|
479
|
+
r"""Sets the sys_tags of this BatchCreateInternetBandwidth.
|
|
480
|
+
|
|
481
|
+
系统标签
|
|
482
|
+
|
|
483
|
+
:param sys_tags: The sys_tags of this BatchCreateInternetBandwidth.
|
|
484
|
+
:type sys_tags: list[:class:`huaweicloudsdkgeip.v3.Tag`]
|
|
485
|
+
"""
|
|
486
|
+
self._sys_tags = sys_tags
|
|
487
|
+
|
|
488
|
+
@property
|
|
489
|
+
def enterprise_project_id(self):
|
|
490
|
+
r"""Gets the enterprise_project_id of this BatchCreateInternetBandwidth.
|
|
491
|
+
|
|
492
|
+
- 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
493
|
+
|
|
494
|
+
:return: The enterprise_project_id of this BatchCreateInternetBandwidth.
|
|
495
|
+
:rtype: str
|
|
496
|
+
"""
|
|
497
|
+
return self._enterprise_project_id
|
|
498
|
+
|
|
499
|
+
@enterprise_project_id.setter
|
|
500
|
+
def enterprise_project_id(self, enterprise_project_id):
|
|
501
|
+
r"""Sets the enterprise_project_id of this BatchCreateInternetBandwidth.
|
|
502
|
+
|
|
503
|
+
- 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
504
|
+
|
|
505
|
+
:param enterprise_project_id: The enterprise_project_id of this BatchCreateInternetBandwidth.
|
|
506
|
+
:type enterprise_project_id: str
|
|
507
|
+
"""
|
|
508
|
+
self._enterprise_project_id = enterprise_project_id
|
|
509
|
+
|
|
510
|
+
@property
|
|
511
|
+
def type(self):
|
|
512
|
+
r"""Gets the type of this BatchCreateInternetBandwidth.
|
|
513
|
+
|
|
514
|
+
全域公网带宽类型
|
|
515
|
+
|
|
516
|
+
:return: The type of this BatchCreateInternetBandwidth.
|
|
517
|
+
:rtype: str
|
|
518
|
+
"""
|
|
519
|
+
return self._type
|
|
520
|
+
|
|
521
|
+
@type.setter
|
|
522
|
+
def type(self, type):
|
|
523
|
+
r"""Sets the type of this BatchCreateInternetBandwidth.
|
|
524
|
+
|
|
525
|
+
全域公网带宽类型
|
|
526
|
+
|
|
527
|
+
:param type: The type of this BatchCreateInternetBandwidth.
|
|
528
|
+
:type type: str
|
|
529
|
+
"""
|
|
530
|
+
self._type = type
|
|
531
|
+
|
|
532
|
+
@property
|
|
533
|
+
def lock_infos(self):
|
|
534
|
+
r"""Gets the lock_infos of this BatchCreateInternetBandwidth.
|
|
535
|
+
|
|
536
|
+
全域公网带宽资源的锁状态
|
|
537
|
+
|
|
538
|
+
:return: The lock_infos of this BatchCreateInternetBandwidth.
|
|
539
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.LockInfo`]
|
|
540
|
+
"""
|
|
541
|
+
return self._lock_infos
|
|
542
|
+
|
|
543
|
+
@lock_infos.setter
|
|
544
|
+
def lock_infos(self, lock_infos):
|
|
545
|
+
r"""Sets the lock_infos of this BatchCreateInternetBandwidth.
|
|
546
|
+
|
|
547
|
+
全域公网带宽资源的锁状态
|
|
548
|
+
|
|
549
|
+
:param lock_infos: The lock_infos of this BatchCreateInternetBandwidth.
|
|
550
|
+
:type lock_infos: list[:class:`huaweicloudsdkgeip.v3.LockInfo`]
|
|
551
|
+
"""
|
|
552
|
+
self._lock_infos = lock_infos
|
|
553
|
+
|
|
554
|
+
def to_dict(self):
|
|
555
|
+
result = {}
|
|
556
|
+
|
|
557
|
+
for attr, _ in self.openapi_types.items():
|
|
558
|
+
value = getattr(self, attr)
|
|
559
|
+
if isinstance(value, list):
|
|
560
|
+
result[attr] = list(map(
|
|
561
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
562
|
+
value
|
|
563
|
+
))
|
|
564
|
+
elif hasattr(value, "to_dict"):
|
|
565
|
+
result[attr] = value.to_dict()
|
|
566
|
+
elif isinstance(value, dict):
|
|
567
|
+
result[attr] = dict(map(
|
|
568
|
+
lambda item: (item[0], item[1].to_dict())
|
|
569
|
+
if hasattr(item[1], "to_dict") else item,
|
|
570
|
+
value.items()
|
|
571
|
+
))
|
|
572
|
+
else:
|
|
573
|
+
if attr in self.sensitive_list:
|
|
574
|
+
result[attr] = "****"
|
|
575
|
+
else:
|
|
576
|
+
result[attr] = value
|
|
577
|
+
|
|
578
|
+
return result
|
|
579
|
+
|
|
580
|
+
def to_str(self):
|
|
581
|
+
"""Returns the string representation of the model"""
|
|
582
|
+
import simplejson as json
|
|
583
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
584
|
+
|
|
585
|
+
def __repr__(self):
|
|
586
|
+
"""For `print`"""
|
|
587
|
+
return self.to_str()
|
|
588
|
+
|
|
589
|
+
def __eq__(self, other):
|
|
590
|
+
"""Returns true if both objects are equal"""
|
|
591
|
+
if not isinstance(other, BatchCreateInternetBandwidth):
|
|
592
|
+
return False
|
|
593
|
+
|
|
594
|
+
return self.__dict__ == other.__dict__
|
|
595
|
+
|
|
596
|
+
def __ne__(self, other):
|
|
597
|
+
"""Returns true if both objects are not equal"""
|
|
598
|
+
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 BatchCreateInternetBandwidthRequest:
|
|
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': 'BatchCreateInternetBandwidthRequestBody'
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
attribute_map = {
|
|
22
|
+
'body': 'body'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
def __init__(self, body=None):
|
|
26
|
+
r"""BatchCreateInternetBandwidthRequest
|
|
27
|
+
|
|
28
|
+
The model defined in huaweicloud sdk
|
|
29
|
+
|
|
30
|
+
:param body: Body of the BatchCreateInternetBandwidthRequest
|
|
31
|
+
:type body: :class:`huaweicloudsdkgeip.v3.BatchCreateInternetBandwidthRequestBody`
|
|
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 BatchCreateInternetBandwidthRequest.
|
|
45
|
+
|
|
46
|
+
:return: The body of this BatchCreateInternetBandwidthRequest.
|
|
47
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.BatchCreateInternetBandwidthRequestBody`
|
|
48
|
+
"""
|
|
49
|
+
return self._body
|
|
50
|
+
|
|
51
|
+
@body.setter
|
|
52
|
+
def body(self, body):
|
|
53
|
+
r"""Sets the body of this BatchCreateInternetBandwidthRequest.
|
|
54
|
+
|
|
55
|
+
:param body: The body of this BatchCreateInternetBandwidthRequest.
|
|
56
|
+
:type body: :class:`huaweicloudsdkgeip.v3.BatchCreateInternetBandwidthRequestBody`
|
|
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, BatchCreateInternetBandwidthRequest):
|
|
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
|