From b88b129b54f7e5df31ad5ad1a9afbc289f9d74ab Mon Sep 17 00:00:00 2001 From: Huaweicloud-SDK Date: Thu, 22 Feb 2024 16:23:19 +0800 Subject: [PATCH] release 3.1.83 source code --- CHANGELOG.md | 142 ++ CHANGELOG_CN.md | 142 ++ VERSION | 2 +- huaweicloud-sdk-aad/requirements.txt | 2 +- huaweicloud-sdk-aad/setup.py | 4 +- huaweicloud-sdk-all/requirements.txt | 324 +-- huaweicloud-sdk-all/setup.py | 326 ++-- huaweicloud-sdk-antiddos/requirements.txt | 2 +- huaweicloud-sdk-antiddos/setup.py | 4 +- huaweicloud-sdk-aom/requirements.txt | 2 +- huaweicloud-sdk-aom/setup.py | 4 +- .../huaweicloudsdkaos/v1/region/aos_region.py | 3 + huaweicloud-sdk-aos/requirements.txt | 2 +- huaweicloud-sdk-aos/setup.py | 4 +- huaweicloud-sdk-apig/requirements.txt | 2 +- huaweicloud-sdk-apig/setup.py | 4 +- huaweicloud-sdk-apm/requirements.txt | 2 +- huaweicloud-sdk-apm/setup.py | 4 +- huaweicloud-sdk-as/requirements.txt | 2 +- huaweicloud-sdk-as/setup.py | 4 +- huaweicloud-sdk-asm/requirements.txt | 2 +- huaweicloud-sdk-asm/setup.py | 4 +- huaweicloud-sdk-bcs/requirements.txt | 2 +- huaweicloud-sdk-bcs/setup.py | 4 +- .../v1/model/server_details.py | 16 +- huaweicloud-sdk-bms/requirements.txt | 2 +- huaweicloud-sdk-bms/setup.py | 4 +- .../v2/model/monthly_bill_res.py | 6 +- huaweicloud-sdk-bss/requirements.txt | 2 +- huaweicloud-sdk-bss/setup.py | 4 +- .../v2/model/query_sub_customer_list_req.py | 31 +- huaweicloud-sdk-bssintl/requirements.txt | 2 +- huaweicloud-sdk-bssintl/setup.py | 4 +- huaweicloud-sdk-cae/requirements.txt | 2 +- huaweicloud-sdk-cae/setup.py | 4 +- huaweicloud-sdk-campusgo/requirements.txt | 2 +- huaweicloud-sdk-campusgo/setup.py | 4 +- huaweicloud-sdk-cbh/requirements.txt | 2 +- huaweicloud-sdk-cbh/setup.py | 4 +- huaweicloud-sdk-cbr/requirements.txt | 2 +- huaweicloud-sdk-cbr/setup.py | 4 +- huaweicloud-sdk-cbs/requirements.txt | 2 +- huaweicloud-sdk-cbs/setup.py | 4 +- huaweicloud-sdk-cc/requirements.txt | 2 +- huaweicloud-sdk-cc/setup.py | 4 +- huaweicloud-sdk-cce/requirements.txt | 2 +- huaweicloud-sdk-cce/setup.py | 4 +- huaweicloud-sdk-ccm/requirements.txt | 2 +- huaweicloud-sdk-ccm/setup.py | 4 +- huaweicloud-sdk-cdm/requirements.txt | 2 +- huaweicloud-sdk-cdm/setup.py | 4 +- huaweicloud-sdk-cdn/requirements.txt | 2 +- huaweicloud-sdk-cdn/setup.py | 4 +- .../huaweicloudsdkces/v2/__init__.py | 4 +- .../huaweicloudsdkces/v2/model/__init__.py | 4 +- .../v2/model/base_widget_info.py | 16 +- .../model/create_dashboard_widgets_request.py | 8 +- .../v2/model/dimension_info.py | 6 +- .../huaweicloudsdkces/v2/model/extra_info.py | 3 +- .../v2/model/show_widget_response.py | 16 +- .../v2/model/update_widget_info.py | 19 +- ...tion.py => update_widget_info_location.py} | 50 +- ...es.py => update_widget_info_properties.py} | 30 +- .../huaweicloudsdkces/v2/model/widget_info.py | 16 +- .../v2/model/widget_info_with_id.py | 16 +- .../v2/model/widget_metric.py | 9 +- huaweicloud-sdk-ces/requirements.txt | 2 +- huaweicloud-sdk-ces/setup.py | 4 +- .../v1/model/create_firewall_req.py | 3 +- .../model/create_firewall_req_charge_info.py | 6 +- huaweicloud-sdk-cfw/requirements.txt | 2 +- huaweicloud-sdk-cfw/setup.py | 4 +- huaweicloud-sdk-cgs/requirements.txt | 2 +- huaweicloud-sdk-cgs/setup.py | 4 +- huaweicloud-sdk-classroom/requirements.txt | 2 +- huaweicloud-sdk-classroom/setup.py | 4 +- huaweicloud-sdk-cloudide/requirements.txt | 2 +- huaweicloud-sdk-cloudide/setup.py | 4 +- huaweicloud-sdk-cloudpond/requirements.txt | 2 +- huaweicloud-sdk-cloudpond/setup.py | 4 +- huaweicloud-sdk-cloudrtc/requirements.txt | 2 +- huaweicloud-sdk-cloudrtc/setup.py | 4 +- huaweicloud-sdk-cloudtable/requirements.txt | 2 +- huaweicloud-sdk-cloudtable/setup.py | 4 +- huaweicloud-sdk-cloudtest/requirements.txt | 2 +- huaweicloud-sdk-cloudtest/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartsartifact/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartsbuild/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartscheck/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartsdeploy/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartsinspector/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartspipeline/setup.py | 4 +- huaweicloud-sdk-codecraft/requirements.txt | 2 +- huaweicloud-sdk-codecraft/setup.py | 4 +- huaweicloud-sdk-codehub/requirements.txt | 2 +- huaweicloud-sdk-codehub/setup.py | 4 +- huaweicloud-sdk-config/requirements.txt | 2 +- huaweicloud-sdk-config/setup.py | 4 +- huaweicloud-sdk-core/setup.py | 2 +- huaweicloud-sdk-cph/requirements.txt | 2 +- huaweicloud-sdk-cph/setup.py | 4 +- huaweicloud-sdk-cpts/requirements.txt | 2 +- huaweicloud-sdk-cpts/setup.py | 4 +- huaweicloud-sdk-cse/requirements.txt | 2 +- huaweicloud-sdk-cse/setup.py | 4 +- huaweicloud-sdk-csms/requirements.txt | 2 +- huaweicloud-sdk-csms/setup.py | 4 +- huaweicloud-sdk-css/requirements.txt | 2 +- huaweicloud-sdk-css/setup.py | 4 +- huaweicloud-sdk-cts/requirements.txt | 2 +- huaweicloud-sdk-cts/setup.py | 4 +- huaweicloud-sdk-das/requirements.txt | 2 +- huaweicloud-sdk-das/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-dataartsstudio/setup.py | 4 +- huaweicloud-sdk-dbss/requirements.txt | 2 +- huaweicloud-sdk-dbss/setup.py | 4 +- huaweicloud-sdk-dc/requirements.txt | 2 +- huaweicloud-sdk-dc/setup.py | 4 +- huaweicloud-sdk-dcs/requirements.txt | 2 +- huaweicloud-sdk-dcs/setup.py | 4 +- huaweicloud-sdk-ddm/requirements.txt | 2 +- huaweicloud-sdk-ddm/setup.py | 4 +- huaweicloud-sdk-dds/requirements.txt | 2 +- huaweicloud-sdk-dds/setup.py | 4 +- huaweicloud-sdk-deh/requirements.txt | 2 +- huaweicloud-sdk-deh/setup.py | 4 +- huaweicloud-sdk-devsecurity/requirements.txt | 2 +- huaweicloud-sdk-devsecurity/setup.py | 4 +- huaweicloud-sdk-devstar/requirements.txt | 2 +- huaweicloud-sdk-devstar/setup.py | 4 +- huaweicloud-sdk-dgc/requirements.txt | 2 +- huaweicloud-sdk-dgc/setup.py | 4 +- huaweicloud-sdk-dis/requirements.txt | 2 +- huaweicloud-sdk-dis/setup.py | 4 +- huaweicloud-sdk-dlf/requirements.txt | 2 +- huaweicloud-sdk-dlf/setup.py | 4 +- huaweicloud-sdk-dli/requirements.txt | 2 +- huaweicloud-sdk-dli/setup.py | 4 +- huaweicloud-sdk-dns/requirements.txt | 2 +- huaweicloud-sdk-dns/setup.py | 4 +- huaweicloud-sdk-dris/requirements.txt | 2 +- huaweicloud-sdk-dris/setup.py | 4 +- huaweicloud-sdk-drs/requirements.txt | 2 +- huaweicloud-sdk-drs/setup.py | 4 +- huaweicloud-sdk-dsc/requirements.txt | 2 +- huaweicloud-sdk-dsc/setup.py | 4 +- huaweicloud-sdk-dwr/requirements.txt | 2 +- huaweicloud-sdk-dwr/setup.py | 4 +- huaweicloud-sdk-dws/requirements.txt | 2 +- huaweicloud-sdk-dws/setup.py | 4 +- huaweicloud-sdk-ec/requirements.txt | 2 +- huaweicloud-sdk-ec/setup.py | 4 +- huaweicloud-sdk-ecs/requirements.txt | 2 +- huaweicloud-sdk-ecs/setup.py | 4 +- huaweicloud-sdk-edgesec/requirements.txt | 2 +- huaweicloud-sdk-edgesec/setup.py | 4 +- huaweicloud-sdk-eg/requirements.txt | 2 +- huaweicloud-sdk-eg/setup.py | 4 +- .../v1/model/basic_drug_model.py | 8 +- .../v1/model/bounding_box_dto.py | 8 +- .../model/parse_drug_receptor_info_request.py | 8 +- .../v1/model/run_pocket_req.py | 8 +- huaweicloud-sdk-eihealth/requirements.txt | 2 +- huaweicloud-sdk-eihealth/setup.py | 4 +- huaweicloud-sdk-eip/requirements.txt | 2 +- huaweicloud-sdk-eip/setup.py | 4 +- huaweicloud-sdk-elb/requirements.txt | 2 +- huaweicloud-sdk-elb/setup.py | 4 +- huaweicloud-sdk-eps/requirements.txt | 2 +- huaweicloud-sdk-eps/setup.py | 4 +- huaweicloud-sdk-er/requirements.txt | 2 +- huaweicloud-sdk-er/setup.py | 4 +- huaweicloud-sdk-evs/requirements.txt | 2 +- huaweicloud-sdk-evs/setup.py | 4 +- huaweicloud-sdk-frs/requirements.txt | 2 +- huaweicloud-sdk-frs/setup.py | 4 +- .../v2/__init__.py | 8 +- .../v2/model/__init__.py | 8 +- .../v2/model/apig_trigger_func_info.py | 201 ++ .../cancel_async_invocation_request_body.py | 6 +- .../model/create_dependency_request_body.py | 6 +- .../create_dependency_version_response.py | 6 +- .../v2/model/create_function_request_body.py | 36 +- .../v2/model/create_function_response.py | 560 +++++- .../create_function_trigger_request_body.py | 14 +- .../model/create_function_trigger_response.py | 14 +- .../model/create_function_version_response.py | 48 +- .../create_version_alias_request_body.py | 41 +- .../v2/model/create_version_alias_response.py | 41 +- .../v2/model/dependency.py | 128 +- .../v2/model/func_vpc.py | 60 +- .../v2/model/import_function_response.py | 30 +- .../v2/model/list_dependencies_result.py | 6 +- .../model/list_dependency_version_response.py | 8 +- .../model/list_dependency_versions_result.py | 427 ++++ .../v2/model/list_function_result.py | 42 +- .../list_function_statistics_response.py | 122 +- .../list_function_statistics_response_body.py | 122 +- .../v2/model/list_function_trigger_result.py | 14 +- .../v2/model/list_function_version_result.py | 42 +- .../v2/model/list_functions_request.py | 6 +- .../v2/model/metric_config.py | 6 +- .../model/show_dependency_version_response.py | 82 +- .../v2/model/show_function_code_response.py | 12 +- .../v2/model/show_function_config_response.py | 317 ++- .../model/show_function_template_response.py | 6 +- .../show_function_template_response_body.py | 6 +- .../model/show_function_trigger_response.py | 14 +- .../v2/model/show_version_alias_response.py | 41 +- .../model/trigger_event_data_request_body.py | 1503 ++++++++++++++ .../model/trigger_event_data_response_body.py | 1735 +++++++++++++++++ .../update_function_code_request_body.py | 6 +- .../v2/model/update_function_code_response.py | 12 +- .../update_function_config_request_body.py | 129 +- .../model/update_function_config_response.py | 54 +- ...e_function_max_instance_config_response.py | 48 +- .../v2/model/update_trigger_request_body.py | 8 +- .../v2/model/update_trigger_response.py | 14 +- ...ent_data.py => updaterigger_event_data.py} | 38 +- .../v2/model/version_strategy.py | 144 ++ .../v2/model/version_strategy_rules.py | 202 ++ .../requirements.txt | 2 +- huaweicloud-sdk-functiongraph/setup.py | 4 +- huaweicloud-sdk-ga/requirements.txt | 2 +- huaweicloud-sdk-ga/setup.py | 4 +- ...ss_my_sql_proxy_route_mode_request_body.py | 64 +- huaweicloud-sdk-gaussdb/requirements.txt | 2 +- huaweicloud-sdk-gaussdb/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-gaussdbfornosql/setup.py | 4 +- .../model/recycle_instances_detail_result.py | 118 +- .../v3/model/set_recycle_policy_response.py | 33 +- .../requirements.txt | 2 +- huaweicloud-sdk-gaussdbforopengauss/setup.py | 4 +- huaweicloud-sdk-geip/requirements.txt | 2 +- huaweicloud-sdk-geip/setup.py | 4 +- huaweicloud-sdk-ges/requirements.txt | 2 +- huaweicloud-sdk-ges/setup.py | 4 +- huaweicloud-sdk-gsl/requirements.txt | 2 +- huaweicloud-sdk-gsl/setup.py | 4 +- huaweicloud-sdk-hilens/requirements.txt | 2 +- huaweicloud-sdk-hilens/setup.py | 4 +- huaweicloud-sdk-hss/requirements.txt | 2 +- huaweicloud-sdk-hss/setup.py | 4 +- huaweicloud-sdk-iam/requirements.txt | 2 +- huaweicloud-sdk-iam/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-iamaccessanalyzer/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-identitycenter/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-identitycenterstore/setup.py | 4 +- huaweicloud-sdk-idme/requirements.txt | 2 +- huaweicloud-sdk-idme/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-idmeclassicapi/setup.py | 4 +- huaweicloud-sdk-iec/requirements.txt | 2 +- huaweicloud-sdk-iec/setup.py | 4 +- huaweicloud-sdk-ief/requirements.txt | 2 +- huaweicloud-sdk-ief/setup.py | 4 +- huaweicloud-sdk-image/requirements.txt | 2 +- huaweicloud-sdk-image/setup.py | 4 +- huaweicloud-sdk-imagesearch/requirements.txt | 2 +- huaweicloud-sdk-imagesearch/setup.py | 4 +- .../huaweicloudsdkims/v2/model/image_info.py | 31 +- .../v2/model/update_image_response.py | 31 +- huaweicloud-sdk-ims/requirements.txt | 2 +- huaweicloud-sdk-ims/setup.py | 4 +- huaweicloud-sdk-iotanalytics/requirements.txt | 2 +- huaweicloud-sdk-iotanalytics/setup.py | 4 +- huaweicloud-sdk-iotda/requirements.txt | 2 +- huaweicloud-sdk-iotda/setup.py | 4 +- huaweicloud-sdk-iotedge/requirements.txt | 2 +- huaweicloud-sdk-iotedge/setup.py | 4 +- huaweicloud-sdk-ivs/requirements.txt | 2 +- huaweicloud-sdk-ivs/setup.py | 4 +- huaweicloud-sdk-kafka/requirements.txt | 2 +- huaweicloud-sdk-kafka/setup.py | 4 +- huaweicloud-sdk-kms/requirements.txt | 2 +- huaweicloud-sdk-kms/setup.py | 4 +- huaweicloud-sdk-koomessage/requirements.txt | 2 +- huaweicloud-sdk-koomessage/setup.py | 4 +- huaweicloud-sdk-kps/requirements.txt | 2 +- huaweicloud-sdk-kps/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-lakeformation/setup.py | 4 +- huaweicloud-sdk-live/requirements.txt | 2 +- huaweicloud-sdk-live/setup.py | 4 +- huaweicloud-sdk-lts/requirements.txt | 2 +- huaweicloud-sdk-lts/setup.py | 4 +- huaweicloud-sdk-mapds/requirements.txt | 2 +- huaweicloud-sdk-mapds/setup.py | 4 +- huaweicloud-sdk-mas/requirements.txt | 2 +- huaweicloud-sdk-mas/setup.py | 4 +- huaweicloud-sdk-meeting/requirements.txt | 2 +- huaweicloud-sdk-meeting/setup.py | 4 +- huaweicloud-sdk-metastudio/requirements.txt | 2 +- huaweicloud-sdk-metastudio/setup.py | 4 +- huaweicloud-sdk-moderation/requirements.txt | 2 +- huaweicloud-sdk-moderation/setup.py | 4 +- huaweicloud-sdk-mpc/requirements.txt | 2 +- huaweicloud-sdk-mpc/setup.py | 4 +- huaweicloud-sdk-mrs/requirements.txt | 2 +- huaweicloud-sdk-mrs/setup.py | 4 +- huaweicloud-sdk-msgsms/requirements.txt | 2 +- huaweicloud-sdk-msgsms/setup.py | 4 +- huaweicloud-sdk-mssi/requirements.txt | 2 +- huaweicloud-sdk-mssi/setup.py | 4 +- huaweicloud-sdk-nat/requirements.txt | 2 +- huaweicloud-sdk-nat/setup.py | 4 +- huaweicloud-sdk-nlp/requirements.txt | 2 +- huaweicloud-sdk-nlp/setup.py | 4 +- huaweicloud-sdk-obs/requirements.txt | 2 +- huaweicloud-sdk-obs/setup.py | 4 +- .../v1/model/train_ticket_result.py | 524 ++++- huaweicloud-sdk-ocr/requirements.txt | 2 +- huaweicloud-sdk-ocr/setup.py | 4 +- huaweicloud-sdk-octopus/requirements.txt | 2 +- huaweicloud-sdk-octopus/setup.py | 4 +- huaweicloud-sdk-oms/requirements.txt | 2 +- huaweicloud-sdk-oms/setup.py | 4 +- huaweicloud-sdk-optverse/requirements.txt | 2 +- huaweicloud-sdk-optverse/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-organizations/setup.py | 4 +- huaweicloud-sdk-orgid/requirements.txt | 2 +- huaweicloud-sdk-orgid/setup.py | 4 +- huaweicloud-sdk-oroas/requirements.txt | 2 +- huaweicloud-sdk-oroas/setup.py | 4 +- huaweicloud-sdk-osm/requirements.txt | 2 +- huaweicloud-sdk-osm/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-pangulargemodels/setup.py | 4 +- huaweicloud-sdk-projectman/requirements.txt | 2 +- huaweicloud-sdk-projectman/setup.py | 4 +- huaweicloud-sdk-rabbitmq/requirements.txt | 2 +- huaweicloud-sdk-rabbitmq/setup.py | 4 +- huaweicloud-sdk-ram/requirements.txt | 2 +- huaweicloud-sdk-ram/setup.py | 4 +- huaweicloud-sdk-rds/requirements.txt | 2 +- huaweicloud-sdk-rds/setup.py | 4 +- huaweicloud-sdk-res/requirements.txt | 2 +- huaweicloud-sdk-res/setup.py | 4 +- huaweicloud-sdk-rgc/requirements.txt | 2 +- huaweicloud-sdk-rgc/setup.py | 4 +- huaweicloud-sdk-rms/requirements.txt | 2 +- huaweicloud-sdk-rms/setup.py | 4 +- huaweicloud-sdk-rocketmq/requirements.txt | 2 +- huaweicloud-sdk-rocketmq/setup.py | 4 +- huaweicloud-sdk-roma/requirements.txt | 2 +- huaweicloud-sdk-roma/setup.py | 4 +- huaweicloud-sdk-sa/requirements.txt | 2 +- huaweicloud-sdk-sa/setup.py | 4 +- huaweicloud-sdk-scm/requirements.txt | 2 +- huaweicloud-sdk-scm/setup.py | 4 +- huaweicloud-sdk-sdrs/requirements.txt | 2 +- huaweicloud-sdk-sdrs/setup.py | 4 +- .../v1/region/secmaster_region.py | 2 +- .../v2/region/secmaster_region.py | 2 +- huaweicloud-sdk-secmaster/requirements.txt | 2 +- huaweicloud-sdk-secmaster/setup.py | 4 +- huaweicloud-sdk-servicestage/requirements.txt | 2 +- huaweicloud-sdk-servicestage/setup.py | 4 +- huaweicloud-sdk-sfsturbo/requirements.txt | 2 +- huaweicloud-sdk-sfsturbo/setup.py | 4 +- huaweicloud-sdk-sis/requirements.txt | 2 +- huaweicloud-sdk-sis/setup.py | 4 +- .../huaweicloudsdksmn/v2/region/smn_region.py | 9 + huaweicloud-sdk-smn/requirements.txt | 2 +- huaweicloud-sdk-smn/setup.py | 4 +- .../huaweicloudsdksms/v3/region/sms_region.py | 3 + huaweicloud-sdk-sms/requirements.txt | 2 +- huaweicloud-sdk-sms/setup.py | 4 +- huaweicloud-sdk-swr/requirements.txt | 2 +- huaweicloud-sdk-swr/setup.py | 4 +- huaweicloud-sdk-tics/requirements.txt | 2 +- huaweicloud-sdk-tics/setup.py | 4 +- huaweicloud-sdk-tms/requirements.txt | 2 +- huaweicloud-sdk-tms/setup.py | 4 +- huaweicloud-sdk-ugo/requirements.txt | 2 +- huaweicloud-sdk-ugo/setup.py | 4 +- huaweicloud-sdk-vas/requirements.txt | 2 +- huaweicloud-sdk-vas/setup.py | 4 +- huaweicloud-sdk-vcm/requirements.txt | 2 +- huaweicloud-sdk-vcm/setup.py | 4 +- huaweicloud-sdk-vod/requirements.txt | 2 +- huaweicloud-sdk-vod/setup.py | 4 +- huaweicloud-sdk-vpc/requirements.txt | 2 +- huaweicloud-sdk-vpc/setup.py | 4 +- huaweicloud-sdk-vpcep/requirements.txt | 2 +- huaweicloud-sdk-vpcep/setup.py | 4 +- huaweicloud-sdk-vpn/requirements.txt | 2 +- huaweicloud-sdk-vpn/setup.py | 4 +- huaweicloud-sdk-waf/requirements.txt | 2 +- huaweicloud-sdk-waf/setup.py | 4 +- huaweicloud-sdk-workspace/requirements.txt | 2 +- huaweicloud-sdk-workspace/setup.py | 4 +- huaweicloud-sdk-workspaceapp/requirements.txt | 2 +- huaweicloud-sdk-workspaceapp/setup.py | 4 +- 406 files changed, 8053 insertions(+), 1335 deletions(-) rename huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/{base_widget_info_location.py => update_widget_info_location.py} (75%) rename huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/{base_widget_info_properties.py => update_widget_info_properties.py} (80%) create mode 100644 huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/apig_trigger_func_info.py create mode 100644 huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_dependency_versions_result.py create mode 100644 huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/trigger_event_data_request_body.py create mode 100644 huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/trigger_event_data_response_body.py rename huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/{trigger_event_data.py => updaterigger_event_data.py} (79%) create mode 100644 huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/version_strategy.py create mode 100644 huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/version_strategy_rules.py diff --git a/CHANGELOG.md b/CHANGELOG.md index 25b9ea63b..2b4073afa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,145 @@ +# 3.1.83 2024-02-22 + +### HuaweiCloud SDK BSSINTL + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListSubCustomers** + - changes of request param + - `+ customer_id` + +### HuaweiCloud SDK CES + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **CreateDashboardWidgets** + - changes of request param + - `* body: list -> list` + +### HuaweiCloud SDK eiHealth + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **GeneratePocketFile** + - changes of request param + - `* padding: int32 -> float` + - **ShowAdmetJob** + - changes of response param + - `- models.value_range.lower_inclusive` + - `- models.value_range.upper_inclusive` + - `* models.value_range.lower: number -> float` + - `* models.value_range.upper: number -> float` + - `* models.value_range: object -> object` + - **CreatePocketMolDesignJob** + - changes of request param + - `* receptor.bounding_box.padding: int32 -> float` + - **ShowPocketMolDesignJob** + - changes of response param + - `* receptor.bounding_box.padding: int32 -> float` + - `- model_list.value_range.lower_inclusive` + - `- model_list.value_range.upper_inclusive` + - `* model_list.value_range.lower: number -> float` + - `* model_list.value_range.upper: number -> float` + - `* model_list.value_range: object -> object` + - **ParseDrugReceptorInfo** + - changes of request param + - `+ add_hydrogen` + - `* body: object -> object` + - **CreateOptmJob** + - changes of request param + - `* binding_site.bounding_box.padding: int32 -> float` + - **ShowOptmJob** + - changes of response param + - `* binding_site.bounding_box.padding: int32 -> float` + - `- models.value_range.lower_inclusive` + - `- models.value_range.upper_inclusive` + - `* models.value_range.lower: number -> float` + - `* models.value_range.upper: number -> float` + - `* models.value_range: object -> object` + - **CreateDockingJob** + - changes of request param + - `* receptors.bounding_box.padding: int32 -> float` + - **ShowDockingJob** + - changes of response param + - `* receptors.bounding_box.padding: int32 -> float` + +### HuaweiCloud SDK GaussDB + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ModifyGaussMySqlProxyRouteMode** + - changes of request param + - `+ new_node_auto_add_status` + - `+ new_node_weight` + +### HuaweiCloud SDK GaussDBforopenGauss + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListRecycleInstances** + - changes of response param + - `+ instances.engine_name` + - `+ instances.volume_size` + - `+ instances.enterprise_project_name` + - `+ instances.backup_level` + +### HuaweiCloud SDK IMS + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListImages** + - changes of response param + - `+ images.__image_displayname` + - **UpdateImage** + - changes of response param + - `+ __image_displayname` + +### HuaweiCloud SDK OCR + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **RecognizeTrainTicket** + - changes of response param + - `+ result.invoice_style` + - `+ result.issue_date` + - `+ result.discount_mark` + - `+ result.serial_number` + - `+ result.tax_amount` + - `+ result.tax_rate` + - `+ result.air_conditioning` + - `+ result.original_invoice_number` + - `+ result.unified_social_credit_code` + - `+ result.buyer_name` + - `+ result.total_amount_excluding_tax` + - `+ result.invoice_number` + - `+ result.seal_mark` + - `+ result.title` + - `+ result.area` + - `+ result.receipt_number` + - `+ result.amount_in_figures` + - `+ result.amount_in_words` + # 3.1.82 2024-02-20 ### HuaweiCloud SDK IAMAccessAnalyzer diff --git a/CHANGELOG_CN.md b/CHANGELOG_CN.md index 8b6dc536d..6245b5532 100644 --- a/CHANGELOG_CN.md +++ b/CHANGELOG_CN.md @@ -1,3 +1,145 @@ +# 3.1.83 2024-02-22 + +### HuaweiCloud SDK BSSINTL + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ListSubCustomers** + - 请求参数变更 + - `+ customer_id` + +### HuaweiCloud SDK CES + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **CreateDashboardWidgets** + - 请求参数变更 + - `* body: list -> list` + +### HuaweiCloud SDK eiHealth + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **GeneratePocketFile** + - 请求参数变更 + - `* padding: int32 -> float` + - **ShowAdmetJob** + - 响应参数变更 + - `- models.value_range.lower_inclusive` + - `- models.value_range.upper_inclusive` + - `* models.value_range.lower: number -> float` + - `* models.value_range.upper: number -> float` + - `* models.value_range: object -> object` + - **CreatePocketMolDesignJob** + - 请求参数变更 + - `* receptor.bounding_box.padding: int32 -> float` + - **ShowPocketMolDesignJob** + - 响应参数变更 + - `* receptor.bounding_box.padding: int32 -> float` + - `- model_list.value_range.lower_inclusive` + - `- model_list.value_range.upper_inclusive` + - `* model_list.value_range.lower: number -> float` + - `* model_list.value_range.upper: number -> float` + - `* model_list.value_range: object -> object` + - **ParseDrugReceptorInfo** + - 请求参数变更 + - `+ add_hydrogen` + - `* body: object -> object` + - **CreateOptmJob** + - 请求参数变更 + - `* binding_site.bounding_box.padding: int32 -> float` + - **ShowOptmJob** + - 响应参数变更 + - `* binding_site.bounding_box.padding: int32 -> float` + - `- models.value_range.lower_inclusive` + - `- models.value_range.upper_inclusive` + - `* models.value_range.lower: number -> float` + - `* models.value_range.upper: number -> float` + - `* models.value_range: object -> object` + - **CreateDockingJob** + - 请求参数变更 + - `* receptors.bounding_box.padding: int32 -> float` + - **ShowDockingJob** + - 响应参数变更 + - `* receptors.bounding_box.padding: int32 -> float` + +### HuaweiCloud SDK GaussDB + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ModifyGaussMySqlProxyRouteMode** + - 请求参数变更 + - `+ new_node_auto_add_status` + - `+ new_node_weight` + +### HuaweiCloud SDK GaussDBforopenGauss + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ListRecycleInstances** + - 响应参数变更 + - `+ instances.engine_name` + - `+ instances.volume_size` + - `+ instances.enterprise_project_name` + - `+ instances.backup_level` + +### HuaweiCloud SDK IMS + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ListImages** + - 响应参数变更 + - `+ images.__image_displayname` + - **UpdateImage** + - 响应参数变更 + - `+ __image_displayname` + +### HuaweiCloud SDK OCR + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **RecognizeTrainTicket** + - 响应参数变更 + - `+ result.invoice_style` + - `+ result.issue_date` + - `+ result.discount_mark` + - `+ result.serial_number` + - `+ result.tax_amount` + - `+ result.tax_rate` + - `+ result.air_conditioning` + - `+ result.original_invoice_number` + - `+ result.unified_social_credit_code` + - `+ result.buyer_name` + - `+ result.total_amount_excluding_tax` + - `+ result.invoice_number` + - `+ result.seal_mark` + - `+ result.title` + - `+ result.area` + - `+ result.receipt_number` + - `+ result.amount_in_figures` + - `+ result.amount_in_words` + # 3.1.82 2024-02-20 ### HuaweiCloud SDK IAMAccessAnalyzer diff --git a/VERSION b/VERSION index f24c82936..0df849831 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.1.82 +3.1.83 diff --git a/huaweicloud-sdk-aad/requirements.txt b/huaweicloud-sdk-aad/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-aad/requirements.txt +++ b/huaweicloud-sdk-aad/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-aad/setup.py b/huaweicloud-sdk-aad/setup.py index 3418104ee..5c3222b42 100644 --- a/huaweicloud-sdk-aad/setup.py +++ b/huaweicloud-sdk-aad/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkaad" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-all/requirements.txt b/huaweicloud-sdk-all/requirements.txt index ee60c885a..1951c5dc5 100644 --- a/huaweicloud-sdk-all/requirements.txt +++ b/huaweicloud-sdk-all/requirements.txt @@ -1,162 +1,162 @@ -huaweicloudsdkcore == 3.1.82 -huaweicloudsdkaad == 3.1.82 -huaweicloudsdkantiddos == 3.1.82 -huaweicloudsdkaom == 3.1.82 -huaweicloudsdkaos == 3.1.82 -huaweicloudsdkapig == 3.1.82 -huaweicloudsdkapm == 3.1.82 -huaweicloudsdkas == 3.1.82 -huaweicloudsdkasm == 3.1.82 -huaweicloudsdkbcs == 3.1.82 -huaweicloudsdkbms == 3.1.82 -huaweicloudsdkbss == 3.1.82 -huaweicloudsdkbssintl == 3.1.82 -huaweicloudsdkcae == 3.1.82 -huaweicloudsdkcampusgo == 3.1.82 -huaweicloudsdkcbh == 3.1.82 -huaweicloudsdkcbr == 3.1.82 -huaweicloudsdkcbs == 3.1.82 -huaweicloudsdkcc == 3.1.82 -huaweicloudsdkcce == 3.1.82 -huaweicloudsdkccm == 3.1.82 -huaweicloudsdkcdm == 3.1.82 -huaweicloudsdkcdn == 3.1.82 -huaweicloudsdkces == 3.1.82 -huaweicloudsdkcfw == 3.1.82 -huaweicloudsdkcgs == 3.1.82 -huaweicloudsdkclassroom == 3.1.82 -huaweicloudsdkcloudide == 3.1.82 -huaweicloudsdkcloudpond == 3.1.82 -huaweicloudsdkcloudrtc == 3.1.82 -huaweicloudsdkcloudtable == 3.1.82 -huaweicloudsdkcloudtest == 3.1.82 -huaweicloudsdkcodeartsartifact == 3.1.82 -huaweicloudsdkcodeartsbuild == 3.1.82 -huaweicloudsdkcodeartscheck == 3.1.82 -huaweicloudsdkcodeartsdeploy == 3.1.82 -huaweicloudsdkcodeartsinspector == 3.1.82 -huaweicloudsdkcodeartspipeline == 3.1.82 -huaweicloudsdkcodecraft == 3.1.82 -huaweicloudsdkcodehub == 3.1.82 -huaweicloudsdkconfig == 3.1.82 -huaweicloudsdkcph == 3.1.82 -huaweicloudsdkcpts == 3.1.82 -huaweicloudsdkcse == 3.1.82 -huaweicloudsdkcsms == 3.1.82 -huaweicloudsdkcss == 3.1.82 -huaweicloudsdkcts == 3.1.82 -huaweicloudsdkdas == 3.1.82 -huaweicloudsdkdataartsstudio == 3.1.82 -huaweicloudsdkdbss == 3.1.82 -huaweicloudsdkdc == 3.1.82 -huaweicloudsdkdcs == 3.1.82 -huaweicloudsdkddm == 3.1.82 -huaweicloudsdkdds == 3.1.82 -huaweicloudsdkdeh == 3.1.82 -huaweicloudsdkdevsecurity == 3.1.82 -huaweicloudsdkdevstar == 3.1.82 -huaweicloudsdkdgc == 3.1.82 -huaweicloudsdkdis == 3.1.82 -huaweicloudsdkdlf == 3.1.82 -huaweicloudsdkdli == 3.1.82 -huaweicloudsdkdns == 3.1.82 -huaweicloudsdkdris == 3.1.82 -huaweicloudsdkdrs == 3.1.82 -huaweicloudsdkdsc == 3.1.82 -huaweicloudsdkdwr == 3.1.82 -huaweicloudsdkdws == 3.1.82 -huaweicloudsdkec == 3.1.82 -huaweicloudsdkecs == 3.1.82 -huaweicloudsdkedgesec == 3.1.82 -huaweicloudsdkeg == 3.1.82 -huaweicloudsdkeihealth == 3.1.82 -huaweicloudsdkeip == 3.1.82 -huaweicloudsdkelb == 3.1.82 -huaweicloudsdkeps == 3.1.82 -huaweicloudsdker == 3.1.82 -huaweicloudsdkevs == 3.1.82 -huaweicloudsdkfrs == 3.1.82 -huaweicloudsdkfunctiongraph == 3.1.82 -huaweicloudsdkga == 3.1.82 -huaweicloudsdkgaussdb == 3.1.82 -huaweicloudsdkgaussdbfornosql == 3.1.82 -huaweicloudsdkgaussdbforopengauss == 3.1.82 -huaweicloudsdkgeip == 3.1.82 -huaweicloudsdkges == 3.1.82 -huaweicloudsdkgsl == 3.1.82 -huaweicloudsdkhilens == 3.1.82 -huaweicloudsdkhss == 3.1.82 -huaweicloudsdkiam == 3.1.82 -huaweicloudsdkiamaccessanalyzer == 3.1.82 -huaweicloudsdkidentitycenter == 3.1.82 -huaweicloudsdkidentitycenterstore == 3.1.82 -huaweicloudsdkidme == 3.1.82 -huaweicloudsdkidmeclassicapi == 3.1.82 -huaweicloudsdkiec == 3.1.82 -huaweicloudsdkief == 3.1.82 -huaweicloudsdkimage == 3.1.82 -huaweicloudsdkimagesearch == 3.1.82 -huaweicloudsdkims == 3.1.82 -huaweicloudsdkiotanalytics == 3.1.82 -huaweicloudsdkiotda == 3.1.82 -huaweicloudsdkiotedge == 3.1.82 -huaweicloudsdkivs == 3.1.82 -huaweicloudsdkkafka == 3.1.82 -huaweicloudsdkkms == 3.1.82 -huaweicloudsdkkoomessage == 3.1.82 -huaweicloudsdkkps == 3.1.82 -huaweicloudsdklakeformation == 3.1.82 -huaweicloudsdklive == 3.1.82 -huaweicloudsdklts == 3.1.82 -huaweicloudsdkmapds == 3.1.82 -huaweicloudsdkmas == 3.1.82 -huaweicloudsdkmeeting == 3.1.82 -huaweicloudsdkmetastudio == 3.1.82 -huaweicloudsdkmoderation == 3.1.82 -huaweicloudsdkmpc == 3.1.82 -huaweicloudsdkmrs == 3.1.82 -huaweicloudsdkmsgsms == 3.1.82 -huaweicloudsdkmssi == 3.1.82 -huaweicloudsdknat == 3.1.82 -huaweicloudsdknlp == 3.1.82 -huaweicloudsdkobs == 3.1.82 -huaweicloudsdkocr == 3.1.82 -huaweicloudsdkoctopus == 3.1.82 -huaweicloudsdkoms == 3.1.82 -huaweicloudsdkoptverse == 3.1.82 -huaweicloudsdkorganizations == 3.1.82 -huaweicloudsdkorgid == 3.1.82 -huaweicloudsdkoroas == 3.1.82 -huaweicloudsdkosm == 3.1.82 -huaweicloudsdkpangulargemodels == 3.1.82 -huaweicloudsdkprojectman == 3.1.82 -huaweicloudsdkrabbitmq == 3.1.82 -huaweicloudsdkram == 3.1.82 -huaweicloudsdkrds == 3.1.82 -huaweicloudsdkres == 3.1.82 -huaweicloudsdkrgc == 3.1.82 -huaweicloudsdkrms == 3.1.82 -huaweicloudsdkrocketmq == 3.1.82 -huaweicloudsdkroma == 3.1.82 -huaweicloudsdksa == 3.1.82 -huaweicloudsdkscm == 3.1.82 -huaweicloudsdksdrs == 3.1.82 -huaweicloudsdksecmaster == 3.1.82 -huaweicloudsdkservicestage == 3.1.82 -huaweicloudsdksfsturbo == 3.1.82 -huaweicloudsdksis == 3.1.82 -huaweicloudsdksmn == 3.1.82 -huaweicloudsdksms == 3.1.82 -huaweicloudsdkswr == 3.1.82 -huaweicloudsdktics == 3.1.82 -huaweicloudsdktms == 3.1.82 -huaweicloudsdkugo == 3.1.82 -huaweicloudsdkvas == 3.1.82 -huaweicloudsdkvcm == 3.1.82 -huaweicloudsdkvod == 3.1.82 -huaweicloudsdkvpc == 3.1.82 -huaweicloudsdkvpcep == 3.1.82 -huaweicloudsdkvpn == 3.1.82 -huaweicloudsdkwaf == 3.1.82 -huaweicloudsdkworkspace == 3.1.82 -huaweicloudsdkworkspaceapp == 3.1.82 +huaweicloudsdkcore == 3.1.83 +huaweicloudsdkaad == 3.1.83 +huaweicloudsdkantiddos == 3.1.83 +huaweicloudsdkaom == 3.1.83 +huaweicloudsdkaos == 3.1.83 +huaweicloudsdkapig == 3.1.83 +huaweicloudsdkapm == 3.1.83 +huaweicloudsdkas == 3.1.83 +huaweicloudsdkasm == 3.1.83 +huaweicloudsdkbcs == 3.1.83 +huaweicloudsdkbms == 3.1.83 +huaweicloudsdkbss == 3.1.83 +huaweicloudsdkbssintl == 3.1.83 +huaweicloudsdkcae == 3.1.83 +huaweicloudsdkcampusgo == 3.1.83 +huaweicloudsdkcbh == 3.1.83 +huaweicloudsdkcbr == 3.1.83 +huaweicloudsdkcbs == 3.1.83 +huaweicloudsdkcc == 3.1.83 +huaweicloudsdkcce == 3.1.83 +huaweicloudsdkccm == 3.1.83 +huaweicloudsdkcdm == 3.1.83 +huaweicloudsdkcdn == 3.1.83 +huaweicloudsdkces == 3.1.83 +huaweicloudsdkcfw == 3.1.83 +huaweicloudsdkcgs == 3.1.83 +huaweicloudsdkclassroom == 3.1.83 +huaweicloudsdkcloudide == 3.1.83 +huaweicloudsdkcloudpond == 3.1.83 +huaweicloudsdkcloudrtc == 3.1.83 +huaweicloudsdkcloudtable == 3.1.83 +huaweicloudsdkcloudtest == 3.1.83 +huaweicloudsdkcodeartsartifact == 3.1.83 +huaweicloudsdkcodeartsbuild == 3.1.83 +huaweicloudsdkcodeartscheck == 3.1.83 +huaweicloudsdkcodeartsdeploy == 3.1.83 +huaweicloudsdkcodeartsinspector == 3.1.83 +huaweicloudsdkcodeartspipeline == 3.1.83 +huaweicloudsdkcodecraft == 3.1.83 +huaweicloudsdkcodehub == 3.1.83 +huaweicloudsdkconfig == 3.1.83 +huaweicloudsdkcph == 3.1.83 +huaweicloudsdkcpts == 3.1.83 +huaweicloudsdkcse == 3.1.83 +huaweicloudsdkcsms == 3.1.83 +huaweicloudsdkcss == 3.1.83 +huaweicloudsdkcts == 3.1.83 +huaweicloudsdkdas == 3.1.83 +huaweicloudsdkdataartsstudio == 3.1.83 +huaweicloudsdkdbss == 3.1.83 +huaweicloudsdkdc == 3.1.83 +huaweicloudsdkdcs == 3.1.83 +huaweicloudsdkddm == 3.1.83 +huaweicloudsdkdds == 3.1.83 +huaweicloudsdkdeh == 3.1.83 +huaweicloudsdkdevsecurity == 3.1.83 +huaweicloudsdkdevstar == 3.1.83 +huaweicloudsdkdgc == 3.1.83 +huaweicloudsdkdis == 3.1.83 +huaweicloudsdkdlf == 3.1.83 +huaweicloudsdkdli == 3.1.83 +huaweicloudsdkdns == 3.1.83 +huaweicloudsdkdris == 3.1.83 +huaweicloudsdkdrs == 3.1.83 +huaweicloudsdkdsc == 3.1.83 +huaweicloudsdkdwr == 3.1.83 +huaweicloudsdkdws == 3.1.83 +huaweicloudsdkec == 3.1.83 +huaweicloudsdkecs == 3.1.83 +huaweicloudsdkedgesec == 3.1.83 +huaweicloudsdkeg == 3.1.83 +huaweicloudsdkeihealth == 3.1.83 +huaweicloudsdkeip == 3.1.83 +huaweicloudsdkelb == 3.1.83 +huaweicloudsdkeps == 3.1.83 +huaweicloudsdker == 3.1.83 +huaweicloudsdkevs == 3.1.83 +huaweicloudsdkfrs == 3.1.83 +huaweicloudsdkfunctiongraph == 3.1.83 +huaweicloudsdkga == 3.1.83 +huaweicloudsdkgaussdb == 3.1.83 +huaweicloudsdkgaussdbfornosql == 3.1.83 +huaweicloudsdkgaussdbforopengauss == 3.1.83 +huaweicloudsdkgeip == 3.1.83 +huaweicloudsdkges == 3.1.83 +huaweicloudsdkgsl == 3.1.83 +huaweicloudsdkhilens == 3.1.83 +huaweicloudsdkhss == 3.1.83 +huaweicloudsdkiam == 3.1.83 +huaweicloudsdkiamaccessanalyzer == 3.1.83 +huaweicloudsdkidentitycenter == 3.1.83 +huaweicloudsdkidentitycenterstore == 3.1.83 +huaweicloudsdkidme == 3.1.83 +huaweicloudsdkidmeclassicapi == 3.1.83 +huaweicloudsdkiec == 3.1.83 +huaweicloudsdkief == 3.1.83 +huaweicloudsdkimage == 3.1.83 +huaweicloudsdkimagesearch == 3.1.83 +huaweicloudsdkims == 3.1.83 +huaweicloudsdkiotanalytics == 3.1.83 +huaweicloudsdkiotda == 3.1.83 +huaweicloudsdkiotedge == 3.1.83 +huaweicloudsdkivs == 3.1.83 +huaweicloudsdkkafka == 3.1.83 +huaweicloudsdkkms == 3.1.83 +huaweicloudsdkkoomessage == 3.1.83 +huaweicloudsdkkps == 3.1.83 +huaweicloudsdklakeformation == 3.1.83 +huaweicloudsdklive == 3.1.83 +huaweicloudsdklts == 3.1.83 +huaweicloudsdkmapds == 3.1.83 +huaweicloudsdkmas == 3.1.83 +huaweicloudsdkmeeting == 3.1.83 +huaweicloudsdkmetastudio == 3.1.83 +huaweicloudsdkmoderation == 3.1.83 +huaweicloudsdkmpc == 3.1.83 +huaweicloudsdkmrs == 3.1.83 +huaweicloudsdkmsgsms == 3.1.83 +huaweicloudsdkmssi == 3.1.83 +huaweicloudsdknat == 3.1.83 +huaweicloudsdknlp == 3.1.83 +huaweicloudsdkobs == 3.1.83 +huaweicloudsdkocr == 3.1.83 +huaweicloudsdkoctopus == 3.1.83 +huaweicloudsdkoms == 3.1.83 +huaweicloudsdkoptverse == 3.1.83 +huaweicloudsdkorganizations == 3.1.83 +huaweicloudsdkorgid == 3.1.83 +huaweicloudsdkoroas == 3.1.83 +huaweicloudsdkosm == 3.1.83 +huaweicloudsdkpangulargemodels == 3.1.83 +huaweicloudsdkprojectman == 3.1.83 +huaweicloudsdkrabbitmq == 3.1.83 +huaweicloudsdkram == 3.1.83 +huaweicloudsdkrds == 3.1.83 +huaweicloudsdkres == 3.1.83 +huaweicloudsdkrgc == 3.1.83 +huaweicloudsdkrms == 3.1.83 +huaweicloudsdkrocketmq == 3.1.83 +huaweicloudsdkroma == 3.1.83 +huaweicloudsdksa == 3.1.83 +huaweicloudsdkscm == 3.1.83 +huaweicloudsdksdrs == 3.1.83 +huaweicloudsdksecmaster == 3.1.83 +huaweicloudsdkservicestage == 3.1.83 +huaweicloudsdksfsturbo == 3.1.83 +huaweicloudsdksis == 3.1.83 +huaweicloudsdksmn == 3.1.83 +huaweicloudsdksms == 3.1.83 +huaweicloudsdkswr == 3.1.83 +huaweicloudsdktics == 3.1.83 +huaweicloudsdktms == 3.1.83 +huaweicloudsdkugo == 3.1.83 +huaweicloudsdkvas == 3.1.83 +huaweicloudsdkvcm == 3.1.83 +huaweicloudsdkvod == 3.1.83 +huaweicloudsdkvpc == 3.1.83 +huaweicloudsdkvpcep == 3.1.83 +huaweicloudsdkvpn == 3.1.83 +huaweicloudsdkwaf == 3.1.83 +huaweicloudsdkworkspace == 3.1.83 +huaweicloudsdkworkspaceapp == 3.1.83 diff --git a/huaweicloud-sdk-all/setup.py b/huaweicloud-sdk-all/setup.py index 24728f830..d7d3d3793 100644 --- a/huaweicloud-sdk-all/setup.py +++ b/huaweicloud-sdk-all/setup.py @@ -23,7 +23,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkall" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -34,168 +34,168 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() INSTALL_REQUIRES = [ - 'huaweicloudsdkcore==3.1.82', - 'huaweicloudsdkaad==3.1.82', - 'huaweicloudsdkantiddos==3.1.82', - 'huaweicloudsdkaom==3.1.82', - 'huaweicloudsdkaos==3.1.82', - 'huaweicloudsdkapig==3.1.82', - 'huaweicloudsdkapm==3.1.82', - 'huaweicloudsdkas==3.1.82', - 'huaweicloudsdkasm==3.1.82', - 'huaweicloudsdkbcs==3.1.82', - 'huaweicloudsdkbms==3.1.82', - 'huaweicloudsdkbss==3.1.82', - 'huaweicloudsdkbssintl==3.1.82', - 'huaweicloudsdkcae==3.1.82', - 'huaweicloudsdkcampusgo==3.1.82', - 'huaweicloudsdkcbh==3.1.82', - 'huaweicloudsdkcbr==3.1.82', - 'huaweicloudsdkcbs==3.1.82', - 'huaweicloudsdkcc==3.1.82', - 'huaweicloudsdkcce==3.1.82', - 'huaweicloudsdkccm==3.1.82', - 'huaweicloudsdkcdm==3.1.82', - 'huaweicloudsdkcdn==3.1.82', - 'huaweicloudsdkces==3.1.82', - 'huaweicloudsdkcfw==3.1.82', - 'huaweicloudsdkcgs==3.1.82', - 'huaweicloudsdkclassroom==3.1.82', - 'huaweicloudsdkcloudide==3.1.82', - 'huaweicloudsdkcloudpond==3.1.82', - 'huaweicloudsdkcloudrtc==3.1.82', - 'huaweicloudsdkcloudtable==3.1.82', - 'huaweicloudsdkcloudtest==3.1.82', - 'huaweicloudsdkcodeartsartifact==3.1.82', - 'huaweicloudsdkcodeartsbuild==3.1.82', - 'huaweicloudsdkcodeartscheck==3.1.82', - 'huaweicloudsdkcodeartsdeploy==3.1.82', - 'huaweicloudsdkcodeartsinspector==3.1.82', - 'huaweicloudsdkcodeartspipeline==3.1.82', - 'huaweicloudsdkcodecraft==3.1.82', - 'huaweicloudsdkcodehub==3.1.82', - 'huaweicloudsdkconfig==3.1.82', - 'huaweicloudsdkcph==3.1.82', - 'huaweicloudsdkcpts==3.1.82', - 'huaweicloudsdkcse==3.1.82', - 'huaweicloudsdkcsms==3.1.82', - 'huaweicloudsdkcss==3.1.82', - 'huaweicloudsdkcts==3.1.82', - 'huaweicloudsdkdas==3.1.82', - 'huaweicloudsdkdataartsstudio==3.1.82', - 'huaweicloudsdkdbss==3.1.82', - 'huaweicloudsdkdc==3.1.82', - 'huaweicloudsdkdcs==3.1.82', - 'huaweicloudsdkddm==3.1.82', - 'huaweicloudsdkdds==3.1.82', - 'huaweicloudsdkdeh==3.1.82', - 'huaweicloudsdkdevsecurity==3.1.82', - 'huaweicloudsdkdevstar==3.1.82', - 'huaweicloudsdkdgc==3.1.82', - 'huaweicloudsdkdis==3.1.82', - 'huaweicloudsdkdlf==3.1.82', - 'huaweicloudsdkdli==3.1.82', - 'huaweicloudsdkdns==3.1.82', - 'huaweicloudsdkdris==3.1.82', - 'huaweicloudsdkdrs==3.1.82', - 'huaweicloudsdkdsc==3.1.82', - 'huaweicloudsdkdwr==3.1.82', - 'huaweicloudsdkdws==3.1.82', - 'huaweicloudsdkec==3.1.82', - 'huaweicloudsdkecs==3.1.82', - 'huaweicloudsdkedgesec==3.1.82', - 'huaweicloudsdkeg==3.1.82', - 'huaweicloudsdkeihealth==3.1.82', - 'huaweicloudsdkeip==3.1.82', - 'huaweicloudsdkelb==3.1.82', - 'huaweicloudsdkeps==3.1.82', - 'huaweicloudsdker==3.1.82', - 'huaweicloudsdkevs==3.1.82', - 'huaweicloudsdkfrs==3.1.82', - 'huaweicloudsdkfunctiongraph==3.1.82', - 'huaweicloudsdkga==3.1.82', - 'huaweicloudsdkgaussdb==3.1.82', - 'huaweicloudsdkgaussdbfornosql==3.1.82', - 'huaweicloudsdkgaussdbforopengauss==3.1.82', - 'huaweicloudsdkgeip==3.1.82', - 'huaweicloudsdkges==3.1.82', - 'huaweicloudsdkgsl==3.1.82', - 'huaweicloudsdkhilens==3.1.82', - 'huaweicloudsdkhss==3.1.82', - 'huaweicloudsdkiam==3.1.82', - 'huaweicloudsdkiamaccessanalyzer==3.1.82', - 'huaweicloudsdkidentitycenter==3.1.82', - 'huaweicloudsdkidentitycenterstore==3.1.82', - 'huaweicloudsdkidme==3.1.82', - 'huaweicloudsdkidmeclassicapi==3.1.82', - 'huaweicloudsdkiec==3.1.82', - 'huaweicloudsdkief==3.1.82', - 'huaweicloudsdkimage==3.1.82', - 'huaweicloudsdkimagesearch==3.1.82', - 'huaweicloudsdkims==3.1.82', - 'huaweicloudsdkiotanalytics==3.1.82', - 'huaweicloudsdkiotda==3.1.82', - 'huaweicloudsdkiotedge==3.1.82', - 'huaweicloudsdkivs==3.1.82', - 'huaweicloudsdkkafka==3.1.82', - 'huaweicloudsdkkms==3.1.82', - 'huaweicloudsdkkoomessage==3.1.82', - 'huaweicloudsdkkps==3.1.82', - 'huaweicloudsdklakeformation==3.1.82', - 'huaweicloudsdklive==3.1.82', - 'huaweicloudsdklts==3.1.82', - 'huaweicloudsdkmapds==3.1.82', - 'huaweicloudsdkmas==3.1.82', - 'huaweicloudsdkmeeting==3.1.82', - 'huaweicloudsdkmetastudio==3.1.82', - 'huaweicloudsdkmoderation==3.1.82', - 'huaweicloudsdkmpc==3.1.82', - 'huaweicloudsdkmrs==3.1.82', - 'huaweicloudsdkmsgsms==3.1.82', - 'huaweicloudsdkmssi==3.1.82', - 'huaweicloudsdknat==3.1.82', - 'huaweicloudsdknlp==3.1.82', - 'huaweicloudsdkobs==3.1.82', - 'huaweicloudsdkocr==3.1.82', - 'huaweicloudsdkoctopus==3.1.82', - 'huaweicloudsdkoms==3.1.82', - 'huaweicloudsdkoptverse==3.1.82', - 'huaweicloudsdkorganizations==3.1.82', - 'huaweicloudsdkorgid==3.1.82', - 'huaweicloudsdkoroas==3.1.82', - 'huaweicloudsdkosm==3.1.82', - 'huaweicloudsdkpangulargemodels==3.1.82', - 'huaweicloudsdkprojectman==3.1.82', - 'huaweicloudsdkrabbitmq==3.1.82', - 'huaweicloudsdkram==3.1.82', - 'huaweicloudsdkrds==3.1.82', - 'huaweicloudsdkres==3.1.82', - 'huaweicloudsdkrgc==3.1.82', - 'huaweicloudsdkrms==3.1.82', - 'huaweicloudsdkrocketmq==3.1.82', - 'huaweicloudsdkroma==3.1.82', - 'huaweicloudsdksa==3.1.82', - 'huaweicloudsdkscm==3.1.82', - 'huaweicloudsdksdrs==3.1.82', - 'huaweicloudsdksecmaster==3.1.82', - 'huaweicloudsdkservicestage==3.1.82', - 'huaweicloudsdksfsturbo==3.1.82', - 'huaweicloudsdksis==3.1.82', - 'huaweicloudsdksmn==3.1.82', - 'huaweicloudsdksms==3.1.82', - 'huaweicloudsdkswr==3.1.82', - 'huaweicloudsdktics==3.1.82', - 'huaweicloudsdktms==3.1.82', - 'huaweicloudsdkugo==3.1.82', - 'huaweicloudsdkvas==3.1.82', - 'huaweicloudsdkvcm==3.1.82', - 'huaweicloudsdkvod==3.1.82', - 'huaweicloudsdkvpc==3.1.82', - 'huaweicloudsdkvpcep==3.1.82', - 'huaweicloudsdkvpn==3.1.82', - 'huaweicloudsdkwaf==3.1.82', - 'huaweicloudsdkworkspace==3.1.82', - 'huaweicloudsdkworkspaceapp==3.1.82', + 'huaweicloudsdkcore==3.1.83', + 'huaweicloudsdkaad==3.1.83', + 'huaweicloudsdkantiddos==3.1.83', + 'huaweicloudsdkaom==3.1.83', + 'huaweicloudsdkaos==3.1.83', + 'huaweicloudsdkapig==3.1.83', + 'huaweicloudsdkapm==3.1.83', + 'huaweicloudsdkas==3.1.83', + 'huaweicloudsdkasm==3.1.83', + 'huaweicloudsdkbcs==3.1.83', + 'huaweicloudsdkbms==3.1.83', + 'huaweicloudsdkbss==3.1.83', + 'huaweicloudsdkbssintl==3.1.83', + 'huaweicloudsdkcae==3.1.83', + 'huaweicloudsdkcampusgo==3.1.83', + 'huaweicloudsdkcbh==3.1.83', + 'huaweicloudsdkcbr==3.1.83', + 'huaweicloudsdkcbs==3.1.83', + 'huaweicloudsdkcc==3.1.83', + 'huaweicloudsdkcce==3.1.83', + 'huaweicloudsdkccm==3.1.83', + 'huaweicloudsdkcdm==3.1.83', + 'huaweicloudsdkcdn==3.1.83', + 'huaweicloudsdkces==3.1.83', + 'huaweicloudsdkcfw==3.1.83', + 'huaweicloudsdkcgs==3.1.83', + 'huaweicloudsdkclassroom==3.1.83', + 'huaweicloudsdkcloudide==3.1.83', + 'huaweicloudsdkcloudpond==3.1.83', + 'huaweicloudsdkcloudrtc==3.1.83', + 'huaweicloudsdkcloudtable==3.1.83', + 'huaweicloudsdkcloudtest==3.1.83', + 'huaweicloudsdkcodeartsartifact==3.1.83', + 'huaweicloudsdkcodeartsbuild==3.1.83', + 'huaweicloudsdkcodeartscheck==3.1.83', + 'huaweicloudsdkcodeartsdeploy==3.1.83', + 'huaweicloudsdkcodeartsinspector==3.1.83', + 'huaweicloudsdkcodeartspipeline==3.1.83', + 'huaweicloudsdkcodecraft==3.1.83', + 'huaweicloudsdkcodehub==3.1.83', + 'huaweicloudsdkconfig==3.1.83', + 'huaweicloudsdkcph==3.1.83', + 'huaweicloudsdkcpts==3.1.83', + 'huaweicloudsdkcse==3.1.83', + 'huaweicloudsdkcsms==3.1.83', + 'huaweicloudsdkcss==3.1.83', + 'huaweicloudsdkcts==3.1.83', + 'huaweicloudsdkdas==3.1.83', + 'huaweicloudsdkdataartsstudio==3.1.83', + 'huaweicloudsdkdbss==3.1.83', + 'huaweicloudsdkdc==3.1.83', + 'huaweicloudsdkdcs==3.1.83', + 'huaweicloudsdkddm==3.1.83', + 'huaweicloudsdkdds==3.1.83', + 'huaweicloudsdkdeh==3.1.83', + 'huaweicloudsdkdevsecurity==3.1.83', + 'huaweicloudsdkdevstar==3.1.83', + 'huaweicloudsdkdgc==3.1.83', + 'huaweicloudsdkdis==3.1.83', + 'huaweicloudsdkdlf==3.1.83', + 'huaweicloudsdkdli==3.1.83', + 'huaweicloudsdkdns==3.1.83', + 'huaweicloudsdkdris==3.1.83', + 'huaweicloudsdkdrs==3.1.83', + 'huaweicloudsdkdsc==3.1.83', + 'huaweicloudsdkdwr==3.1.83', + 'huaweicloudsdkdws==3.1.83', + 'huaweicloudsdkec==3.1.83', + 'huaweicloudsdkecs==3.1.83', + 'huaweicloudsdkedgesec==3.1.83', + 'huaweicloudsdkeg==3.1.83', + 'huaweicloudsdkeihealth==3.1.83', + 'huaweicloudsdkeip==3.1.83', + 'huaweicloudsdkelb==3.1.83', + 'huaweicloudsdkeps==3.1.83', + 'huaweicloudsdker==3.1.83', + 'huaweicloudsdkevs==3.1.83', + 'huaweicloudsdkfrs==3.1.83', + 'huaweicloudsdkfunctiongraph==3.1.83', + 'huaweicloudsdkga==3.1.83', + 'huaweicloudsdkgaussdb==3.1.83', + 'huaweicloudsdkgaussdbfornosql==3.1.83', + 'huaweicloudsdkgaussdbforopengauss==3.1.83', + 'huaweicloudsdkgeip==3.1.83', + 'huaweicloudsdkges==3.1.83', + 'huaweicloudsdkgsl==3.1.83', + 'huaweicloudsdkhilens==3.1.83', + 'huaweicloudsdkhss==3.1.83', + 'huaweicloudsdkiam==3.1.83', + 'huaweicloudsdkiamaccessanalyzer==3.1.83', + 'huaweicloudsdkidentitycenter==3.1.83', + 'huaweicloudsdkidentitycenterstore==3.1.83', + 'huaweicloudsdkidme==3.1.83', + 'huaweicloudsdkidmeclassicapi==3.1.83', + 'huaweicloudsdkiec==3.1.83', + 'huaweicloudsdkief==3.1.83', + 'huaweicloudsdkimage==3.1.83', + 'huaweicloudsdkimagesearch==3.1.83', + 'huaweicloudsdkims==3.1.83', + 'huaweicloudsdkiotanalytics==3.1.83', + 'huaweicloudsdkiotda==3.1.83', + 'huaweicloudsdkiotedge==3.1.83', + 'huaweicloudsdkivs==3.1.83', + 'huaweicloudsdkkafka==3.1.83', + 'huaweicloudsdkkms==3.1.83', + 'huaweicloudsdkkoomessage==3.1.83', + 'huaweicloudsdkkps==3.1.83', + 'huaweicloudsdklakeformation==3.1.83', + 'huaweicloudsdklive==3.1.83', + 'huaweicloudsdklts==3.1.83', + 'huaweicloudsdkmapds==3.1.83', + 'huaweicloudsdkmas==3.1.83', + 'huaweicloudsdkmeeting==3.1.83', + 'huaweicloudsdkmetastudio==3.1.83', + 'huaweicloudsdkmoderation==3.1.83', + 'huaweicloudsdkmpc==3.1.83', + 'huaweicloudsdkmrs==3.1.83', + 'huaweicloudsdkmsgsms==3.1.83', + 'huaweicloudsdkmssi==3.1.83', + 'huaweicloudsdknat==3.1.83', + 'huaweicloudsdknlp==3.1.83', + 'huaweicloudsdkobs==3.1.83', + 'huaweicloudsdkocr==3.1.83', + 'huaweicloudsdkoctopus==3.1.83', + 'huaweicloudsdkoms==3.1.83', + 'huaweicloudsdkoptverse==3.1.83', + 'huaweicloudsdkorganizations==3.1.83', + 'huaweicloudsdkorgid==3.1.83', + 'huaweicloudsdkoroas==3.1.83', + 'huaweicloudsdkosm==3.1.83', + 'huaweicloudsdkpangulargemodels==3.1.83', + 'huaweicloudsdkprojectman==3.1.83', + 'huaweicloudsdkrabbitmq==3.1.83', + 'huaweicloudsdkram==3.1.83', + 'huaweicloudsdkrds==3.1.83', + 'huaweicloudsdkres==3.1.83', + 'huaweicloudsdkrgc==3.1.83', + 'huaweicloudsdkrms==3.1.83', + 'huaweicloudsdkrocketmq==3.1.83', + 'huaweicloudsdkroma==3.1.83', + 'huaweicloudsdksa==3.1.83', + 'huaweicloudsdkscm==3.1.83', + 'huaweicloudsdksdrs==3.1.83', + 'huaweicloudsdksecmaster==3.1.83', + 'huaweicloudsdkservicestage==3.1.83', + 'huaweicloudsdksfsturbo==3.1.83', + 'huaweicloudsdksis==3.1.83', + 'huaweicloudsdksmn==3.1.83', + 'huaweicloudsdksms==3.1.83', + 'huaweicloudsdkswr==3.1.83', + 'huaweicloudsdktics==3.1.83', + 'huaweicloudsdktms==3.1.83', + 'huaweicloudsdkugo==3.1.83', + 'huaweicloudsdkvas==3.1.83', + 'huaweicloudsdkvcm==3.1.83', + 'huaweicloudsdkvod==3.1.83', + 'huaweicloudsdkvpc==3.1.83', + 'huaweicloudsdkvpcep==3.1.83', + 'huaweicloudsdkvpn==3.1.83', + 'huaweicloudsdkwaf==3.1.83', + 'huaweicloudsdkworkspace==3.1.83', + 'huaweicloudsdkworkspaceapp==3.1.83', ] OPTIONS = { diff --git a/huaweicloud-sdk-antiddos/requirements.txt b/huaweicloud-sdk-antiddos/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-antiddos/requirements.txt +++ b/huaweicloud-sdk-antiddos/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-antiddos/setup.py b/huaweicloud-sdk-antiddos/setup.py index 6d82e2e92..5138d909b 100644 --- a/huaweicloud-sdk-antiddos/setup.py +++ b/huaweicloud-sdk-antiddos/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkantiddos" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-aom/requirements.txt b/huaweicloud-sdk-aom/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-aom/requirements.txt +++ b/huaweicloud-sdk-aom/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-aom/setup.py b/huaweicloud-sdk-aom/setup.py index 9a0901b79..14d09eaf7 100644 --- a/huaweicloud-sdk-aom/setup.py +++ b/huaweicloud-sdk-aom/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkaom" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-aos/huaweicloudsdkaos/v1/region/aos_region.py b/huaweicloud-sdk-aos/huaweicloudsdkaos/v1/region/aos_region.py index 8818f0d34..55a3f5ab1 100644 --- a/huaweicloud-sdk-aos/huaweicloudsdkaos/v1/region/aos_region.py +++ b/huaweicloud-sdk-aos/huaweicloudsdkaos/v1/region/aos_region.py @@ -36,6 +36,8 @@ class AosRegion: "https://rfs.la-north-2.myhuaweicloud.com") AF_SOUTH_1 = Region("af-south-1", "https://rfs.af-south-1.myhuaweicloud.com") + EU_WEST_101 = Region("eu-west-101", + "https://aos.myhuaweicloud.eu") static_fields = { "cn-north-4": CN_NORTH_4, @@ -53,6 +55,7 @@ class AosRegion: "sa-brazil-1": SA_BRAZIL_1, "la-north-2": LA_NORTH_2, "af-south-1": AF_SOUTH_1, + "eu-west-101": EU_WEST_101, } @classmethod diff --git a/huaweicloud-sdk-aos/requirements.txt b/huaweicloud-sdk-aos/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-aos/requirements.txt +++ b/huaweicloud-sdk-aos/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-aos/setup.py b/huaweicloud-sdk-aos/setup.py index 7f071b8c3..50444fba4 100644 --- a/huaweicloud-sdk-aos/setup.py +++ b/huaweicloud-sdk-aos/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkaos" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-apig/requirements.txt b/huaweicloud-sdk-apig/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-apig/requirements.txt +++ b/huaweicloud-sdk-apig/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-apig/setup.py b/huaweicloud-sdk-apig/setup.py index 3a233d279..782037eed 100644 --- a/huaweicloud-sdk-apig/setup.py +++ b/huaweicloud-sdk-apig/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkapig" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-apm/requirements.txt b/huaweicloud-sdk-apm/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-apm/requirements.txt +++ b/huaweicloud-sdk-apm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-apm/setup.py b/huaweicloud-sdk-apm/setup.py index 6049d972f..af664ed99 100644 --- a/huaweicloud-sdk-apm/setup.py +++ b/huaweicloud-sdk-apm/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkapm" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-as/requirements.txt b/huaweicloud-sdk-as/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-as/requirements.txt +++ b/huaweicloud-sdk-as/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-as/setup.py b/huaweicloud-sdk-as/setup.py index 0c1399e0f..768293928 100644 --- a/huaweicloud-sdk-as/setup.py +++ b/huaweicloud-sdk-as/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkas" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-asm/requirements.txt b/huaweicloud-sdk-asm/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-asm/requirements.txt +++ b/huaweicloud-sdk-asm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-asm/setup.py b/huaweicloud-sdk-asm/setup.py index 80204b8af..6dfecee23 100644 --- a/huaweicloud-sdk-asm/setup.py +++ b/huaweicloud-sdk-asm/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkasm" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bcs/requirements.txt b/huaweicloud-sdk-bcs/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-bcs/requirements.txt +++ b/huaweicloud-sdk-bcs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-bcs/setup.py b/huaweicloud-sdk-bcs/setup.py index 69301e4a3..d0331561a 100644 --- a/huaweicloud-sdk-bcs/setup.py +++ b/huaweicloud-sdk-bcs/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkbcs" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bms/huaweicloudsdkbms/v1/model/server_details.py b/huaweicloud-sdk-bms/huaweicloudsdkbms/v1/model/server_details.py index d1025e6eb..4b1a359cc 100644 --- a/huaweicloud-sdk-bms/huaweicloudsdkbms/v1/model/server_details.py +++ b/huaweicloud-sdk-bms/huaweicloudsdkbms/v1/model/server_details.py @@ -20,8 +20,8 @@ class ServerDetails: 'id': 'str', 'user_id': 'str', 'name': 'str', - 'created': 'datetime', - 'updated': 'datetime', + 'created': 'str', + 'updated': 'str', 'tenant_id': 'str', 'host_id': 'str', 'addresses': 'dict(str, list[AddressInfo])', @@ -122,9 +122,9 @@ class ServerDetails: :param name: 裸金属服务器名称 :type name: str :param created: 裸金属服务器创建时间。时间戳格式为ISO 8601:YYYY-MM-DDTHH:MM:SSZ,例如:2019-05-22T03:30:52Z - :type created: datetime + :type created: str :param updated: 裸金属服务器更新时间。时间戳格式为ISO 8601:YYYY-MM-DDTHH:MM:SSZ,例如:2019-05-22T04:30:52Z - :type updated: datetime + :type updated: str :param tenant_id: 裸金属服务器所属租户ID,格式为UUID。该参数和project_id表示相同的概念。 :type tenant_id: str :param host_id: 裸金属服务器对应的主机ID @@ -410,7 +410,7 @@ class ServerDetails: 裸金属服务器创建时间。时间戳格式为ISO 8601:YYYY-MM-DDTHH:MM:SSZ,例如:2019-05-22T03:30:52Z :return: The created of this ServerDetails. - :rtype: datetime + :rtype: str """ return self._created @@ -421,7 +421,7 @@ class ServerDetails: 裸金属服务器创建时间。时间戳格式为ISO 8601:YYYY-MM-DDTHH:MM:SSZ,例如:2019-05-22T03:30:52Z :param created: The created of this ServerDetails. - :type created: datetime + :type created: str """ self._created = created @@ -432,7 +432,7 @@ class ServerDetails: 裸金属服务器更新时间。时间戳格式为ISO 8601:YYYY-MM-DDTHH:MM:SSZ,例如:2019-05-22T04:30:52Z :return: The updated of this ServerDetails. - :rtype: datetime + :rtype: str """ return self._updated @@ -443,7 +443,7 @@ class ServerDetails: 裸金属服务器更新时间。时间戳格式为ISO 8601:YYYY-MM-DDTHH:MM:SSZ,例如:2019-05-22T04:30:52Z :param updated: The updated of this ServerDetails. - :type updated: datetime + :type updated: str """ self._updated = updated diff --git a/huaweicloud-sdk-bms/requirements.txt b/huaweicloud-sdk-bms/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-bms/requirements.txt +++ b/huaweicloud-sdk-bms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-bms/setup.py b/huaweicloud-sdk-bms/setup.py index 5220de4d8..015da1f31 100644 --- a/huaweicloud-sdk-bms/setup.py +++ b/huaweicloud-sdk-bms/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkbms" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bss/huaweicloudsdkbss/v2/model/monthly_bill_res.py b/huaweicloud-sdk-bss/huaweicloudsdkbss/v2/model/monthly_bill_res.py index 0fbbaff77..9d4c09887 100644 --- a/huaweicloud-sdk-bss/huaweicloudsdkbss/v2/model/monthly_bill_res.py +++ b/huaweicloud-sdk-bss/huaweicloudsdkbss/v2/model/monthly_bill_res.py @@ -179,7 +179,7 @@ class MonthlyBillRes: :type parent_resource_id: str :param trade_id: 订单ID 或 交易ID。 账单类型为1,2,3,4,8时为订单ID;其它场景下为: 交易ID(非月末扣费:应收ID;月末扣费:账单ID)。 :type trade_id: str - :param id: 唯一标识。 账单类型为1,2,3,4,8时,存在唯一标识其它场景下,不存在唯一标识。 该字段为预留字段。 + :param id: 唯一标识。 该字段为预留字段。 :type id: str :param product_spec_desc: 产品的规格描述。 :type product_spec_desc: str @@ -1065,7 +1065,7 @@ class MonthlyBillRes: def id(self): """Gets the id of this MonthlyBillRes. - 唯一标识。 账单类型为1,2,3,4,8时,存在唯一标识其它场景下,不存在唯一标识。 该字段为预留字段。 + 唯一标识。 该字段为预留字段。 :return: The id of this MonthlyBillRes. :rtype: str @@ -1076,7 +1076,7 @@ class MonthlyBillRes: def id(self, id): """Sets the id of this MonthlyBillRes. - 唯一标识。 账单类型为1,2,3,4,8时,存在唯一标识其它场景下,不存在唯一标识。 该字段为预留字段。 + 唯一标识。 该字段为预留字段。 :param id: The id of this MonthlyBillRes. :type id: str diff --git a/huaweicloud-sdk-bss/requirements.txt b/huaweicloud-sdk-bss/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-bss/requirements.txt +++ b/huaweicloud-sdk-bss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-bss/setup.py b/huaweicloud-sdk-bss/setup.py index cc4e736ad..eb447150a 100644 --- a/huaweicloud-sdk-bss/setup.py +++ b/huaweicloud-sdk-bss/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkbss" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bssintl/huaweicloudsdkbssintl/v2/model/query_sub_customer_list_req.py b/huaweicloud-sdk-bssintl/huaweicloudsdkbssintl/v2/model/query_sub_customer_list_req.py index bf17e1362..1c098dd32 100644 --- a/huaweicloud-sdk-bssintl/huaweicloudsdkbssintl/v2/model/query_sub_customer_list_req.py +++ b/huaweicloud-sdk-bssintl/huaweicloudsdkbssintl/v2/model/query_sub_customer_list_req.py @@ -25,6 +25,7 @@ class QuerySubCustomerListReq: 'association_type': 'str', 'associated_on_begin': 'str', 'associated_on_end': 'str', + 'customer_id': 'str', 'indirect_partner_id': 'str' } @@ -37,10 +38,11 @@ class QuerySubCustomerListReq: 'association_type': 'association_type', 'associated_on_begin': 'associated_on_begin', 'associated_on_end': 'associated_on_end', + 'customer_id': 'customer_id', 'indirect_partner_id': 'indirect_partner_id' } - def __init__(self, account_name=None, customer=None, offset=None, limit=None, label=None, association_type=None, associated_on_begin=None, associated_on_end=None, indirect_partner_id=None): + def __init__(self, account_name=None, customer=None, offset=None, limit=None, label=None, association_type=None, associated_on_begin=None, associated_on_end=None, customer_id=None, indirect_partner_id=None): """QuerySubCustomerListReq The model defined in huaweicloud sdk @@ -61,6 +63,8 @@ class QuerySubCustomerListReq: :type associated_on_begin: str :param associated_on_end: 关联时间区间段结束,UTC时间。 格式:YYYY-MM-DD'T'hh:mm:ss'Z',例如“2019-05-06T08:05:01Z”。 :type associated_on_end: str + :param customer_id: 客户账号ID。您可以调用[查询客户列表](https://support.huaweicloud.com/intl/zh-cn/api-bpconsole/mc_00021.html)接口获取customer_id,或者可以从创建客户接口的响应获取domain_id。此参数不携带或携带值为空串或携带值为null时,不作为筛选条件。 + :type customer_id: str :param indirect_partner_id: 云经销商ID。获取方法请参见查询云经销商列表。如果需要查询云经销商的子客户列表,必须携带该字段。除此之外,此参数不做处理。 :type indirect_partner_id: str """ @@ -75,6 +79,7 @@ class QuerySubCustomerListReq: self._association_type = None self._associated_on_begin = None self._associated_on_end = None + self._customer_id = None self._indirect_partner_id = None self.discriminator = None @@ -94,6 +99,8 @@ class QuerySubCustomerListReq: self.associated_on_begin = associated_on_begin if associated_on_end is not None: self.associated_on_end = associated_on_end + if customer_id is not None: + self.customer_id = customer_id if indirect_partner_id is not None: self.indirect_partner_id = indirect_partner_id @@ -273,6 +280,28 @@ class QuerySubCustomerListReq: """ self._associated_on_end = associated_on_end + @property + def customer_id(self): + """Gets the customer_id of this QuerySubCustomerListReq. + + 客户账号ID。您可以调用[查询客户列表](https://support.huaweicloud.com/intl/zh-cn/api-bpconsole/mc_00021.html)接口获取customer_id,或者可以从创建客户接口的响应获取domain_id。此参数不携带或携带值为空串或携带值为null时,不作为筛选条件。 + + :return: The customer_id of this QuerySubCustomerListReq. + :rtype: str + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this QuerySubCustomerListReq. + + 客户账号ID。您可以调用[查询客户列表](https://support.huaweicloud.com/intl/zh-cn/api-bpconsole/mc_00021.html)接口获取customer_id,或者可以从创建客户接口的响应获取domain_id。此参数不携带或携带值为空串或携带值为null时,不作为筛选条件。 + + :param customer_id: The customer_id of this QuerySubCustomerListReq. + :type customer_id: str + """ + self._customer_id = customer_id + @property def indirect_partner_id(self): """Gets the indirect_partner_id of this QuerySubCustomerListReq. diff --git a/huaweicloud-sdk-bssintl/requirements.txt b/huaweicloud-sdk-bssintl/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-bssintl/requirements.txt +++ b/huaweicloud-sdk-bssintl/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-bssintl/setup.py b/huaweicloud-sdk-bssintl/setup.py index d8177e110..d72d87804 100644 --- a/huaweicloud-sdk-bssintl/setup.py +++ b/huaweicloud-sdk-bssintl/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkbssintl" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cae/requirements.txt b/huaweicloud-sdk-cae/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cae/requirements.txt +++ b/huaweicloud-sdk-cae/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cae/setup.py b/huaweicloud-sdk-cae/setup.py index 6df23c645..eba664d55 100644 --- a/huaweicloud-sdk-cae/setup.py +++ b/huaweicloud-sdk-cae/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcae" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-campusgo/requirements.txt b/huaweicloud-sdk-campusgo/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-campusgo/requirements.txt +++ b/huaweicloud-sdk-campusgo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-campusgo/setup.py b/huaweicloud-sdk-campusgo/setup.py index cbf402d1f..700c26c12 100644 --- a/huaweicloud-sdk-campusgo/setup.py +++ b/huaweicloud-sdk-campusgo/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcampusgo" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbh/requirements.txt b/huaweicloud-sdk-cbh/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cbh/requirements.txt +++ b/huaweicloud-sdk-cbh/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cbh/setup.py b/huaweicloud-sdk-cbh/setup.py index 91f906fe7..c122d14bb 100644 --- a/huaweicloud-sdk-cbh/setup.py +++ b/huaweicloud-sdk-cbh/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcbh" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbr/requirements.txt b/huaweicloud-sdk-cbr/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cbr/requirements.txt +++ b/huaweicloud-sdk-cbr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cbr/setup.py b/huaweicloud-sdk-cbr/setup.py index 7c412a1c5..a9a1698ea 100644 --- a/huaweicloud-sdk-cbr/setup.py +++ b/huaweicloud-sdk-cbr/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcbr" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbs/requirements.txt b/huaweicloud-sdk-cbs/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cbs/requirements.txt +++ b/huaweicloud-sdk-cbs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cbs/setup.py b/huaweicloud-sdk-cbs/setup.py index b61fe556f..7aeed961d 100644 --- a/huaweicloud-sdk-cbs/setup.py +++ b/huaweicloud-sdk-cbs/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcbs" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cc/requirements.txt b/huaweicloud-sdk-cc/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cc/requirements.txt +++ b/huaweicloud-sdk-cc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cc/setup.py b/huaweicloud-sdk-cc/setup.py index 45760e398..69bc57d19 100644 --- a/huaweicloud-sdk-cc/setup.py +++ b/huaweicloud-sdk-cc/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcc" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cce/requirements.txt b/huaweicloud-sdk-cce/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cce/requirements.txt +++ b/huaweicloud-sdk-cce/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cce/setup.py b/huaweicloud-sdk-cce/setup.py index f7f1edd17..726926e2c 100644 --- a/huaweicloud-sdk-cce/setup.py +++ b/huaweicloud-sdk-cce/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcce" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ccm/requirements.txt b/huaweicloud-sdk-ccm/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-ccm/requirements.txt +++ b/huaweicloud-sdk-ccm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-ccm/setup.py b/huaweicloud-sdk-ccm/setup.py index eb8f373b7..4a0669a06 100644 --- a/huaweicloud-sdk-ccm/setup.py +++ b/huaweicloud-sdk-ccm/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkccm" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cdm/requirements.txt b/huaweicloud-sdk-cdm/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cdm/requirements.txt +++ b/huaweicloud-sdk-cdm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cdm/setup.py b/huaweicloud-sdk-cdm/setup.py index ca87c2558..8314dc315 100644 --- a/huaweicloud-sdk-cdm/setup.py +++ b/huaweicloud-sdk-cdm/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcdm" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cdn/requirements.txt b/huaweicloud-sdk-cdn/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cdn/requirements.txt +++ b/huaweicloud-sdk-cdn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cdn/setup.py b/huaweicloud-sdk-cdn/setup.py index 95ce890dd..da5087577 100644 --- a/huaweicloud-sdk-cdn/setup.py +++ b/huaweicloud-sdk-cdn/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcdn" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/__init__.py b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/__init__.py index 71a8967e7..5bfd89512 100644 --- a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/__init__.py +++ b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/__init__.py @@ -22,8 +22,6 @@ from huaweicloudsdkces.v2.model.alarm_template_policies import AlarmTemplatePoli from huaweicloudsdkces.v2.model.alarm_templates import AlarmTemplates from huaweicloudsdkces.v2.model.alarm_type import AlarmType from huaweicloudsdkces.v2.model.base_widget_info import BaseWidgetInfo -from huaweicloudsdkces.v2.model.base_widget_info_location import BaseWidgetInfoLocation -from huaweicloudsdkces.v2.model.base_widget_info_properties import BaseWidgetInfoProperties from huaweicloudsdkces.v2.model.batch_create_resources_request import BatchCreateResourcesRequest from huaweicloudsdkces.v2.model.batch_create_resources_response import BatchCreateResourcesResponse from huaweicloudsdkces.v2.model.batch_delete_alarm_rules_request import BatchDeleteAlarmRulesRequest @@ -219,6 +217,8 @@ from huaweicloudsdkces.v2.model.update_policy import UpdatePolicy from huaweicloudsdkces.v2.model.update_resource_group_request import UpdateResourceGroupRequest from huaweicloudsdkces.v2.model.update_resource_group_response import UpdateResourceGroupResponse from huaweicloudsdkces.v2.model.update_widget_info import UpdateWidgetInfo +from huaweicloudsdkces.v2.model.update_widget_info_location import UpdateWidgetInfoLocation +from huaweicloudsdkces.v2.model.update_widget_info_properties import UpdateWidgetInfoProperties from huaweicloudsdkces.v2.model.value import Value from huaweicloudsdkces.v2.model.widget_display_mode import WidgetDisplayMode from huaweicloudsdkces.v2.model.widget_id_item import WidgetIdItem diff --git a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/__init__.py b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/__init__.py index cdb08f0f7..4d9e2a539 100644 --- a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/__init__.py +++ b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/__init__.py @@ -20,8 +20,6 @@ from huaweicloudsdkces.v2.model.alarm_template_policies import AlarmTemplatePoli from huaweicloudsdkces.v2.model.alarm_templates import AlarmTemplates from huaweicloudsdkces.v2.model.alarm_type import AlarmType from huaweicloudsdkces.v2.model.base_widget_info import BaseWidgetInfo -from huaweicloudsdkces.v2.model.base_widget_info_location import BaseWidgetInfoLocation -from huaweicloudsdkces.v2.model.base_widget_info_properties import BaseWidgetInfoProperties from huaweicloudsdkces.v2.model.batch_create_resources_request import BatchCreateResourcesRequest from huaweicloudsdkces.v2.model.batch_create_resources_response import BatchCreateResourcesResponse from huaweicloudsdkces.v2.model.batch_delete_alarm_rules_request import BatchDeleteAlarmRulesRequest @@ -217,6 +215,8 @@ from huaweicloudsdkces.v2.model.update_policy import UpdatePolicy from huaweicloudsdkces.v2.model.update_resource_group_request import UpdateResourceGroupRequest from huaweicloudsdkces.v2.model.update_resource_group_response import UpdateResourceGroupResponse from huaweicloudsdkces.v2.model.update_widget_info import UpdateWidgetInfo +from huaweicloudsdkces.v2.model.update_widget_info_location import UpdateWidgetInfoLocation +from huaweicloudsdkces.v2.model.update_widget_info_properties import UpdateWidgetInfoProperties from huaweicloudsdkces.v2.model.value import Value from huaweicloudsdkces.v2.model.widget_display_mode import WidgetDisplayMode from huaweicloudsdkces.v2.model.widget_id_item import WidgetIdItem diff --git a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/base_widget_info.py b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/base_widget_info.py index 2910337f5..d853e8346 100644 --- a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/base_widget_info.py +++ b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/base_widget_info.py @@ -23,8 +23,8 @@ class BaseWidgetInfo: 'threshold_enabled': 'bool', 'view': 'str', 'metric_display_mode': 'str', - 'properties': 'BaseWidgetInfoProperties', - 'location': 'BaseWidgetInfoLocation', + 'properties': 'UpdateWidgetInfoProperties', + 'location': 'UpdateWidgetInfoLocation', 'unit': 'str' } @@ -58,9 +58,9 @@ class BaseWidgetInfo: :param metric_display_mode: 指标展示类型,single 单指标展示,multiple 多指标展示 :type metric_display_mode: str :param properties: - :type properties: :class:`huaweicloudsdkces.v2.BaseWidgetInfoProperties` + :type properties: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoProperties` :param location: - :type location: :class:`huaweicloudsdkces.v2.BaseWidgetInfoLocation` + :type location: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoLocation` :param unit: 单位 :type unit: str """ @@ -234,7 +234,7 @@ class BaseWidgetInfo: """Gets the properties of this BaseWidgetInfo. :return: The properties of this BaseWidgetInfo. - :rtype: :class:`huaweicloudsdkces.v2.BaseWidgetInfoProperties` + :rtype: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoProperties` """ return self._properties @@ -243,7 +243,7 @@ class BaseWidgetInfo: """Sets the properties of this BaseWidgetInfo. :param properties: The properties of this BaseWidgetInfo. - :type properties: :class:`huaweicloudsdkces.v2.BaseWidgetInfoProperties` + :type properties: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoProperties` """ self._properties = properties @@ -252,7 +252,7 @@ class BaseWidgetInfo: """Gets the location of this BaseWidgetInfo. :return: The location of this BaseWidgetInfo. - :rtype: :class:`huaweicloudsdkces.v2.BaseWidgetInfoLocation` + :rtype: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoLocation` """ return self._location @@ -261,7 +261,7 @@ class BaseWidgetInfo: """Sets the location of this BaseWidgetInfo. :param location: The location of this BaseWidgetInfo. - :type location: :class:`huaweicloudsdkces.v2.BaseWidgetInfoLocation` + :type location: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoLocation` """ self._location = location diff --git a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/create_dashboard_widgets_request.py b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/create_dashboard_widgets_request.py index d4b16fd91..920b70d76 100644 --- a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/create_dashboard_widgets_request.py +++ b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/create_dashboard_widgets_request.py @@ -18,7 +18,7 @@ class CreateDashboardWidgetsRequest: openapi_types = { 'dashboard_id': 'str', - 'body': 'list[BaseWidgetInfo]' + 'body': 'list[object]' } attribute_map = { @@ -34,7 +34,7 @@ class CreateDashboardWidgetsRequest: :param dashboard_id: 监控看板id,以db开头,包含22个字母和数字例:db16564943172807wjOmoLyn' :type dashboard_id: str :param body: Body of the CreateDashboardWidgetsRequest - :type body: list[:class:`huaweicloudsdkces.v2.BaseWidgetInfo`] + :type body: list[object] """ @@ -74,7 +74,7 @@ class CreateDashboardWidgetsRequest: """Gets the body of this CreateDashboardWidgetsRequest. :return: The body of this CreateDashboardWidgetsRequest. - :rtype: list[:class:`huaweicloudsdkces.v2.BaseWidgetInfo`] + :rtype: list[object] """ return self._body @@ -83,7 +83,7 @@ class CreateDashboardWidgetsRequest: """Sets the body of this CreateDashboardWidgetsRequest. :param body: The body of this CreateDashboardWidgetsRequest. - :type body: list[:class:`huaweicloudsdkces.v2.BaseWidgetInfo`] + :type body: list[object] """ self._body = body diff --git a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/dimension_info.py b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/dimension_info.py index 25988928c..1ef931af9 100644 --- a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/dimension_info.py +++ b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/dimension_info.py @@ -48,10 +48,8 @@ class DimensionInfo: self._values = None self.discriminator = None - if name is not None: - self.name = name - if filter_type is not None: - self.filter_type = filter_type + self.name = name + self.filter_type = filter_type if values is not None: self.values = values diff --git a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/extra_info.py b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/extra_info.py index 6539476cc..af7eb7f95 100644 --- a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/extra_info.py +++ b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/extra_info.py @@ -53,8 +53,7 @@ class ExtraInfo: self._custom_proc_name = None self.discriminator = None - if origin_metric_name is not None: - self.origin_metric_name = origin_metric_name + self.origin_metric_name = origin_metric_name if metric_prefix is not None: self.metric_prefix = metric_prefix if metric_type is not None: diff --git a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/show_widget_response.py b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/show_widget_response.py index 03e9d7ec3..e79581827 100644 --- a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/show_widget_response.py +++ b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/show_widget_response.py @@ -25,8 +25,8 @@ class ShowWidgetResponse(SdkResponse): 'threshold_enabled': 'bool', 'view': 'str', 'metric_display_mode': 'str', - 'properties': 'BaseWidgetInfoProperties', - 'location': 'BaseWidgetInfoLocation', + 'properties': 'UpdateWidgetInfoProperties', + 'location': 'UpdateWidgetInfoLocation', 'unit': 'str', 'create_time': 'int' } @@ -65,9 +65,9 @@ class ShowWidgetResponse(SdkResponse): :param metric_display_mode: 指标展示类型,single 单指标展示,multiple 多指标展示 :type metric_display_mode: str :param properties: - :type properties: :class:`huaweicloudsdkces.v2.BaseWidgetInfoProperties` + :type properties: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoProperties` :param location: - :type location: :class:`huaweicloudsdkces.v2.BaseWidgetInfoLocation` + :type location: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoLocation` :param unit: 单位 :type unit: str :param create_time: 监控看板创建时间 @@ -271,7 +271,7 @@ class ShowWidgetResponse(SdkResponse): """Gets the properties of this ShowWidgetResponse. :return: The properties of this ShowWidgetResponse. - :rtype: :class:`huaweicloudsdkces.v2.BaseWidgetInfoProperties` + :rtype: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoProperties` """ return self._properties @@ -280,7 +280,7 @@ class ShowWidgetResponse(SdkResponse): """Sets the properties of this ShowWidgetResponse. :param properties: The properties of this ShowWidgetResponse. - :type properties: :class:`huaweicloudsdkces.v2.BaseWidgetInfoProperties` + :type properties: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoProperties` """ self._properties = properties @@ -289,7 +289,7 @@ class ShowWidgetResponse(SdkResponse): """Gets the location of this ShowWidgetResponse. :return: The location of this ShowWidgetResponse. - :rtype: :class:`huaweicloudsdkces.v2.BaseWidgetInfoLocation` + :rtype: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoLocation` """ return self._location @@ -298,7 +298,7 @@ class ShowWidgetResponse(SdkResponse): """Sets the location of this ShowWidgetResponse. :param location: The location of this ShowWidgetResponse. - :type location: :class:`huaweicloudsdkces.v2.BaseWidgetInfoLocation` + :type location: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoLocation` """ self._location = location diff --git a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/update_widget_info.py b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/update_widget_info.py index 868386dc2..1ab29c258 100644 --- a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/update_widget_info.py +++ b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/update_widget_info.py @@ -24,8 +24,8 @@ class UpdateWidgetInfo: 'threshold_enabled': 'bool', 'view': 'str', 'metric_display_mode': 'str', - 'properties': 'BaseWidgetInfoProperties', - 'location': 'BaseWidgetInfoLocation', + 'properties': 'UpdateWidgetInfoProperties', + 'location': 'UpdateWidgetInfoLocation', 'unit': 'str' } @@ -62,9 +62,9 @@ class UpdateWidgetInfo: :param metric_display_mode: 指标展示类型,single 单指标展示,multiple 多指标展示 :type metric_display_mode: str :param properties: - :type properties: :class:`huaweicloudsdkces.v2.BaseWidgetInfoProperties` + :type properties: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoProperties` :param location: - :type location: :class:`huaweicloudsdkces.v2.BaseWidgetInfoLocation` + :type location: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoLocation` :param unit: 单位 :type unit: str """ @@ -83,8 +83,7 @@ class UpdateWidgetInfo: self._unit = None self.discriminator = None - if widget_id is not None: - self.widget_id = widget_id + self.widget_id = widget_id if metrics is not None: self.metrics = metrics if title is not None: @@ -263,7 +262,7 @@ class UpdateWidgetInfo: """Gets the properties of this UpdateWidgetInfo. :return: The properties of this UpdateWidgetInfo. - :rtype: :class:`huaweicloudsdkces.v2.BaseWidgetInfoProperties` + :rtype: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoProperties` """ return self._properties @@ -272,7 +271,7 @@ class UpdateWidgetInfo: """Sets the properties of this UpdateWidgetInfo. :param properties: The properties of this UpdateWidgetInfo. - :type properties: :class:`huaweicloudsdkces.v2.BaseWidgetInfoProperties` + :type properties: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoProperties` """ self._properties = properties @@ -281,7 +280,7 @@ class UpdateWidgetInfo: """Gets the location of this UpdateWidgetInfo. :return: The location of this UpdateWidgetInfo. - :rtype: :class:`huaweicloudsdkces.v2.BaseWidgetInfoLocation` + :rtype: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoLocation` """ return self._location @@ -290,7 +289,7 @@ class UpdateWidgetInfo: """Sets the location of this UpdateWidgetInfo. :param location: The location of this UpdateWidgetInfo. - :type location: :class:`huaweicloudsdkces.v2.BaseWidgetInfoLocation` + :type location: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoLocation` """ self._location = location diff --git a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/base_widget_info_location.py b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/update_widget_info_location.py similarity index 75% rename from huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/base_widget_info_location.py rename to huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/update_widget_info_location.py index 173bbb3f3..303939cff 100644 --- a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/base_widget_info_location.py +++ b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/update_widget_info_location.py @@ -5,7 +5,7 @@ import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class BaseWidgetInfoLocation: +class UpdateWidgetInfoLocation: """ Attributes: @@ -31,7 +31,7 @@ class BaseWidgetInfoLocation: } def __init__(self, top=None, left=None, width=None, height=None): - """BaseWidgetInfoLocation + """UpdateWidgetInfoLocation The model defined in huaweicloud sdk @@ -53,99 +53,95 @@ class BaseWidgetInfoLocation: self._height = None self.discriminator = None - if top is not None: - self.top = top - if left is not None: - self.left = left - if width is not None: - self.width = width - if height is not None: - self.height = height + self.top = top + self.left = left + self.width = width + self.height = height @property def top(self): - """Gets the top of this BaseWidgetInfoLocation. + """Gets the top of this UpdateWidgetInfoLocation. 监控视图的上坐标 - :return: The top of this BaseWidgetInfoLocation. + :return: The top of this UpdateWidgetInfoLocation. :rtype: int """ return self._top @top.setter def top(self, top): - """Sets the top of this BaseWidgetInfoLocation. + """Sets the top of this UpdateWidgetInfoLocation. 监控视图的上坐标 - :param top: The top of this BaseWidgetInfoLocation. + :param top: The top of this UpdateWidgetInfoLocation. :type top: int """ self._top = top @property def left(self): - """Gets the left of this BaseWidgetInfoLocation. + """Gets the left of this UpdateWidgetInfoLocation. 监控视图的左坐标 - :return: The left of this BaseWidgetInfoLocation. + :return: The left of this UpdateWidgetInfoLocation. :rtype: int """ return self._left @left.setter def left(self, left): - """Sets the left of this BaseWidgetInfoLocation. + """Sets the left of this UpdateWidgetInfoLocation. 监控视图的左坐标 - :param left: The left of this BaseWidgetInfoLocation. + :param left: The left of this UpdateWidgetInfoLocation. :type left: int """ self._left = left @property def width(self): - """Gets the width of this BaseWidgetInfoLocation. + """Gets the width of this UpdateWidgetInfoLocation. 监控视图图表宽度 - :return: The width of this BaseWidgetInfoLocation. + :return: The width of this UpdateWidgetInfoLocation. :rtype: int """ return self._width @width.setter def width(self, width): - """Sets the width of this BaseWidgetInfoLocation. + """Sets the width of this UpdateWidgetInfoLocation. 监控视图图表宽度 - :param width: The width of this BaseWidgetInfoLocation. + :param width: The width of this UpdateWidgetInfoLocation. :type width: int """ self._width = width @property def height(self): - """Gets the height of this BaseWidgetInfoLocation. + """Gets the height of this UpdateWidgetInfoLocation. 监控视图图表高度 - :return: The height of this BaseWidgetInfoLocation. + :return: The height of this UpdateWidgetInfoLocation. :rtype: int """ return self._height @height.setter def height(self, height): - """Sets the height of this BaseWidgetInfoLocation. + """Sets the height of this UpdateWidgetInfoLocation. 监控视图图表高度 - :param height: The height of this BaseWidgetInfoLocation. + :param height: The height of this UpdateWidgetInfoLocation. :type height: int """ self._height = height @@ -192,7 +188,7 @@ class BaseWidgetInfoLocation: def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, BaseWidgetInfoLocation): + if not isinstance(other, UpdateWidgetInfoLocation): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/base_widget_info_properties.py b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/update_widget_info_properties.py similarity index 80% rename from huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/base_widget_info_properties.py rename to huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/update_widget_info_properties.py index 1d4168725..c40b0ce27 100644 --- a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/base_widget_info_properties.py +++ b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/update_widget_info_properties.py @@ -5,7 +5,7 @@ import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class BaseWidgetInfoProperties: +class UpdateWidgetInfoProperties: """ Attributes: @@ -29,7 +29,7 @@ class BaseWidgetInfoProperties: } def __init__(self, filter=None, top_n=None, order=None): - """BaseWidgetInfoProperties + """UpdateWidgetInfoProperties The model defined in huaweicloud sdk @@ -57,66 +57,66 @@ class BaseWidgetInfoProperties: @property def filter(self): - """Gets the filter of this BaseWidgetInfoProperties. + """Gets the filter of this UpdateWidgetInfoProperties. 聚合类型,目前只有TopN这一种类型 - :return: The filter of this BaseWidgetInfoProperties. + :return: The filter of this UpdateWidgetInfoProperties. :rtype: str """ return self._filter @filter.setter def filter(self, filter): - """Sets the filter of this BaseWidgetInfoProperties. + """Sets the filter of this UpdateWidgetInfoProperties. 聚合类型,目前只有TopN这一种类型 - :param filter: The filter of this BaseWidgetInfoProperties. + :param filter: The filter of this UpdateWidgetInfoProperties. :type filter: str """ self._filter = filter @property def top_n(self): - """Gets the top_n of this BaseWidgetInfoProperties. + """Gets the top_n of this UpdateWidgetInfoProperties. Top值前N个 - :return: The top_n of this BaseWidgetInfoProperties. + :return: The top_n of this UpdateWidgetInfoProperties. :rtype: int """ return self._top_n @top_n.setter def top_n(self, top_n): - """Sets the top_n of this BaseWidgetInfoProperties. + """Sets the top_n of this UpdateWidgetInfoProperties. Top值前N个 - :param top_n: The top_n of this BaseWidgetInfoProperties. + :param top_n: The top_n of this UpdateWidgetInfoProperties. :type top_n: int """ self._top_n = top_n @property def order(self): - """Gets the order of this BaseWidgetInfoProperties. + """Gets the order of this UpdateWidgetInfoProperties. 排序字段,asc正序,desc倒序 - :return: The order of this BaseWidgetInfoProperties. + :return: The order of this UpdateWidgetInfoProperties. :rtype: str """ return self._order @order.setter def order(self, order): - """Sets the order of this BaseWidgetInfoProperties. + """Sets the order of this UpdateWidgetInfoProperties. 排序字段,asc正序,desc倒序 - :param order: The order of this BaseWidgetInfoProperties. + :param order: The order of this UpdateWidgetInfoProperties. :type order: str """ self._order = order @@ -163,7 +163,7 @@ class BaseWidgetInfoProperties: def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, BaseWidgetInfoProperties): + if not isinstance(other, UpdateWidgetInfoProperties): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/widget_info.py b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/widget_info.py index fd3694dc1..c8e9aa6ba 100644 --- a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/widget_info.py +++ b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/widget_info.py @@ -23,8 +23,8 @@ class WidgetInfo: 'threshold_enabled': 'bool', 'view': 'str', 'metric_display_mode': 'str', - 'properties': 'BaseWidgetInfoProperties', - 'location': 'BaseWidgetInfoLocation', + 'properties': 'UpdateWidgetInfoProperties', + 'location': 'UpdateWidgetInfoLocation', 'unit': 'str', 'create_time': 'int' } @@ -60,9 +60,9 @@ class WidgetInfo: :param metric_display_mode: 指标展示类型,single 单指标展示,multiple 多指标展示 :type metric_display_mode: str :param properties: - :type properties: :class:`huaweicloudsdkces.v2.BaseWidgetInfoProperties` + :type properties: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoProperties` :param location: - :type location: :class:`huaweicloudsdkces.v2.BaseWidgetInfoLocation` + :type location: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoLocation` :param unit: 单位 :type unit: str :param create_time: 监控看板创建时间 @@ -241,7 +241,7 @@ class WidgetInfo: """Gets the properties of this WidgetInfo. :return: The properties of this WidgetInfo. - :rtype: :class:`huaweicloudsdkces.v2.BaseWidgetInfoProperties` + :rtype: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoProperties` """ return self._properties @@ -250,7 +250,7 @@ class WidgetInfo: """Sets the properties of this WidgetInfo. :param properties: The properties of this WidgetInfo. - :type properties: :class:`huaweicloudsdkces.v2.BaseWidgetInfoProperties` + :type properties: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoProperties` """ self._properties = properties @@ -259,7 +259,7 @@ class WidgetInfo: """Gets the location of this WidgetInfo. :return: The location of this WidgetInfo. - :rtype: :class:`huaweicloudsdkces.v2.BaseWidgetInfoLocation` + :rtype: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoLocation` """ return self._location @@ -268,7 +268,7 @@ class WidgetInfo: """Sets the location of this WidgetInfo. :param location: The location of this WidgetInfo. - :type location: :class:`huaweicloudsdkces.v2.BaseWidgetInfoLocation` + :type location: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoLocation` """ self._location = location diff --git a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/widget_info_with_id.py b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/widget_info_with_id.py index 5663df9fa..8b2213a9e 100644 --- a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/widget_info_with_id.py +++ b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/widget_info_with_id.py @@ -24,8 +24,8 @@ class WidgetInfoWithId: 'threshold_enabled': 'bool', 'view': 'str', 'metric_display_mode': 'str', - 'properties': 'BaseWidgetInfoProperties', - 'location': 'BaseWidgetInfoLocation', + 'properties': 'UpdateWidgetInfoProperties', + 'location': 'UpdateWidgetInfoLocation', 'unit': 'str', 'create_time': 'int' } @@ -64,9 +64,9 @@ class WidgetInfoWithId: :param metric_display_mode: 指标展示类型,single 单指标展示,multiple 多指标展示 :type metric_display_mode: str :param properties: - :type properties: :class:`huaweicloudsdkces.v2.BaseWidgetInfoProperties` + :type properties: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoProperties` :param location: - :type location: :class:`huaweicloudsdkces.v2.BaseWidgetInfoLocation` + :type location: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoLocation` :param unit: 单位 :type unit: str :param create_time: 监控看板创建时间 @@ -270,7 +270,7 @@ class WidgetInfoWithId: """Gets the properties of this WidgetInfoWithId. :return: The properties of this WidgetInfoWithId. - :rtype: :class:`huaweicloudsdkces.v2.BaseWidgetInfoProperties` + :rtype: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoProperties` """ return self._properties @@ -279,7 +279,7 @@ class WidgetInfoWithId: """Sets the properties of this WidgetInfoWithId. :param properties: The properties of this WidgetInfoWithId. - :type properties: :class:`huaweicloudsdkces.v2.BaseWidgetInfoProperties` + :type properties: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoProperties` """ self._properties = properties @@ -288,7 +288,7 @@ class WidgetInfoWithId: """Gets the location of this WidgetInfoWithId. :return: The location of this WidgetInfoWithId. - :rtype: :class:`huaweicloudsdkces.v2.BaseWidgetInfoLocation` + :rtype: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoLocation` """ return self._location @@ -297,7 +297,7 @@ class WidgetInfoWithId: """Sets the location of this WidgetInfoWithId. :param location: The location of this WidgetInfoWithId. - :type location: :class:`huaweicloudsdkces.v2.BaseWidgetInfoLocation` + :type location: :class:`huaweicloudsdkces.v2.UpdateWidgetInfoLocation` """ self._location = location diff --git a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/widget_metric.py b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/widget_metric.py index 6b3565682..a642641aa 100644 --- a/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/widget_metric.py +++ b/huaweicloud-sdk-ces/huaweicloudsdkces/v2/model/widget_metric.py @@ -58,12 +58,9 @@ class WidgetMetric: self._extra_info = None self.discriminator = None - if namespace is not None: - self.namespace = namespace - if dimensions is not None: - self.dimensions = dimensions - if metric_name is not None: - self.metric_name = metric_name + self.namespace = namespace + self.dimensions = dimensions + self.metric_name = metric_name if alias is not None: self.alias = alias if extra_info is not None: diff --git a/huaweicloud-sdk-ces/requirements.txt b/huaweicloud-sdk-ces/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-ces/requirements.txt +++ b/huaweicloud-sdk-ces/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-ces/setup.py b/huaweicloud-sdk-ces/setup.py index f320fdf88..e383dca24 100644 --- a/huaweicloud-sdk-ces/setup.py +++ b/huaweicloud-sdk-ces/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkces" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cfw/huaweicloudsdkcfw/v1/model/create_firewall_req.py b/huaweicloud-sdk-cfw/huaweicloudsdkcfw/v1/model/create_firewall_req.py index 600f5d188..6fe148023 100644 --- a/huaweicloud-sdk-cfw/huaweicloudsdkcfw/v1/model/create_firewall_req.py +++ b/huaweicloud-sdk-cfw/huaweicloudsdkcfw/v1/model/create_firewall_req.py @@ -59,7 +59,8 @@ class CreateFirewallReq: self.discriminator = None self.name = name - self.enterprise_project_id = enterprise_project_id + if enterprise_project_id is not None: + self.enterprise_project_id = enterprise_project_id if tags is not None: self.tags = tags if flavor is not None: diff --git a/huaweicloud-sdk-cfw/huaweicloudsdkcfw/v1/model/create_firewall_req_charge_info.py b/huaweicloud-sdk-cfw/huaweicloudsdkcfw/v1/model/create_firewall_req_charge_info.py index 696539c5d..13b31a93e 100644 --- a/huaweicloud-sdk-cfw/huaweicloudsdkcfw/v1/model/create_firewall_req_charge_info.py +++ b/huaweicloud-sdk-cfw/huaweicloudsdkcfw/v1/model/create_firewall_req_charge_info.py @@ -63,10 +63,8 @@ class CreateFirewallReqChargeInfo: self.period_type = period_type if period_num is not None: self.period_num = period_num - if is_auto_renew is not None: - self.is_auto_renew = is_auto_renew - if is_auto_pay is not None: - self.is_auto_pay = is_auto_pay + self.is_auto_renew = is_auto_renew + self.is_auto_pay = is_auto_pay @property def charge_mode(self): diff --git a/huaweicloud-sdk-cfw/requirements.txt b/huaweicloud-sdk-cfw/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cfw/requirements.txt +++ b/huaweicloud-sdk-cfw/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cfw/setup.py b/huaweicloud-sdk-cfw/setup.py index cc354ebde..8a2bb4360 100644 --- a/huaweicloud-sdk-cfw/setup.py +++ b/huaweicloud-sdk-cfw/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcfw" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cgs/requirements.txt b/huaweicloud-sdk-cgs/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cgs/requirements.txt +++ b/huaweicloud-sdk-cgs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cgs/setup.py b/huaweicloud-sdk-cgs/setup.py index 4855d8b94..bf711472c 100644 --- a/huaweicloud-sdk-cgs/setup.py +++ b/huaweicloud-sdk-cgs/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcgs" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-classroom/requirements.txt b/huaweicloud-sdk-classroom/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-classroom/requirements.txt +++ b/huaweicloud-sdk-classroom/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-classroom/setup.py b/huaweicloud-sdk-classroom/setup.py index 5def90c9d..06acea952 100644 --- a/huaweicloud-sdk-classroom/setup.py +++ b/huaweicloud-sdk-classroom/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkclassroom" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudide/requirements.txt b/huaweicloud-sdk-cloudide/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cloudide/requirements.txt +++ b/huaweicloud-sdk-cloudide/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudide/setup.py b/huaweicloud-sdk-cloudide/setup.py index de01907e3..c28774dda 100644 --- a/huaweicloud-sdk-cloudide/setup.py +++ b/huaweicloud-sdk-cloudide/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcloudide" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudpond/requirements.txt b/huaweicloud-sdk-cloudpond/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cloudpond/requirements.txt +++ b/huaweicloud-sdk-cloudpond/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudpond/setup.py b/huaweicloud-sdk-cloudpond/setup.py index b50dcc6de..f6ea5ed22 100644 --- a/huaweicloud-sdk-cloudpond/setup.py +++ b/huaweicloud-sdk-cloudpond/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcloudpond" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudrtc/requirements.txt b/huaweicloud-sdk-cloudrtc/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cloudrtc/requirements.txt +++ b/huaweicloud-sdk-cloudrtc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudrtc/setup.py b/huaweicloud-sdk-cloudrtc/setup.py index c8f9bd918..45474794f 100644 --- a/huaweicloud-sdk-cloudrtc/setup.py +++ b/huaweicloud-sdk-cloudrtc/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcloudrtc" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudtable/requirements.txt b/huaweicloud-sdk-cloudtable/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cloudtable/requirements.txt +++ b/huaweicloud-sdk-cloudtable/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudtable/setup.py b/huaweicloud-sdk-cloudtable/setup.py index 0bc679c5f..8a28d519f 100644 --- a/huaweicloud-sdk-cloudtable/setup.py +++ b/huaweicloud-sdk-cloudtable/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcloudtable" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudtest/requirements.txt b/huaweicloud-sdk-cloudtest/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cloudtest/requirements.txt +++ b/huaweicloud-sdk-cloudtest/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudtest/setup.py b/huaweicloud-sdk-cloudtest/setup.py index be1e373f8..629dcdaa9 100644 --- a/huaweicloud-sdk-cloudtest/setup.py +++ b/huaweicloud-sdk-cloudtest/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcloudtest" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsartifact/requirements.txt b/huaweicloud-sdk-codeartsartifact/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-codeartsartifact/requirements.txt +++ b/huaweicloud-sdk-codeartsartifact/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsartifact/setup.py b/huaweicloud-sdk-codeartsartifact/setup.py index a9444e9de..a0b7f8fcc 100644 --- a/huaweicloud-sdk-codeartsartifact/setup.py +++ b/huaweicloud-sdk-codeartsartifact/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartsartifact" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsbuild/requirements.txt b/huaweicloud-sdk-codeartsbuild/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-codeartsbuild/requirements.txt +++ b/huaweicloud-sdk-codeartsbuild/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsbuild/setup.py b/huaweicloud-sdk-codeartsbuild/setup.py index e89a349cf..af8079891 100644 --- a/huaweicloud-sdk-codeartsbuild/setup.py +++ b/huaweicloud-sdk-codeartsbuild/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartsbuild" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartscheck/requirements.txt b/huaweicloud-sdk-codeartscheck/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-codeartscheck/requirements.txt +++ b/huaweicloud-sdk-codeartscheck/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartscheck/setup.py b/huaweicloud-sdk-codeartscheck/setup.py index 8c90c6c2e..b82068810 100644 --- a/huaweicloud-sdk-codeartscheck/setup.py +++ b/huaweicloud-sdk-codeartscheck/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartscheck" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsdeploy/requirements.txt b/huaweicloud-sdk-codeartsdeploy/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-codeartsdeploy/requirements.txt +++ b/huaweicloud-sdk-codeartsdeploy/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsdeploy/setup.py b/huaweicloud-sdk-codeartsdeploy/setup.py index caad64e91..f0410e4f7 100644 --- a/huaweicloud-sdk-codeartsdeploy/setup.py +++ b/huaweicloud-sdk-codeartsdeploy/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartsdeploy" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsinspector/requirements.txt b/huaweicloud-sdk-codeartsinspector/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-codeartsinspector/requirements.txt +++ b/huaweicloud-sdk-codeartsinspector/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsinspector/setup.py b/huaweicloud-sdk-codeartsinspector/setup.py index 58c6e76cd..82acba0c1 100644 --- a/huaweicloud-sdk-codeartsinspector/setup.py +++ b/huaweicloud-sdk-codeartsinspector/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartsinspector" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartspipeline/requirements.txt b/huaweicloud-sdk-codeartspipeline/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-codeartspipeline/requirements.txt +++ b/huaweicloud-sdk-codeartspipeline/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartspipeline/setup.py b/huaweicloud-sdk-codeartspipeline/setup.py index f55a49b08..b14c0cb9d 100644 --- a/huaweicloud-sdk-codeartspipeline/setup.py +++ b/huaweicloud-sdk-codeartspipeline/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartspipeline" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codecraft/requirements.txt b/huaweicloud-sdk-codecraft/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-codecraft/requirements.txt +++ b/huaweicloud-sdk-codecraft/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-codecraft/setup.py b/huaweicloud-sdk-codecraft/setup.py index 36c4be0cf..bae7b8011 100644 --- a/huaweicloud-sdk-codecraft/setup.py +++ b/huaweicloud-sdk-codecraft/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcodecraft" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codehub/requirements.txt b/huaweicloud-sdk-codehub/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-codehub/requirements.txt +++ b/huaweicloud-sdk-codehub/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-codehub/setup.py b/huaweicloud-sdk-codehub/setup.py index 242661845..7f89bfc0d 100644 --- a/huaweicloud-sdk-codehub/setup.py +++ b/huaweicloud-sdk-codehub/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcodehub" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-config/requirements.txt b/huaweicloud-sdk-config/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-config/requirements.txt +++ b/huaweicloud-sdk-config/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-config/setup.py b/huaweicloud-sdk-config/setup.py index 7744be46b..59c524e9f 100644 --- a/huaweicloud-sdk-config/setup.py +++ b/huaweicloud-sdk-config/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkconfig" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-core/setup.py b/huaweicloud-sdk-core/setup.py index 4938148e6..3b97bb936 100644 --- a/huaweicloud-sdk-core/setup.py +++ b/huaweicloud-sdk-core/setup.py @@ -22,7 +22,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcore" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" diff --git a/huaweicloud-sdk-cph/requirements.txt b/huaweicloud-sdk-cph/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cph/requirements.txt +++ b/huaweicloud-sdk-cph/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cph/setup.py b/huaweicloud-sdk-cph/setup.py index f859ceb66..f55dc0e2e 100644 --- a/huaweicloud-sdk-cph/setup.py +++ b/huaweicloud-sdk-cph/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcph" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cpts/requirements.txt b/huaweicloud-sdk-cpts/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cpts/requirements.txt +++ b/huaweicloud-sdk-cpts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cpts/setup.py b/huaweicloud-sdk-cpts/setup.py index ba65529b6..514474d8d 100644 --- a/huaweicloud-sdk-cpts/setup.py +++ b/huaweicloud-sdk-cpts/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcpts" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cse/requirements.txt b/huaweicloud-sdk-cse/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cse/requirements.txt +++ b/huaweicloud-sdk-cse/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cse/setup.py b/huaweicloud-sdk-cse/setup.py index 493687356..1c2f43fb6 100644 --- a/huaweicloud-sdk-cse/setup.py +++ b/huaweicloud-sdk-cse/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcse" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-csms/requirements.txt b/huaweicloud-sdk-csms/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-csms/requirements.txt +++ b/huaweicloud-sdk-csms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-csms/setup.py b/huaweicloud-sdk-csms/setup.py index 30ca484af..3bca0c0ab 100644 --- a/huaweicloud-sdk-csms/setup.py +++ b/huaweicloud-sdk-csms/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcsms" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-css/requirements.txt b/huaweicloud-sdk-css/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-css/requirements.txt +++ b/huaweicloud-sdk-css/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-css/setup.py b/huaweicloud-sdk-css/setup.py index 86adf1c69..f6076d372 100644 --- a/huaweicloud-sdk-css/setup.py +++ b/huaweicloud-sdk-css/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcss" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cts/requirements.txt b/huaweicloud-sdk-cts/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-cts/requirements.txt +++ b/huaweicloud-sdk-cts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-cts/setup.py b/huaweicloud-sdk-cts/setup.py index 8564034d4..c84561a8e 100644 --- a/huaweicloud-sdk-cts/setup.py +++ b/huaweicloud-sdk-cts/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkcts" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-das/requirements.txt b/huaweicloud-sdk-das/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-das/requirements.txt +++ b/huaweicloud-sdk-das/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-das/setup.py b/huaweicloud-sdk-das/setup.py index add6ca53b..62ab3b9d8 100644 --- a/huaweicloud-sdk-das/setup.py +++ b/huaweicloud-sdk-das/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdas" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dataartsstudio/requirements.txt b/huaweicloud-sdk-dataartsstudio/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-dataartsstudio/requirements.txt +++ b/huaweicloud-sdk-dataartsstudio/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-dataartsstudio/setup.py b/huaweicloud-sdk-dataartsstudio/setup.py index 5763e9e8f..2cf52b0b7 100644 --- a/huaweicloud-sdk-dataartsstudio/setup.py +++ b/huaweicloud-sdk-dataartsstudio/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdataartsstudio" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dbss/requirements.txt b/huaweicloud-sdk-dbss/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-dbss/requirements.txt +++ b/huaweicloud-sdk-dbss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-dbss/setup.py b/huaweicloud-sdk-dbss/setup.py index 73506929a..3a2a9d0b3 100644 --- a/huaweicloud-sdk-dbss/setup.py +++ b/huaweicloud-sdk-dbss/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdbss" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dc/requirements.txt b/huaweicloud-sdk-dc/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-dc/requirements.txt +++ b/huaweicloud-sdk-dc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-dc/setup.py b/huaweicloud-sdk-dc/setup.py index c653bceec..2b0404687 100644 --- a/huaweicloud-sdk-dc/setup.py +++ b/huaweicloud-sdk-dc/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdc" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dcs/requirements.txt b/huaweicloud-sdk-dcs/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-dcs/requirements.txt +++ b/huaweicloud-sdk-dcs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-dcs/setup.py b/huaweicloud-sdk-dcs/setup.py index 89f6be4fb..fff179f4b 100644 --- a/huaweicloud-sdk-dcs/setup.py +++ b/huaweicloud-sdk-dcs/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdcs" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ddm/requirements.txt b/huaweicloud-sdk-ddm/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-ddm/requirements.txt +++ b/huaweicloud-sdk-ddm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-ddm/setup.py b/huaweicloud-sdk-ddm/setup.py index 032f993ef..c64ba8c2b 100644 --- a/huaweicloud-sdk-ddm/setup.py +++ b/huaweicloud-sdk-ddm/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkddm" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dds/requirements.txt b/huaweicloud-sdk-dds/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-dds/requirements.txt +++ b/huaweicloud-sdk-dds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-dds/setup.py b/huaweicloud-sdk-dds/setup.py index ef13fe843..ade8a7b46 100644 --- a/huaweicloud-sdk-dds/setup.py +++ b/huaweicloud-sdk-dds/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdds" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-deh/requirements.txt b/huaweicloud-sdk-deh/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-deh/requirements.txt +++ b/huaweicloud-sdk-deh/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-deh/setup.py b/huaweicloud-sdk-deh/setup.py index eb87b5a1b..cc59fc62a 100644 --- a/huaweicloud-sdk-deh/setup.py +++ b/huaweicloud-sdk-deh/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdeh" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-devsecurity/requirements.txt b/huaweicloud-sdk-devsecurity/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-devsecurity/requirements.txt +++ b/huaweicloud-sdk-devsecurity/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-devsecurity/setup.py b/huaweicloud-sdk-devsecurity/setup.py index 39bb45e4b..de86768b0 100644 --- a/huaweicloud-sdk-devsecurity/setup.py +++ b/huaweicloud-sdk-devsecurity/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdevsecurity" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-devstar/requirements.txt b/huaweicloud-sdk-devstar/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-devstar/requirements.txt +++ b/huaweicloud-sdk-devstar/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-devstar/setup.py b/huaweicloud-sdk-devstar/setup.py index 1184c3fa7..387b4babe 100644 --- a/huaweicloud-sdk-devstar/setup.py +++ b/huaweicloud-sdk-devstar/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdevstar" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dgc/requirements.txt b/huaweicloud-sdk-dgc/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-dgc/requirements.txt +++ b/huaweicloud-sdk-dgc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-dgc/setup.py b/huaweicloud-sdk-dgc/setup.py index 3cf629526..3e11d9d09 100644 --- a/huaweicloud-sdk-dgc/setup.py +++ b/huaweicloud-sdk-dgc/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdgc" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dis/requirements.txt b/huaweicloud-sdk-dis/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-dis/requirements.txt +++ b/huaweicloud-sdk-dis/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-dis/setup.py b/huaweicloud-sdk-dis/setup.py index e668b067a..df4303fb6 100644 --- a/huaweicloud-sdk-dis/setup.py +++ b/huaweicloud-sdk-dis/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdis" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dlf/requirements.txt b/huaweicloud-sdk-dlf/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-dlf/requirements.txt +++ b/huaweicloud-sdk-dlf/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-dlf/setup.py b/huaweicloud-sdk-dlf/setup.py index 4d449496f..f71c9e32e 100644 --- a/huaweicloud-sdk-dlf/setup.py +++ b/huaweicloud-sdk-dlf/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdlf" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dli/requirements.txt b/huaweicloud-sdk-dli/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-dli/requirements.txt +++ b/huaweicloud-sdk-dli/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-dli/setup.py b/huaweicloud-sdk-dli/setup.py index 10454b388..cd80df662 100644 --- a/huaweicloud-sdk-dli/setup.py +++ b/huaweicloud-sdk-dli/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdli" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dns/requirements.txt b/huaweicloud-sdk-dns/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-dns/requirements.txt +++ b/huaweicloud-sdk-dns/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-dns/setup.py b/huaweicloud-sdk-dns/setup.py index 354924871..11151cb7c 100644 --- a/huaweicloud-sdk-dns/setup.py +++ b/huaweicloud-sdk-dns/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdns" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dris/requirements.txt b/huaweicloud-sdk-dris/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-dris/requirements.txt +++ b/huaweicloud-sdk-dris/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-dris/setup.py b/huaweicloud-sdk-dris/setup.py index 70388e429..bf0d20223 100644 --- a/huaweicloud-sdk-dris/setup.py +++ b/huaweicloud-sdk-dris/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdris" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-drs/requirements.txt b/huaweicloud-sdk-drs/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-drs/requirements.txt +++ b/huaweicloud-sdk-drs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-drs/setup.py b/huaweicloud-sdk-drs/setup.py index d833030d6..2e19e69f5 100644 --- a/huaweicloud-sdk-drs/setup.py +++ b/huaweicloud-sdk-drs/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdrs" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dsc/requirements.txt b/huaweicloud-sdk-dsc/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-dsc/requirements.txt +++ b/huaweicloud-sdk-dsc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-dsc/setup.py b/huaweicloud-sdk-dsc/setup.py index 14c8c855d..02c1e67e7 100644 --- a/huaweicloud-sdk-dsc/setup.py +++ b/huaweicloud-sdk-dsc/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdsc" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dwr/requirements.txt b/huaweicloud-sdk-dwr/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-dwr/requirements.txt +++ b/huaweicloud-sdk-dwr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-dwr/setup.py b/huaweicloud-sdk-dwr/setup.py index bb0ffde91..3647f18fe 100644 --- a/huaweicloud-sdk-dwr/setup.py +++ b/huaweicloud-sdk-dwr/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdwr" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dws/requirements.txt b/huaweicloud-sdk-dws/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-dws/requirements.txt +++ b/huaweicloud-sdk-dws/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-dws/setup.py b/huaweicloud-sdk-dws/setup.py index b28cd1bd5..cdadc0156 100644 --- a/huaweicloud-sdk-dws/setup.py +++ b/huaweicloud-sdk-dws/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkdws" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ec/requirements.txt b/huaweicloud-sdk-ec/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-ec/requirements.txt +++ b/huaweicloud-sdk-ec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-ec/setup.py b/huaweicloud-sdk-ec/setup.py index 2e891c5bf..87984534b 100644 --- a/huaweicloud-sdk-ec/setup.py +++ b/huaweicloud-sdk-ec/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkec" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ecs/requirements.txt b/huaweicloud-sdk-ecs/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-ecs/requirements.txt +++ b/huaweicloud-sdk-ecs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-ecs/setup.py b/huaweicloud-sdk-ecs/setup.py index 0cfdff9d6..d5435130e 100644 --- a/huaweicloud-sdk-ecs/setup.py +++ b/huaweicloud-sdk-ecs/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkecs" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-edgesec/requirements.txt b/huaweicloud-sdk-edgesec/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-edgesec/requirements.txt +++ b/huaweicloud-sdk-edgesec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-edgesec/setup.py b/huaweicloud-sdk-edgesec/setup.py index 67e93aa35..9ba048020 100644 --- a/huaweicloud-sdk-edgesec/setup.py +++ b/huaweicloud-sdk-edgesec/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkedgesec" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eg/requirements.txt b/huaweicloud-sdk-eg/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-eg/requirements.txt +++ b/huaweicloud-sdk-eg/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-eg/setup.py b/huaweicloud-sdk-eg/setup.py index 11f4c2e7b..39db4f39d 100644 --- a/huaweicloud-sdk-eg/setup.py +++ b/huaweicloud-sdk-eg/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkeg" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/basic_drug_model.py b/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/basic_drug_model.py index 1937c665c..175b2a938 100644 --- a/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/basic_drug_model.py +++ b/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/basic_drug_model.py @@ -22,7 +22,7 @@ class BasicDrugModel: 'name': 'str', 'creator': 'str', 'type': 'str', - 'value_range': 'ValueRange', + 'value_range': 'ValueRange2', 'description': 'str' } @@ -52,7 +52,7 @@ class BasicDrugModel: :param type: 模型类型 :type type: str :param value_range: - :type value_range: :class:`huaweicloudsdkeihealth.v1.ValueRange` + :type value_range: :class:`huaweicloudsdkeihealth.v1.ValueRange2` :param description: 模型描述信息 :type description: str """ @@ -198,7 +198,7 @@ class BasicDrugModel: """Gets the value_range of this BasicDrugModel. :return: The value_range of this BasicDrugModel. - :rtype: :class:`huaweicloudsdkeihealth.v1.ValueRange` + :rtype: :class:`huaweicloudsdkeihealth.v1.ValueRange2` """ return self._value_range @@ -207,7 +207,7 @@ class BasicDrugModel: """Sets the value_range of this BasicDrugModel. :param value_range: The value_range of this BasicDrugModel. - :type value_range: :class:`huaweicloudsdkeihealth.v1.ValueRange` + :type value_range: :class:`huaweicloudsdkeihealth.v1.ValueRange2` """ self._value_range = value_range diff --git a/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/bounding_box_dto.py b/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/bounding_box_dto.py index b6f449a16..3e8cfce7b 100644 --- a/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/bounding_box_dto.py +++ b/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/bounding_box_dto.py @@ -19,7 +19,7 @@ class BoundingBoxDto: openapi_types = { 'center': 'list[float]', 'size': 'list[float]', - 'padding': 'int' + 'padding': 'float' } attribute_map = { @@ -38,7 +38,7 @@ class BoundingBoxDto: :param size: 口袋尺寸大小; x, y, z轴的大小 :type size: list[float] :param padding: 填充 - :type padding: int + :type padding: float """ @@ -104,7 +104,7 @@ class BoundingBoxDto: 填充 :return: The padding of this BoundingBoxDto. - :rtype: int + :rtype: float """ return self._padding @@ -115,7 +115,7 @@ class BoundingBoxDto: 填充 :param padding: The padding of this BoundingBoxDto. - :type padding: int + :type padding: float """ self._padding = padding diff --git a/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/parse_drug_receptor_info_request.py b/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/parse_drug_receptor_info_request.py index a0409d00b..e362f1287 100644 --- a/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/parse_drug_receptor_info_request.py +++ b/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/parse_drug_receptor_info_request.py @@ -18,7 +18,7 @@ class ParseDrugReceptorInfoRequest: openapi_types = { 'eihealth_project_id': 'str', - 'body': 'ReceptorDrugFile' + 'body': 'ReceptorDrugFileReq' } attribute_map = { @@ -34,7 +34,7 @@ class ParseDrugReceptorInfoRequest: :param eihealth_project_id: 平台项目ID,您可以在平台单击所需的项目名称,进入项目设置页面查看。 :type eihealth_project_id: str :param body: Body of the ParseDrugReceptorInfoRequest - :type body: :class:`huaweicloudsdkeihealth.v1.ReceptorDrugFile` + :type body: :class:`huaweicloudsdkeihealth.v1.ReceptorDrugFileReq` """ @@ -74,7 +74,7 @@ class ParseDrugReceptorInfoRequest: """Gets the body of this ParseDrugReceptorInfoRequest. :return: The body of this ParseDrugReceptorInfoRequest. - :rtype: :class:`huaweicloudsdkeihealth.v1.ReceptorDrugFile` + :rtype: :class:`huaweicloudsdkeihealth.v1.ReceptorDrugFileReq` """ return self._body @@ -83,7 +83,7 @@ class ParseDrugReceptorInfoRequest: """Sets the body of this ParseDrugReceptorInfoRequest. :param body: The body of this ParseDrugReceptorInfoRequest. - :type body: :class:`huaweicloudsdkeihealth.v1.ReceptorDrugFile` + :type body: :class:`huaweicloudsdkeihealth.v1.ReceptorDrugFileReq` """ self._body = body diff --git a/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/run_pocket_req.py b/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/run_pocket_req.py index 1798b1c0d..3ec97d115 100644 --- a/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/run_pocket_req.py +++ b/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/run_pocket_req.py @@ -19,7 +19,7 @@ class RunPocketReq: openapi_types = { 'center': 'list[float]', 'size': 'list[float]', - 'padding': 'int' + 'padding': 'float' } attribute_map = { @@ -38,7 +38,7 @@ class RunPocketReq: :param size: 口袋大小 :type size: list[float] :param padding: 口袋的padding值 - :type padding: int + :type padding: float """ @@ -103,7 +103,7 @@ class RunPocketReq: 口袋的padding值 :return: The padding of this RunPocketReq. - :rtype: int + :rtype: float """ return self._padding @@ -114,7 +114,7 @@ class RunPocketReq: 口袋的padding值 :param padding: The padding of this RunPocketReq. - :type padding: int + :type padding: float """ self._padding = padding diff --git a/huaweicloud-sdk-eihealth/requirements.txt b/huaweicloud-sdk-eihealth/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-eihealth/requirements.txt +++ b/huaweicloud-sdk-eihealth/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-eihealth/setup.py b/huaweicloud-sdk-eihealth/setup.py index 7f7a7ae12..eced25c6e 100644 --- a/huaweicloud-sdk-eihealth/setup.py +++ b/huaweicloud-sdk-eihealth/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkeihealth" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eip/requirements.txt b/huaweicloud-sdk-eip/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-eip/requirements.txt +++ b/huaweicloud-sdk-eip/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-eip/setup.py b/huaweicloud-sdk-eip/setup.py index 25aa985bb..80dde2ea0 100644 --- a/huaweicloud-sdk-eip/setup.py +++ b/huaweicloud-sdk-eip/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkeip" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-elb/requirements.txt b/huaweicloud-sdk-elb/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-elb/requirements.txt +++ b/huaweicloud-sdk-elb/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-elb/setup.py b/huaweicloud-sdk-elb/setup.py index ba8f54c6b..12788a688 100644 --- a/huaweicloud-sdk-elb/setup.py +++ b/huaweicloud-sdk-elb/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkelb" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eps/requirements.txt b/huaweicloud-sdk-eps/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-eps/requirements.txt +++ b/huaweicloud-sdk-eps/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-eps/setup.py b/huaweicloud-sdk-eps/setup.py index 313fa70ab..390883ecb 100644 --- a/huaweicloud-sdk-eps/setup.py +++ b/huaweicloud-sdk-eps/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkeps" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-er/requirements.txt b/huaweicloud-sdk-er/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-er/requirements.txt +++ b/huaweicloud-sdk-er/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-er/setup.py b/huaweicloud-sdk-er/setup.py index 87b58dac1..dbf030566 100644 --- a/huaweicloud-sdk-er/setup.py +++ b/huaweicloud-sdk-er/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdker" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-evs/requirements.txt b/huaweicloud-sdk-evs/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-evs/requirements.txt +++ b/huaweicloud-sdk-evs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-evs/setup.py b/huaweicloud-sdk-evs/setup.py index 0e100b453..2211117fc 100644 --- a/huaweicloud-sdk-evs/setup.py +++ b/huaweicloud-sdk-evs/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkevs" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-frs/requirements.txt b/huaweicloud-sdk-frs/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-frs/requirements.txt +++ b/huaweicloud-sdk-frs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-frs/setup.py b/huaweicloud-sdk-frs/setup.py index a0c4ded0b..fce1f01b2 100644 --- a/huaweicloud-sdk-frs/setup.py +++ b/huaweicloud-sdk-frs/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkfrs" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/__init__.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/__init__.py index 656d490de..cc75e83bd 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/__init__.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/__init__.py @@ -6,6 +6,7 @@ from huaweicloudsdkfunctiongraph.v2.functiongraph_client import FunctionGraphCli from huaweicloudsdkfunctiongraph.v2.functiongraph_async_client import FunctionGraphAsyncClient from huaweicloudsdkfunctiongraph.v2.model.action import Action +from huaweicloudsdkfunctiongraph.v2.model.apig_trigger_func_info import ApigTriggerFuncInfo from huaweicloudsdkfunctiongraph.v2.model.app_template_resource_detail import AppTemplateResourceDetail from huaweicloudsdkfunctiongraph.v2.model.async_invoke_function_request import AsyncInvokeFunctionRequest from huaweicloudsdkfunctiongraph.v2.model.async_invoke_function_response import AsyncInvokeFunctionResponse @@ -111,6 +112,7 @@ from huaweicloudsdkfunctiongraph.v2.model.list_dependencies_response import List from huaweicloudsdkfunctiongraph.v2.model.list_dependencies_result import ListDependenciesResult from huaweicloudsdkfunctiongraph.v2.model.list_dependency_version_request import ListDependencyVersionRequest from huaweicloudsdkfunctiongraph.v2.model.list_dependency_version_response import ListDependencyVersionResponse +from huaweicloudsdkfunctiongraph.v2.model.list_dependency_versions_result import ListDependencyVersionsResult from huaweicloudsdkfunctiongraph.v2.model.list_enterprise_resource_detail import ListEnterpriseResourceDetail from huaweicloudsdkfunctiongraph.v2.model.list_enterprise_resource_request_body import ListEnterpriseResourceRequestBody from huaweicloudsdkfunctiongraph.v2.model.list_enterprise_resource_result import ListEnterpriseResourceResult @@ -239,7 +241,8 @@ from huaweicloudsdkfunctiongraph.v2.model.tactics_config import TacticsConfig from huaweicloudsdkfunctiongraph.v2.model.tag_item import TagItem from huaweicloudsdkfunctiongraph.v2.model.temp_detail import TempDetail from huaweicloudsdkfunctiongraph.v2.model.trigger import Trigger -from huaweicloudsdkfunctiongraph.v2.model.trigger_event_data import TriggerEventData +from huaweicloudsdkfunctiongraph.v2.model.trigger_event_data_request_body import TriggerEventDataRequestBody +from huaweicloudsdkfunctiongraph.v2.model.trigger_event_data_response_body import TriggerEventDataResponseBody from huaweicloudsdkfunctiongraph.v2.model.trigger_metadata_list import TriggerMetadataList from huaweicloudsdkfunctiongraph.v2.model.update_event_request import UpdateEventRequest from huaweicloudsdkfunctiongraph.v2.model.update_event_request_body import UpdateEventRequestBody @@ -275,6 +278,9 @@ from huaweicloudsdkfunctiongraph.v2.model.update_version_alias_request_body impo from huaweicloudsdkfunctiongraph.v2.model.update_version_alias_response import UpdateVersionAliasResponse from huaweicloudsdkfunctiongraph.v2.model.update_work_flow_request import UpdateWorkFlowRequest from huaweicloudsdkfunctiongraph.v2.model.update_work_flow_response import UpdateWorkFlowResponse +from huaweicloudsdkfunctiongraph.v2.model.updaterigger_event_data import UpdateriggerEventData +from huaweicloudsdkfunctiongraph.v2.model.version_strategy import VersionStrategy +from huaweicloudsdkfunctiongraph.v2.model.version_strategy_rules import VersionStrategyRules from huaweicloudsdkfunctiongraph.v2.model.vpc_config import VpcConfig from huaweicloudsdkfunctiongraph.v2.model.workflow_create_body import WorkflowCreateBody from huaweicloudsdkfunctiongraph.v2.model.workflow_delete_body import WorkflowDeleteBody diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/__init__.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/__init__.py index 7e00e6baa..7b122f9ff 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/__init__.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/__init__.py @@ -4,6 +4,7 @@ from __future__ import absolute_import # import models into model package from huaweicloudsdkfunctiongraph.v2.model.action import Action +from huaweicloudsdkfunctiongraph.v2.model.apig_trigger_func_info import ApigTriggerFuncInfo from huaweicloudsdkfunctiongraph.v2.model.app_template_resource_detail import AppTemplateResourceDetail from huaweicloudsdkfunctiongraph.v2.model.async_invoke_function_request import AsyncInvokeFunctionRequest from huaweicloudsdkfunctiongraph.v2.model.async_invoke_function_response import AsyncInvokeFunctionResponse @@ -109,6 +110,7 @@ from huaweicloudsdkfunctiongraph.v2.model.list_dependencies_response import List from huaweicloudsdkfunctiongraph.v2.model.list_dependencies_result import ListDependenciesResult from huaweicloudsdkfunctiongraph.v2.model.list_dependency_version_request import ListDependencyVersionRequest from huaweicloudsdkfunctiongraph.v2.model.list_dependency_version_response import ListDependencyVersionResponse +from huaweicloudsdkfunctiongraph.v2.model.list_dependency_versions_result import ListDependencyVersionsResult from huaweicloudsdkfunctiongraph.v2.model.list_enterprise_resource_detail import ListEnterpriseResourceDetail from huaweicloudsdkfunctiongraph.v2.model.list_enterprise_resource_request_body import ListEnterpriseResourceRequestBody from huaweicloudsdkfunctiongraph.v2.model.list_enterprise_resource_result import ListEnterpriseResourceResult @@ -237,7 +239,8 @@ from huaweicloudsdkfunctiongraph.v2.model.tactics_config import TacticsConfig from huaweicloudsdkfunctiongraph.v2.model.tag_item import TagItem from huaweicloudsdkfunctiongraph.v2.model.temp_detail import TempDetail from huaweicloudsdkfunctiongraph.v2.model.trigger import Trigger -from huaweicloudsdkfunctiongraph.v2.model.trigger_event_data import TriggerEventData +from huaweicloudsdkfunctiongraph.v2.model.trigger_event_data_request_body import TriggerEventDataRequestBody +from huaweicloudsdkfunctiongraph.v2.model.trigger_event_data_response_body import TriggerEventDataResponseBody from huaweicloudsdkfunctiongraph.v2.model.trigger_metadata_list import TriggerMetadataList from huaweicloudsdkfunctiongraph.v2.model.update_event_request import UpdateEventRequest from huaweicloudsdkfunctiongraph.v2.model.update_event_request_body import UpdateEventRequestBody @@ -273,6 +276,9 @@ from huaweicloudsdkfunctiongraph.v2.model.update_version_alias_request_body impo from huaweicloudsdkfunctiongraph.v2.model.update_version_alias_response import UpdateVersionAliasResponse from huaweicloudsdkfunctiongraph.v2.model.update_work_flow_request import UpdateWorkFlowRequest from huaweicloudsdkfunctiongraph.v2.model.update_work_flow_response import UpdateWorkFlowResponse +from huaweicloudsdkfunctiongraph.v2.model.updaterigger_event_data import UpdateriggerEventData +from huaweicloudsdkfunctiongraph.v2.model.version_strategy import VersionStrategy +from huaweicloudsdkfunctiongraph.v2.model.version_strategy_rules import VersionStrategyRules from huaweicloudsdkfunctiongraph.v2.model.vpc_config import VpcConfig from huaweicloudsdkfunctiongraph.v2.model.workflow_create_body import WorkflowCreateBody from huaweicloudsdkfunctiongraph.v2.model.workflow_delete_body import WorkflowDeleteBody diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/apig_trigger_func_info.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/apig_trigger_func_info.py new file mode 100644 index 000000000..262875a38 --- /dev/null +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/apig_trigger_func_info.py @@ -0,0 +1,201 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ApigTriggerFuncInfo: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'function_urn': 'str', + 'invocation_type': 'str', + 'timeout': 'int', + 'version': 'str' + } + + attribute_map = { + 'function_urn': 'function_urn', + 'invocation_type': 'invocation_type', + 'timeout': 'timeout', + 'version': 'version' + } + + def __init__(self, function_urn=None, invocation_type=None, timeout=None, version=None): + """ApigTriggerFuncInfo + + The model defined in huaweicloud sdk + + :param function_urn: 函数的URN,详细解释见FunctionGraph函数模型的描述。 + :type function_urn: str + :param invocation_type: 调用函数执行方式。 - sync:同步执行 - async:异步执行 + :type invocation_type: str + :param timeout: API网关请求函数服务的超时时间(毫秒)。APIG触发器此参数必填。 + :type timeout: int + :param version: 函数版本信息。 + :type version: str + """ + + + + self._function_urn = None + self._invocation_type = None + self._timeout = None + self._version = None + self.discriminator = None + + if function_urn is not None: + self.function_urn = function_urn + if invocation_type is not None: + self.invocation_type = invocation_type + self.timeout = timeout + if version is not None: + self.version = version + + @property + def function_urn(self): + """Gets the function_urn of this ApigTriggerFuncInfo. + + 函数的URN,详细解释见FunctionGraph函数模型的描述。 + + :return: The function_urn of this ApigTriggerFuncInfo. + :rtype: str + """ + return self._function_urn + + @function_urn.setter + def function_urn(self, function_urn): + """Sets the function_urn of this ApigTriggerFuncInfo. + + 函数的URN,详细解释见FunctionGraph函数模型的描述。 + + :param function_urn: The function_urn of this ApigTriggerFuncInfo. + :type function_urn: str + """ + self._function_urn = function_urn + + @property + def invocation_type(self): + """Gets the invocation_type of this ApigTriggerFuncInfo. + + 调用函数执行方式。 - sync:同步执行 - async:异步执行 + + :return: The invocation_type of this ApigTriggerFuncInfo. + :rtype: str + """ + return self._invocation_type + + @invocation_type.setter + def invocation_type(self, invocation_type): + """Sets the invocation_type of this ApigTriggerFuncInfo. + + 调用函数执行方式。 - sync:同步执行 - async:异步执行 + + :param invocation_type: The invocation_type of this ApigTriggerFuncInfo. + :type invocation_type: str + """ + self._invocation_type = invocation_type + + @property + def timeout(self): + """Gets the timeout of this ApigTriggerFuncInfo. + + API网关请求函数服务的超时时间(毫秒)。APIG触发器此参数必填。 + + :return: The timeout of this ApigTriggerFuncInfo. + :rtype: int + """ + return self._timeout + + @timeout.setter + def timeout(self, timeout): + """Sets the timeout of this ApigTriggerFuncInfo. + + API网关请求函数服务的超时时间(毫秒)。APIG触发器此参数必填。 + + :param timeout: The timeout of this ApigTriggerFuncInfo. + :type timeout: int + """ + self._timeout = timeout + + @property + def version(self): + """Gets the version of this ApigTriggerFuncInfo. + + 函数版本信息。 + + :return: The version of this ApigTriggerFuncInfo. + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this ApigTriggerFuncInfo. + + 函数版本信息。 + + :param version: The version of this ApigTriggerFuncInfo. + :type version: str + """ + self._version = version + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ApigTriggerFuncInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/cancel_async_invocation_request_body.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/cancel_async_invocation_request_body.py index f353ee2e9..fefa84c7f 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/cancel_async_invocation_request_body.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/cancel_async_invocation_request_body.py @@ -33,7 +33,7 @@ class CancelAsyncInvocationRequestBody: :param request_id: 被停止的请求id :type request_id: str - :param type: 停止的类型 支持recursive, force。 recursive: 停止正在调用的子函数。 force: 直接杀死runtime。 + :param type: 停止的类型 支持recursive, force。 recursive: 停止正在调用的子函数。 force: 直接终止runtime。 :type type: str """ @@ -73,7 +73,7 @@ class CancelAsyncInvocationRequestBody: def type(self): """Gets the type of this CancelAsyncInvocationRequestBody. - 停止的类型 支持recursive, force。 recursive: 停止正在调用的子函数。 force: 直接杀死runtime。 + 停止的类型 支持recursive, force。 recursive: 停止正在调用的子函数。 force: 直接终止runtime。 :return: The type of this CancelAsyncInvocationRequestBody. :rtype: str @@ -84,7 +84,7 @@ class CancelAsyncInvocationRequestBody: def type(self, type): """Sets the type of this CancelAsyncInvocationRequestBody. - 停止的类型 支持recursive, force。 recursive: 停止正在调用的子函数。 force: 直接杀死runtime。 + 停止的类型 支持recursive, force。 recursive: 停止正在调用的子函数。 force: 直接终止runtime。 :param type: The type of this CancelAsyncInvocationRequestBody. :type type: str diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_dependency_request_body.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_dependency_request_body.py index e88cf7a9f..55e6694e5 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_dependency_request_body.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_dependency_request_body.py @@ -45,7 +45,7 @@ class CreateDependencyRequestBody: :type depend_link: str :param depend_type: 导入类型,目前支持obs和zip。 :type depend_type: str - :param runtime: 运行时语言,Java11、Nodejs14:、Python3:在type为v2时支持。 + :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :type runtime: str :param name: 依赖包名称。必须以大、小写字母开头,以字母或数字结尾,只能由字母、数字、下划线、点和中划线组成,长度不超过96个字符。 :type name: str @@ -143,7 +143,7 @@ class CreateDependencyRequestBody: def runtime(self): """Gets the runtime of this CreateDependencyRequestBody. - 运行时语言,Java11、Nodejs14:、Python3:在type为v2时支持。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :return: The runtime of this CreateDependencyRequestBody. :rtype: str @@ -154,7 +154,7 @@ class CreateDependencyRequestBody: def runtime(self, runtime): """Sets the runtime of this CreateDependencyRequestBody. - 运行时语言,Java11、Nodejs14:、Python3:在type为v2时支持。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :param runtime: The runtime of this CreateDependencyRequestBody. :type runtime: str diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_dependency_version_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_dependency_version_response.py index 7bf9d5861..82a696bad 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_dependency_version_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_dependency_version_response.py @@ -58,7 +58,7 @@ class CreateDependencyVersionResponse(SdkResponse): :type owner: str :param link: 依赖包在obs的存储地址。 :type link: str - :param runtime: 运行时语言。 + :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :type runtime: str :param etag: 依赖包唯一标志。 :type etag: str @@ -189,7 +189,7 @@ class CreateDependencyVersionResponse(SdkResponse): def runtime(self): """Gets the runtime of this CreateDependencyVersionResponse. - 运行时语言。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :return: The runtime of this CreateDependencyVersionResponse. :rtype: str @@ -200,7 +200,7 @@ class CreateDependencyVersionResponse(SdkResponse): def runtime(self, runtime): """Sets the runtime of this CreateDependencyVersionResponse. - 运行时语言。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :param runtime: The runtime of this CreateDependencyVersionResponse. :type runtime: str diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_request_body.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_request_body.py index a81fd5376..8da92ff44 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_request_body.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_request_body.py @@ -85,7 +85,7 @@ class CreateFunctionRequestBody: :type package: str :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 :type runtime: str - :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :type timeout: int :param handler: 函数执行入口 规则:xx.xx,必须包含“. ”;自定义镜像函数handler为“-” 举例:对于node.js函数:myfunction.handler,则表示函数的文件名为myfunction.js,执行的入口函数名为handler。 :type handler: str @@ -97,7 +97,7 @@ class CreateFunctionRequestBody: :type memory_size: int :param gpu_memory: 函数消耗的显存,只支持自定义运行时与自定义镜像函数配置GPU。 单位MB。 取值范围为:1024、2048、3072、4096、5120、6144、7168、8192、9216、10240、11264、12288、13312、14336、15360、16384。 最小值为1024,最大值为16384。 :type gpu_memory: int - :param code_type: 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + :param code_type: 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :type code_type: str :param code_url: 当CodeType为obs时,该值为函数代码包在OBS上的地址,CodeType为其他值时,该字段为空。 :type code_url: str @@ -107,17 +107,17 @@ class CreateFunctionRequestBody: :type custom_image: :class:`huaweicloudsdkfunctiongraph.v2.CustomImage` :param user_data: 用户自定义的name/value信息。 在函数中使用的参数。 举例:如函数要访问某个主机,可以设置自定义参数:Host={host_ip},最多定义20个,总长度不超过4KB。 :type user_data: str - :param xrole: 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + :param xrole: 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :type xrole: str - :param app_xrole: 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + :param app_xrole: 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :type app_xrole: str :param description: 函数描述。 :type description: str :param func_code: :type func_code: :class:`huaweicloudsdkfunctiongraph.v2.FuncCode` - :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :type initializer_handler: str - :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :type initializer_timeout: int :param pre_stop_handler: 函数预停止函数的入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.pre_stop_handler,则表示函数的文件名为myfunction.js,初始化的入口函数名为pre_stop_handler。 :type pre_stop_handler: str @@ -279,7 +279,7 @@ class CreateFunctionRequestBody: def timeout(self): """Gets the timeout of this CreateFunctionRequestBody. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :return: The timeout of this CreateFunctionRequestBody. :rtype: int @@ -290,7 +290,7 @@ class CreateFunctionRequestBody: def timeout(self, timeout): """Sets the timeout of this CreateFunctionRequestBody. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :param timeout: The timeout of this CreateFunctionRequestBody. :type timeout: int @@ -407,7 +407,7 @@ class CreateFunctionRequestBody: def code_type(self): """Gets the code_type of this CreateFunctionRequestBody. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :return: The code_type of this CreateFunctionRequestBody. :rtype: str @@ -418,7 +418,7 @@ class CreateFunctionRequestBody: def code_type(self, code_type): """Sets the code_type of this CreateFunctionRequestBody. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :param code_type: The code_type of this CreateFunctionRequestBody. :type code_type: str @@ -513,7 +513,7 @@ class CreateFunctionRequestBody: def xrole(self): """Gets the xrole of this CreateFunctionRequestBody. - 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :return: The xrole of this CreateFunctionRequestBody. :rtype: str @@ -524,7 +524,7 @@ class CreateFunctionRequestBody: def xrole(self, xrole): """Sets the xrole of this CreateFunctionRequestBody. - 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :param xrole: The xrole of this CreateFunctionRequestBody. :type xrole: str @@ -535,7 +535,7 @@ class CreateFunctionRequestBody: def app_xrole(self): """Gets the app_xrole of this CreateFunctionRequestBody. - 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :return: The app_xrole of this CreateFunctionRequestBody. :rtype: str @@ -546,7 +546,7 @@ class CreateFunctionRequestBody: def app_xrole(self, app_xrole): """Sets the app_xrole of this CreateFunctionRequestBody. - 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :param app_xrole: The app_xrole of this CreateFunctionRequestBody. :type app_xrole: str @@ -597,7 +597,7 @@ class CreateFunctionRequestBody: def initializer_handler(self): """Gets the initializer_handler of this CreateFunctionRequestBody. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :return: The initializer_handler of this CreateFunctionRequestBody. :rtype: str @@ -608,7 +608,7 @@ class CreateFunctionRequestBody: def initializer_handler(self, initializer_handler): """Sets the initializer_handler of this CreateFunctionRequestBody. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :param initializer_handler: The initializer_handler of this CreateFunctionRequestBody. :type initializer_handler: str @@ -619,7 +619,7 @@ class CreateFunctionRequestBody: def initializer_timeout(self): """Gets the initializer_timeout of this CreateFunctionRequestBody. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :return: The initializer_timeout of this CreateFunctionRequestBody. :rtype: int @@ -630,7 +630,7 @@ class CreateFunctionRequestBody: def initializer_timeout(self, initializer_timeout): """Sets the initializer_timeout of this CreateFunctionRequestBody. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :param initializer_timeout: The initializer_timeout of this CreateFunctionRequestBody. :type initializer_timeout: int diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_response.py index 719f339bb..1f9daaf32 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_response.py @@ -18,6 +18,7 @@ class CreateFunctionResponse(SdkResponse): sensitive_list = [] openapi_types = { + 'func_id': 'str', 'func_urn': 'str', 'func_name': 'str', 'domain_id': 'str', @@ -34,6 +35,7 @@ class CreateFunctionResponse(SdkResponse): 'code_url': 'str', 'code_filename': 'str', 'code_size': 'int', + 'domain_names': 'str', 'user_data': 'str', 'encrypted_user_data': 'str', 'digest': 'str', @@ -45,22 +47,39 @@ class CreateFunctionResponse(SdkResponse): 'last_modified': 'datetime', 'func_vpc': 'FuncVpc', 'mount_config': 'MountConfig', + 'reserved_instance_count': 'int', 'depend_list': 'list[str]', 'depend_version_list': 'list[str]', 'strategy_config': 'StrategyConfig', 'extend_config': 'str', + 'dependencies': 'list[Dependency]', 'initializer_handler': 'str', 'initializer_timeout': 'int', 'pre_stop_handler': 'str', 'pre_stop_timeout': 'int', 'enterprise_project_id': 'str', + 'long_time': 'bool', + 'log_group_id': 'str', + 'log_stream_id': 'str', + 'type': 'str', + 'enable_cloud_debug': 'str', 'enable_dynamic_memory': 'bool', 'is_stateful_function': 'bool', 'enable_auth_in_header': 'bool', - 'custom_image': 'CustomImage' + 'custom_image': 'CustomImage', + 'is_bridge_function': 'bool', + 'apig_route_enable': 'bool', + 'heartbeat_handler': 'str', + 'enable_class_isolation': 'bool', + 'gpu_type': 'str', + 'allow_ephemeral_storage': 'bool', + 'ephemeral_storage': 'int', + 'network_controller': 'NetworkControlConfig', + 'resource_id': 'str' } attribute_map = { + 'func_id': 'func_id', 'func_urn': 'func_urn', 'func_name': 'func_name', 'domain_id': 'domain_id', @@ -77,6 +96,7 @@ class CreateFunctionResponse(SdkResponse): 'code_url': 'code_url', 'code_filename': 'code_filename', 'code_size': 'code_size', + 'domain_names': 'domain_names', 'user_data': 'user_data', 'encrypted_user_data': 'encrypted_user_data', 'digest': 'digest', @@ -88,26 +108,44 @@ class CreateFunctionResponse(SdkResponse): 'last_modified': 'last_modified', 'func_vpc': 'func_vpc', 'mount_config': 'mount_config', + 'reserved_instance_count': 'reserved_instance_count', 'depend_list': 'depend_list', 'depend_version_list': 'depend_version_list', 'strategy_config': 'strategy_config', 'extend_config': 'extend_config', + 'dependencies': 'dependencies', 'initializer_handler': 'initializer_handler', 'initializer_timeout': 'initializer_timeout', 'pre_stop_handler': 'pre_stop_handler', 'pre_stop_timeout': 'pre_stop_timeout', 'enterprise_project_id': 'enterprise_project_id', + 'long_time': 'long_time', + 'log_group_id': 'log_group_id', + 'log_stream_id': 'log_stream_id', + 'type': 'type', + 'enable_cloud_debug': 'enable_cloud_debug', 'enable_dynamic_memory': 'enable_dynamic_memory', 'is_stateful_function': 'is_stateful_function', 'enable_auth_in_header': 'enable_auth_in_header', - 'custom_image': 'custom_image' + 'custom_image': 'custom_image', + 'is_bridge_function': 'is_bridge_function', + 'apig_route_enable': 'apig_route_enable', + 'heartbeat_handler': 'heartbeat_handler', + 'enable_class_isolation': 'enable_class_isolation', + 'gpu_type': 'gpu_type', + 'allow_ephemeral_storage': 'allow_ephemeral_storage', + 'ephemeral_storage': 'ephemeral_storage', + 'network_controller': 'network_controller', + 'resource_id': 'resource_id' } - def __init__(self, func_urn=None, func_name=None, domain_id=None, namespace=None, project_name=None, package=None, runtime=None, timeout=None, handler=None, memory_size=None, gpu_memory=None, cpu=None, code_type=None, code_url=None, code_filename=None, code_size=None, user_data=None, encrypted_user_data=None, digest=None, version=None, image_name=None, xrole=None, app_xrole=None, description=None, last_modified=None, func_vpc=None, mount_config=None, depend_list=None, depend_version_list=None, strategy_config=None, extend_config=None, initializer_handler=None, initializer_timeout=None, pre_stop_handler=None, pre_stop_timeout=None, enterprise_project_id=None, enable_dynamic_memory=None, is_stateful_function=None, enable_auth_in_header=None, custom_image=None): + def __init__(self, func_id=None, func_urn=None, func_name=None, domain_id=None, namespace=None, project_name=None, package=None, runtime=None, timeout=None, handler=None, memory_size=None, gpu_memory=None, cpu=None, code_type=None, code_url=None, code_filename=None, code_size=None, domain_names=None, user_data=None, encrypted_user_data=None, digest=None, version=None, image_name=None, xrole=None, app_xrole=None, description=None, last_modified=None, func_vpc=None, mount_config=None, reserved_instance_count=None, depend_list=None, depend_version_list=None, strategy_config=None, extend_config=None, dependencies=None, initializer_handler=None, initializer_timeout=None, pre_stop_handler=None, pre_stop_timeout=None, enterprise_project_id=None, long_time=None, log_group_id=None, log_stream_id=None, type=None, enable_cloud_debug=None, enable_dynamic_memory=None, is_stateful_function=None, enable_auth_in_header=None, custom_image=None, is_bridge_function=None, apig_route_enable=None, heartbeat_handler=None, enable_class_isolation=None, gpu_type=None, allow_ephemeral_storage=None, ephemeral_storage=None, network_controller=None, resource_id=None): """CreateFunctionResponse The model defined in huaweicloud sdk + :param func_id: 函数id,唯一标识函数。 + :type func_id: str :param func_urn: 函数的URN(Uniform Resource Name),唯一标识函数。 :type func_urn: str :param func_name: 函数名称。 @@ -120,9 +158,9 @@ class CreateFunctionResponse(SdkResponse): :type project_name: str :param package: 函数所属的分组Package,用于用户针对函数的自定义分组。 :type package: str - :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :type runtime: str - :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :type timeout: int :param handler: 函数执行入口 规则:xx.xx,必须包含“. ” 举例:对于node.js函数:myfunction.handler,则表示函数的文件名为myfunction.js,执行的入口函数名为handler。 :type handler: str @@ -132,7 +170,7 @@ class CreateFunctionResponse(SdkResponse): :type gpu_memory: int :param cpu: 函数占用的cpu资源。 单位为millicore(1 core=1000 millicores)。 取值与MemorySize成比例,默认是128M内存占0.1个核(100 millicores)。 :type cpu: int - :param code_type: 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + :param code_type: 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :type code_type: str :param code_url: 当CodeType为obs时,该值为函数代码包在OBS上的地址,CodeType为其他值时,该字段为空。 :type code_url: str @@ -140,13 +178,15 @@ class CreateFunctionResponse(SdkResponse): :type code_filename: str :param code_size: 函数大小,单位:字节。 :type code_size: int + :param domain_names: 函数配置的需要支持域名解析的内网域名。 + :type domain_names: str :param user_data: 用户自定义的name/value信息。 在函数中使用的参数。 举例:如函数要访问某个主机,可以设置自定义参数:Host={host_ip},最多定义20个,总长度不超过4KB。 :type user_data: str :param encrypted_user_data: 用户自定义的name/value信息,用于需要加密的配置。 :type encrypted_user_data: str :param digest: 函数代码SHA512 hash值,用于判断函数是否变化。 :type digest: str - :param version: 函数版本号,由系统自动生成,规则:vYYYYMMDD-HHMMSS(v+年月日-时分秒)。 + :param version: 函数版本号。 :type version: str :param image_name: 函数版本的内部标识。 :type image_name: str @@ -162,6 +202,8 @@ class CreateFunctionResponse(SdkResponse): :type func_vpc: :class:`huaweicloudsdkfunctiongraph.v2.FuncVpc` :param mount_config: :type mount_config: :class:`huaweicloudsdkfunctiongraph.v2.MountConfig` + :param reserved_instance_count: 函数预留实例数量。 + :type reserved_instance_count: int :param depend_list: 依赖id列表 :type depend_list: list[str] :param depend_version_list: 依赖版本id列表 @@ -170,9 +212,11 @@ class CreateFunctionResponse(SdkResponse): :type strategy_config: :class:`huaweicloudsdkfunctiongraph.v2.StrategyConfig` :param extend_config: 函数扩展配置。 :type extend_config: str - :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + :param dependencies: 函数依赖代码包列表。 + :type dependencies: list[:class:`huaweicloudsdkfunctiongraph.v2.Dependency`] + :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :type initializer_handler: str - :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :type initializer_timeout: int :param pre_stop_handler: 函数预停止函数的入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.pre_stop_handler,则表示函数的文件名为myfunction.js,初始化的入口函数名为pre_stop_handler。 :type pre_stop_handler: str @@ -180,6 +224,16 @@ class CreateFunctionResponse(SdkResponse): :type pre_stop_timeout: int :param enterprise_project_id: 企业项目ID,在企业用户创建函数时必填。 :type enterprise_project_id: str + :param long_time: 是否允许进行长时间超时设置。 + :type long_time: bool + :param log_group_id: 自定义日志查询组id + :type log_group_id: str + :param log_stream_id: 自定义日志查询流id + :type log_stream_id: str + :param type: v2表示为正式版本,v1为废弃版本。 + :type type: str + :param enable_cloud_debug: 是否启用cloud debug功能 + :type enable_cloud_debug: str :param enable_dynamic_memory: 是否启动动态内存配置 :type enable_dynamic_memory: bool :param is_stateful_function: 是否支持有状态,如果需要支持,需要固定传参为true,v2版本支持 @@ -188,10 +242,29 @@ class CreateFunctionResponse(SdkResponse): :type enable_auth_in_header: bool :param custom_image: :type custom_image: :class:`huaweicloudsdkfunctiongraph.v2.CustomImage` + :param is_bridge_function: 是否为bridge函数 + :type is_bridge_function: bool + :param apig_route_enable: 是否配置下沉apig路由规则。 + :type apig_route_enable: bool + :param heartbeat_handler: 心跳函数函数的入口,规则:xx.xx,必须包含“. ”,只支持JAVA运行时配置。 心跳函数入口需要与函数执行入口在同一文件下。在开启心跳函数配置时,此参数必填。 + :type heartbeat_handler: str + :param enable_class_isolation: 类隔离开关,只支持JAVA运行时配置。开启类隔离后可以支持Kafka转储并提升类加载效率,但也可能会导致某些兼容性问题,请谨慎开启。 + :type enable_class_isolation: bool + :param gpu_type: 显卡类型。 + :type gpu_type: str + :param allow_ephemeral_storage: 是否支持配置临时存储。 + :type allow_ephemeral_storage: bool + :param ephemeral_storage: 临时存储大小。默认情况下会为函数的/tmp目录分配512MB的空间。您可以通过临时存储设置将函数的/tmp目录大小调整为10G。 + :type ephemeral_storage: int + :param network_controller: + :type network_controller: :class:`huaweicloudsdkfunctiongraph.v2.NetworkControlConfig` + :param resource_id: 资源id。 + :type resource_id: str """ super(CreateFunctionResponse, self).__init__() + self._func_id = None self._func_urn = None self._func_name = None self._domain_id = None @@ -208,6 +281,7 @@ class CreateFunctionResponse(SdkResponse): self._code_url = None self._code_filename = None self._code_size = None + self._domain_names = None self._user_data = None self._encrypted_user_data = None self._digest = None @@ -219,21 +293,39 @@ class CreateFunctionResponse(SdkResponse): self._last_modified = None self._func_vpc = None self._mount_config = None + self._reserved_instance_count = None self._depend_list = None self._depend_version_list = None self._strategy_config = None self._extend_config = None + self._dependencies = None self._initializer_handler = None self._initializer_timeout = None self._pre_stop_handler = None self._pre_stop_timeout = None self._enterprise_project_id = None + self._long_time = None + self._log_group_id = None + self._log_stream_id = None + self._type = None + self._enable_cloud_debug = None self._enable_dynamic_memory = None self._is_stateful_function = None self._enable_auth_in_header = None self._custom_image = None + self._is_bridge_function = None + self._apig_route_enable = None + self._heartbeat_handler = None + self._enable_class_isolation = None + self._gpu_type = None + self._allow_ephemeral_storage = None + self._ephemeral_storage = None + self._network_controller = None + self._resource_id = None self.discriminator = None + if func_id is not None: + self.func_id = func_id if func_urn is not None: self.func_urn = func_urn if func_name is not None: @@ -266,6 +358,8 @@ class CreateFunctionResponse(SdkResponse): self.code_filename = code_filename if code_size is not None: self.code_size = code_size + if domain_names is not None: + self.domain_names = domain_names if user_data is not None: self.user_data = user_data if encrypted_user_data is not None: @@ -288,6 +382,8 @@ class CreateFunctionResponse(SdkResponse): self.func_vpc = func_vpc if mount_config is not None: self.mount_config = mount_config + if reserved_instance_count is not None: + self.reserved_instance_count = reserved_instance_count if depend_list is not None: self.depend_list = depend_list if depend_version_list is not None: @@ -296,6 +392,8 @@ class CreateFunctionResponse(SdkResponse): self.strategy_config = strategy_config if extend_config is not None: self.extend_config = extend_config + if dependencies is not None: + self.dependencies = dependencies if initializer_handler is not None: self.initializer_handler = initializer_handler if initializer_timeout is not None: @@ -306,6 +404,16 @@ class CreateFunctionResponse(SdkResponse): self.pre_stop_timeout = pre_stop_timeout if enterprise_project_id is not None: self.enterprise_project_id = enterprise_project_id + if long_time is not None: + self.long_time = long_time + if log_group_id is not None: + self.log_group_id = log_group_id + if log_stream_id is not None: + self.log_stream_id = log_stream_id + if type is not None: + self.type = type + if enable_cloud_debug is not None: + self.enable_cloud_debug = enable_cloud_debug if enable_dynamic_memory is not None: self.enable_dynamic_memory = enable_dynamic_memory if is_stateful_function is not None: @@ -314,6 +422,46 @@ class CreateFunctionResponse(SdkResponse): self.enable_auth_in_header = enable_auth_in_header if custom_image is not None: self.custom_image = custom_image + if is_bridge_function is not None: + self.is_bridge_function = is_bridge_function + if apig_route_enable is not None: + self.apig_route_enable = apig_route_enable + if heartbeat_handler is not None: + self.heartbeat_handler = heartbeat_handler + if enable_class_isolation is not None: + self.enable_class_isolation = enable_class_isolation + if gpu_type is not None: + self.gpu_type = gpu_type + if allow_ephemeral_storage is not None: + self.allow_ephemeral_storage = allow_ephemeral_storage + if ephemeral_storage is not None: + self.ephemeral_storage = ephemeral_storage + if network_controller is not None: + self.network_controller = network_controller + if resource_id is not None: + self.resource_id = resource_id + + @property + def func_id(self): + """Gets the func_id of this CreateFunctionResponse. + + 函数id,唯一标识函数。 + + :return: The func_id of this CreateFunctionResponse. + :rtype: str + """ + return self._func_id + + @func_id.setter + def func_id(self, func_id): + """Sets the func_id of this CreateFunctionResponse. + + 函数id,唯一标识函数。 + + :param func_id: The func_id of this CreateFunctionResponse. + :type func_id: str + """ + self._func_id = func_id @property def func_urn(self): @@ -451,7 +599,7 @@ class CreateFunctionResponse(SdkResponse): def runtime(self): """Gets the runtime of this CreateFunctionResponse. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :return: The runtime of this CreateFunctionResponse. :rtype: str @@ -462,7 +610,7 @@ class CreateFunctionResponse(SdkResponse): def runtime(self, runtime): """Sets the runtime of this CreateFunctionResponse. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :param runtime: The runtime of this CreateFunctionResponse. :type runtime: str @@ -473,7 +621,7 @@ class CreateFunctionResponse(SdkResponse): def timeout(self): """Gets the timeout of this CreateFunctionResponse. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :return: The timeout of this CreateFunctionResponse. :rtype: int @@ -484,7 +632,7 @@ class CreateFunctionResponse(SdkResponse): def timeout(self, timeout): """Sets the timeout of this CreateFunctionResponse. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :param timeout: The timeout of this CreateFunctionResponse. :type timeout: int @@ -583,7 +731,7 @@ class CreateFunctionResponse(SdkResponse): def code_type(self): """Gets the code_type of this CreateFunctionResponse. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :return: The code_type of this CreateFunctionResponse. :rtype: str @@ -594,7 +742,7 @@ class CreateFunctionResponse(SdkResponse): def code_type(self, code_type): """Sets the code_type of this CreateFunctionResponse. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :param code_type: The code_type of this CreateFunctionResponse. :type code_type: str @@ -667,6 +815,28 @@ class CreateFunctionResponse(SdkResponse): """ self._code_size = code_size + @property + def domain_names(self): + """Gets the domain_names of this CreateFunctionResponse. + + 函数配置的需要支持域名解析的内网域名。 + + :return: The domain_names of this CreateFunctionResponse. + :rtype: str + """ + return self._domain_names + + @domain_names.setter + def domain_names(self, domain_names): + """Sets the domain_names of this CreateFunctionResponse. + + 函数配置的需要支持域名解析的内网域名。 + + :param domain_names: The domain_names of this CreateFunctionResponse. + :type domain_names: str + """ + self._domain_names = domain_names + @property def user_data(self): """Gets the user_data of this CreateFunctionResponse. @@ -737,7 +907,7 @@ class CreateFunctionResponse(SdkResponse): def version(self): """Gets the version of this CreateFunctionResponse. - 函数版本号,由系统自动生成,规则:vYYYYMMDD-HHMMSS(v+年月日-时分秒)。 + 函数版本号。 :return: The version of this CreateFunctionResponse. :rtype: str @@ -748,7 +918,7 @@ class CreateFunctionResponse(SdkResponse): def version(self, version): """Sets the version of this CreateFunctionResponse. - 函数版本号,由系统自动生成,规则:vYYYYMMDD-HHMMSS(v+年月日-时分秒)。 + 函数版本号。 :param version: The version of this CreateFunctionResponse. :type version: str @@ -901,6 +1071,28 @@ class CreateFunctionResponse(SdkResponse): """ self._mount_config = mount_config + @property + def reserved_instance_count(self): + """Gets the reserved_instance_count of this CreateFunctionResponse. + + 函数预留实例数量。 + + :return: The reserved_instance_count of this CreateFunctionResponse. + :rtype: int + """ + return self._reserved_instance_count + + @reserved_instance_count.setter + def reserved_instance_count(self, reserved_instance_count): + """Sets the reserved_instance_count of this CreateFunctionResponse. + + 函数预留实例数量。 + + :param reserved_instance_count: The reserved_instance_count of this CreateFunctionResponse. + :type reserved_instance_count: int + """ + self._reserved_instance_count = reserved_instance_count + @property def depend_list(self): """Gets the depend_list of this CreateFunctionResponse. @@ -985,11 +1177,33 @@ class CreateFunctionResponse(SdkResponse): """ self._extend_config = extend_config + @property + def dependencies(self): + """Gets the dependencies of this CreateFunctionResponse. + + 函数依赖代码包列表。 + + :return: The dependencies of this CreateFunctionResponse. + :rtype: list[:class:`huaweicloudsdkfunctiongraph.v2.Dependency`] + """ + return self._dependencies + + @dependencies.setter + def dependencies(self, dependencies): + """Sets the dependencies of this CreateFunctionResponse. + + 函数依赖代码包列表。 + + :param dependencies: The dependencies of this CreateFunctionResponse. + :type dependencies: list[:class:`huaweicloudsdkfunctiongraph.v2.Dependency`] + """ + self._dependencies = dependencies + @property def initializer_handler(self): """Gets the initializer_handler of this CreateFunctionResponse. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :return: The initializer_handler of this CreateFunctionResponse. :rtype: str @@ -1000,7 +1214,7 @@ class CreateFunctionResponse(SdkResponse): def initializer_handler(self, initializer_handler): """Sets the initializer_handler of this CreateFunctionResponse. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :param initializer_handler: The initializer_handler of this CreateFunctionResponse. :type initializer_handler: str @@ -1011,7 +1225,7 @@ class CreateFunctionResponse(SdkResponse): def initializer_timeout(self): """Gets the initializer_timeout of this CreateFunctionResponse. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :return: The initializer_timeout of this CreateFunctionResponse. :rtype: int @@ -1022,7 +1236,7 @@ class CreateFunctionResponse(SdkResponse): def initializer_timeout(self, initializer_timeout): """Sets the initializer_timeout of this CreateFunctionResponse. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :param initializer_timeout: The initializer_timeout of this CreateFunctionResponse. :type initializer_timeout: int @@ -1095,6 +1309,116 @@ class CreateFunctionResponse(SdkResponse): """ self._enterprise_project_id = enterprise_project_id + @property + def long_time(self): + """Gets the long_time of this CreateFunctionResponse. + + 是否允许进行长时间超时设置。 + + :return: The long_time of this CreateFunctionResponse. + :rtype: bool + """ + return self._long_time + + @long_time.setter + def long_time(self, long_time): + """Sets the long_time of this CreateFunctionResponse. + + 是否允许进行长时间超时设置。 + + :param long_time: The long_time of this CreateFunctionResponse. + :type long_time: bool + """ + self._long_time = long_time + + @property + def log_group_id(self): + """Gets the log_group_id of this CreateFunctionResponse. + + 自定义日志查询组id + + :return: The log_group_id of this CreateFunctionResponse. + :rtype: str + """ + return self._log_group_id + + @log_group_id.setter + def log_group_id(self, log_group_id): + """Sets the log_group_id of this CreateFunctionResponse. + + 自定义日志查询组id + + :param log_group_id: The log_group_id of this CreateFunctionResponse. + :type log_group_id: str + """ + self._log_group_id = log_group_id + + @property + def log_stream_id(self): + """Gets the log_stream_id of this CreateFunctionResponse. + + 自定义日志查询流id + + :return: The log_stream_id of this CreateFunctionResponse. + :rtype: str + """ + return self._log_stream_id + + @log_stream_id.setter + def log_stream_id(self, log_stream_id): + """Sets the log_stream_id of this CreateFunctionResponse. + + 自定义日志查询流id + + :param log_stream_id: The log_stream_id of this CreateFunctionResponse. + :type log_stream_id: str + """ + self._log_stream_id = log_stream_id + + @property + def type(self): + """Gets the type of this CreateFunctionResponse. + + v2表示为正式版本,v1为废弃版本。 + + :return: The type of this CreateFunctionResponse. + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this CreateFunctionResponse. + + v2表示为正式版本,v1为废弃版本。 + + :param type: The type of this CreateFunctionResponse. + :type type: str + """ + self._type = type + + @property + def enable_cloud_debug(self): + """Gets the enable_cloud_debug of this CreateFunctionResponse. + + 是否启用cloud debug功能 + + :return: The enable_cloud_debug of this CreateFunctionResponse. + :rtype: str + """ + return self._enable_cloud_debug + + @enable_cloud_debug.setter + def enable_cloud_debug(self, enable_cloud_debug): + """Sets the enable_cloud_debug of this CreateFunctionResponse. + + 是否启用cloud debug功能 + + :param enable_cloud_debug: The enable_cloud_debug of this CreateFunctionResponse. + :type enable_cloud_debug: str + """ + self._enable_cloud_debug = enable_cloud_debug + @property def enable_dynamic_memory(self): """Gets the enable_dynamic_memory of this CreateFunctionResponse. @@ -1179,6 +1503,200 @@ class CreateFunctionResponse(SdkResponse): """ self._custom_image = custom_image + @property + def is_bridge_function(self): + """Gets the is_bridge_function of this CreateFunctionResponse. + + 是否为bridge函数 + + :return: The is_bridge_function of this CreateFunctionResponse. + :rtype: bool + """ + return self._is_bridge_function + + @is_bridge_function.setter + def is_bridge_function(self, is_bridge_function): + """Sets the is_bridge_function of this CreateFunctionResponse. + + 是否为bridge函数 + + :param is_bridge_function: The is_bridge_function of this CreateFunctionResponse. + :type is_bridge_function: bool + """ + self._is_bridge_function = is_bridge_function + + @property + def apig_route_enable(self): + """Gets the apig_route_enable of this CreateFunctionResponse. + + 是否配置下沉apig路由规则。 + + :return: The apig_route_enable of this CreateFunctionResponse. + :rtype: bool + """ + return self._apig_route_enable + + @apig_route_enable.setter + def apig_route_enable(self, apig_route_enable): + """Sets the apig_route_enable of this CreateFunctionResponse. + + 是否配置下沉apig路由规则。 + + :param apig_route_enable: The apig_route_enable of this CreateFunctionResponse. + :type apig_route_enable: bool + """ + self._apig_route_enable = apig_route_enable + + @property + def heartbeat_handler(self): + """Gets the heartbeat_handler of this CreateFunctionResponse. + + 心跳函数函数的入口,规则:xx.xx,必须包含“. ”,只支持JAVA运行时配置。 心跳函数入口需要与函数执行入口在同一文件下。在开启心跳函数配置时,此参数必填。 + + :return: The heartbeat_handler of this CreateFunctionResponse. + :rtype: str + """ + return self._heartbeat_handler + + @heartbeat_handler.setter + def heartbeat_handler(self, heartbeat_handler): + """Sets the heartbeat_handler of this CreateFunctionResponse. + + 心跳函数函数的入口,规则:xx.xx,必须包含“. ”,只支持JAVA运行时配置。 心跳函数入口需要与函数执行入口在同一文件下。在开启心跳函数配置时,此参数必填。 + + :param heartbeat_handler: The heartbeat_handler of this CreateFunctionResponse. + :type heartbeat_handler: str + """ + self._heartbeat_handler = heartbeat_handler + + @property + def enable_class_isolation(self): + """Gets the enable_class_isolation of this CreateFunctionResponse. + + 类隔离开关,只支持JAVA运行时配置。开启类隔离后可以支持Kafka转储并提升类加载效率,但也可能会导致某些兼容性问题,请谨慎开启。 + + :return: The enable_class_isolation of this CreateFunctionResponse. + :rtype: bool + """ + return self._enable_class_isolation + + @enable_class_isolation.setter + def enable_class_isolation(self, enable_class_isolation): + """Sets the enable_class_isolation of this CreateFunctionResponse. + + 类隔离开关,只支持JAVA运行时配置。开启类隔离后可以支持Kafka转储并提升类加载效率,但也可能会导致某些兼容性问题,请谨慎开启。 + + :param enable_class_isolation: The enable_class_isolation of this CreateFunctionResponse. + :type enable_class_isolation: bool + """ + self._enable_class_isolation = enable_class_isolation + + @property + def gpu_type(self): + """Gets the gpu_type of this CreateFunctionResponse. + + 显卡类型。 + + :return: The gpu_type of this CreateFunctionResponse. + :rtype: str + """ + return self._gpu_type + + @gpu_type.setter + def gpu_type(self, gpu_type): + """Sets the gpu_type of this CreateFunctionResponse. + + 显卡类型。 + + :param gpu_type: The gpu_type of this CreateFunctionResponse. + :type gpu_type: str + """ + self._gpu_type = gpu_type + + @property + def allow_ephemeral_storage(self): + """Gets the allow_ephemeral_storage of this CreateFunctionResponse. + + 是否支持配置临时存储。 + + :return: The allow_ephemeral_storage of this CreateFunctionResponse. + :rtype: bool + """ + return self._allow_ephemeral_storage + + @allow_ephemeral_storage.setter + def allow_ephemeral_storage(self, allow_ephemeral_storage): + """Sets the allow_ephemeral_storage of this CreateFunctionResponse. + + 是否支持配置临时存储。 + + :param allow_ephemeral_storage: The allow_ephemeral_storage of this CreateFunctionResponse. + :type allow_ephemeral_storage: bool + """ + self._allow_ephemeral_storage = allow_ephemeral_storage + + @property + def ephemeral_storage(self): + """Gets the ephemeral_storage of this CreateFunctionResponse. + + 临时存储大小。默认情况下会为函数的/tmp目录分配512MB的空间。您可以通过临时存储设置将函数的/tmp目录大小调整为10G。 + + :return: The ephemeral_storage of this CreateFunctionResponse. + :rtype: int + """ + return self._ephemeral_storage + + @ephemeral_storage.setter + def ephemeral_storage(self, ephemeral_storage): + """Sets the ephemeral_storage of this CreateFunctionResponse. + + 临时存储大小。默认情况下会为函数的/tmp目录分配512MB的空间。您可以通过临时存储设置将函数的/tmp目录大小调整为10G。 + + :param ephemeral_storage: The ephemeral_storage of this CreateFunctionResponse. + :type ephemeral_storage: int + """ + self._ephemeral_storage = ephemeral_storage + + @property + def network_controller(self): + """Gets the network_controller of this CreateFunctionResponse. + + :return: The network_controller of this CreateFunctionResponse. + :rtype: :class:`huaweicloudsdkfunctiongraph.v2.NetworkControlConfig` + """ + return self._network_controller + + @network_controller.setter + def network_controller(self, network_controller): + """Sets the network_controller of this CreateFunctionResponse. + + :param network_controller: The network_controller of this CreateFunctionResponse. + :type network_controller: :class:`huaweicloudsdkfunctiongraph.v2.NetworkControlConfig` + """ + self._network_controller = network_controller + + @property + def resource_id(self): + """Gets the resource_id of this CreateFunctionResponse. + + 资源id。 + + :return: The resource_id of this CreateFunctionResponse. + :rtype: str + """ + return self._resource_id + + @resource_id.setter + def resource_id(self, resource_id): + """Sets the resource_id of this CreateFunctionResponse. + + 资源id。 + + :param resource_id: The resource_id of this CreateFunctionResponse. + :type resource_id: str + """ + self._resource_id = resource_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_trigger_request_body.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_trigger_request_body.py index babb6b87c..ae8c8e4d3 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_trigger_request_body.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_trigger_request_body.py @@ -20,7 +20,7 @@ class CreateFunctionTriggerRequestBody: 'trigger_type_code': 'str', 'trigger_status': 'str', 'event_type_code': 'str', - 'event_data': 'object' + 'event_data': 'TriggerEventDataRequestBody' } attribute_map = { @@ -41,8 +41,8 @@ class CreateFunctionTriggerRequestBody: :type trigger_status: str :param event_type_code: 消息代码。 :type event_type_code: str - :param event_data: 事件结构体。 - :type event_data: object + :param event_data: + :type event_data: :class:`huaweicloudsdkfunctiongraph.v2.TriggerEventDataRequestBody` """ @@ -130,10 +130,8 @@ class CreateFunctionTriggerRequestBody: def event_data(self): """Gets the event_data of this CreateFunctionTriggerRequestBody. - 事件结构体。 - :return: The event_data of this CreateFunctionTriggerRequestBody. - :rtype: object + :rtype: :class:`huaweicloudsdkfunctiongraph.v2.TriggerEventDataRequestBody` """ return self._event_data @@ -141,10 +139,8 @@ class CreateFunctionTriggerRequestBody: def event_data(self, event_data): """Sets the event_data of this CreateFunctionTriggerRequestBody. - 事件结构体。 - :param event_data: The event_data of this CreateFunctionTriggerRequestBody. - :type event_data: object + :type event_data: :class:`huaweicloudsdkfunctiongraph.v2.TriggerEventDataRequestBody` """ self._event_data = event_data diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_trigger_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_trigger_response.py index 7c0569184..886548e2a 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_trigger_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_trigger_response.py @@ -21,7 +21,7 @@ class CreateFunctionTriggerResponse(SdkResponse): 'trigger_id': 'str', 'trigger_type_code': 'str', 'trigger_status': 'str', - 'event_data': 'object', + 'event_data': 'TriggerEventDataRequestBody', 'last_updated_time': 'datetime', 'created_time': 'datetime' } @@ -46,8 +46,8 @@ class CreateFunctionTriggerResponse(SdkResponse): :type trigger_type_code: str :param trigger_status: \"触发器状态\" - ACTIVE: 启用状态。 - DISABLED: 禁用状态。 :type trigger_status: str - :param event_data: 触发器源事件。 - :type event_data: object + :param event_data: + :type event_data: :class:`huaweicloudsdkfunctiongraph.v2.TriggerEventDataRequestBody` :param last_updated_time: 最后更新时间。 :type last_updated_time: datetime :param created_time: 触发器创建时间。 @@ -147,10 +147,8 @@ class CreateFunctionTriggerResponse(SdkResponse): def event_data(self): """Gets the event_data of this CreateFunctionTriggerResponse. - 触发器源事件。 - :return: The event_data of this CreateFunctionTriggerResponse. - :rtype: object + :rtype: :class:`huaweicloudsdkfunctiongraph.v2.TriggerEventDataRequestBody` """ return self._event_data @@ -158,10 +156,8 @@ class CreateFunctionTriggerResponse(SdkResponse): def event_data(self, event_data): """Sets the event_data of this CreateFunctionTriggerResponse. - 触发器源事件。 - :param event_data: The event_data of this CreateFunctionTriggerResponse. - :type event_data: object + :type event_data: :class:`huaweicloudsdkfunctiongraph.v2.TriggerEventDataRequestBody` """ self._event_data = event_data diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_version_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_version_response.py index 80b0435ff..22c37b468 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_version_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_function_version_response.py @@ -120,9 +120,9 @@ class CreateFunctionVersionResponse(SdkResponse): :type project_name: str :param package: 函数所属的分组Package,用于用户针对函数的自定义分组。 :type package: str - :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :type runtime: str - :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :type timeout: int :param handler: 函数执行入口 规则:xx.xx,必须包含“. ” 举例:对于node.js函数:myfunction.handler,则表示函数的文件名为myfunction.js,执行的入口函数名为handler。 :type handler: str @@ -130,7 +130,7 @@ class CreateFunctionVersionResponse(SdkResponse): :type memory_size: int :param cpu: 函数占用的cpu资源。 单位为millicore(1 core=1000 millicores)。 取值与MemorySize成比例,默认是128M内存占0.1个核(100 millicores)。 :type cpu: int - :param code_type: 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + :param code_type: 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :type code_type: str :param code_url: 当CodeType为obs时,该值为函数代码包在OBS上的地址,CodeType为其他值时,该字段为空。 :type code_url: str @@ -148,9 +148,9 @@ class CreateFunctionVersionResponse(SdkResponse): :type version: str :param image_name: 函数版本的内部标识。 :type image_name: str - :param xrole: 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + :param xrole: 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :type xrole: str - :param app_xrole: 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + :param app_xrole: 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :type app_xrole: str :param description: 函数描述。 :type description: str @@ -166,9 +166,9 @@ class CreateFunctionVersionResponse(SdkResponse): :type strategy_config: :class:`huaweicloudsdkfunctiongraph.v2.StrategyConfig` :param dependencies: 函数依赖代码包列表。 :type dependencies: list[:class:`huaweicloudsdkfunctiongraph.v2.Dependency`] - :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :type initializer_handler: str - :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :type initializer_timeout: int :param pre_stop_handler: 函数预停止函数的入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.pre_stop_handler,则表示函数的文件名为myfunction.js,初始化的入口函数名为pre_stop_handler。 :type pre_stop_handler: str @@ -182,7 +182,7 @@ class CreateFunctionVersionResponse(SdkResponse): :type log_group_id: str :param log_stream_id: 自定义日志查询流id :type log_stream_id: str - :param type: v2表示为公测版本,v1为原来版本。 + :param type: v2表示为正式版本,v1为废弃版本。 :type type: str :param enable_dynamic_memory: 是否允许动态内存配置 :type enable_dynamic_memory: bool @@ -451,7 +451,7 @@ class CreateFunctionVersionResponse(SdkResponse): def runtime(self): """Gets the runtime of this CreateFunctionVersionResponse. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :return: The runtime of this CreateFunctionVersionResponse. :rtype: str @@ -462,7 +462,7 @@ class CreateFunctionVersionResponse(SdkResponse): def runtime(self, runtime): """Sets the runtime of this CreateFunctionVersionResponse. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :param runtime: The runtime of this CreateFunctionVersionResponse. :type runtime: str @@ -473,7 +473,7 @@ class CreateFunctionVersionResponse(SdkResponse): def timeout(self): """Gets the timeout of this CreateFunctionVersionResponse. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :return: The timeout of this CreateFunctionVersionResponse. :rtype: int @@ -484,7 +484,7 @@ class CreateFunctionVersionResponse(SdkResponse): def timeout(self, timeout): """Sets the timeout of this CreateFunctionVersionResponse. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :param timeout: The timeout of this CreateFunctionVersionResponse. :type timeout: int @@ -561,7 +561,7 @@ class CreateFunctionVersionResponse(SdkResponse): def code_type(self): """Gets the code_type of this CreateFunctionVersionResponse. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :return: The code_type of this CreateFunctionVersionResponse. :rtype: str @@ -572,7 +572,7 @@ class CreateFunctionVersionResponse(SdkResponse): def code_type(self, code_type): """Sets the code_type of this CreateFunctionVersionResponse. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :param code_type: The code_type of this CreateFunctionVersionResponse. :type code_type: str @@ -759,7 +759,7 @@ class CreateFunctionVersionResponse(SdkResponse): def xrole(self): """Gets the xrole of this CreateFunctionVersionResponse. - 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :return: The xrole of this CreateFunctionVersionResponse. :rtype: str @@ -770,7 +770,7 @@ class CreateFunctionVersionResponse(SdkResponse): def xrole(self, xrole): """Sets the xrole of this CreateFunctionVersionResponse. - 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :param xrole: The xrole of this CreateFunctionVersionResponse. :type xrole: str @@ -781,7 +781,7 @@ class CreateFunctionVersionResponse(SdkResponse): def app_xrole(self): """Gets the app_xrole of this CreateFunctionVersionResponse. - 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :return: The app_xrole of this CreateFunctionVersionResponse. :rtype: str @@ -792,7 +792,7 @@ class CreateFunctionVersionResponse(SdkResponse): def app_xrole(self, app_xrole): """Sets the app_xrole of this CreateFunctionVersionResponse. - 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :param app_xrole: The app_xrole of this CreateFunctionVersionResponse. :type app_xrole: str @@ -945,7 +945,7 @@ class CreateFunctionVersionResponse(SdkResponse): def initializer_handler(self): """Gets the initializer_handler of this CreateFunctionVersionResponse. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :return: The initializer_handler of this CreateFunctionVersionResponse. :rtype: str @@ -956,7 +956,7 @@ class CreateFunctionVersionResponse(SdkResponse): def initializer_handler(self, initializer_handler): """Sets the initializer_handler of this CreateFunctionVersionResponse. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :param initializer_handler: The initializer_handler of this CreateFunctionVersionResponse. :type initializer_handler: str @@ -967,7 +967,7 @@ class CreateFunctionVersionResponse(SdkResponse): def initializer_timeout(self): """Gets the initializer_timeout of this CreateFunctionVersionResponse. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :return: The initializer_timeout of this CreateFunctionVersionResponse. :rtype: int @@ -978,7 +978,7 @@ class CreateFunctionVersionResponse(SdkResponse): def initializer_timeout(self, initializer_timeout): """Sets the initializer_timeout of this CreateFunctionVersionResponse. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :param initializer_timeout: The initializer_timeout of this CreateFunctionVersionResponse. :type initializer_timeout: int @@ -1121,7 +1121,7 @@ class CreateFunctionVersionResponse(SdkResponse): def type(self): """Gets the type of this CreateFunctionVersionResponse. - v2表示为公测版本,v1为原来版本。 + v2表示为正式版本,v1为废弃版本。 :return: The type of this CreateFunctionVersionResponse. :rtype: str @@ -1132,7 +1132,7 @@ class CreateFunctionVersionResponse(SdkResponse): def type(self, type): """Sets the type of this CreateFunctionVersionResponse. - v2表示为公测版本,v1为原来版本。 + v2表示为正式版本,v1为废弃版本。 :param type: The type of this CreateFunctionVersionResponse. :type type: str diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_version_alias_request_body.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_version_alias_request_body.py index b23566557..5d038fef9 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_version_alias_request_body.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_version_alias_request_body.py @@ -20,17 +20,19 @@ class CreateVersionAliasRequestBody: 'name': 'str', 'version': 'str', 'description': 'str', - 'additional_version_weights': 'dict(str, int)' + 'additional_version_weights': 'dict(str, int)', + 'additional_version_strategy': 'dict(str, VersionStrategy)' } attribute_map = { 'name': 'name', 'version': 'version', 'description': 'description', - 'additional_version_weights': 'additional_version_weights' + 'additional_version_weights': 'additional_version_weights', + 'additional_version_strategy': 'additional_version_strategy' } - def __init__(self, name=None, version=None, description=None, additional_version_weights=None): + def __init__(self, name=None, version=None, description=None, additional_version_weights=None, additional_version_strategy=None): """CreateVersionAliasRequestBody The model defined in huaweicloud sdk @@ -41,8 +43,10 @@ class CreateVersionAliasRequestBody: :type version: str :param description: 别名描述信息。 :type description: str - :param additional_version_weights: 灰度版本信息 + :param additional_version_weights: 百分比灰度配置信息 :type additional_version_weights: dict(str, int) + :param additional_version_strategy: 指定规则灰度策略信息 + :type additional_version_strategy: dict(str, VersionStrategy) """ @@ -51,6 +55,7 @@ class CreateVersionAliasRequestBody: self._version = None self._description = None self._additional_version_weights = None + self._additional_version_strategy = None self.discriminator = None self.name = name @@ -59,6 +64,8 @@ class CreateVersionAliasRequestBody: self.description = description if additional_version_weights is not None: self.additional_version_weights = additional_version_weights + if additional_version_strategy is not None: + self.additional_version_strategy = additional_version_strategy @property def name(self): @@ -130,7 +137,7 @@ class CreateVersionAliasRequestBody: def additional_version_weights(self): """Gets the additional_version_weights of this CreateVersionAliasRequestBody. - 灰度版本信息 + 百分比灰度配置信息 :return: The additional_version_weights of this CreateVersionAliasRequestBody. :rtype: dict(str, int) @@ -141,13 +148,35 @@ class CreateVersionAliasRequestBody: def additional_version_weights(self, additional_version_weights): """Sets the additional_version_weights of this CreateVersionAliasRequestBody. - 灰度版本信息 + 百分比灰度配置信息 :param additional_version_weights: The additional_version_weights of this CreateVersionAliasRequestBody. :type additional_version_weights: dict(str, int) """ self._additional_version_weights = additional_version_weights + @property + def additional_version_strategy(self): + """Gets the additional_version_strategy of this CreateVersionAliasRequestBody. + + 指定规则灰度策略信息 + + :return: The additional_version_strategy of this CreateVersionAliasRequestBody. + :rtype: dict(str, VersionStrategy) + """ + return self._additional_version_strategy + + @additional_version_strategy.setter + def additional_version_strategy(self, additional_version_strategy): + """Sets the additional_version_strategy of this CreateVersionAliasRequestBody. + + 指定规则灰度策略信息 + + :param additional_version_strategy: The additional_version_strategy of this CreateVersionAliasRequestBody. + :type additional_version_strategy: dict(str, VersionStrategy) + """ + self._additional_version_strategy = additional_version_strategy + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_version_alias_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_version_alias_response.py index 2cb2981cd..9b2c3ea97 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_version_alias_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/create_version_alias_response.py @@ -23,7 +23,8 @@ class CreateVersionAliasResponse(SdkResponse): 'description': 'str', 'last_modified': 'datetime', 'alias_urn': 'str', - 'additional_version_weights': 'dict(str, int)' + 'additional_version_weights': 'dict(str, int)', + 'additional_version_strategy': 'dict(str, VersionStrategy)' } attribute_map = { @@ -32,10 +33,11 @@ class CreateVersionAliasResponse(SdkResponse): 'description': 'description', 'last_modified': 'last_modified', 'alias_urn': 'alias_urn', - 'additional_version_weights': 'additional_version_weights' + 'additional_version_weights': 'additional_version_weights', + 'additional_version_strategy': 'additional_version_strategy' } - def __init__(self, name=None, version=None, description=None, last_modified=None, alias_urn=None, additional_version_weights=None): + def __init__(self, name=None, version=None, description=None, last_modified=None, alias_urn=None, additional_version_weights=None, additional_version_strategy=None): """CreateVersionAliasResponse The model defined in huaweicloud sdk @@ -50,8 +52,10 @@ class CreateVersionAliasResponse(SdkResponse): :type last_modified: datetime :param alias_urn: 版本别名唯一标识。 :type alias_urn: str - :param additional_version_weights: 灰度版本信息 + :param additional_version_weights: 百分比灰度配置信息 :type additional_version_weights: dict(str, int) + :param additional_version_strategy: 指定规则灰度策略信息 + :type additional_version_strategy: dict(str, VersionStrategy) """ super(CreateVersionAliasResponse, self).__init__() @@ -62,6 +66,7 @@ class CreateVersionAliasResponse(SdkResponse): self._last_modified = None self._alias_urn = None self._additional_version_weights = None + self._additional_version_strategy = None self.discriminator = None if name is not None: @@ -76,6 +81,8 @@ class CreateVersionAliasResponse(SdkResponse): self.alias_urn = alias_urn if additional_version_weights is not None: self.additional_version_weights = additional_version_weights + if additional_version_strategy is not None: + self.additional_version_strategy = additional_version_strategy @property def name(self): @@ -191,7 +198,7 @@ class CreateVersionAliasResponse(SdkResponse): def additional_version_weights(self): """Gets the additional_version_weights of this CreateVersionAliasResponse. - 灰度版本信息 + 百分比灰度配置信息 :return: The additional_version_weights of this CreateVersionAliasResponse. :rtype: dict(str, int) @@ -202,13 +209,35 @@ class CreateVersionAliasResponse(SdkResponse): def additional_version_weights(self, additional_version_weights): """Sets the additional_version_weights of this CreateVersionAliasResponse. - 灰度版本信息 + 百分比灰度配置信息 :param additional_version_weights: The additional_version_weights of this CreateVersionAliasResponse. :type additional_version_weights: dict(str, int) """ self._additional_version_weights = additional_version_weights + @property + def additional_version_strategy(self): + """Gets the additional_version_strategy of this CreateVersionAliasResponse. + + 指定规则灰度策略信息 + + :return: The additional_version_strategy of this CreateVersionAliasResponse. + :rtype: dict(str, VersionStrategy) + """ + return self._additional_version_strategy + + @additional_version_strategy.setter + def additional_version_strategy(self, additional_version_strategy): + """Sets the additional_version_strategy of this CreateVersionAliasResponse. + + 指定规则灰度策略信息 + + :param additional_version_strategy: The additional_version_strategy of this CreateVersionAliasResponse. + :type additional_version_strategy: dict(str, VersionStrategy) + """ + self._additional_version_strategy = additional_version_strategy + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/dependency.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/dependency.py index 2917360dc..29a318b7b 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/dependency.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/dependency.py @@ -17,6 +17,7 @@ class Dependency: sensitive_list = [] openapi_types = { + 'id': 'str', 'owner': 'str', 'link': 'str', 'runtime': 'str', @@ -24,10 +25,14 @@ class Dependency: 'size': 'int', 'name': 'str', 'description': 'str', - 'file_name': 'str' + 'file_name': 'str', + 'version': 'int', + 'dep_id': 'str', + 'last_modified': 'datetime' } attribute_map = { + 'id': 'id', 'owner': 'owner', 'link': 'link', 'runtime': 'runtime', @@ -35,19 +40,24 @@ class Dependency: 'size': 'size', 'name': 'name', 'description': 'description', - 'file_name': 'file_name' + 'file_name': 'file_name', + 'version': 'version', + 'dep_id': 'dep_id', + 'last_modified': 'last_modified' } - def __init__(self, owner=None, link=None, runtime=None, etag=None, size=None, name=None, description=None, file_name=None): + def __init__(self, id=None, owner=None, link=None, runtime=None, etag=None, size=None, name=None, description=None, file_name=None, version=None, dep_id=None, last_modified=None): """Dependency The model defined in huaweicloud sdk + :param id: 依赖包版本ID。 + :type id: str :param owner: 依赖包属主的domainId。 :type owner: str :param link: 依赖包在OBS上的链接。 :type link: str - :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :type runtime: str :param etag: 依赖包的md5值 :type etag: str @@ -59,10 +69,17 @@ class Dependency: :type description: str :param file_name: 依赖包文件名,如果创建方式为zip时。 :type file_name: str + :param version: 依赖包版本编号。 + :type version: int + :param dep_id: 依赖包ID + :type dep_id: str + :param last_modified: 函数最后一次更新时间。 + :type last_modified: datetime """ + self._id = None self._owner = None self._link = None self._runtime = None @@ -71,8 +88,13 @@ class Dependency: self._name = None self._description = None self._file_name = None + self._version = None + self._dep_id = None + self._last_modified = None self.discriminator = None + if id is not None: + self.id = id self.owner = owner self.link = link self.runtime = runtime @@ -82,6 +104,34 @@ class Dependency: self.description = description if file_name is not None: self.file_name = file_name + if version is not None: + self.version = version + if dep_id is not None: + self.dep_id = dep_id + if last_modified is not None: + self.last_modified = last_modified + + @property + def id(self): + """Gets the id of this Dependency. + + 依赖包版本ID。 + + :return: The id of this Dependency. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Dependency. + + 依赖包版本ID。 + + :param id: The id of this Dependency. + :type id: str + """ + self._id = id @property def owner(self): @@ -131,7 +181,7 @@ class Dependency: def runtime(self): """Gets the runtime of this Dependency. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :return: The runtime of this Dependency. :rtype: str @@ -142,7 +192,7 @@ class Dependency: def runtime(self, runtime): """Sets the runtime of this Dependency. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :param runtime: The runtime of this Dependency. :type runtime: str @@ -259,6 +309,72 @@ class Dependency: """ self._file_name = file_name + @property + def version(self): + """Gets the version of this Dependency. + + 依赖包版本编号。 + + :return: The version of this Dependency. + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this Dependency. + + 依赖包版本编号。 + + :param version: The version of this Dependency. + :type version: int + """ + self._version = version + + @property + def dep_id(self): + """Gets the dep_id of this Dependency. + + 依赖包ID + + :return: The dep_id of this Dependency. + :rtype: str + """ + return self._dep_id + + @dep_id.setter + def dep_id(self, dep_id): + """Sets the dep_id of this Dependency. + + 依赖包ID + + :param dep_id: The dep_id of this Dependency. + :type dep_id: str + """ + self._dep_id = dep_id + + @property + def last_modified(self): + """Gets the last_modified of this Dependency. + + 函数最后一次更新时间。 + + :return: The last_modified of this Dependency. + :rtype: datetime + """ + return self._last_modified + + @last_modified.setter + def last_modified(self, last_modified): + """Sets the last_modified of this Dependency. + + 函数最后一次更新时间。 + + :param last_modified: The last_modified of this Dependency. + :type last_modified: datetime + """ + self._last_modified = last_modified + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/func_vpc.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/func_vpc.py index 36a0ade92..8da52a643 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/func_vpc.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/func_vpc.py @@ -17,6 +17,8 @@ class FuncVpc: sensitive_list = [] openapi_types = { + 'domain_id': 'str', + 'namespace': 'str', 'vpc_name': 'str', 'vpc_id': 'str', 'subnet_name': 'str', @@ -27,6 +29,8 @@ class FuncVpc: } attribute_map = { + 'domain_id': 'domain_id', + 'namespace': 'namespace', 'vpc_name': 'vpc_name', 'vpc_id': 'vpc_id', 'subnet_name': 'subnet_name', @@ -36,11 +40,15 @@ class FuncVpc: 'security_groups': 'security_groups' } - def __init__(self, vpc_name=None, vpc_id=None, subnet_name=None, subnet_id=None, cidr=None, gateway=None, security_groups=None): + def __init__(self, domain_id=None, namespace=None, vpc_name=None, vpc_id=None, subnet_name=None, subnet_id=None, cidr=None, gateway=None, security_groups=None): """FuncVpc The model defined in huaweicloud sdk + :param domain_id: 域名id。 + :type domain_id: str + :param namespace: 租户的project id。 + :type namespace: str :param vpc_name: 虚拟私有云名称。 :type vpc_name: str :param vpc_id: 虚拟私有云唯一标识。 @@ -59,6 +67,8 @@ class FuncVpc: + self._domain_id = None + self._namespace = None self._vpc_name = None self._vpc_id = None self._subnet_name = None @@ -68,6 +78,10 @@ class FuncVpc: self._security_groups = None self.discriminator = None + if domain_id is not None: + self.domain_id = domain_id + if namespace is not None: + self.namespace = namespace if vpc_name is not None: self.vpc_name = vpc_name self.vpc_id = vpc_id @@ -81,6 +95,50 @@ class FuncVpc: if security_groups is not None: self.security_groups = security_groups + @property + def domain_id(self): + """Gets the domain_id of this FuncVpc. + + 域名id。 + + :return: The domain_id of this FuncVpc. + :rtype: str + """ + return self._domain_id + + @domain_id.setter + def domain_id(self, domain_id): + """Sets the domain_id of this FuncVpc. + + 域名id。 + + :param domain_id: The domain_id of this FuncVpc. + :type domain_id: str + """ + self._domain_id = domain_id + + @property + def namespace(self): + """Gets the namespace of this FuncVpc. + + 租户的project id。 + + :return: The namespace of this FuncVpc. + :rtype: str + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """Sets the namespace of this FuncVpc. + + 租户的project id。 + + :param namespace: The namespace of this FuncVpc. + :type namespace: str + """ + self._namespace = namespace + @property def vpc_name(self): """Gets the vpc_name of this FuncVpc. diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/import_function_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/import_function_response.py index 073fa50cf..04e2af299 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/import_function_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/import_function_response.py @@ -110,9 +110,9 @@ class ImportFunctionResponse(SdkResponse): :type project_name: str :param package: 函数所属的分组Package,用于用户针对函数的自定义分组。 :type package: str - :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :type runtime: str - :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :type timeout: int :param handler: 函数执行入口 规则:xx.xx,必须包含“. ” 举例:对于node.js函数:myfunction.handler,则表示函数的文件名为myfunction.js,执行的入口函数名为handler。 :type handler: str @@ -122,7 +122,7 @@ class ImportFunctionResponse(SdkResponse): :type gpu_memory: int :param cpu: 函数占用的cpu资源。 单位为millicore(1 core=1000 millicores)。 取值与MemorySize成比例,默认是128M内存占0.1个核(100 millicores)。 :type cpu: int - :param code_type: 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + :param code_type: 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :type code_type: str :param code_url: 当CodeType为obs时,该值为函数代码包在OBS上的地址,CodeType为其他值时,该字段为空。 :type code_url: str @@ -158,9 +158,9 @@ class ImportFunctionResponse(SdkResponse): :type strategy_config: :class:`huaweicloudsdkfunctiongraph.v2.StrategyConfig` :param extend_config: 函数扩展配置。 :type extend_config: str - :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :type initializer_handler: str - :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :type initializer_timeout: int :param pre_stop_handler: 函数预停止函数的入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.pre_stop_handler,则表示函数的文件名为myfunction.js,初始化的入口函数名为pre_stop_handler。 :type pre_stop_handler: str @@ -416,7 +416,7 @@ class ImportFunctionResponse(SdkResponse): def runtime(self): """Gets the runtime of this ImportFunctionResponse. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :return: The runtime of this ImportFunctionResponse. :rtype: str @@ -427,7 +427,7 @@ class ImportFunctionResponse(SdkResponse): def runtime(self, runtime): """Sets the runtime of this ImportFunctionResponse. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :param runtime: The runtime of this ImportFunctionResponse. :type runtime: str @@ -438,7 +438,7 @@ class ImportFunctionResponse(SdkResponse): def timeout(self): """Gets the timeout of this ImportFunctionResponse. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :return: The timeout of this ImportFunctionResponse. :rtype: int @@ -449,7 +449,7 @@ class ImportFunctionResponse(SdkResponse): def timeout(self, timeout): """Sets the timeout of this ImportFunctionResponse. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :param timeout: The timeout of this ImportFunctionResponse. :type timeout: int @@ -548,7 +548,7 @@ class ImportFunctionResponse(SdkResponse): def code_type(self): """Gets the code_type of this ImportFunctionResponse. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :return: The code_type of this ImportFunctionResponse. :rtype: str @@ -559,7 +559,7 @@ class ImportFunctionResponse(SdkResponse): def code_type(self, code_type): """Sets the code_type of this ImportFunctionResponse. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :param code_type: The code_type of this ImportFunctionResponse. :type code_type: str @@ -936,7 +936,7 @@ class ImportFunctionResponse(SdkResponse): def initializer_handler(self): """Gets the initializer_handler of this ImportFunctionResponse. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :return: The initializer_handler of this ImportFunctionResponse. :rtype: str @@ -947,7 +947,7 @@ class ImportFunctionResponse(SdkResponse): def initializer_handler(self, initializer_handler): """Sets the initializer_handler of this ImportFunctionResponse. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :param initializer_handler: The initializer_handler of this ImportFunctionResponse. :type initializer_handler: str @@ -958,7 +958,7 @@ class ImportFunctionResponse(SdkResponse): def initializer_timeout(self): """Gets the initializer_timeout of this ImportFunctionResponse. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :return: The initializer_timeout of this ImportFunctionResponse. :rtype: int @@ -969,7 +969,7 @@ class ImportFunctionResponse(SdkResponse): def initializer_timeout(self, initializer_timeout): """Sets the initializer_timeout of this ImportFunctionResponse. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :param initializer_timeout: The initializer_timeout of this ImportFunctionResponse. :type initializer_timeout: int diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_dependencies_result.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_dependencies_result.py index f52ef9e3e..b1a914510 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_dependencies_result.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_dependencies_result.py @@ -55,7 +55,7 @@ class ListDependenciesResult: :type owner: str :param link: 依赖包在obs的存储地址 :type link: str - :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :type runtime: str :param etag: 依赖包唯一标志 :type etag: str @@ -174,7 +174,7 @@ class ListDependenciesResult: def runtime(self): """Gets the runtime of this ListDependenciesResult. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :return: The runtime of this ListDependenciesResult. :rtype: str @@ -185,7 +185,7 @@ class ListDependenciesResult: def runtime(self, runtime): """Sets the runtime of this ListDependenciesResult. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :param runtime: The runtime of this ListDependenciesResult. :type runtime: str diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_dependency_version_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_dependency_version_response.py index 6e1f9787b..15b02b901 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_dependency_version_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_dependency_version_response.py @@ -18,7 +18,7 @@ class ListDependencyVersionResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'dependencies': 'list[ListDependenciesResult]', + 'dependencies': 'list[ListDependencyVersionsResult]', 'next_marker': 'int', 'count': 'int' } @@ -35,7 +35,7 @@ class ListDependencyVersionResponse(SdkResponse): The model defined in huaweicloud sdk :param dependencies: 依赖包列表 - :type dependencies: list[:class:`huaweicloudsdkfunctiongraph.v2.ListDependenciesResult`] + :type dependencies: list[:class:`huaweicloudsdkfunctiongraph.v2.ListDependencyVersionsResult`] :param next_marker: 下次读取位置 :type next_marker: int :param count: 依赖包总数 @@ -63,7 +63,7 @@ class ListDependencyVersionResponse(SdkResponse): 依赖包列表 :return: The dependencies of this ListDependencyVersionResponse. - :rtype: list[:class:`huaweicloudsdkfunctiongraph.v2.ListDependenciesResult`] + :rtype: list[:class:`huaweicloudsdkfunctiongraph.v2.ListDependencyVersionsResult`] """ return self._dependencies @@ -74,7 +74,7 @@ class ListDependencyVersionResponse(SdkResponse): 依赖包列表 :param dependencies: The dependencies of this ListDependencyVersionResponse. - :type dependencies: list[:class:`huaweicloudsdkfunctiongraph.v2.ListDependenciesResult`] + :type dependencies: list[:class:`huaweicloudsdkfunctiongraph.v2.ListDependencyVersionsResult`] """ self._dependencies = dependencies diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_dependency_versions_result.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_dependency_versions_result.py new file mode 100644 index 000000000..169575cba --- /dev/null +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_dependency_versions_result.py @@ -0,0 +1,427 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListDependencyVersionsResult: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'id': 'str', + 'owner': 'str', + 'link': 'str', + 'runtime': 'str', + 'etag': 'str', + 'size': 'int', + 'name': 'str', + 'file_name': 'str', + 'description': 'str', + 'version': 'int', + 'last_modified': 'int', + 'dep_id': 'str' + } + + attribute_map = { + 'id': 'id', + 'owner': 'owner', + 'link': 'link', + 'runtime': 'runtime', + 'etag': 'etag', + 'size': 'size', + 'name': 'name', + 'file_name': 'file_name', + 'description': 'description', + 'version': 'version', + 'last_modified': 'last_modified', + 'dep_id': 'dep_id' + } + + def __init__(self, id=None, owner=None, link=None, runtime=None, etag=None, size=None, name=None, file_name=None, description=None, version=None, last_modified=None, dep_id=None): + """ListDependencyVersionsResult + + The model defined in huaweicloud sdk + + :param id: 依赖包版本ID + :type id: str + :param owner: 依赖包拥有者,public标识为公共依赖包 + :type owner: str + :param link: 依赖包在obs的存储地址 + :type link: str + :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 + :type runtime: str + :param etag: 依赖包唯一标志(MD5校验值) + :type etag: str + :param size: 依赖包大小 + :type size: int + :param name: 依赖包名 + :type name: str + :param file_name: 依赖包文件名 + :type file_name: str + :param description: 依赖包描述。 + :type description: str + :param version: 依赖包版本号 + :type version: int + :param last_modified: 依赖包更新时间 + :type last_modified: int + :param dep_id: 依赖包ID + :type dep_id: str + """ + + + + self._id = None + self._owner = None + self._link = None + self._runtime = None + self._etag = None + self._size = None + self._name = None + self._file_name = None + self._description = None + self._version = None + self._last_modified = None + self._dep_id = None + self.discriminator = None + + self.id = id + self.owner = owner + self.link = link + self.runtime = runtime + self.etag = etag + self.size = size + self.name = name + if file_name is not None: + self.file_name = file_name + if description is not None: + self.description = description + if version is not None: + self.version = version + if last_modified is not None: + self.last_modified = last_modified + if dep_id is not None: + self.dep_id = dep_id + + @property + def id(self): + """Gets the id of this ListDependencyVersionsResult. + + 依赖包版本ID + + :return: The id of this ListDependencyVersionsResult. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this ListDependencyVersionsResult. + + 依赖包版本ID + + :param id: The id of this ListDependencyVersionsResult. + :type id: str + """ + self._id = id + + @property + def owner(self): + """Gets the owner of this ListDependencyVersionsResult. + + 依赖包拥有者,public标识为公共依赖包 + + :return: The owner of this ListDependencyVersionsResult. + :rtype: str + """ + return self._owner + + @owner.setter + def owner(self, owner): + """Sets the owner of this ListDependencyVersionsResult. + + 依赖包拥有者,public标识为公共依赖包 + + :param owner: The owner of this ListDependencyVersionsResult. + :type owner: str + """ + self._owner = owner + + @property + def link(self): + """Gets the link of this ListDependencyVersionsResult. + + 依赖包在obs的存储地址 + + :return: The link of this ListDependencyVersionsResult. + :rtype: str + """ + return self._link + + @link.setter + def link(self, link): + """Sets the link of this ListDependencyVersionsResult. + + 依赖包在obs的存储地址 + + :param link: The link of this ListDependencyVersionsResult. + :type link: str + """ + self._link = link + + @property + def runtime(self): + """Gets the runtime of this ListDependencyVersionsResult. + + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 + + :return: The runtime of this ListDependencyVersionsResult. + :rtype: str + """ + return self._runtime + + @runtime.setter + def runtime(self, runtime): + """Sets the runtime of this ListDependencyVersionsResult. + + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 + + :param runtime: The runtime of this ListDependencyVersionsResult. + :type runtime: str + """ + self._runtime = runtime + + @property + def etag(self): + """Gets the etag of this ListDependencyVersionsResult. + + 依赖包唯一标志(MD5校验值) + + :return: The etag of this ListDependencyVersionsResult. + :rtype: str + """ + return self._etag + + @etag.setter + def etag(self, etag): + """Sets the etag of this ListDependencyVersionsResult. + + 依赖包唯一标志(MD5校验值) + + :param etag: The etag of this ListDependencyVersionsResult. + :type etag: str + """ + self._etag = etag + + @property + def size(self): + """Gets the size of this ListDependencyVersionsResult. + + 依赖包大小 + + :return: The size of this ListDependencyVersionsResult. + :rtype: int + """ + return self._size + + @size.setter + def size(self, size): + """Sets the size of this ListDependencyVersionsResult. + + 依赖包大小 + + :param size: The size of this ListDependencyVersionsResult. + :type size: int + """ + self._size = size + + @property + def name(self): + """Gets the name of this ListDependencyVersionsResult. + + 依赖包名 + + :return: The name of this ListDependencyVersionsResult. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this ListDependencyVersionsResult. + + 依赖包名 + + :param name: The name of this ListDependencyVersionsResult. + :type name: str + """ + self._name = name + + @property + def file_name(self): + """Gets the file_name of this ListDependencyVersionsResult. + + 依赖包文件名 + + :return: The file_name of this ListDependencyVersionsResult. + :rtype: str + """ + return self._file_name + + @file_name.setter + def file_name(self, file_name): + """Sets the file_name of this ListDependencyVersionsResult. + + 依赖包文件名 + + :param file_name: The file_name of this ListDependencyVersionsResult. + :type file_name: str + """ + self._file_name = file_name + + @property + def description(self): + """Gets the description of this ListDependencyVersionsResult. + + 依赖包描述。 + + :return: The description of this ListDependencyVersionsResult. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this ListDependencyVersionsResult. + + 依赖包描述。 + + :param description: The description of this ListDependencyVersionsResult. + :type description: str + """ + self._description = description + + @property + def version(self): + """Gets the version of this ListDependencyVersionsResult. + + 依赖包版本号 + + :return: The version of this ListDependencyVersionsResult. + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this ListDependencyVersionsResult. + + 依赖包版本号 + + :param version: The version of this ListDependencyVersionsResult. + :type version: int + """ + self._version = version + + @property + def last_modified(self): + """Gets the last_modified of this ListDependencyVersionsResult. + + 依赖包更新时间 + + :return: The last_modified of this ListDependencyVersionsResult. + :rtype: int + """ + return self._last_modified + + @last_modified.setter + def last_modified(self, last_modified): + """Sets the last_modified of this ListDependencyVersionsResult. + + 依赖包更新时间 + + :param last_modified: The last_modified of this ListDependencyVersionsResult. + :type last_modified: int + """ + self._last_modified = last_modified + + @property + def dep_id(self): + """Gets the dep_id of this ListDependencyVersionsResult. + + 依赖包ID + + :return: The dep_id of this ListDependencyVersionsResult. + :rtype: str + """ + return self._dep_id + + @dep_id.setter + def dep_id(self, dep_id): + """Sets the dep_id of this ListDependencyVersionsResult. + + 依赖包ID + + :param dep_id: The dep_id of this ListDependencyVersionsResult. + :type dep_id: str + """ + self._dep_id = dep_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListDependencyVersionsResult): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_result.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_result.py index 944793bcf..6521032f9 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_result.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_result.py @@ -123,9 +123,9 @@ class ListFunctionResult: :type project_name: str :param package: 函数所属的分组Package,用于用户针对函数的自定义分组。 :type package: str - :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :type runtime: str - :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :type timeout: int :param handler: 函数执行入口 规则:xx.xx,必须包含“. ” 举例:对于node.js函数:myfunction.handler,则表示函数的文件名为myfunction.js,执行的入口函数名为handler。 :type handler: str @@ -135,7 +135,7 @@ class ListFunctionResult: :type gpu_memory: int :param cpu: 函数占用的cpu资源。 单位为millicore(1 core=1000 millicores)。 取值与MemorySize成比例,默认是128M内存占0.1个核(100 millicores)。 :type cpu: int - :param code_type: 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + :param code_type: 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :type code_type: str :param code_url: 当CodeType为obs时,该值为函数代码包在OBS上的地址,CodeType为其他值时,该字段为空。 :type code_url: str @@ -149,7 +149,7 @@ class ListFunctionResult: :type encrypted_user_data: str :param digest: 函数代码SHA512 hash值,用于判断函数是否变化。 :type digest: str - :param version: 函数版本号,由系统自动生成,规则:vYYYYMMDD-HHMMSS(v+年月日-时分秒)。 + :param version: 函数版本号。 :type version: str :param image_name: 函数版本的内部标识。 :type image_name: str @@ -167,9 +167,9 @@ class ListFunctionResult: :type strategy_config: :class:`huaweicloudsdkfunctiongraph.v2.StrategyConfig` :param extend_config: 函数扩展配置。 :type extend_config: str - :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :type initializer_handler: str - :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :type initializer_timeout: int :param pre_stop_handler: 函数预停止函数的入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.pre_stop_handler,则表示函数的文件名为myfunction.js,初始化的入口函数名为pre_stop_handler。 :type pre_stop_handler: str @@ -183,7 +183,7 @@ class ListFunctionResult: :type log_group_id: str :param log_stream_id: 自定义日志查询流id :type log_stream_id: str - :param type: v2表示为公测版本,v1为原来版本。 + :param type: v2表示为正式版本,v1为废弃版本。 :type type: str :param fail_count: 函数最近1天内执行失败的次数。 :type fail_count: int @@ -462,7 +462,7 @@ class ListFunctionResult: def runtime(self): """Gets the runtime of this ListFunctionResult. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :return: The runtime of this ListFunctionResult. :rtype: str @@ -473,7 +473,7 @@ class ListFunctionResult: def runtime(self, runtime): """Sets the runtime of this ListFunctionResult. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :param runtime: The runtime of this ListFunctionResult. :type runtime: str @@ -484,7 +484,7 @@ class ListFunctionResult: def timeout(self): """Gets the timeout of this ListFunctionResult. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :return: The timeout of this ListFunctionResult. :rtype: int @@ -495,7 +495,7 @@ class ListFunctionResult: def timeout(self, timeout): """Sets the timeout of this ListFunctionResult. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :param timeout: The timeout of this ListFunctionResult. :type timeout: int @@ -594,7 +594,7 @@ class ListFunctionResult: def code_type(self): """Gets the code_type of this ListFunctionResult. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :return: The code_type of this ListFunctionResult. :rtype: str @@ -605,7 +605,7 @@ class ListFunctionResult: def code_type(self, code_type): """Sets the code_type of this ListFunctionResult. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :param code_type: The code_type of this ListFunctionResult. :type code_type: str @@ -748,7 +748,7 @@ class ListFunctionResult: def version(self): """Gets the version of this ListFunctionResult. - 函数版本号,由系统自动生成,规则:vYYYYMMDD-HHMMSS(v+年月日-时分秒)。 + 函数版本号。 :return: The version of this ListFunctionResult. :rtype: str @@ -759,7 +759,7 @@ class ListFunctionResult: def version(self, version): """Sets the version of this ListFunctionResult. - 函数版本号,由系统自动生成,规则:vYYYYMMDD-HHMMSS(v+年月日-时分秒)。 + 函数版本号。 :param version: The version of this ListFunctionResult. :type version: str @@ -942,7 +942,7 @@ class ListFunctionResult: def initializer_handler(self): """Gets the initializer_handler of this ListFunctionResult. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :return: The initializer_handler of this ListFunctionResult. :rtype: str @@ -953,7 +953,7 @@ class ListFunctionResult: def initializer_handler(self, initializer_handler): """Sets the initializer_handler of this ListFunctionResult. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :param initializer_handler: The initializer_handler of this ListFunctionResult. :type initializer_handler: str @@ -964,7 +964,7 @@ class ListFunctionResult: def initializer_timeout(self): """Gets the initializer_timeout of this ListFunctionResult. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :return: The initializer_timeout of this ListFunctionResult. :rtype: int @@ -975,7 +975,7 @@ class ListFunctionResult: def initializer_timeout(self, initializer_timeout): """Sets the initializer_timeout of this ListFunctionResult. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :param initializer_timeout: The initializer_timeout of this ListFunctionResult. :type initializer_timeout: int @@ -1118,7 +1118,7 @@ class ListFunctionResult: def type(self): """Gets the type of this ListFunctionResult. - v2表示为公测版本,v1为原来版本。 + v2表示为正式版本,v1为废弃版本。 :return: The type of this ListFunctionResult. :rtype: str @@ -1129,7 +1129,7 @@ class ListFunctionResult: def type(self, type): """Sets the type of this ListFunctionResult. - v2表示为公测版本,v1为原来版本。 + v2表示为正式版本,v1为废弃版本。 :param type: The type of this ListFunctionResult. :type type: str diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_statistics_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_statistics_response.py index 9d96143cd..73cbb2651 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_statistics_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_statistics_response.py @@ -23,7 +23,11 @@ class ListFunctionStatisticsResponse(SdkResponse): 'fail_count': 'list[SlaReportsValue]', 'max_duration': 'list[SlaReportsValue]', 'min_duration': 'list[SlaReportsValue]', - 'reject_count': 'list[SlaReportsValue]' + 'reject_count': 'list[SlaReportsValue]', + 'function_error_count': 'list[SlaReportsValue]', + 'system_error_count': 'list[SlaReportsValue]', + 'reserved_instance_num': 'list[SlaReportsValue]', + 'concurrency_num': 'list[SlaReportsValue]' } attribute_map = { @@ -32,10 +36,14 @@ class ListFunctionStatisticsResponse(SdkResponse): 'fail_count': 'fail_count', 'max_duration': 'max_duration', 'min_duration': 'min_duration', - 'reject_count': 'reject_count' + 'reject_count': 'reject_count', + 'function_error_count': 'function_error_count', + 'system_error_count': 'system_error_count', + 'reserved_instance_num': 'reserved_instance_num', + 'concurrency_num': 'concurrency_num' } - def __init__(self, count=None, duration=None, fail_count=None, max_duration=None, min_duration=None, reject_count=None): + def __init__(self, count=None, duration=None, fail_count=None, max_duration=None, min_duration=None, reject_count=None, function_error_count=None, system_error_count=None, reserved_instance_num=None, concurrency_num=None): """ListFunctionStatisticsResponse The model defined in huaweicloud sdk @@ -52,6 +60,14 @@ class ListFunctionStatisticsResponse(SdkResponse): :type min_duration: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] :param reject_count: 被拒绝次数 :type reject_count: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + :param function_error_count: 函数错误次数 + :type function_error_count: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + :param system_error_count: 系统错误次数 + :type system_error_count: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + :param reserved_instance_num: 预留实例指标 + :type reserved_instance_num: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + :param concurrency_num: 弹性实例指标 + :type concurrency_num: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] """ super(ListFunctionStatisticsResponse, self).__init__() @@ -62,6 +78,10 @@ class ListFunctionStatisticsResponse(SdkResponse): self._max_duration = None self._min_duration = None self._reject_count = None + self._function_error_count = None + self._system_error_count = None + self._reserved_instance_num = None + self._concurrency_num = None self.discriminator = None if count is not None: @@ -76,6 +96,14 @@ class ListFunctionStatisticsResponse(SdkResponse): self.min_duration = min_duration if reject_count is not None: self.reject_count = reject_count + if function_error_count is not None: + self.function_error_count = function_error_count + if system_error_count is not None: + self.system_error_count = system_error_count + if reserved_instance_num is not None: + self.reserved_instance_num = reserved_instance_num + if concurrency_num is not None: + self.concurrency_num = concurrency_num @property def count(self): @@ -209,6 +237,94 @@ class ListFunctionStatisticsResponse(SdkResponse): """ self._reject_count = reject_count + @property + def function_error_count(self): + """Gets the function_error_count of this ListFunctionStatisticsResponse. + + 函数错误次数 + + :return: The function_error_count of this ListFunctionStatisticsResponse. + :rtype: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + """ + return self._function_error_count + + @function_error_count.setter + def function_error_count(self, function_error_count): + """Sets the function_error_count of this ListFunctionStatisticsResponse. + + 函数错误次数 + + :param function_error_count: The function_error_count of this ListFunctionStatisticsResponse. + :type function_error_count: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + """ + self._function_error_count = function_error_count + + @property + def system_error_count(self): + """Gets the system_error_count of this ListFunctionStatisticsResponse. + + 系统错误次数 + + :return: The system_error_count of this ListFunctionStatisticsResponse. + :rtype: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + """ + return self._system_error_count + + @system_error_count.setter + def system_error_count(self, system_error_count): + """Sets the system_error_count of this ListFunctionStatisticsResponse. + + 系统错误次数 + + :param system_error_count: The system_error_count of this ListFunctionStatisticsResponse. + :type system_error_count: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + """ + self._system_error_count = system_error_count + + @property + def reserved_instance_num(self): + """Gets the reserved_instance_num of this ListFunctionStatisticsResponse. + + 预留实例指标 + + :return: The reserved_instance_num of this ListFunctionStatisticsResponse. + :rtype: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + """ + return self._reserved_instance_num + + @reserved_instance_num.setter + def reserved_instance_num(self, reserved_instance_num): + """Sets the reserved_instance_num of this ListFunctionStatisticsResponse. + + 预留实例指标 + + :param reserved_instance_num: The reserved_instance_num of this ListFunctionStatisticsResponse. + :type reserved_instance_num: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + """ + self._reserved_instance_num = reserved_instance_num + + @property + def concurrency_num(self): + """Gets the concurrency_num of this ListFunctionStatisticsResponse. + + 弹性实例指标 + + :return: The concurrency_num of this ListFunctionStatisticsResponse. + :rtype: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + """ + return self._concurrency_num + + @concurrency_num.setter + def concurrency_num(self, concurrency_num): + """Sets the concurrency_num of this ListFunctionStatisticsResponse. + + 弹性实例指标 + + :param concurrency_num: The concurrency_num of this ListFunctionStatisticsResponse. + :type concurrency_num: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + """ + self._concurrency_num = concurrency_num + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_statistics_response_body.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_statistics_response_body.py index 9af2a8658..f2e829910 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_statistics_response_body.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_statistics_response_body.py @@ -22,7 +22,11 @@ class ListFunctionStatisticsResponseBody: 'fail_count': 'list[SlaReportsValue]', 'max_duration': 'list[SlaReportsValue]', 'min_duration': 'list[SlaReportsValue]', - 'reject_count': 'list[SlaReportsValue]' + 'reject_count': 'list[SlaReportsValue]', + 'function_error_count': 'list[SlaReportsValue]', + 'system_error_count': 'list[SlaReportsValue]', + 'reserved_instance_num': 'list[SlaReportsValue]', + 'concurrency_num': 'list[SlaReportsValue]' } attribute_map = { @@ -31,10 +35,14 @@ class ListFunctionStatisticsResponseBody: 'fail_count': 'fail_count', 'max_duration': 'max_duration', 'min_duration': 'min_duration', - 'reject_count': 'reject_count' + 'reject_count': 'reject_count', + 'function_error_count': 'function_error_count', + 'system_error_count': 'system_error_count', + 'reserved_instance_num': 'reserved_instance_num', + 'concurrency_num': 'concurrency_num' } - def __init__(self, count=None, duration=None, fail_count=None, max_duration=None, min_duration=None, reject_count=None): + def __init__(self, count=None, duration=None, fail_count=None, max_duration=None, min_duration=None, reject_count=None, function_error_count=None, system_error_count=None, reserved_instance_num=None, concurrency_num=None): """ListFunctionStatisticsResponseBody The model defined in huaweicloud sdk @@ -51,6 +59,14 @@ class ListFunctionStatisticsResponseBody: :type min_duration: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] :param reject_count: 被拒绝次数 :type reject_count: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + :param function_error_count: 函数错误次数 + :type function_error_count: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + :param system_error_count: 系统错误次数 + :type system_error_count: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + :param reserved_instance_num: 预留实例指标 + :type reserved_instance_num: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + :param concurrency_num: 弹性实例指标 + :type concurrency_num: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] """ @@ -61,6 +77,10 @@ class ListFunctionStatisticsResponseBody: self._max_duration = None self._min_duration = None self._reject_count = None + self._function_error_count = None + self._system_error_count = None + self._reserved_instance_num = None + self._concurrency_num = None self.discriminator = None if count is not None: @@ -75,6 +95,14 @@ class ListFunctionStatisticsResponseBody: self.min_duration = min_duration if reject_count is not None: self.reject_count = reject_count + if function_error_count is not None: + self.function_error_count = function_error_count + if system_error_count is not None: + self.system_error_count = system_error_count + if reserved_instance_num is not None: + self.reserved_instance_num = reserved_instance_num + if concurrency_num is not None: + self.concurrency_num = concurrency_num @property def count(self): @@ -208,6 +236,94 @@ class ListFunctionStatisticsResponseBody: """ self._reject_count = reject_count + @property + def function_error_count(self): + """Gets the function_error_count of this ListFunctionStatisticsResponseBody. + + 函数错误次数 + + :return: The function_error_count of this ListFunctionStatisticsResponseBody. + :rtype: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + """ + return self._function_error_count + + @function_error_count.setter + def function_error_count(self, function_error_count): + """Sets the function_error_count of this ListFunctionStatisticsResponseBody. + + 函数错误次数 + + :param function_error_count: The function_error_count of this ListFunctionStatisticsResponseBody. + :type function_error_count: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + """ + self._function_error_count = function_error_count + + @property + def system_error_count(self): + """Gets the system_error_count of this ListFunctionStatisticsResponseBody. + + 系统错误次数 + + :return: The system_error_count of this ListFunctionStatisticsResponseBody. + :rtype: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + """ + return self._system_error_count + + @system_error_count.setter + def system_error_count(self, system_error_count): + """Sets the system_error_count of this ListFunctionStatisticsResponseBody. + + 系统错误次数 + + :param system_error_count: The system_error_count of this ListFunctionStatisticsResponseBody. + :type system_error_count: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + """ + self._system_error_count = system_error_count + + @property + def reserved_instance_num(self): + """Gets the reserved_instance_num of this ListFunctionStatisticsResponseBody. + + 预留实例指标 + + :return: The reserved_instance_num of this ListFunctionStatisticsResponseBody. + :rtype: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + """ + return self._reserved_instance_num + + @reserved_instance_num.setter + def reserved_instance_num(self, reserved_instance_num): + """Sets the reserved_instance_num of this ListFunctionStatisticsResponseBody. + + 预留实例指标 + + :param reserved_instance_num: The reserved_instance_num of this ListFunctionStatisticsResponseBody. + :type reserved_instance_num: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + """ + self._reserved_instance_num = reserved_instance_num + + @property + def concurrency_num(self): + """Gets the concurrency_num of this ListFunctionStatisticsResponseBody. + + 弹性实例指标 + + :return: The concurrency_num of this ListFunctionStatisticsResponseBody. + :rtype: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + """ + return self._concurrency_num + + @concurrency_num.setter + def concurrency_num(self, concurrency_num): + """Sets the concurrency_num of this ListFunctionStatisticsResponseBody. + + 弹性实例指标 + + :param concurrency_num: The concurrency_num of this ListFunctionStatisticsResponseBody. + :type concurrency_num: list[:class:`huaweicloudsdkfunctiongraph.v2.SlaReportsValue`] + """ + self._concurrency_num = concurrency_num + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_trigger_result.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_trigger_result.py index 420082352..72de0a437 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_trigger_result.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_trigger_result.py @@ -20,7 +20,7 @@ class ListFunctionTriggerResult: 'trigger_id': 'str', 'trigger_type_code': 'str', 'trigger_status': 'str', - 'event_data': 'object', + 'event_data': 'TriggerEventDataResponseBody', 'last_updated_time': 'datetime', 'created_time': 'datetime' } @@ -45,8 +45,8 @@ class ListFunctionTriggerResult: :type trigger_type_code: str :param trigger_status: \"触发器状态\" - ACTIVE: 启用状态。 - DISABLED: 禁用状态。 :type trigger_status: str - :param event_data: 触发器源事件。 - :type event_data: object + :param event_data: + :type event_data: :class:`huaweicloudsdkfunctiongraph.v2.TriggerEventDataResponseBody` :param last_updated_time: 最后更新时间。 :type last_updated_time: datetime :param created_time: 触发器创建时间。 @@ -140,10 +140,8 @@ class ListFunctionTriggerResult: def event_data(self): """Gets the event_data of this ListFunctionTriggerResult. - 触发器源事件。 - :return: The event_data of this ListFunctionTriggerResult. - :rtype: object + :rtype: :class:`huaweicloudsdkfunctiongraph.v2.TriggerEventDataResponseBody` """ return self._event_data @@ -151,10 +149,8 @@ class ListFunctionTriggerResult: def event_data(self, event_data): """Sets the event_data of this ListFunctionTriggerResult. - 触发器源事件。 - :param event_data: The event_data of this ListFunctionTriggerResult. - :type event_data: object + :type event_data: :class:`huaweicloudsdkfunctiongraph.v2.TriggerEventDataResponseBody` """ self._event_data = event_data diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_version_result.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_version_result.py index f288b1640..4b203903f 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_version_result.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_function_version_result.py @@ -121,9 +121,9 @@ class ListFunctionVersionResult: :type project_name: str :param package: 函数所属的分组Package,用于用户针对函数的自定义分组。 :type package: str - :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :type runtime: str - :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :type timeout: int :param handler: 函数执行入口 规则:xx.xx,必须包含“. ” 举例:对于node.js函数:myfunction.handler,则表示函数的文件名为myfunction.js,执行的入口函数名为handler。 :type handler: str @@ -131,7 +131,7 @@ class ListFunctionVersionResult: :type memory_size: int :param cpu: 函数占用的cpu资源。 单位为millicore(1 core=1000 millicores)。 取值与MemorySize成比例,默认是128M内存占0.1个核(100 millicores)。 :type cpu: int - :param code_type: 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + :param code_type: 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :type code_type: str :param code_url: 当CodeType为obs时,该值为函数代码包在OBS上的地址,CodeType为其他值时,该字段为空。 :type code_url: str @@ -149,9 +149,9 @@ class ListFunctionVersionResult: :type version: str :param image_name: 函数版本的内部标识。 :type image_name: str - :param xrole: 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + :param xrole: 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :type xrole: str - :param app_xrole: 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + :param app_xrole: 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :type app_xrole: str :param last_modified: 函数最后一次更新时间。 :type last_modified: datetime @@ -163,9 +163,9 @@ class ListFunctionVersionResult: :type concurrent_num: int :param strategy_config: :type strategy_config: :class:`huaweicloudsdkfunctiongraph.v2.StrategyConfig` - :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :type initializer_handler: str - :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :type initializer_timeout: int :param pre_stop_handler: 函数预停止函数的入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.pre_stop_handler,则表示函数的文件名为myfunction.js,初始化的入口函数名为pre_stop_handler。 :type pre_stop_handler: str @@ -440,7 +440,7 @@ class ListFunctionVersionResult: def runtime(self): """Gets the runtime of this ListFunctionVersionResult. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :return: The runtime of this ListFunctionVersionResult. :rtype: str @@ -451,7 +451,7 @@ class ListFunctionVersionResult: def runtime(self, runtime): """Sets the runtime of this ListFunctionVersionResult. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :param runtime: The runtime of this ListFunctionVersionResult. :type runtime: str @@ -462,7 +462,7 @@ class ListFunctionVersionResult: def timeout(self): """Gets the timeout of this ListFunctionVersionResult. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :return: The timeout of this ListFunctionVersionResult. :rtype: int @@ -473,7 +473,7 @@ class ListFunctionVersionResult: def timeout(self, timeout): """Sets the timeout of this ListFunctionVersionResult. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :param timeout: The timeout of this ListFunctionVersionResult. :type timeout: int @@ -550,7 +550,7 @@ class ListFunctionVersionResult: def code_type(self): """Gets the code_type of this ListFunctionVersionResult. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :return: The code_type of this ListFunctionVersionResult. :rtype: str @@ -561,7 +561,7 @@ class ListFunctionVersionResult: def code_type(self, code_type): """Sets the code_type of this ListFunctionVersionResult. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :param code_type: The code_type of this ListFunctionVersionResult. :type code_type: str @@ -748,7 +748,7 @@ class ListFunctionVersionResult: def xrole(self): """Gets the xrole of this ListFunctionVersionResult. - 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :return: The xrole of this ListFunctionVersionResult. :rtype: str @@ -759,7 +759,7 @@ class ListFunctionVersionResult: def xrole(self, xrole): """Sets the xrole of this ListFunctionVersionResult. - 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :param xrole: The xrole of this ListFunctionVersionResult. :type xrole: str @@ -770,7 +770,7 @@ class ListFunctionVersionResult: def app_xrole(self): """Gets the app_xrole of this ListFunctionVersionResult. - 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :return: The app_xrole of this ListFunctionVersionResult. :rtype: str @@ -781,7 +781,7 @@ class ListFunctionVersionResult: def app_xrole(self, app_xrole): """Sets the app_xrole of this ListFunctionVersionResult. - 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :param app_xrole: The app_xrole of this ListFunctionVersionResult. :type app_xrole: str @@ -898,7 +898,7 @@ class ListFunctionVersionResult: def initializer_handler(self): """Gets the initializer_handler of this ListFunctionVersionResult. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :return: The initializer_handler of this ListFunctionVersionResult. :rtype: str @@ -909,7 +909,7 @@ class ListFunctionVersionResult: def initializer_handler(self, initializer_handler): """Sets the initializer_handler of this ListFunctionVersionResult. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :param initializer_handler: The initializer_handler of this ListFunctionVersionResult. :type initializer_handler: str @@ -920,7 +920,7 @@ class ListFunctionVersionResult: def initializer_timeout(self): """Gets the initializer_timeout of this ListFunctionVersionResult. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :return: The initializer_timeout of this ListFunctionVersionResult. :rtype: int @@ -931,7 +931,7 @@ class ListFunctionVersionResult: def initializer_timeout(self, initializer_timeout): """Sets the initializer_timeout of this ListFunctionVersionResult. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :param initializer_timeout: The initializer_timeout of this ListFunctionVersionResult. :type initializer_timeout: int diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_functions_request.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_functions_request.py index 3ec467c81..402feb700 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_functions_request.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/list_functions_request.py @@ -37,7 +37,7 @@ class ListFunctionsRequest: :type marker: str :param maxitems: 每次查询获取的最大函数记录数量 最大值:400 如果不提供该值或者提供的值大于400或等于0,则使用默认值:400 如果该值小于0,则返回参数错误。 :type maxitems: str - :param package_name: 应用名称。 + :param package_name: 自定义分组名称。 :type package_name: str """ @@ -103,7 +103,7 @@ class ListFunctionsRequest: def package_name(self): """Gets the package_name of this ListFunctionsRequest. - 应用名称。 + 自定义分组名称。 :return: The package_name of this ListFunctionsRequest. :rtype: str @@ -114,7 +114,7 @@ class ListFunctionsRequest: def package_name(self, package_name): """Sets the package_name of this ListFunctionsRequest. - 应用名称。 + 自定义分组名称。 :param package_name: The package_name of this ListFunctionsRequest. :type package_name: str diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/metric_config.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/metric_config.py index 9c2520b4a..4f00872ee 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/metric_config.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/metric_config.py @@ -37,7 +37,7 @@ class MetricConfig: :param name: 流量配置名称 :type name: str - :param type: 流量配置类型 + :param type: 流量配置类型,当前只支持预留实例使用率一种类型 :type type: str :param threshold: 流量阈值 :type threshold: int @@ -88,7 +88,7 @@ class MetricConfig: def type(self): """Gets the type of this MetricConfig. - 流量配置类型 + 流量配置类型,当前只支持预留实例使用率一种类型 :return: The type of this MetricConfig. :rtype: str @@ -99,7 +99,7 @@ class MetricConfig: def type(self, type): """Sets the type of this MetricConfig. - 流量配置类型 + 流量配置类型,当前只支持预留实例使用率一种类型 :param type: The type of this MetricConfig. :type type: str diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_dependency_version_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_dependency_version_response.py index 23b0a7905..6b384d0d7 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_dependency_version_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_dependency_version_response.py @@ -28,7 +28,9 @@ class ShowDependencyVersionResponse(SdkResponse): 'description': 'str', 'file_name': 'str', 'version': 'int', - 'last_modified': 'int' + 'last_modified': 'int', + 'dep_id': 'str', + 'download_link': 'str' } attribute_map = { @@ -42,23 +44,25 @@ class ShowDependencyVersionResponse(SdkResponse): 'description': 'description', 'file_name': 'file_name', 'version': 'version', - 'last_modified': 'last_modified' + 'last_modified': 'last_modified', + 'dep_id': 'dep_id', + 'download_link': 'download_link' } - def __init__(self, id=None, owner=None, link=None, runtime=None, etag=None, size=None, name=None, description=None, file_name=None, version=None, last_modified=None): + def __init__(self, id=None, owner=None, link=None, runtime=None, etag=None, size=None, name=None, description=None, file_name=None, version=None, last_modified=None, dep_id=None, download_link=None): """ShowDependencyVersionResponse The model defined in huaweicloud sdk - :param id: 依赖包ID。 + :param id: 依赖包版本ID。 :type id: str :param owner: 依赖包拥有者。 :type owner: str :param link: 依赖包在obs的存储地址。 :type link: str - :param runtime: 运行时语言。 + :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :type runtime: str - :param etag: 依赖包唯一标志。 + :param etag: 依赖包唯一标志(MD5校验值)。 :type etag: str :param size: 依赖包大小。 :type size: int @@ -72,6 +76,10 @@ class ShowDependencyVersionResponse(SdkResponse): :type version: int :param last_modified: 依赖包更新时间 :type last_modified: int + :param dep_id: 依赖包ID + :type dep_id: str + :param download_link: 依赖包文件临时下载链接 + :type download_link: str """ super(ShowDependencyVersionResponse, self).__init__() @@ -87,6 +95,8 @@ class ShowDependencyVersionResponse(SdkResponse): self._file_name = None self._version = None self._last_modified = None + self._dep_id = None + self._download_link = None self.discriminator = None if id is not None: @@ -111,12 +121,16 @@ class ShowDependencyVersionResponse(SdkResponse): self.version = version if last_modified is not None: self.last_modified = last_modified + if dep_id is not None: + self.dep_id = dep_id + if download_link is not None: + self.download_link = download_link @property def id(self): """Gets the id of this ShowDependencyVersionResponse. - 依赖包ID。 + 依赖包版本ID。 :return: The id of this ShowDependencyVersionResponse. :rtype: str @@ -127,7 +141,7 @@ class ShowDependencyVersionResponse(SdkResponse): def id(self, id): """Sets the id of this ShowDependencyVersionResponse. - 依赖包ID。 + 依赖包版本ID。 :param id: The id of this ShowDependencyVersionResponse. :type id: str @@ -182,7 +196,7 @@ class ShowDependencyVersionResponse(SdkResponse): def runtime(self): """Gets the runtime of this ShowDependencyVersionResponse. - 运行时语言。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :return: The runtime of this ShowDependencyVersionResponse. :rtype: str @@ -193,7 +207,7 @@ class ShowDependencyVersionResponse(SdkResponse): def runtime(self, runtime): """Sets the runtime of this ShowDependencyVersionResponse. - 运行时语言。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :param runtime: The runtime of this ShowDependencyVersionResponse. :type runtime: str @@ -204,7 +218,7 @@ class ShowDependencyVersionResponse(SdkResponse): def etag(self): """Gets the etag of this ShowDependencyVersionResponse. - 依赖包唯一标志。 + 依赖包唯一标志(MD5校验值)。 :return: The etag of this ShowDependencyVersionResponse. :rtype: str @@ -215,7 +229,7 @@ class ShowDependencyVersionResponse(SdkResponse): def etag(self, etag): """Sets the etag of this ShowDependencyVersionResponse. - 依赖包唯一标志。 + 依赖包唯一标志(MD5校验值)。 :param etag: The etag of this ShowDependencyVersionResponse. :type etag: str @@ -354,6 +368,50 @@ class ShowDependencyVersionResponse(SdkResponse): """ self._last_modified = last_modified + @property + def dep_id(self): + """Gets the dep_id of this ShowDependencyVersionResponse. + + 依赖包ID + + :return: The dep_id of this ShowDependencyVersionResponse. + :rtype: str + """ + return self._dep_id + + @dep_id.setter + def dep_id(self, dep_id): + """Sets the dep_id of this ShowDependencyVersionResponse. + + 依赖包ID + + :param dep_id: The dep_id of this ShowDependencyVersionResponse. + :type dep_id: str + """ + self._dep_id = dep_id + + @property + def download_link(self): + """Gets the download_link of this ShowDependencyVersionResponse. + + 依赖包文件临时下载链接 + + :return: The download_link of this ShowDependencyVersionResponse. + :rtype: str + """ + return self._download_link + + @download_link.setter + def download_link(self, download_link): + """Sets the download_link of this ShowDependencyVersionResponse. + + 依赖包文件临时下载链接 + + :param download_link: The download_link of this ShowDependencyVersionResponse. + :type download_link: str + """ + self._download_link = download_link + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_code_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_code_response.py index 191fdbc1b..de2ac7248 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_code_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_code_response.py @@ -64,9 +64,9 @@ class ShowFunctionCodeResponse(SdkResponse): :type func_name: str :param domain_id: 域名id。 :type domain_id: str - :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :type runtime: str - :param code_type: 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + :param code_type: 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :type code_type: str :param code_url: 当CodeType为obs时,该值为函数代码包在OBS上的地址,CodeType为其他值时,该字段为空。 :type code_url: str @@ -210,7 +210,7 @@ class ShowFunctionCodeResponse(SdkResponse): def runtime(self): """Gets the runtime of this ShowFunctionCodeResponse. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :return: The runtime of this ShowFunctionCodeResponse. :rtype: str @@ -221,7 +221,7 @@ class ShowFunctionCodeResponse(SdkResponse): def runtime(self, runtime): """Sets the runtime of this ShowFunctionCodeResponse. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :param runtime: The runtime of this ShowFunctionCodeResponse. :type runtime: str @@ -232,7 +232,7 @@ class ShowFunctionCodeResponse(SdkResponse): def code_type(self): """Gets the code_type of this ShowFunctionCodeResponse. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :return: The code_type of this ShowFunctionCodeResponse. :rtype: str @@ -243,7 +243,7 @@ class ShowFunctionCodeResponse(SdkResponse): def code_type(self, code_type): """Sets the code_type of this ShowFunctionCodeResponse. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :param code_type: The code_type of this ShowFunctionCodeResponse. :type code_type: str diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_config_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_config_response.py index 647987179..95ad6624e 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_config_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_config_response.py @@ -61,10 +61,19 @@ class ShowFunctionConfigResponse(SdkResponse): 'log_group_id': 'str', 'log_stream_id': 'str', 'type': 'str', + 'enable_cloud_debug': 'str', 'enable_dynamic_memory': 'bool', 'is_stateful_function': 'bool', + 'is_bridge_function': 'bool', 'enable_auth_in_header': 'bool', - 'custom_image': 'CustomImage' + 'custom_image': 'CustomImage', + 'reserved_instance_idle_mode': 'bool', + 'apig_route_enable': 'bool', + 'heartbeat_handler': 'str', + 'enable_class_isolation': 'bool', + 'gpu_type': 'str', + 'allow_ephemeral_storage': 'bool', + 'network_controller': 'NetworkControlConfig' } attribute_map = { @@ -111,13 +120,22 @@ class ShowFunctionConfigResponse(SdkResponse): 'log_group_id': 'log_group_id', 'log_stream_id': 'log_stream_id', 'type': 'type', + 'enable_cloud_debug': 'enable_cloud_debug', 'enable_dynamic_memory': 'enable_dynamic_memory', 'is_stateful_function': 'is_stateful_function', + 'is_bridge_function': 'is_bridge_function', 'enable_auth_in_header': 'enable_auth_in_header', - 'custom_image': 'custom_image' + 'custom_image': 'custom_image', + 'reserved_instance_idle_mode': 'reserved_instance_idle_mode', + 'apig_route_enable': 'apig_route_enable', + 'heartbeat_handler': 'heartbeat_handler', + 'enable_class_isolation': 'enable_class_isolation', + 'gpu_type': 'gpu_type', + 'allow_ephemeral_storage': 'allow_ephemeral_storage', + 'network_controller': 'network_controller' } - def __init__(self, func_id=None, resource_id=None, func_urn=None, func_name=None, domain_id=None, namespace=None, project_name=None, package=None, runtime=None, timeout=None, handler=None, memory_size=None, gpu_memory=None, cpu=None, code_type=None, code_url=None, code_filename=None, code_size=None, user_data=None, encrypted_user_data=None, digest=None, version=None, image_name=None, xrole=None, app_xrole=None, description=None, last_modified=None, ephemeral_storage=None, func_vpc=None, mount_config=None, depend_list=None, depend_version_list=None, strategy_config=None, dependencies=None, initializer_handler=None, initializer_timeout=None, pre_stop_handler=None, pre_stop_timeout=None, enterprise_project_id=None, long_time=None, log_group_id=None, log_stream_id=None, type=None, enable_dynamic_memory=None, is_stateful_function=None, enable_auth_in_header=None, custom_image=None): + def __init__(self, func_id=None, resource_id=None, func_urn=None, func_name=None, domain_id=None, namespace=None, project_name=None, package=None, runtime=None, timeout=None, handler=None, memory_size=None, gpu_memory=None, cpu=None, code_type=None, code_url=None, code_filename=None, code_size=None, user_data=None, encrypted_user_data=None, digest=None, version=None, image_name=None, xrole=None, app_xrole=None, description=None, last_modified=None, ephemeral_storage=None, func_vpc=None, mount_config=None, depend_list=None, depend_version_list=None, strategy_config=None, dependencies=None, initializer_handler=None, initializer_timeout=None, pre_stop_handler=None, pre_stop_timeout=None, enterprise_project_id=None, long_time=None, log_group_id=None, log_stream_id=None, type=None, enable_cloud_debug=None, enable_dynamic_memory=None, is_stateful_function=None, is_bridge_function=None, enable_auth_in_header=None, custom_image=None, reserved_instance_idle_mode=None, apig_route_enable=None, heartbeat_handler=None, enable_class_isolation=None, gpu_type=None, allow_ephemeral_storage=None, network_controller=None): """ShowFunctionConfigResponse The model defined in huaweicloud sdk @@ -138,9 +156,9 @@ class ShowFunctionConfigResponse(SdkResponse): :type project_name: str :param package: 函数所属的分组Package,用于用户针对函数的自定义分组。 :type package: str - :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :type runtime: str - :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :type timeout: int :param handler: 函数执行入口 规则:xx.xx,必须包含“. ” 举例:对于node.js函数:myfunction.handler,则表示函数的文件名为myfunction.js,执行的入口函数名为handler。 :type handler: str @@ -150,7 +168,7 @@ class ShowFunctionConfigResponse(SdkResponse): :type gpu_memory: int :param cpu: 函数占用的cpu资源。 单位为millicore(1 core=1000 millicores)。 取值与MemorySize成比例,默认是128M内存占0.1个核(100 millicores)。 :type cpu: int - :param code_type: 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + :param code_type: 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :type code_type: str :param code_url: 当CodeType为obs时,该值为函数代码包在OBS上的地址,CodeType为其他值时,该字段为空。 :type code_url: str @@ -168,15 +186,15 @@ class ShowFunctionConfigResponse(SdkResponse): :type version: str :param image_name: 函数版本的内部标识。 :type image_name: str - :param xrole: 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + :param xrole: 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :type xrole: str - :param app_xrole: 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + :param app_xrole: 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :type app_xrole: str :param description: 函数描述。 :type description: str :param last_modified: 函数最后一次更新时间。 :type last_modified: datetime - :param ephemeral_storage: 临时存储大小。 + :param ephemeral_storage: 临时存储大小。默认情况下会为函数的/tmp目录分配512MB的空间。您可以通过临时存储设置将函数的/tmp目录大小调整为10G。 :type ephemeral_storage: int :param func_vpc: :type func_vpc: :class:`huaweicloudsdkfunctiongraph.v2.FuncVpc` @@ -190,9 +208,9 @@ class ShowFunctionConfigResponse(SdkResponse): :type strategy_config: :class:`huaweicloudsdkfunctiongraph.v2.StrategyConfig` :param dependencies: 函数依赖代码包列表。 :type dependencies: list[:class:`huaweicloudsdkfunctiongraph.v2.Dependency`] - :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :type initializer_handler: str - :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :type initializer_timeout: int :param pre_stop_handler: 函数预停止函数的入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.pre_stop_handler,则表示函数的文件名为myfunction.js,初始化的入口函数名为pre_stop_handler。 :type pre_stop_handler: str @@ -206,16 +224,34 @@ class ShowFunctionConfigResponse(SdkResponse): :type log_group_id: str :param log_stream_id: 自定义日志查询流id :type log_stream_id: str - :param type: v2表示为公测版本,v1为原来版本。 + :param type: v2表示为正式版本,v1为废弃版本。 :type type: str + :param enable_cloud_debug: 是否启用cloud debug功能 + :type enable_cloud_debug: str :param enable_dynamic_memory: 是否允许动态内存配置 :type enable_dynamic_memory: bool :param is_stateful_function: 是否支持有状态,如果需要支持,需要固定传参为true,v2版本支持 :type is_stateful_function: bool + :param is_bridge_function: 是否为bridge函数 + :type is_bridge_function: bool :param enable_auth_in_header: 是否允许在请求头中添加鉴权信息 :type enable_auth_in_header: bool :param custom_image: :type custom_image: :class:`huaweicloudsdkfunctiongraph.v2.CustomImage` + :param reserved_instance_idle_mode: 是否开启预留实例闲置模式 + :type reserved_instance_idle_mode: bool + :param apig_route_enable: 是否配置下沉apig路由规则。 + :type apig_route_enable: bool + :param heartbeat_handler: 心跳函数函数的入口,规则:xx.xx,必须包含“. ”,只支持JAVA运行时配置。 心跳函数入口需要与函数执行入口在同一文件下。在开启心跳函数配置时,此参数必填。 + :type heartbeat_handler: str + :param enable_class_isolation: 类隔离开关,只支持JAVA运行时配置。开启类隔离后可以支持Kafka转储并提升类加载效率,但也可能会导致某些兼容性问题,请谨慎开启。 + :type enable_class_isolation: bool + :param gpu_type: 显卡类型。 + :type gpu_type: str + :param allow_ephemeral_storage: 是否支持配置临时存储。 + :type allow_ephemeral_storage: bool + :param network_controller: + :type network_controller: :class:`huaweicloudsdkfunctiongraph.v2.NetworkControlConfig` """ super(ShowFunctionConfigResponse, self).__init__() @@ -263,10 +299,19 @@ class ShowFunctionConfigResponse(SdkResponse): self._log_group_id = None self._log_stream_id = None self._type = None + self._enable_cloud_debug = None self._enable_dynamic_memory = None self._is_stateful_function = None + self._is_bridge_function = None self._enable_auth_in_header = None self._custom_image = None + self._reserved_instance_idle_mode = None + self._apig_route_enable = None + self._heartbeat_handler = None + self._enable_class_isolation = None + self._gpu_type = None + self._allow_ephemeral_storage = None + self._network_controller = None self.discriminator = None if func_id is not None: @@ -355,14 +400,32 @@ class ShowFunctionConfigResponse(SdkResponse): self.log_stream_id = log_stream_id if type is not None: self.type = type + if enable_cloud_debug is not None: + self.enable_cloud_debug = enable_cloud_debug if enable_dynamic_memory is not None: self.enable_dynamic_memory = enable_dynamic_memory if is_stateful_function is not None: self.is_stateful_function = is_stateful_function + if is_bridge_function is not None: + self.is_bridge_function = is_bridge_function if enable_auth_in_header is not None: self.enable_auth_in_header = enable_auth_in_header if custom_image is not None: self.custom_image = custom_image + if reserved_instance_idle_mode is not None: + self.reserved_instance_idle_mode = reserved_instance_idle_mode + if apig_route_enable is not None: + self.apig_route_enable = apig_route_enable + if heartbeat_handler is not None: + self.heartbeat_handler = heartbeat_handler + if enable_class_isolation is not None: + self.enable_class_isolation = enable_class_isolation + if gpu_type is not None: + self.gpu_type = gpu_type + if allow_ephemeral_storage is not None: + self.allow_ephemeral_storage = allow_ephemeral_storage + if network_controller is not None: + self.network_controller = network_controller @property def func_id(self): @@ -544,7 +607,7 @@ class ShowFunctionConfigResponse(SdkResponse): def runtime(self): """Gets the runtime of this ShowFunctionConfigResponse. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :return: The runtime of this ShowFunctionConfigResponse. :rtype: str @@ -555,7 +618,7 @@ class ShowFunctionConfigResponse(SdkResponse): def runtime(self, runtime): """Sets the runtime of this ShowFunctionConfigResponse. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :param runtime: The runtime of this ShowFunctionConfigResponse. :type runtime: str @@ -566,7 +629,7 @@ class ShowFunctionConfigResponse(SdkResponse): def timeout(self): """Gets the timeout of this ShowFunctionConfigResponse. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :return: The timeout of this ShowFunctionConfigResponse. :rtype: int @@ -577,7 +640,7 @@ class ShowFunctionConfigResponse(SdkResponse): def timeout(self, timeout): """Sets the timeout of this ShowFunctionConfigResponse. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :param timeout: The timeout of this ShowFunctionConfigResponse. :type timeout: int @@ -676,7 +739,7 @@ class ShowFunctionConfigResponse(SdkResponse): def code_type(self): """Gets the code_type of this ShowFunctionConfigResponse. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :return: The code_type of this ShowFunctionConfigResponse. :rtype: str @@ -687,7 +750,7 @@ class ShowFunctionConfigResponse(SdkResponse): def code_type(self, code_type): """Sets the code_type of this ShowFunctionConfigResponse. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :param code_type: The code_type of this ShowFunctionConfigResponse. :type code_type: str @@ -874,7 +937,7 @@ class ShowFunctionConfigResponse(SdkResponse): def xrole(self): """Gets the xrole of this ShowFunctionConfigResponse. - 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :return: The xrole of this ShowFunctionConfigResponse. :rtype: str @@ -885,7 +948,7 @@ class ShowFunctionConfigResponse(SdkResponse): def xrole(self, xrole): """Sets the xrole of this ShowFunctionConfigResponse. - 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :param xrole: The xrole of this ShowFunctionConfigResponse. :type xrole: str @@ -896,7 +959,7 @@ class ShowFunctionConfigResponse(SdkResponse): def app_xrole(self): """Gets the app_xrole of this ShowFunctionConfigResponse. - 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :return: The app_xrole of this ShowFunctionConfigResponse. :rtype: str @@ -907,7 +970,7 @@ class ShowFunctionConfigResponse(SdkResponse): def app_xrole(self, app_xrole): """Sets the app_xrole of this ShowFunctionConfigResponse. - 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :param app_xrole: The app_xrole of this ShowFunctionConfigResponse. :type app_xrole: str @@ -962,7 +1025,7 @@ class ShowFunctionConfigResponse(SdkResponse): def ephemeral_storage(self): """Gets the ephemeral_storage of this ShowFunctionConfigResponse. - 临时存储大小。 + 临时存储大小。默认情况下会为函数的/tmp目录分配512MB的空间。您可以通过临时存储设置将函数的/tmp目录大小调整为10G。 :return: The ephemeral_storage of this ShowFunctionConfigResponse. :rtype: int @@ -973,7 +1036,7 @@ class ShowFunctionConfigResponse(SdkResponse): def ephemeral_storage(self, ephemeral_storage): """Sets the ephemeral_storage of this ShowFunctionConfigResponse. - 临时存储大小。 + 临时存储大小。默认情况下会为函数的/tmp目录分配512MB的空间。您可以通过临时存储设置将函数的/tmp目录大小调整为10G。 :param ephemeral_storage: The ephemeral_storage of this ShowFunctionConfigResponse. :type ephemeral_storage: int @@ -1104,7 +1167,7 @@ class ShowFunctionConfigResponse(SdkResponse): def initializer_handler(self): """Gets the initializer_handler of this ShowFunctionConfigResponse. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :return: The initializer_handler of this ShowFunctionConfigResponse. :rtype: str @@ -1115,7 +1178,7 @@ class ShowFunctionConfigResponse(SdkResponse): def initializer_handler(self, initializer_handler): """Sets the initializer_handler of this ShowFunctionConfigResponse. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :param initializer_handler: The initializer_handler of this ShowFunctionConfigResponse. :type initializer_handler: str @@ -1126,7 +1189,7 @@ class ShowFunctionConfigResponse(SdkResponse): def initializer_timeout(self): """Gets the initializer_timeout of this ShowFunctionConfigResponse. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :return: The initializer_timeout of this ShowFunctionConfigResponse. :rtype: int @@ -1137,7 +1200,7 @@ class ShowFunctionConfigResponse(SdkResponse): def initializer_timeout(self, initializer_timeout): """Sets the initializer_timeout of this ShowFunctionConfigResponse. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :param initializer_timeout: The initializer_timeout of this ShowFunctionConfigResponse. :type initializer_timeout: int @@ -1280,7 +1343,7 @@ class ShowFunctionConfigResponse(SdkResponse): def type(self): """Gets the type of this ShowFunctionConfigResponse. - v2表示为公测版本,v1为原来版本。 + v2表示为正式版本,v1为废弃版本。 :return: The type of this ShowFunctionConfigResponse. :rtype: str @@ -1291,13 +1354,35 @@ class ShowFunctionConfigResponse(SdkResponse): def type(self, type): """Sets the type of this ShowFunctionConfigResponse. - v2表示为公测版本,v1为原来版本。 + v2表示为正式版本,v1为废弃版本。 :param type: The type of this ShowFunctionConfigResponse. :type type: str """ self._type = type + @property + def enable_cloud_debug(self): + """Gets the enable_cloud_debug of this ShowFunctionConfigResponse. + + 是否启用cloud debug功能 + + :return: The enable_cloud_debug of this ShowFunctionConfigResponse. + :rtype: str + """ + return self._enable_cloud_debug + + @enable_cloud_debug.setter + def enable_cloud_debug(self, enable_cloud_debug): + """Sets the enable_cloud_debug of this ShowFunctionConfigResponse. + + 是否启用cloud debug功能 + + :param enable_cloud_debug: The enable_cloud_debug of this ShowFunctionConfigResponse. + :type enable_cloud_debug: str + """ + self._enable_cloud_debug = enable_cloud_debug + @property def enable_dynamic_memory(self): """Gets the enable_dynamic_memory of this ShowFunctionConfigResponse. @@ -1342,6 +1427,28 @@ class ShowFunctionConfigResponse(SdkResponse): """ self._is_stateful_function = is_stateful_function + @property + def is_bridge_function(self): + """Gets the is_bridge_function of this ShowFunctionConfigResponse. + + 是否为bridge函数 + + :return: The is_bridge_function of this ShowFunctionConfigResponse. + :rtype: bool + """ + return self._is_bridge_function + + @is_bridge_function.setter + def is_bridge_function(self, is_bridge_function): + """Sets the is_bridge_function of this ShowFunctionConfigResponse. + + 是否为bridge函数 + + :param is_bridge_function: The is_bridge_function of this ShowFunctionConfigResponse. + :type is_bridge_function: bool + """ + self._is_bridge_function = is_bridge_function + @property def enable_auth_in_header(self): """Gets the enable_auth_in_header of this ShowFunctionConfigResponse. @@ -1382,6 +1489,156 @@ class ShowFunctionConfigResponse(SdkResponse): """ self._custom_image = custom_image + @property + def reserved_instance_idle_mode(self): + """Gets the reserved_instance_idle_mode of this ShowFunctionConfigResponse. + + 是否开启预留实例闲置模式 + + :return: The reserved_instance_idle_mode of this ShowFunctionConfigResponse. + :rtype: bool + """ + return self._reserved_instance_idle_mode + + @reserved_instance_idle_mode.setter + def reserved_instance_idle_mode(self, reserved_instance_idle_mode): + """Sets the reserved_instance_idle_mode of this ShowFunctionConfigResponse. + + 是否开启预留实例闲置模式 + + :param reserved_instance_idle_mode: The reserved_instance_idle_mode of this ShowFunctionConfigResponse. + :type reserved_instance_idle_mode: bool + """ + self._reserved_instance_idle_mode = reserved_instance_idle_mode + + @property + def apig_route_enable(self): + """Gets the apig_route_enable of this ShowFunctionConfigResponse. + + 是否配置下沉apig路由规则。 + + :return: The apig_route_enable of this ShowFunctionConfigResponse. + :rtype: bool + """ + return self._apig_route_enable + + @apig_route_enable.setter + def apig_route_enable(self, apig_route_enable): + """Sets the apig_route_enable of this ShowFunctionConfigResponse. + + 是否配置下沉apig路由规则。 + + :param apig_route_enable: The apig_route_enable of this ShowFunctionConfigResponse. + :type apig_route_enable: bool + """ + self._apig_route_enable = apig_route_enable + + @property + def heartbeat_handler(self): + """Gets the heartbeat_handler of this ShowFunctionConfigResponse. + + 心跳函数函数的入口,规则:xx.xx,必须包含“. ”,只支持JAVA运行时配置。 心跳函数入口需要与函数执行入口在同一文件下。在开启心跳函数配置时,此参数必填。 + + :return: The heartbeat_handler of this ShowFunctionConfigResponse. + :rtype: str + """ + return self._heartbeat_handler + + @heartbeat_handler.setter + def heartbeat_handler(self, heartbeat_handler): + """Sets the heartbeat_handler of this ShowFunctionConfigResponse. + + 心跳函数函数的入口,规则:xx.xx,必须包含“. ”,只支持JAVA运行时配置。 心跳函数入口需要与函数执行入口在同一文件下。在开启心跳函数配置时,此参数必填。 + + :param heartbeat_handler: The heartbeat_handler of this ShowFunctionConfigResponse. + :type heartbeat_handler: str + """ + self._heartbeat_handler = heartbeat_handler + + @property + def enable_class_isolation(self): + """Gets the enable_class_isolation of this ShowFunctionConfigResponse. + + 类隔离开关,只支持JAVA运行时配置。开启类隔离后可以支持Kafka转储并提升类加载效率,但也可能会导致某些兼容性问题,请谨慎开启。 + + :return: The enable_class_isolation of this ShowFunctionConfigResponse. + :rtype: bool + """ + return self._enable_class_isolation + + @enable_class_isolation.setter + def enable_class_isolation(self, enable_class_isolation): + """Sets the enable_class_isolation of this ShowFunctionConfigResponse. + + 类隔离开关,只支持JAVA运行时配置。开启类隔离后可以支持Kafka转储并提升类加载效率,但也可能会导致某些兼容性问题,请谨慎开启。 + + :param enable_class_isolation: The enable_class_isolation of this ShowFunctionConfigResponse. + :type enable_class_isolation: bool + """ + self._enable_class_isolation = enable_class_isolation + + @property + def gpu_type(self): + """Gets the gpu_type of this ShowFunctionConfigResponse. + + 显卡类型。 + + :return: The gpu_type of this ShowFunctionConfigResponse. + :rtype: str + """ + return self._gpu_type + + @gpu_type.setter + def gpu_type(self, gpu_type): + """Sets the gpu_type of this ShowFunctionConfigResponse. + + 显卡类型。 + + :param gpu_type: The gpu_type of this ShowFunctionConfigResponse. + :type gpu_type: str + """ + self._gpu_type = gpu_type + + @property + def allow_ephemeral_storage(self): + """Gets the allow_ephemeral_storage of this ShowFunctionConfigResponse. + + 是否支持配置临时存储。 + + :return: The allow_ephemeral_storage of this ShowFunctionConfigResponse. + :rtype: bool + """ + return self._allow_ephemeral_storage + + @allow_ephemeral_storage.setter + def allow_ephemeral_storage(self, allow_ephemeral_storage): + """Sets the allow_ephemeral_storage of this ShowFunctionConfigResponse. + + 是否支持配置临时存储。 + + :param allow_ephemeral_storage: The allow_ephemeral_storage of this ShowFunctionConfigResponse. + :type allow_ephemeral_storage: bool + """ + self._allow_ephemeral_storage = allow_ephemeral_storage + + @property + def network_controller(self): + """Gets the network_controller of this ShowFunctionConfigResponse. + + :return: The network_controller of this ShowFunctionConfigResponse. + :rtype: :class:`huaweicloudsdkfunctiongraph.v2.NetworkControlConfig` + """ + return self._network_controller + + @network_controller.setter + def network_controller(self, network_controller): + """Sets the network_controller of this ShowFunctionConfigResponse. + + :param network_controller: The network_controller of this ShowFunctionConfigResponse. + :type network_controller: :class:`huaweicloudsdkfunctiongraph.v2.NetworkControlConfig` + """ + self._network_controller = network_controller + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_template_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_template_response.py index 58b2d7f55..b608f27d1 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_template_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_template_response.py @@ -82,7 +82,7 @@ class ShowFunctionTemplateResponse(SdkResponse): :type code_type: str :param code: 代码文件 :type code: str - :param timeout: 超时时间 + :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :type timeout: int :param memory_size: 内存大小 :type memory_size: int @@ -363,7 +363,7 @@ class ShowFunctionTemplateResponse(SdkResponse): def timeout(self): """Gets the timeout of this ShowFunctionTemplateResponse. - 超时时间 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :return: The timeout of this ShowFunctionTemplateResponse. :rtype: int @@ -374,7 +374,7 @@ class ShowFunctionTemplateResponse(SdkResponse): def timeout(self, timeout): """Sets the timeout of this ShowFunctionTemplateResponse. - 超时时间 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :param timeout: The timeout of this ShowFunctionTemplateResponse. :type timeout: int diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_template_response_body.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_template_response_body.py index bac05c779..cf0c3b3b8 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_template_response_body.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_template_response_body.py @@ -81,7 +81,7 @@ class ShowFunctionTemplateResponseBody: :type code_type: str :param code: 代码文件 :type code: str - :param timeout: 超时时间 + :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :type timeout: int :param memory_size: 内存大小 :type memory_size: int @@ -362,7 +362,7 @@ class ShowFunctionTemplateResponseBody: def timeout(self): """Gets the timeout of this ShowFunctionTemplateResponseBody. - 超时时间 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :return: The timeout of this ShowFunctionTemplateResponseBody. :rtype: int @@ -373,7 +373,7 @@ class ShowFunctionTemplateResponseBody: def timeout(self, timeout): """Sets the timeout of this ShowFunctionTemplateResponseBody. - 超时时间 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :param timeout: The timeout of this ShowFunctionTemplateResponseBody. :type timeout: int diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_trigger_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_trigger_response.py index 749ed6d23..815ffd6dc 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_trigger_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_function_trigger_response.py @@ -21,7 +21,7 @@ class ShowFunctionTriggerResponse(SdkResponse): 'trigger_id': 'str', 'trigger_type_code': 'str', 'trigger_status': 'str', - 'event_data': 'object', + 'event_data': 'TriggerEventDataResponseBody', 'last_updated_time': 'datetime', 'created_time': 'datetime' } @@ -46,8 +46,8 @@ class ShowFunctionTriggerResponse(SdkResponse): :type trigger_type_code: str :param trigger_status: \"触发器状态\" - ACTIVE: 启用状态。 - DISABLED: 禁用状态。 :type trigger_status: str - :param event_data: 触发器源事件。 - :type event_data: object + :param event_data: + :type event_data: :class:`huaweicloudsdkfunctiongraph.v2.TriggerEventDataResponseBody` :param last_updated_time: 最后更新时间。 :type last_updated_time: datetime :param created_time: 触发器创建时间。 @@ -147,10 +147,8 @@ class ShowFunctionTriggerResponse(SdkResponse): def event_data(self): """Gets the event_data of this ShowFunctionTriggerResponse. - 触发器源事件。 - :return: The event_data of this ShowFunctionTriggerResponse. - :rtype: object + :rtype: :class:`huaweicloudsdkfunctiongraph.v2.TriggerEventDataResponseBody` """ return self._event_data @@ -158,10 +156,8 @@ class ShowFunctionTriggerResponse(SdkResponse): def event_data(self, event_data): """Sets the event_data of this ShowFunctionTriggerResponse. - 触发器源事件。 - :param event_data: The event_data of this ShowFunctionTriggerResponse. - :type event_data: object + :type event_data: :class:`huaweicloudsdkfunctiongraph.v2.TriggerEventDataResponseBody` """ self._event_data = event_data diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_version_alias_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_version_alias_response.py index 362b100b7..2e85f740e 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_version_alias_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/show_version_alias_response.py @@ -23,7 +23,8 @@ class ShowVersionAliasResponse(SdkResponse): 'description': 'str', 'last_modified': 'datetime', 'alias_urn': 'str', - 'additional_version_weights': 'dict(str, int)' + 'additional_version_weights': 'dict(str, int)', + 'additional_version_strategy': 'dict(str, VersionStrategy)' } attribute_map = { @@ -32,10 +33,11 @@ class ShowVersionAliasResponse(SdkResponse): 'description': 'description', 'last_modified': 'last_modified', 'alias_urn': 'alias_urn', - 'additional_version_weights': 'additional_version_weights' + 'additional_version_weights': 'additional_version_weights', + 'additional_version_strategy': 'additional_version_strategy' } - def __init__(self, name=None, version=None, description=None, last_modified=None, alias_urn=None, additional_version_weights=None): + def __init__(self, name=None, version=None, description=None, last_modified=None, alias_urn=None, additional_version_weights=None, additional_version_strategy=None): """ShowVersionAliasResponse The model defined in huaweicloud sdk @@ -50,8 +52,10 @@ class ShowVersionAliasResponse(SdkResponse): :type last_modified: datetime :param alias_urn: 版本别名唯一标识。 :type alias_urn: str - :param additional_version_weights: 灰度版本信息 + :param additional_version_weights: 百分比灰度配置信息 :type additional_version_weights: dict(str, int) + :param additional_version_strategy: 指定规则灰度策略信息 + :type additional_version_strategy: dict(str, VersionStrategy) """ super(ShowVersionAliasResponse, self).__init__() @@ -62,6 +66,7 @@ class ShowVersionAliasResponse(SdkResponse): self._last_modified = None self._alias_urn = None self._additional_version_weights = None + self._additional_version_strategy = None self.discriminator = None if name is not None: @@ -76,6 +81,8 @@ class ShowVersionAliasResponse(SdkResponse): self.alias_urn = alias_urn if additional_version_weights is not None: self.additional_version_weights = additional_version_weights + if additional_version_strategy is not None: + self.additional_version_strategy = additional_version_strategy @property def name(self): @@ -191,7 +198,7 @@ class ShowVersionAliasResponse(SdkResponse): def additional_version_weights(self): """Gets the additional_version_weights of this ShowVersionAliasResponse. - 灰度版本信息 + 百分比灰度配置信息 :return: The additional_version_weights of this ShowVersionAliasResponse. :rtype: dict(str, int) @@ -202,13 +209,35 @@ class ShowVersionAliasResponse(SdkResponse): def additional_version_weights(self, additional_version_weights): """Sets the additional_version_weights of this ShowVersionAliasResponse. - 灰度版本信息 + 百分比灰度配置信息 :param additional_version_weights: The additional_version_weights of this ShowVersionAliasResponse. :type additional_version_weights: dict(str, int) """ self._additional_version_weights = additional_version_weights + @property + def additional_version_strategy(self): + """Gets the additional_version_strategy of this ShowVersionAliasResponse. + + 指定规则灰度策略信息 + + :return: The additional_version_strategy of this ShowVersionAliasResponse. + :rtype: dict(str, VersionStrategy) + """ + return self._additional_version_strategy + + @additional_version_strategy.setter + def additional_version_strategy(self, additional_version_strategy): + """Sets the additional_version_strategy of this ShowVersionAliasResponse. + + 指定规则灰度策略信息 + + :param additional_version_strategy: The additional_version_strategy of this ShowVersionAliasResponse. + :type additional_version_strategy: dict(str, VersionStrategy) + """ + self._additional_version_strategy = additional_version_strategy + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/trigger_event_data_request_body.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/trigger_event_data_request_body.py new file mode 100644 index 000000000..0add2cbea --- /dev/null +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/trigger_event_data_request_body.py @@ -0,0 +1,1503 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class TriggerEventDataRequestBody: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'name': 'str', + 'schedule_type': 'str', + 'schedule': 'str', + 'user_event': 'str', + 'type': 'int', + 'path': 'str', + 'protocol': 'str', + 'req_method': 'str', + 'group_id': 'str', + 'group_name': 'str', + 'match_mode': 'str', + 'env_name': 'str', + 'env_id': 'str', + 'auth': 'str', + 'func_info': 'ApigTriggerFuncInfo', + 'sl_domain': 'str', + 'backend_type': 'str', + 'operations': 'list[str]', + 'instance_id': 'str', + 'collection_name': 'str', + 'db_name': 'str', + 'db_password': 'str', + 'batch_size': 'int', + 'queue_id': 'str', + 'consumer_group_id': 'str', + 'polling_interval': 'int', + 'stream_name': 'str', + 'sharditerator_type': 'str', + 'polling_unit': 'str', + 'max_fetch_bytes': 'int', + 'is_serial': 'str', + 'log_group_id': 'str', + 'log_topic_id': 'str', + 'bucket': 'str', + 'prefix': 'str', + 'suffix': 'str', + 'events': 'list[str]', + 'topic_urn': 'str', + 'topic_ids': 'list[str]', + 'kafka_user': 'str', + 'kafka_password': 'str', + 'kafka_connect_address': 'str', + 'kafka_ssl_enable': 'bool', + 'access_password': 'str', + 'access_user': 'str', + 'connect_address': 'str', + 'exchange_name': 'str', + 'vhost': 'str', + 'ssl_enable': 'bool' + } + + attribute_map = { + 'name': 'name', + 'schedule_type': 'schedule_type', + 'schedule': 'schedule', + 'user_event': 'user_event', + 'type': 'type', + 'path': 'path', + 'protocol': 'protocol', + 'req_method': 'req_method', + 'group_id': 'group_id', + 'group_name': 'group_name', + 'match_mode': 'match_mode', + 'env_name': 'env_name', + 'env_id': 'env_id', + 'auth': 'auth', + 'func_info': 'func_info', + 'sl_domain': 'sl_domain', + 'backend_type': 'backend_type', + 'operations': 'operations', + 'instance_id': 'instance_id', + 'collection_name': 'collection_name', + 'db_name': 'db_name', + 'db_password': 'db_password', + 'batch_size': 'batch_size', + 'queue_id': 'queue_id', + 'consumer_group_id': 'consumer_group_id', + 'polling_interval': 'polling_interval', + 'stream_name': 'stream_name', + 'sharditerator_type': 'sharditerator_type', + 'polling_unit': 'polling_unit', + 'max_fetch_bytes': 'max_fetch_bytes', + 'is_serial': 'is_serial', + 'log_group_id': 'log_group_id', + 'log_topic_id': 'log_topic_id', + 'bucket': 'bucket', + 'prefix': 'prefix', + 'suffix': 'suffix', + 'events': 'events', + 'topic_urn': 'topic_urn', + 'topic_ids': 'topic_ids', + 'kafka_user': 'kafka_user', + 'kafka_password': 'kafka_password', + 'kafka_connect_address': 'kafka_connect_address', + 'kafka_ssl_enable': 'kafka_ssl_enable', + 'access_password': 'access_password', + 'access_user': 'access_user', + 'connect_address': 'connect_address', + 'exchange_name': 'exchange_name', + 'vhost': 'vhost', + 'ssl_enable': 'ssl_enable' + } + + def __init__(self, name=None, schedule_type=None, schedule=None, user_event=None, type=None, path=None, protocol=None, req_method=None, group_id=None, group_name=None, match_mode=None, env_name=None, env_id=None, auth=None, func_info=None, sl_domain=None, backend_type=None, operations=None, instance_id=None, collection_name=None, db_name=None, db_password=None, batch_size=None, queue_id=None, consumer_group_id=None, polling_interval=None, stream_name=None, sharditerator_type=None, polling_unit=None, max_fetch_bytes=None, is_serial=None, log_group_id=None, log_topic_id=None, bucket=None, prefix=None, suffix=None, events=None, topic_urn=None, topic_ids=None, kafka_user=None, kafka_password=None, kafka_connect_address=None, kafka_ssl_enable=None, access_password=None, access_user=None, connect_address=None, exchange_name=None, vhost=None, ssl_enable=None): + """TriggerEventDataRequestBody + + The model defined in huaweicloud sdk + + :param name: - TIMER触发器:触发器名称 - APIG触发器:API名称 - CTS触发器:通知名称 - OBS触发器:事件通知名称,默认值为触发器id + :type name: str + :param schedule_type: 定时触发类型(TIMER触发器参数)。TIMER触发器此参数必填 - Rate:指定固定频率(分钟、小时、天数)定期调用函数,单位为分钟时,输入值不能超过60;单位为小时时,输入值不能超过24;单位为天时,输入值不能超过30。 - Cron:指定Cron表达式定期调用函数 + :type schedule_type: str + :param schedule: 定时触发规则(TIMER触发器参数)。TIMER触发器此参数必填。 - 触发类型为Rate时对应定时规则 - 触发类型为Cron时对应Cron表达式 + :type schedule: str + :param user_event: 附加信息(TIMER触发器参数)。 当Timer触发器触发函数执行时,执行事件(函数的event参数)为: {\"version\": \"v1.0\", \"time\": \"2018-06-01T08:30:00+08:00\", \"trigger_type\": \"TIMER\", \"trigger_name\": \"Timer_001\", \"user_event\": \"您输入的附加信息\"} + :type user_event: str + :param type: API接口类型(APIG触发器参数)。APIG触发器此参数必填。 - 1:公有API - 2:私有API + :type type: int + :param path: APIG接口PATH路径(APIG触发器参数)。APIG触发器此参数必填。 + :type path: str + :param protocol: API的请求协议(APIG触发器参数)。APIG触发器此参数必填。 + :type protocol: str + :param req_method: API的请求方式(APIG触发器参数)。APIG触发器此参数必填。 + :type req_method: str + :param group_id: API所属的分组编号(APIG触发器参数)。APIG触发器此参数必填。 + :type group_id: str + :param group_name: API所属的分组名称 + :type group_name: str + :param match_mode: API的匹配方式(APIG触发器参数)。APIG触发器此参数必填。 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) + :type match_mode: str + :param env_name: API的发布环境(APIG触发器参数)。APIG触发器此参数必填。 + :type env_name: str + :param env_id: API的发布环境id(APIG触发器参数)。APIG触发器此参数必填。 + :type env_id: str + :param auth: API的认证方式(APIG触发器参数)。APIG触发器此参数必填。 - IAM:IAM认证,只允许IAM用户能访问,安全级别中等 - APP:采用Appkey&Appsecret认证,安全级别高,推荐使用 - NONE:无认证模式,所有用户均可访问,不推荐使用 + :type auth: str + :param func_info: + :type func_info: :class:`huaweicloudsdkfunctiongraph.v2.ApigTriggerFuncInfo` + :param sl_domain: APIG系统默认分配的子域名(APIG触发器参数)。 + :type sl_domain: str + :param backend_type: API的后端类型(APIG触发器参数)。 + :type backend_type: str + :param operations: 自定义操作(CTS触发器参数)。CTS触发器此参数必填。 CTS云审计服务类型和操作订阅所需要的事件通知,当CTS云审计服务获取已订阅的操作记录后,通过CTS触发器将采集到的操作记录作为参数传递来调用FunctionGraph函数。 + :type operations: list[str] + :param instance_id: 实例id。DDS、KAFKA、RABBITMQ触发器此参数必填。 - APIG触发器:apig实例id - DDS触发器:文档数据库实例id - KAFKA触发器:KAFKA实例id - RABBITMQ触发器:RABBITMQ实例id + :type instance_id: str + :param collection_name: 集合名称(DDS触发器参数)。DDS触发器此参数必填。 + :type collection_name: str + :param db_name: 文档数据库名称(DDS触发器参数)。DDS触发器此参数必填。 + :type db_name: str + :param db_password: 文档数据库密码(DDS触发器参数)。DDS触发器此参数必填。 + :type db_password: str + :param batch_size: 批处理大小,单次函数执行处理的最大数据量。DIS、DDS、KAFKA、RABBITMQ触发器此参数必填。 - DDS触发器:批处理大小设置1-10,000的范围内 - DIS触发器:批处理大小设置1-10,000的范围内 - KAFKA触发器:批处理大小设置1-1,000的范围内 - RABBITMQ触发器:批处理大小设置1-1,000的范围内 + :type batch_size: int + :param queue_id: 队列id(DMS触发器参数)。DMS触发器此参数必填。 + :type queue_id: str + :param consumer_group_id: 消费组id(DMS触发器参数)。DMS触发器此参数必填。 + :type consumer_group_id: str + :param polling_interval: 拉取周期。DIS、DMS触发器此参数必填。 + :type polling_interval: int + :param stream_name: 通道名称(DIS触发器参数)。DIS触发器此参数必填。 + :type stream_name: str + :param sharditerator_type: 起始位置(DIS触发器参数)。DIS触发器此参数必填。 - TRIM_HORIZON:从最早被存储至分区的有效记录开始读取。 - LATEST:从分区中的最新记录开始读取,此设置可以保证总是读到分区中最新记录。 + :type sharditerator_type: str + :param polling_unit: 拉取周期单位(DIS触发器参数)。DIS触发器此参数必填。 - s:秒 - ms:毫秒 + :type polling_unit: str + :param max_fetch_bytes: 最大提取字节数(DIS触发器参数)。 + :type max_fetch_bytes: int + :param is_serial: 串行处理数据(DIS触发器参数),如果开启该选项,取一次数据处理完之后才会取下一次数据;否则只要拉取周期到了就会取数据进行处理。DIS触发器此参数必填。 + :type is_serial: str + :param log_group_id: 日志组id(LTS触发器参数)。LTS触发器此参数必填。 + :type log_group_id: str + :param log_topic_id: 日志流id(LTS触发器参数)。LTS触发器此参数必填。 + :type log_topic_id: str + :param bucket: 桶名称(OBS触发器参数),用作事件源的OBS存储桶,不能和本用户已有桶重名;不能和其他用户已有的桶重名;创建成功后不支持修改。OBS触发器此参数必填。 + :type bucket: str + :param prefix: 前缀(OBS触发器参数),输入一个可选性前缀来限制对以此关键字开头的对象的通知。 + :type prefix: str + :param suffix: 后缀(OBS触发器参数),输入一个可选性后缀来限制对以此关键字结尾的对象的通知 + :type suffix: str + :param events: 触发事件(OBS触发器参数)。OBS触发器此参数必填。 - ObjectCreated:表示所有创建对象的操作,包含Put、Post、Copy对象以及合并段 - Put:使用Put方法上传对象 - Post:使用Post方法上传对象 - Copy:使用copy方法复制对象 - CompleteMultipartUpload:表示合并分段任务 - ObjectRemoved:表示删除对象 - Delete:指定对象版本号删除对象 - DeleteMarkerCreated:不指定对象版本号删除对象 + :type events: list[str] + :param topic_urn: 主题URN(SMN触发器参数)。SMN触发器此参数必填。 + :type topic_urn: str + :param topic_ids: KAFKA主题id列表(KAFKA触发器参数)。KAFKA触发器此参数必填。 + :type topic_ids: list[str] + :param kafka_user: KAFKA账户名(KAFKA触发器参数)。 + :type kafka_user: str + :param kafka_password: KAFKA账户密码(KAFKA触发器参数)。 + :type kafka_password: str + :param kafka_connect_address: KAFKA实例连接IP地址(KAFKA触发器参数)。 + :type kafka_connect_address: str + :param kafka_ssl_enable: KAFKA连接是否开启安全认证(KAFKA触发器参数)。 + :type kafka_ssl_enable: bool + :param access_password: RABBITMQ账户密码(RABBITMQ触发器参数)。RABBITMQ触发器此参数必填。 + :type access_password: str + :param access_user: RABBITMQ账户名(RABBITMQ触发器参数)。 + :type access_user: str + :param connect_address: 实例连接IP地址(RABBITMQ触发器参数)。 + :type connect_address: str + :param exchange_name: 交换机名称(RABBITMQ触发器参数)。RABBITMQ触发器此参数必填。 + :type exchange_name: str + :param vhost: 虚拟机名称(RABBITMQ触发器参数)。 + :type vhost: str + :param ssl_enable: RABBITMQ连接是否开启安全认证(RABBITMQ触发器参数)。 + :type ssl_enable: bool + """ + + + + self._name = None + self._schedule_type = None + self._schedule = None + self._user_event = None + self._type = None + self._path = None + self._protocol = None + self._req_method = None + self._group_id = None + self._group_name = None + self._match_mode = None + self._env_name = None + self._env_id = None + self._auth = None + self._func_info = None + self._sl_domain = None + self._backend_type = None + self._operations = None + self._instance_id = None + self._collection_name = None + self._db_name = None + self._db_password = None + self._batch_size = None + self._queue_id = None + self._consumer_group_id = None + self._polling_interval = None + self._stream_name = None + self._sharditerator_type = None + self._polling_unit = None + self._max_fetch_bytes = None + self._is_serial = None + self._log_group_id = None + self._log_topic_id = None + self._bucket = None + self._prefix = None + self._suffix = None + self._events = None + self._topic_urn = None + self._topic_ids = None + self._kafka_user = None + self._kafka_password = None + self._kafka_connect_address = None + self._kafka_ssl_enable = None + self._access_password = None + self._access_user = None + self._connect_address = None + self._exchange_name = None + self._vhost = None + self._ssl_enable = None + self.discriminator = None + + if name is not None: + self.name = name + if schedule_type is not None: + self.schedule_type = schedule_type + if schedule is not None: + self.schedule = schedule + if user_event is not None: + self.user_event = user_event + if type is not None: + self.type = type + if path is not None: + self.path = path + if protocol is not None: + self.protocol = protocol + if req_method is not None: + self.req_method = req_method + if group_id is not None: + self.group_id = group_id + if group_name is not None: + self.group_name = group_name + if match_mode is not None: + self.match_mode = match_mode + if env_name is not None: + self.env_name = env_name + if env_id is not None: + self.env_id = env_id + if auth is not None: + self.auth = auth + if func_info is not None: + self.func_info = func_info + if sl_domain is not None: + self.sl_domain = sl_domain + if backend_type is not None: + self.backend_type = backend_type + if operations is not None: + self.operations = operations + if instance_id is not None: + self.instance_id = instance_id + if collection_name is not None: + self.collection_name = collection_name + if db_name is not None: + self.db_name = db_name + if db_password is not None: + self.db_password = db_password + if batch_size is not None: + self.batch_size = batch_size + if queue_id is not None: + self.queue_id = queue_id + if consumer_group_id is not None: + self.consumer_group_id = consumer_group_id + if polling_interval is not None: + self.polling_interval = polling_interval + if stream_name is not None: + self.stream_name = stream_name + if sharditerator_type is not None: + self.sharditerator_type = sharditerator_type + if polling_unit is not None: + self.polling_unit = polling_unit + if max_fetch_bytes is not None: + self.max_fetch_bytes = max_fetch_bytes + if is_serial is not None: + self.is_serial = is_serial + if log_group_id is not None: + self.log_group_id = log_group_id + if log_topic_id is not None: + self.log_topic_id = log_topic_id + if bucket is not None: + self.bucket = bucket + if prefix is not None: + self.prefix = prefix + if suffix is not None: + self.suffix = suffix + if events is not None: + self.events = events + if topic_urn is not None: + self.topic_urn = topic_urn + if topic_ids is not None: + self.topic_ids = topic_ids + if kafka_user is not None: + self.kafka_user = kafka_user + if kafka_password is not None: + self.kafka_password = kafka_password + if kafka_connect_address is not None: + self.kafka_connect_address = kafka_connect_address + if kafka_ssl_enable is not None: + self.kafka_ssl_enable = kafka_ssl_enable + if access_password is not None: + self.access_password = access_password + if access_user is not None: + self.access_user = access_user + if connect_address is not None: + self.connect_address = connect_address + if exchange_name is not None: + self.exchange_name = exchange_name + if vhost is not None: + self.vhost = vhost + if ssl_enable is not None: + self.ssl_enable = ssl_enable + + @property + def name(self): + """Gets the name of this TriggerEventDataRequestBody. + + - TIMER触发器:触发器名称 - APIG触发器:API名称 - CTS触发器:通知名称 - OBS触发器:事件通知名称,默认值为触发器id + + :return: The name of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this TriggerEventDataRequestBody. + + - TIMER触发器:触发器名称 - APIG触发器:API名称 - CTS触发器:通知名称 - OBS触发器:事件通知名称,默认值为触发器id + + :param name: The name of this TriggerEventDataRequestBody. + :type name: str + """ + self._name = name + + @property + def schedule_type(self): + """Gets the schedule_type of this TriggerEventDataRequestBody. + + 定时触发类型(TIMER触发器参数)。TIMER触发器此参数必填 - Rate:指定固定频率(分钟、小时、天数)定期调用函数,单位为分钟时,输入值不能超过60;单位为小时时,输入值不能超过24;单位为天时,输入值不能超过30。 - Cron:指定Cron表达式定期调用函数 + + :return: The schedule_type of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._schedule_type + + @schedule_type.setter + def schedule_type(self, schedule_type): + """Sets the schedule_type of this TriggerEventDataRequestBody. + + 定时触发类型(TIMER触发器参数)。TIMER触发器此参数必填 - Rate:指定固定频率(分钟、小时、天数)定期调用函数,单位为分钟时,输入值不能超过60;单位为小时时,输入值不能超过24;单位为天时,输入值不能超过30。 - Cron:指定Cron表达式定期调用函数 + + :param schedule_type: The schedule_type of this TriggerEventDataRequestBody. + :type schedule_type: str + """ + self._schedule_type = schedule_type + + @property + def schedule(self): + """Gets the schedule of this TriggerEventDataRequestBody. + + 定时触发规则(TIMER触发器参数)。TIMER触发器此参数必填。 - 触发类型为Rate时对应定时规则 - 触发类型为Cron时对应Cron表达式 + + :return: The schedule of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._schedule + + @schedule.setter + def schedule(self, schedule): + """Sets the schedule of this TriggerEventDataRequestBody. + + 定时触发规则(TIMER触发器参数)。TIMER触发器此参数必填。 - 触发类型为Rate时对应定时规则 - 触发类型为Cron时对应Cron表达式 + + :param schedule: The schedule of this TriggerEventDataRequestBody. + :type schedule: str + """ + self._schedule = schedule + + @property + def user_event(self): + """Gets the user_event of this TriggerEventDataRequestBody. + + 附加信息(TIMER触发器参数)。 当Timer触发器触发函数执行时,执行事件(函数的event参数)为: {\"version\": \"v1.0\", \"time\": \"2018-06-01T08:30:00+08:00\", \"trigger_type\": \"TIMER\", \"trigger_name\": \"Timer_001\", \"user_event\": \"您输入的附加信息\"} + + :return: The user_event of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._user_event + + @user_event.setter + def user_event(self, user_event): + """Sets the user_event of this TriggerEventDataRequestBody. + + 附加信息(TIMER触发器参数)。 当Timer触发器触发函数执行时,执行事件(函数的event参数)为: {\"version\": \"v1.0\", \"time\": \"2018-06-01T08:30:00+08:00\", \"trigger_type\": \"TIMER\", \"trigger_name\": \"Timer_001\", \"user_event\": \"您输入的附加信息\"} + + :param user_event: The user_event of this TriggerEventDataRequestBody. + :type user_event: str + """ + self._user_event = user_event + + @property + def type(self): + """Gets the type of this TriggerEventDataRequestBody. + + API接口类型(APIG触发器参数)。APIG触发器此参数必填。 - 1:公有API - 2:私有API + + :return: The type of this TriggerEventDataRequestBody. + :rtype: int + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this TriggerEventDataRequestBody. + + API接口类型(APIG触发器参数)。APIG触发器此参数必填。 - 1:公有API - 2:私有API + + :param type: The type of this TriggerEventDataRequestBody. + :type type: int + """ + self._type = type + + @property + def path(self): + """Gets the path of this TriggerEventDataRequestBody. + + APIG接口PATH路径(APIG触发器参数)。APIG触发器此参数必填。 + + :return: The path of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """Sets the path of this TriggerEventDataRequestBody. + + APIG接口PATH路径(APIG触发器参数)。APIG触发器此参数必填。 + + :param path: The path of this TriggerEventDataRequestBody. + :type path: str + """ + self._path = path + + @property + def protocol(self): + """Gets the protocol of this TriggerEventDataRequestBody. + + API的请求协议(APIG触发器参数)。APIG触发器此参数必填。 + + :return: The protocol of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._protocol + + @protocol.setter + def protocol(self, protocol): + """Sets the protocol of this TriggerEventDataRequestBody. + + API的请求协议(APIG触发器参数)。APIG触发器此参数必填。 + + :param protocol: The protocol of this TriggerEventDataRequestBody. + :type protocol: str + """ + self._protocol = protocol + + @property + def req_method(self): + """Gets the req_method of this TriggerEventDataRequestBody. + + API的请求方式(APIG触发器参数)。APIG触发器此参数必填。 + + :return: The req_method of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._req_method + + @req_method.setter + def req_method(self, req_method): + """Sets the req_method of this TriggerEventDataRequestBody. + + API的请求方式(APIG触发器参数)。APIG触发器此参数必填。 + + :param req_method: The req_method of this TriggerEventDataRequestBody. + :type req_method: str + """ + self._req_method = req_method + + @property + def group_id(self): + """Gets the group_id of this TriggerEventDataRequestBody. + + API所属的分组编号(APIG触发器参数)。APIG触发器此参数必填。 + + :return: The group_id of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this TriggerEventDataRequestBody. + + API所属的分组编号(APIG触发器参数)。APIG触发器此参数必填。 + + :param group_id: The group_id of this TriggerEventDataRequestBody. + :type group_id: str + """ + self._group_id = group_id + + @property + def group_name(self): + """Gets the group_name of this TriggerEventDataRequestBody. + + API所属的分组名称 + + :return: The group_name of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._group_name + + @group_name.setter + def group_name(self, group_name): + """Sets the group_name of this TriggerEventDataRequestBody. + + API所属的分组名称 + + :param group_name: The group_name of this TriggerEventDataRequestBody. + :type group_name: str + """ + self._group_name = group_name + + @property + def match_mode(self): + """Gets the match_mode of this TriggerEventDataRequestBody. + + API的匹配方式(APIG触发器参数)。APIG触发器此参数必填。 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) + + :return: The match_mode of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._match_mode + + @match_mode.setter + def match_mode(self, match_mode): + """Sets the match_mode of this TriggerEventDataRequestBody. + + API的匹配方式(APIG触发器参数)。APIG触发器此参数必填。 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) + + :param match_mode: The match_mode of this TriggerEventDataRequestBody. + :type match_mode: str + """ + self._match_mode = match_mode + + @property + def env_name(self): + """Gets the env_name of this TriggerEventDataRequestBody. + + API的发布环境(APIG触发器参数)。APIG触发器此参数必填。 + + :return: The env_name of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._env_name + + @env_name.setter + def env_name(self, env_name): + """Sets the env_name of this TriggerEventDataRequestBody. + + API的发布环境(APIG触发器参数)。APIG触发器此参数必填。 + + :param env_name: The env_name of this TriggerEventDataRequestBody. + :type env_name: str + """ + self._env_name = env_name + + @property + def env_id(self): + """Gets the env_id of this TriggerEventDataRequestBody. + + API的发布环境id(APIG触发器参数)。APIG触发器此参数必填。 + + :return: The env_id of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._env_id + + @env_id.setter + def env_id(self, env_id): + """Sets the env_id of this TriggerEventDataRequestBody. + + API的发布环境id(APIG触发器参数)。APIG触发器此参数必填。 + + :param env_id: The env_id of this TriggerEventDataRequestBody. + :type env_id: str + """ + self._env_id = env_id + + @property + def auth(self): + """Gets the auth of this TriggerEventDataRequestBody. + + API的认证方式(APIG触发器参数)。APIG触发器此参数必填。 - IAM:IAM认证,只允许IAM用户能访问,安全级别中等 - APP:采用Appkey&Appsecret认证,安全级别高,推荐使用 - NONE:无认证模式,所有用户均可访问,不推荐使用 + + :return: The auth of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._auth + + @auth.setter + def auth(self, auth): + """Sets the auth of this TriggerEventDataRequestBody. + + API的认证方式(APIG触发器参数)。APIG触发器此参数必填。 - IAM:IAM认证,只允许IAM用户能访问,安全级别中等 - APP:采用Appkey&Appsecret认证,安全级别高,推荐使用 - NONE:无认证模式,所有用户均可访问,不推荐使用 + + :param auth: The auth of this TriggerEventDataRequestBody. + :type auth: str + """ + self._auth = auth + + @property + def func_info(self): + """Gets the func_info of this TriggerEventDataRequestBody. + + :return: The func_info of this TriggerEventDataRequestBody. + :rtype: :class:`huaweicloudsdkfunctiongraph.v2.ApigTriggerFuncInfo` + """ + return self._func_info + + @func_info.setter + def func_info(self, func_info): + """Sets the func_info of this TriggerEventDataRequestBody. + + :param func_info: The func_info of this TriggerEventDataRequestBody. + :type func_info: :class:`huaweicloudsdkfunctiongraph.v2.ApigTriggerFuncInfo` + """ + self._func_info = func_info + + @property + def sl_domain(self): + """Gets the sl_domain of this TriggerEventDataRequestBody. + + APIG系统默认分配的子域名(APIG触发器参数)。 + + :return: The sl_domain of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._sl_domain + + @sl_domain.setter + def sl_domain(self, sl_domain): + """Sets the sl_domain of this TriggerEventDataRequestBody. + + APIG系统默认分配的子域名(APIG触发器参数)。 + + :param sl_domain: The sl_domain of this TriggerEventDataRequestBody. + :type sl_domain: str + """ + self._sl_domain = sl_domain + + @property + def backend_type(self): + """Gets the backend_type of this TriggerEventDataRequestBody. + + API的后端类型(APIG触发器参数)。 + + :return: The backend_type of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._backend_type + + @backend_type.setter + def backend_type(self, backend_type): + """Sets the backend_type of this TriggerEventDataRequestBody. + + API的后端类型(APIG触发器参数)。 + + :param backend_type: The backend_type of this TriggerEventDataRequestBody. + :type backend_type: str + """ + self._backend_type = backend_type + + @property + def operations(self): + """Gets the operations of this TriggerEventDataRequestBody. + + 自定义操作(CTS触发器参数)。CTS触发器此参数必填。 CTS云审计服务类型和操作订阅所需要的事件通知,当CTS云审计服务获取已订阅的操作记录后,通过CTS触发器将采集到的操作记录作为参数传递来调用FunctionGraph函数。 + + :return: The operations of this TriggerEventDataRequestBody. + :rtype: list[str] + """ + return self._operations + + @operations.setter + def operations(self, operations): + """Sets the operations of this TriggerEventDataRequestBody. + + 自定义操作(CTS触发器参数)。CTS触发器此参数必填。 CTS云审计服务类型和操作订阅所需要的事件通知,当CTS云审计服务获取已订阅的操作记录后,通过CTS触发器将采集到的操作记录作为参数传递来调用FunctionGraph函数。 + + :param operations: The operations of this TriggerEventDataRequestBody. + :type operations: list[str] + """ + self._operations = operations + + @property + def instance_id(self): + """Gets the instance_id of this TriggerEventDataRequestBody. + + 实例id。DDS、KAFKA、RABBITMQ触发器此参数必填。 - APIG触发器:apig实例id - DDS触发器:文档数据库实例id - KAFKA触发器:KAFKA实例id - RABBITMQ触发器:RABBITMQ实例id + + :return: The instance_id of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this TriggerEventDataRequestBody. + + 实例id。DDS、KAFKA、RABBITMQ触发器此参数必填。 - APIG触发器:apig实例id - DDS触发器:文档数据库实例id - KAFKA触发器:KAFKA实例id - RABBITMQ触发器:RABBITMQ实例id + + :param instance_id: The instance_id of this TriggerEventDataRequestBody. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def collection_name(self): + """Gets the collection_name of this TriggerEventDataRequestBody. + + 集合名称(DDS触发器参数)。DDS触发器此参数必填。 + + :return: The collection_name of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._collection_name + + @collection_name.setter + def collection_name(self, collection_name): + """Sets the collection_name of this TriggerEventDataRequestBody. + + 集合名称(DDS触发器参数)。DDS触发器此参数必填。 + + :param collection_name: The collection_name of this TriggerEventDataRequestBody. + :type collection_name: str + """ + self._collection_name = collection_name + + @property + def db_name(self): + """Gets the db_name of this TriggerEventDataRequestBody. + + 文档数据库名称(DDS触发器参数)。DDS触发器此参数必填。 + + :return: The db_name of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._db_name + + @db_name.setter + def db_name(self, db_name): + """Sets the db_name of this TriggerEventDataRequestBody. + + 文档数据库名称(DDS触发器参数)。DDS触发器此参数必填。 + + :param db_name: The db_name of this TriggerEventDataRequestBody. + :type db_name: str + """ + self._db_name = db_name + + @property + def db_password(self): + """Gets the db_password of this TriggerEventDataRequestBody. + + 文档数据库密码(DDS触发器参数)。DDS触发器此参数必填。 + + :return: The db_password of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._db_password + + @db_password.setter + def db_password(self, db_password): + """Sets the db_password of this TriggerEventDataRequestBody. + + 文档数据库密码(DDS触发器参数)。DDS触发器此参数必填。 + + :param db_password: The db_password of this TriggerEventDataRequestBody. + :type db_password: str + """ + self._db_password = db_password + + @property + def batch_size(self): + """Gets the batch_size of this TriggerEventDataRequestBody. + + 批处理大小,单次函数执行处理的最大数据量。DIS、DDS、KAFKA、RABBITMQ触发器此参数必填。 - DDS触发器:批处理大小设置1-10,000的范围内 - DIS触发器:批处理大小设置1-10,000的范围内 - KAFKA触发器:批处理大小设置1-1,000的范围内 - RABBITMQ触发器:批处理大小设置1-1,000的范围内 + + :return: The batch_size of this TriggerEventDataRequestBody. + :rtype: int + """ + return self._batch_size + + @batch_size.setter + def batch_size(self, batch_size): + """Sets the batch_size of this TriggerEventDataRequestBody. + + 批处理大小,单次函数执行处理的最大数据量。DIS、DDS、KAFKA、RABBITMQ触发器此参数必填。 - DDS触发器:批处理大小设置1-10,000的范围内 - DIS触发器:批处理大小设置1-10,000的范围内 - KAFKA触发器:批处理大小设置1-1,000的范围内 - RABBITMQ触发器:批处理大小设置1-1,000的范围内 + + :param batch_size: The batch_size of this TriggerEventDataRequestBody. + :type batch_size: int + """ + self._batch_size = batch_size + + @property + def queue_id(self): + """Gets the queue_id of this TriggerEventDataRequestBody. + + 队列id(DMS触发器参数)。DMS触发器此参数必填。 + + :return: The queue_id of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._queue_id + + @queue_id.setter + def queue_id(self, queue_id): + """Sets the queue_id of this TriggerEventDataRequestBody. + + 队列id(DMS触发器参数)。DMS触发器此参数必填。 + + :param queue_id: The queue_id of this TriggerEventDataRequestBody. + :type queue_id: str + """ + self._queue_id = queue_id + + @property + def consumer_group_id(self): + """Gets the consumer_group_id of this TriggerEventDataRequestBody. + + 消费组id(DMS触发器参数)。DMS触发器此参数必填。 + + :return: The consumer_group_id of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._consumer_group_id + + @consumer_group_id.setter + def consumer_group_id(self, consumer_group_id): + """Sets the consumer_group_id of this TriggerEventDataRequestBody. + + 消费组id(DMS触发器参数)。DMS触发器此参数必填。 + + :param consumer_group_id: The consumer_group_id of this TriggerEventDataRequestBody. + :type consumer_group_id: str + """ + self._consumer_group_id = consumer_group_id + + @property + def polling_interval(self): + """Gets the polling_interval of this TriggerEventDataRequestBody. + + 拉取周期。DIS、DMS触发器此参数必填。 + + :return: The polling_interval of this TriggerEventDataRequestBody. + :rtype: int + """ + return self._polling_interval + + @polling_interval.setter + def polling_interval(self, polling_interval): + """Sets the polling_interval of this TriggerEventDataRequestBody. + + 拉取周期。DIS、DMS触发器此参数必填。 + + :param polling_interval: The polling_interval of this TriggerEventDataRequestBody. + :type polling_interval: int + """ + self._polling_interval = polling_interval + + @property + def stream_name(self): + """Gets the stream_name of this TriggerEventDataRequestBody. + + 通道名称(DIS触发器参数)。DIS触发器此参数必填。 + + :return: The stream_name of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._stream_name + + @stream_name.setter + def stream_name(self, stream_name): + """Sets the stream_name of this TriggerEventDataRequestBody. + + 通道名称(DIS触发器参数)。DIS触发器此参数必填。 + + :param stream_name: The stream_name of this TriggerEventDataRequestBody. + :type stream_name: str + """ + self._stream_name = stream_name + + @property + def sharditerator_type(self): + """Gets the sharditerator_type of this TriggerEventDataRequestBody. + + 起始位置(DIS触发器参数)。DIS触发器此参数必填。 - TRIM_HORIZON:从最早被存储至分区的有效记录开始读取。 - LATEST:从分区中的最新记录开始读取,此设置可以保证总是读到分区中最新记录。 + + :return: The sharditerator_type of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._sharditerator_type + + @sharditerator_type.setter + def sharditerator_type(self, sharditerator_type): + """Sets the sharditerator_type of this TriggerEventDataRequestBody. + + 起始位置(DIS触发器参数)。DIS触发器此参数必填。 - TRIM_HORIZON:从最早被存储至分区的有效记录开始读取。 - LATEST:从分区中的最新记录开始读取,此设置可以保证总是读到分区中最新记录。 + + :param sharditerator_type: The sharditerator_type of this TriggerEventDataRequestBody. + :type sharditerator_type: str + """ + self._sharditerator_type = sharditerator_type + + @property + def polling_unit(self): + """Gets the polling_unit of this TriggerEventDataRequestBody. + + 拉取周期单位(DIS触发器参数)。DIS触发器此参数必填。 - s:秒 - ms:毫秒 + + :return: The polling_unit of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._polling_unit + + @polling_unit.setter + def polling_unit(self, polling_unit): + """Sets the polling_unit of this TriggerEventDataRequestBody. + + 拉取周期单位(DIS触发器参数)。DIS触发器此参数必填。 - s:秒 - ms:毫秒 + + :param polling_unit: The polling_unit of this TriggerEventDataRequestBody. + :type polling_unit: str + """ + self._polling_unit = polling_unit + + @property + def max_fetch_bytes(self): + """Gets the max_fetch_bytes of this TriggerEventDataRequestBody. + + 最大提取字节数(DIS触发器参数)。 + + :return: The max_fetch_bytes of this TriggerEventDataRequestBody. + :rtype: int + """ + return self._max_fetch_bytes + + @max_fetch_bytes.setter + def max_fetch_bytes(self, max_fetch_bytes): + """Sets the max_fetch_bytes of this TriggerEventDataRequestBody. + + 最大提取字节数(DIS触发器参数)。 + + :param max_fetch_bytes: The max_fetch_bytes of this TriggerEventDataRequestBody. + :type max_fetch_bytes: int + """ + self._max_fetch_bytes = max_fetch_bytes + + @property + def is_serial(self): + """Gets the is_serial of this TriggerEventDataRequestBody. + + 串行处理数据(DIS触发器参数),如果开启该选项,取一次数据处理完之后才会取下一次数据;否则只要拉取周期到了就会取数据进行处理。DIS触发器此参数必填。 + + :return: The is_serial of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._is_serial + + @is_serial.setter + def is_serial(self, is_serial): + """Sets the is_serial of this TriggerEventDataRequestBody. + + 串行处理数据(DIS触发器参数),如果开启该选项,取一次数据处理完之后才会取下一次数据;否则只要拉取周期到了就会取数据进行处理。DIS触发器此参数必填。 + + :param is_serial: The is_serial of this TriggerEventDataRequestBody. + :type is_serial: str + """ + self._is_serial = is_serial + + @property + def log_group_id(self): + """Gets the log_group_id of this TriggerEventDataRequestBody. + + 日志组id(LTS触发器参数)。LTS触发器此参数必填。 + + :return: The log_group_id of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._log_group_id + + @log_group_id.setter + def log_group_id(self, log_group_id): + """Sets the log_group_id of this TriggerEventDataRequestBody. + + 日志组id(LTS触发器参数)。LTS触发器此参数必填。 + + :param log_group_id: The log_group_id of this TriggerEventDataRequestBody. + :type log_group_id: str + """ + self._log_group_id = log_group_id + + @property + def log_topic_id(self): + """Gets the log_topic_id of this TriggerEventDataRequestBody. + + 日志流id(LTS触发器参数)。LTS触发器此参数必填。 + + :return: The log_topic_id of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._log_topic_id + + @log_topic_id.setter + def log_topic_id(self, log_topic_id): + """Sets the log_topic_id of this TriggerEventDataRequestBody. + + 日志流id(LTS触发器参数)。LTS触发器此参数必填。 + + :param log_topic_id: The log_topic_id of this TriggerEventDataRequestBody. + :type log_topic_id: str + """ + self._log_topic_id = log_topic_id + + @property + def bucket(self): + """Gets the bucket of this TriggerEventDataRequestBody. + + 桶名称(OBS触发器参数),用作事件源的OBS存储桶,不能和本用户已有桶重名;不能和其他用户已有的桶重名;创建成功后不支持修改。OBS触发器此参数必填。 + + :return: The bucket of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._bucket + + @bucket.setter + def bucket(self, bucket): + """Sets the bucket of this TriggerEventDataRequestBody. + + 桶名称(OBS触发器参数),用作事件源的OBS存储桶,不能和本用户已有桶重名;不能和其他用户已有的桶重名;创建成功后不支持修改。OBS触发器此参数必填。 + + :param bucket: The bucket of this TriggerEventDataRequestBody. + :type bucket: str + """ + self._bucket = bucket + + @property + def prefix(self): + """Gets the prefix of this TriggerEventDataRequestBody. + + 前缀(OBS触发器参数),输入一个可选性前缀来限制对以此关键字开头的对象的通知。 + + :return: The prefix of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._prefix + + @prefix.setter + def prefix(self, prefix): + """Sets the prefix of this TriggerEventDataRequestBody. + + 前缀(OBS触发器参数),输入一个可选性前缀来限制对以此关键字开头的对象的通知。 + + :param prefix: The prefix of this TriggerEventDataRequestBody. + :type prefix: str + """ + self._prefix = prefix + + @property + def suffix(self): + """Gets the suffix of this TriggerEventDataRequestBody. + + 后缀(OBS触发器参数),输入一个可选性后缀来限制对以此关键字结尾的对象的通知 + + :return: The suffix of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._suffix + + @suffix.setter + def suffix(self, suffix): + """Sets the suffix of this TriggerEventDataRequestBody. + + 后缀(OBS触发器参数),输入一个可选性后缀来限制对以此关键字结尾的对象的通知 + + :param suffix: The suffix of this TriggerEventDataRequestBody. + :type suffix: str + """ + self._suffix = suffix + + @property + def events(self): + """Gets the events of this TriggerEventDataRequestBody. + + 触发事件(OBS触发器参数)。OBS触发器此参数必填。 - ObjectCreated:表示所有创建对象的操作,包含Put、Post、Copy对象以及合并段 - Put:使用Put方法上传对象 - Post:使用Post方法上传对象 - Copy:使用copy方法复制对象 - CompleteMultipartUpload:表示合并分段任务 - ObjectRemoved:表示删除对象 - Delete:指定对象版本号删除对象 - DeleteMarkerCreated:不指定对象版本号删除对象 + + :return: The events of this TriggerEventDataRequestBody. + :rtype: list[str] + """ + return self._events + + @events.setter + def events(self, events): + """Sets the events of this TriggerEventDataRequestBody. + + 触发事件(OBS触发器参数)。OBS触发器此参数必填。 - ObjectCreated:表示所有创建对象的操作,包含Put、Post、Copy对象以及合并段 - Put:使用Put方法上传对象 - Post:使用Post方法上传对象 - Copy:使用copy方法复制对象 - CompleteMultipartUpload:表示合并分段任务 - ObjectRemoved:表示删除对象 - Delete:指定对象版本号删除对象 - DeleteMarkerCreated:不指定对象版本号删除对象 + + :param events: The events of this TriggerEventDataRequestBody. + :type events: list[str] + """ + self._events = events + + @property + def topic_urn(self): + """Gets the topic_urn of this TriggerEventDataRequestBody. + + 主题URN(SMN触发器参数)。SMN触发器此参数必填。 + + :return: The topic_urn of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._topic_urn + + @topic_urn.setter + def topic_urn(self, topic_urn): + """Sets the topic_urn of this TriggerEventDataRequestBody. + + 主题URN(SMN触发器参数)。SMN触发器此参数必填。 + + :param topic_urn: The topic_urn of this TriggerEventDataRequestBody. + :type topic_urn: str + """ + self._topic_urn = topic_urn + + @property + def topic_ids(self): + """Gets the topic_ids of this TriggerEventDataRequestBody. + + KAFKA主题id列表(KAFKA触发器参数)。KAFKA触发器此参数必填。 + + :return: The topic_ids of this TriggerEventDataRequestBody. + :rtype: list[str] + """ + return self._topic_ids + + @topic_ids.setter + def topic_ids(self, topic_ids): + """Sets the topic_ids of this TriggerEventDataRequestBody. + + KAFKA主题id列表(KAFKA触发器参数)。KAFKA触发器此参数必填。 + + :param topic_ids: The topic_ids of this TriggerEventDataRequestBody. + :type topic_ids: list[str] + """ + self._topic_ids = topic_ids + + @property + def kafka_user(self): + """Gets the kafka_user of this TriggerEventDataRequestBody. + + KAFKA账户名(KAFKA触发器参数)。 + + :return: The kafka_user of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._kafka_user + + @kafka_user.setter + def kafka_user(self, kafka_user): + """Sets the kafka_user of this TriggerEventDataRequestBody. + + KAFKA账户名(KAFKA触发器参数)。 + + :param kafka_user: The kafka_user of this TriggerEventDataRequestBody. + :type kafka_user: str + """ + self._kafka_user = kafka_user + + @property + def kafka_password(self): + """Gets the kafka_password of this TriggerEventDataRequestBody. + + KAFKA账户密码(KAFKA触发器参数)。 + + :return: The kafka_password of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._kafka_password + + @kafka_password.setter + def kafka_password(self, kafka_password): + """Sets the kafka_password of this TriggerEventDataRequestBody. + + KAFKA账户密码(KAFKA触发器参数)。 + + :param kafka_password: The kafka_password of this TriggerEventDataRequestBody. + :type kafka_password: str + """ + self._kafka_password = kafka_password + + @property + def kafka_connect_address(self): + """Gets the kafka_connect_address of this TriggerEventDataRequestBody. + + KAFKA实例连接IP地址(KAFKA触发器参数)。 + + :return: The kafka_connect_address of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._kafka_connect_address + + @kafka_connect_address.setter + def kafka_connect_address(self, kafka_connect_address): + """Sets the kafka_connect_address of this TriggerEventDataRequestBody. + + KAFKA实例连接IP地址(KAFKA触发器参数)。 + + :param kafka_connect_address: The kafka_connect_address of this TriggerEventDataRequestBody. + :type kafka_connect_address: str + """ + self._kafka_connect_address = kafka_connect_address + + @property + def kafka_ssl_enable(self): + """Gets the kafka_ssl_enable of this TriggerEventDataRequestBody. + + KAFKA连接是否开启安全认证(KAFKA触发器参数)。 + + :return: The kafka_ssl_enable of this TriggerEventDataRequestBody. + :rtype: bool + """ + return self._kafka_ssl_enable + + @kafka_ssl_enable.setter + def kafka_ssl_enable(self, kafka_ssl_enable): + """Sets the kafka_ssl_enable of this TriggerEventDataRequestBody. + + KAFKA连接是否开启安全认证(KAFKA触发器参数)。 + + :param kafka_ssl_enable: The kafka_ssl_enable of this TriggerEventDataRequestBody. + :type kafka_ssl_enable: bool + """ + self._kafka_ssl_enable = kafka_ssl_enable + + @property + def access_password(self): + """Gets the access_password of this TriggerEventDataRequestBody. + + RABBITMQ账户密码(RABBITMQ触发器参数)。RABBITMQ触发器此参数必填。 + + :return: The access_password of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._access_password + + @access_password.setter + def access_password(self, access_password): + """Sets the access_password of this TriggerEventDataRequestBody. + + RABBITMQ账户密码(RABBITMQ触发器参数)。RABBITMQ触发器此参数必填。 + + :param access_password: The access_password of this TriggerEventDataRequestBody. + :type access_password: str + """ + self._access_password = access_password + + @property + def access_user(self): + """Gets the access_user of this TriggerEventDataRequestBody. + + RABBITMQ账户名(RABBITMQ触发器参数)。 + + :return: The access_user of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._access_user + + @access_user.setter + def access_user(self, access_user): + """Sets the access_user of this TriggerEventDataRequestBody. + + RABBITMQ账户名(RABBITMQ触发器参数)。 + + :param access_user: The access_user of this TriggerEventDataRequestBody. + :type access_user: str + """ + self._access_user = access_user + + @property + def connect_address(self): + """Gets the connect_address of this TriggerEventDataRequestBody. + + 实例连接IP地址(RABBITMQ触发器参数)。 + + :return: The connect_address of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._connect_address + + @connect_address.setter + def connect_address(self, connect_address): + """Sets the connect_address of this TriggerEventDataRequestBody. + + 实例连接IP地址(RABBITMQ触发器参数)。 + + :param connect_address: The connect_address of this TriggerEventDataRequestBody. + :type connect_address: str + """ + self._connect_address = connect_address + + @property + def exchange_name(self): + """Gets the exchange_name of this TriggerEventDataRequestBody. + + 交换机名称(RABBITMQ触发器参数)。RABBITMQ触发器此参数必填。 + + :return: The exchange_name of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._exchange_name + + @exchange_name.setter + def exchange_name(self, exchange_name): + """Sets the exchange_name of this TriggerEventDataRequestBody. + + 交换机名称(RABBITMQ触发器参数)。RABBITMQ触发器此参数必填。 + + :param exchange_name: The exchange_name of this TriggerEventDataRequestBody. + :type exchange_name: str + """ + self._exchange_name = exchange_name + + @property + def vhost(self): + """Gets the vhost of this TriggerEventDataRequestBody. + + 虚拟机名称(RABBITMQ触发器参数)。 + + :return: The vhost of this TriggerEventDataRequestBody. + :rtype: str + """ + return self._vhost + + @vhost.setter + def vhost(self, vhost): + """Sets the vhost of this TriggerEventDataRequestBody. + + 虚拟机名称(RABBITMQ触发器参数)。 + + :param vhost: The vhost of this TriggerEventDataRequestBody. + :type vhost: str + """ + self._vhost = vhost + + @property + def ssl_enable(self): + """Gets the ssl_enable of this TriggerEventDataRequestBody. + + RABBITMQ连接是否开启安全认证(RABBITMQ触发器参数)。 + + :return: The ssl_enable of this TriggerEventDataRequestBody. + :rtype: bool + """ + return self._ssl_enable + + @ssl_enable.setter + def ssl_enable(self, ssl_enable): + """Sets the ssl_enable of this TriggerEventDataRequestBody. + + RABBITMQ连接是否开启安全认证(RABBITMQ触发器参数)。 + + :param ssl_enable: The ssl_enable of this TriggerEventDataRequestBody. + :type ssl_enable: bool + """ + self._ssl_enable = ssl_enable + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TriggerEventDataRequestBody): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/trigger_event_data_response_body.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/trigger_event_data_response_body.py new file mode 100644 index 000000000..0659c3a97 --- /dev/null +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/trigger_event_data_response_body.py @@ -0,0 +1,1735 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class TriggerEventDataResponseBody: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'name': 'str', + 'schedule_type': 'str', + 'schedule': 'str', + 'user_event': 'str', + 'triggerid': 'str', + 'type': 'int', + 'path': 'str', + 'protocol': 'str', + 'req_method': 'str', + 'group_id': 'str', + 'group_name': 'str', + 'match_mode': 'str', + 'env_name': 'str', + 'env_id': 'str', + 'api_id': 'str', + 'api_name': 'str', + 'auth': 'str', + 'invoke_url': 'str', + 'func_info': 'ApigTriggerFuncInfo', + 'sl_domain': 'str', + 'backend_type': 'str', + 'instance_id': 'str', + 'roma_app_id': 'str', + 'operations': 'list[str]', + 'collection_name': 'str', + 'db_name': 'str', + 'db_password': 'str', + 'db_user': 'str', + 'instance_addrs': 'list[str]', + 'mode': 'str', + 'batch_size': 'int', + 'queue_id': 'str', + 'consumer_group_id': 'str', + 'polling_interval': 'int', + 'stream_name': 'str', + 'sharditerator_type': 'str', + 'polling_unit': 'str', + 'max_fetch_bytes': 'int', + 'is_serial': 'str', + 'log_group_id': 'str', + 'log_topic_id': 'str', + 'bucket': 'str', + 'prefix': 'str', + 'suffix': 'str', + 'events': 'list[str]', + 'topic_urn': 'str', + 'topic_ids': 'list[str]', + 'kafka_user': 'str', + 'kafka_password': 'str', + 'kafka_connect_address': 'str', + 'kafka_ssl_enable': 'bool', + 'access_password': 'str', + 'access_user': 'str', + 'connect_address': 'str', + 'exchange_name': 'str', + 'vhost': 'str', + 'ssl_enable': 'bool' + } + + attribute_map = { + 'name': 'name', + 'schedule_type': 'schedule_type', + 'schedule': 'schedule', + 'user_event': 'user_event', + 'triggerid': 'triggerid', + 'type': 'type', + 'path': 'path', + 'protocol': 'protocol', + 'req_method': 'req_method', + 'group_id': 'group_id', + 'group_name': 'group_name', + 'match_mode': 'match_mode', + 'env_name': 'env_name', + 'env_id': 'env_id', + 'api_id': 'api_id', + 'api_name': 'api_name', + 'auth': 'auth', + 'invoke_url': 'invoke_url', + 'func_info': 'func_info', + 'sl_domain': 'sl_domain', + 'backend_type': 'backend_type', + 'instance_id': 'instance_id', + 'roma_app_id': 'roma_app_id', + 'operations': 'operations', + 'collection_name': 'collection_name', + 'db_name': 'db_name', + 'db_password': 'db_password', + 'db_user': 'db_user', + 'instance_addrs': 'instance_addrs', + 'mode': 'mode', + 'batch_size': 'batch_size', + 'queue_id': 'queue_id', + 'consumer_group_id': 'consumer_group_id', + 'polling_interval': 'polling_interval', + 'stream_name': 'stream_name', + 'sharditerator_type': 'sharditerator_type', + 'polling_unit': 'polling_unit', + 'max_fetch_bytes': 'max_fetch_bytes', + 'is_serial': 'is_serial', + 'log_group_id': 'log_group_id', + 'log_topic_id': 'log_topic_id', + 'bucket': 'bucket', + 'prefix': 'prefix', + 'suffix': 'suffix', + 'events': 'events', + 'topic_urn': 'topic_urn', + 'topic_ids': 'topic_ids', + 'kafka_user': 'kafka_user', + 'kafka_password': 'kafka_password', + 'kafka_connect_address': 'kafka_connect_address', + 'kafka_ssl_enable': 'kafka_ssl_enable', + 'access_password': 'access_password', + 'access_user': 'access_user', + 'connect_address': 'connect_address', + 'exchange_name': 'exchange_name', + 'vhost': 'vhost', + 'ssl_enable': 'ssl_enable' + } + + def __init__(self, name=None, schedule_type=None, schedule=None, user_event=None, triggerid=None, type=None, path=None, protocol=None, req_method=None, group_id=None, group_name=None, match_mode=None, env_name=None, env_id=None, api_id=None, api_name=None, auth=None, invoke_url=None, func_info=None, sl_domain=None, backend_type=None, instance_id=None, roma_app_id=None, operations=None, collection_name=None, db_name=None, db_password=None, db_user=None, instance_addrs=None, mode=None, batch_size=None, queue_id=None, consumer_group_id=None, polling_interval=None, stream_name=None, sharditerator_type=None, polling_unit=None, max_fetch_bytes=None, is_serial=None, log_group_id=None, log_topic_id=None, bucket=None, prefix=None, suffix=None, events=None, topic_urn=None, topic_ids=None, kafka_user=None, kafka_password=None, kafka_connect_address=None, kafka_ssl_enable=None, access_password=None, access_user=None, connect_address=None, exchange_name=None, vhost=None, ssl_enable=None): + """TriggerEventDataResponseBody + + The model defined in huaweicloud sdk + + :param name: 触发器名称 + :type name: str + :param schedule_type: 定时触发类型(TIMER触发器参数)。 - Rate:指定固定频率(分钟、小时、天数)定期调用函数,单位为分钟时,输入值不能超过60;单位为小时时,输入值不能超过24;单位为天时,输入值不能超过30。 - Cron:指定Cron表达式定期调用函数 + :type schedule_type: str + :param schedule: 定时触发规则(TIMER触发器参数)。 - 触发类型为Rate时对应定时规则 - 触发类型为Cron时对应Cron表达式 + :type schedule: str + :param user_event: 附加信息(TIMER触发器参数)。 当Timer触发器触发函数执行时,执行事件(函数的event参数)为: {\"version\": \"v1.0\", \"time\": \"2018-06-01T08:30:00+08:00\", \"trigger_type\": \"TIMER\", \"trigger_name\": \"Timer_001\", \"user_event\": \"您输入的附加信息\"} + :type user_event: str + :param triggerid: APIG触发器id。(APIG触发器参数) + :type triggerid: str + :param type: API接口类型(APIG触发器参数)。 - 1:公有API - 2:私有API + :type type: int + :param path: APIG接口PATH路径(APIG触发器参数)。 + :type path: str + :param protocol: API的请求协议(APIG触发器参数)。 + :type protocol: str + :param req_method: API的请求方式(APIG触发器参数)。 + :type req_method: str + :param group_id: API所属的分组编号(APIG触发器参数)。 + :type group_id: str + :param group_name: API所属的分组名称(APIG触发器参数)。 + :type group_name: str + :param match_mode: API的匹配方式(APIG触发器参数)。 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) + :type match_mode: str + :param env_name: API的发布环境(APIG触发器参数)。 + :type env_name: str + :param env_id: API的发布环境id(APIG触发器参数)。 + :type env_id: str + :param api_id: API编号(APIG触发器参数)。 + :type api_id: str + :param api_name: API名称(APIG触发器参数)。 + :type api_name: str + :param auth: API的认证方式(APIG触发器参数)。 - IAM:IAM认证,只允许IAM用户能访问,安全级别中等 - APP:采用Appkey&Appsecret认证,安全级别高,推荐使用 - NONE:无认证模式,所有用户均可访问,不推荐使用 + :type auth: str + :param invoke_url: API调用地址(APIG触发器参数)。 + :type invoke_url: str + :param func_info: + :type func_info: :class:`huaweicloudsdkfunctiongraph.v2.ApigTriggerFuncInfo` + :param sl_domain: APIG系统默认分配的子域名(APIG触发器参数)。 + :type sl_domain: str + :param backend_type: API的后端类型(APIG触发器参数)。 + :type backend_type: str + :param instance_id: 实例id。DDS、KAFKA、RABBITMQ触发器此参数必填。 - APIG触发器:apig实例id - DDS触发器:文档数据库实例id - KAFKA触发器:KAFKA实例id - RABBITMQ触发器:RABBITMQ实例id + :type instance_id: str + :param roma_app_id: API归属的集成应用编号。(APIG触发器参数) + :type roma_app_id: str + :param operations: 自定义操作(CTS触发器参数)。 CTS云审计服务类型和操作订阅所需要的事件通知,当CTS云审计服务获取已订阅的操作记录后,通过CTS触发器将采集到的操作记录作为参数传递来调用FunctionGraph函数。 + :type operations: list[str] + :param collection_name: 集合名称(DDS触发器参数)。 + :type collection_name: str + :param db_name: 文档数据库名称(DDS触发器参数)。 + :type db_name: str + :param db_password: 文档数据库密码(DDS触发器参数)。 + :type db_password: str + :param db_user: 文档数据库用户名(DDS触发器参数)。 + :type db_user: str + :param instance_addrs: 文档数据库实例地址(DDS触发器参数)。 + :type instance_addrs: list[str] + :param mode: 文档数据库实例类型(DDS触发器参数)。 - Sharding:集群实例 - ReplicaSet:副本集实例 - Single:单节点实例 + :type mode: str + :param batch_size: 批处理大小,单次函数执行处理的最大数据量。DIS、DDS、KAFKA、RABBITMQ触发器此参数必填。 - DDS触发器:批处理大小设置1-10,000的范围内 - DIS触发器:批处理大小设置1-10,000的范围内 - KAFKA触发器:批处理大小设置1-1,000的范围内 - RABBITMQ触发器:批处理大小设置1-1,000的范围内 + :type batch_size: int + :param queue_id: 队列id(DMS触发器参数)。 + :type queue_id: str + :param consumer_group_id: 消费组id(DMS触发器参数)。 + :type consumer_group_id: str + :param polling_interval: 拉取周期。 + :type polling_interval: int + :param stream_name: 通道名称(DIS触发器参数)。 + :type stream_name: str + :param sharditerator_type: 起始位置(DIS触发器参数)。 - TRIM_HORIZON:从最早被存储至分区的有效记录开始读取。 - LATEST:从分区中的最新记录开始读取,此设置可以保证总是读到分区中最新记录。 + :type sharditerator_type: str + :param polling_unit: 拉取周期单位(DIS触发器参数)。 - s:秒 - ms:毫秒 + :type polling_unit: str + :param max_fetch_bytes: 最大提取字节数(DIS触发器参数)。 + :type max_fetch_bytes: int + :param is_serial: 串行处理数据(DIS触发器参数),如果开启该选项,取一次数据处理完之后才会取下一次数据;否则只要拉取周期到了就会取数据进行处理。 + :type is_serial: str + :param log_group_id: 日志组id(LTS触发器参数)。 + :type log_group_id: str + :param log_topic_id: 日志流id(LTS触发器参数)。 + :type log_topic_id: str + :param bucket: 桶名称(OBS触发器参数),用作事件源的OBS存储桶,不能和本用户已有桶重名;不能和其他用户已有的桶重名;创建成功后不支持修改。 + :type bucket: str + :param prefix: 前缀(OBS触发器参数),输入一个可选性前缀来限制对以此关键字开头的对象的通知。 + :type prefix: str + :param suffix: 后缀(OBS触发器参数),输入一个可选性后缀来限制对以此关键字结尾的对象的通知 + :type suffix: str + :param events: 触发事件(OBS触发器参数)。 - ObjectCreated:表示所有创建对象的操作,包含Put、Post、Copy对象以及合并段 - Put:使用Put方法上传对象 - Post:使用Post方法上传对象 - Copy:使用copy方法复制对象 - CompleteMultipartUpload:表示合并分段任务 - ObjectRemoved:表示删除对象 - Delete:指定对象版本号删除对象 - DeleteMarkerCreated:不指定对象版本号删除对象 + :type events: list[str] + :param topic_urn: 主题URN(SMN触发器参数)。 + :type topic_urn: str + :param topic_ids: KAFKA主题id列表(KAFKA触发器参数)。 + :type topic_ids: list[str] + :param kafka_user: KAFKA账户名(KAFKA触发器参数)。 + :type kafka_user: str + :param kafka_password: KAFKA账户密码(KAFKA触发器参数)。 + :type kafka_password: str + :param kafka_connect_address: KAFKA实例连接IP地址(KAFKA触发器参数)。 + :type kafka_connect_address: str + :param kafka_ssl_enable: KAFKA连接是否开启安全认证(KAFKA触发器参数)。 + :type kafka_ssl_enable: bool + :param access_password: RABBITMQ账户密码(RABBITMQ触发器参数)。 + :type access_password: str + :param access_user: RABBITMQ账户名(RABBITMQ触发器参数)。 + :type access_user: str + :param connect_address: 实例连接IP地址(RABBITMQ触发器参数)。 + :type connect_address: str + :param exchange_name: 交换机名称(RABBITMQ触发器参数)。 + :type exchange_name: str + :param vhost: 虚拟机名称(RABBITMQ触发器参数)。 + :type vhost: str + :param ssl_enable: RABBITMQ连接是否开启安全认证(RABBITMQ触发器参数)。 + :type ssl_enable: bool + """ + + + + self._name = None + self._schedule_type = None + self._schedule = None + self._user_event = None + self._triggerid = None + self._type = None + self._path = None + self._protocol = None + self._req_method = None + self._group_id = None + self._group_name = None + self._match_mode = None + self._env_name = None + self._env_id = None + self._api_id = None + self._api_name = None + self._auth = None + self._invoke_url = None + self._func_info = None + self._sl_domain = None + self._backend_type = None + self._instance_id = None + self._roma_app_id = None + self._operations = None + self._collection_name = None + self._db_name = None + self._db_password = None + self._db_user = None + self._instance_addrs = None + self._mode = None + self._batch_size = None + self._queue_id = None + self._consumer_group_id = None + self._polling_interval = None + self._stream_name = None + self._sharditerator_type = None + self._polling_unit = None + self._max_fetch_bytes = None + self._is_serial = None + self._log_group_id = None + self._log_topic_id = None + self._bucket = None + self._prefix = None + self._suffix = None + self._events = None + self._topic_urn = None + self._topic_ids = None + self._kafka_user = None + self._kafka_password = None + self._kafka_connect_address = None + self._kafka_ssl_enable = None + self._access_password = None + self._access_user = None + self._connect_address = None + self._exchange_name = None + self._vhost = None + self._ssl_enable = None + self.discriminator = None + + if name is not None: + self.name = name + if schedule_type is not None: + self.schedule_type = schedule_type + if schedule is not None: + self.schedule = schedule + if user_event is not None: + self.user_event = user_event + if triggerid is not None: + self.triggerid = triggerid + if type is not None: + self.type = type + if path is not None: + self.path = path + if protocol is not None: + self.protocol = protocol + if req_method is not None: + self.req_method = req_method + if group_id is not None: + self.group_id = group_id + if group_name is not None: + self.group_name = group_name + if match_mode is not None: + self.match_mode = match_mode + if env_name is not None: + self.env_name = env_name + if env_id is not None: + self.env_id = env_id + if api_id is not None: + self.api_id = api_id + if api_name is not None: + self.api_name = api_name + if auth is not None: + self.auth = auth + if invoke_url is not None: + self.invoke_url = invoke_url + if func_info is not None: + self.func_info = func_info + if sl_domain is not None: + self.sl_domain = sl_domain + if backend_type is not None: + self.backend_type = backend_type + if instance_id is not None: + self.instance_id = instance_id + if roma_app_id is not None: + self.roma_app_id = roma_app_id + if operations is not None: + self.operations = operations + if collection_name is not None: + self.collection_name = collection_name + if db_name is not None: + self.db_name = db_name + if db_password is not None: + self.db_password = db_password + if db_user is not None: + self.db_user = db_user + if instance_addrs is not None: + self.instance_addrs = instance_addrs + if mode is not None: + self.mode = mode + if batch_size is not None: + self.batch_size = batch_size + if queue_id is not None: + self.queue_id = queue_id + if consumer_group_id is not None: + self.consumer_group_id = consumer_group_id + if polling_interval is not None: + self.polling_interval = polling_interval + if stream_name is not None: + self.stream_name = stream_name + if sharditerator_type is not None: + self.sharditerator_type = sharditerator_type + if polling_unit is not None: + self.polling_unit = polling_unit + if max_fetch_bytes is not None: + self.max_fetch_bytes = max_fetch_bytes + if is_serial is not None: + self.is_serial = is_serial + if log_group_id is not None: + self.log_group_id = log_group_id + if log_topic_id is not None: + self.log_topic_id = log_topic_id + if bucket is not None: + self.bucket = bucket + if prefix is not None: + self.prefix = prefix + if suffix is not None: + self.suffix = suffix + if events is not None: + self.events = events + if topic_urn is not None: + self.topic_urn = topic_urn + if topic_ids is not None: + self.topic_ids = topic_ids + if kafka_user is not None: + self.kafka_user = kafka_user + if kafka_password is not None: + self.kafka_password = kafka_password + if kafka_connect_address is not None: + self.kafka_connect_address = kafka_connect_address + if kafka_ssl_enable is not None: + self.kafka_ssl_enable = kafka_ssl_enable + if access_password is not None: + self.access_password = access_password + if access_user is not None: + self.access_user = access_user + if connect_address is not None: + self.connect_address = connect_address + if exchange_name is not None: + self.exchange_name = exchange_name + if vhost is not None: + self.vhost = vhost + if ssl_enable is not None: + self.ssl_enable = ssl_enable + + @property + def name(self): + """Gets the name of this TriggerEventDataResponseBody. + + 触发器名称 + + :return: The name of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this TriggerEventDataResponseBody. + + 触发器名称 + + :param name: The name of this TriggerEventDataResponseBody. + :type name: str + """ + self._name = name + + @property + def schedule_type(self): + """Gets the schedule_type of this TriggerEventDataResponseBody. + + 定时触发类型(TIMER触发器参数)。 - Rate:指定固定频率(分钟、小时、天数)定期调用函数,单位为分钟时,输入值不能超过60;单位为小时时,输入值不能超过24;单位为天时,输入值不能超过30。 - Cron:指定Cron表达式定期调用函数 + + :return: The schedule_type of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._schedule_type + + @schedule_type.setter + def schedule_type(self, schedule_type): + """Sets the schedule_type of this TriggerEventDataResponseBody. + + 定时触发类型(TIMER触发器参数)。 - Rate:指定固定频率(分钟、小时、天数)定期调用函数,单位为分钟时,输入值不能超过60;单位为小时时,输入值不能超过24;单位为天时,输入值不能超过30。 - Cron:指定Cron表达式定期调用函数 + + :param schedule_type: The schedule_type of this TriggerEventDataResponseBody. + :type schedule_type: str + """ + self._schedule_type = schedule_type + + @property + def schedule(self): + """Gets the schedule of this TriggerEventDataResponseBody. + + 定时触发规则(TIMER触发器参数)。 - 触发类型为Rate时对应定时规则 - 触发类型为Cron时对应Cron表达式 + + :return: The schedule of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._schedule + + @schedule.setter + def schedule(self, schedule): + """Sets the schedule of this TriggerEventDataResponseBody. + + 定时触发规则(TIMER触发器参数)。 - 触发类型为Rate时对应定时规则 - 触发类型为Cron时对应Cron表达式 + + :param schedule: The schedule of this TriggerEventDataResponseBody. + :type schedule: str + """ + self._schedule = schedule + + @property + def user_event(self): + """Gets the user_event of this TriggerEventDataResponseBody. + + 附加信息(TIMER触发器参数)。 当Timer触发器触发函数执行时,执行事件(函数的event参数)为: {\"version\": \"v1.0\", \"time\": \"2018-06-01T08:30:00+08:00\", \"trigger_type\": \"TIMER\", \"trigger_name\": \"Timer_001\", \"user_event\": \"您输入的附加信息\"} + + :return: The user_event of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._user_event + + @user_event.setter + def user_event(self, user_event): + """Sets the user_event of this TriggerEventDataResponseBody. + + 附加信息(TIMER触发器参数)。 当Timer触发器触发函数执行时,执行事件(函数的event参数)为: {\"version\": \"v1.0\", \"time\": \"2018-06-01T08:30:00+08:00\", \"trigger_type\": \"TIMER\", \"trigger_name\": \"Timer_001\", \"user_event\": \"您输入的附加信息\"} + + :param user_event: The user_event of this TriggerEventDataResponseBody. + :type user_event: str + """ + self._user_event = user_event + + @property + def triggerid(self): + """Gets the triggerid of this TriggerEventDataResponseBody. + + APIG触发器id。(APIG触发器参数) + + :return: The triggerid of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._triggerid + + @triggerid.setter + def triggerid(self, triggerid): + """Sets the triggerid of this TriggerEventDataResponseBody. + + APIG触发器id。(APIG触发器参数) + + :param triggerid: The triggerid of this TriggerEventDataResponseBody. + :type triggerid: str + """ + self._triggerid = triggerid + + @property + def type(self): + """Gets the type of this TriggerEventDataResponseBody. + + API接口类型(APIG触发器参数)。 - 1:公有API - 2:私有API + + :return: The type of this TriggerEventDataResponseBody. + :rtype: int + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this TriggerEventDataResponseBody. + + API接口类型(APIG触发器参数)。 - 1:公有API - 2:私有API + + :param type: The type of this TriggerEventDataResponseBody. + :type type: int + """ + self._type = type + + @property + def path(self): + """Gets the path of this TriggerEventDataResponseBody. + + APIG接口PATH路径(APIG触发器参数)。 + + :return: The path of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """Sets the path of this TriggerEventDataResponseBody. + + APIG接口PATH路径(APIG触发器参数)。 + + :param path: The path of this TriggerEventDataResponseBody. + :type path: str + """ + self._path = path + + @property + def protocol(self): + """Gets the protocol of this TriggerEventDataResponseBody. + + API的请求协议(APIG触发器参数)。 + + :return: The protocol of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._protocol + + @protocol.setter + def protocol(self, protocol): + """Sets the protocol of this TriggerEventDataResponseBody. + + API的请求协议(APIG触发器参数)。 + + :param protocol: The protocol of this TriggerEventDataResponseBody. + :type protocol: str + """ + self._protocol = protocol + + @property + def req_method(self): + """Gets the req_method of this TriggerEventDataResponseBody. + + API的请求方式(APIG触发器参数)。 + + :return: The req_method of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._req_method + + @req_method.setter + def req_method(self, req_method): + """Sets the req_method of this TriggerEventDataResponseBody. + + API的请求方式(APIG触发器参数)。 + + :param req_method: The req_method of this TriggerEventDataResponseBody. + :type req_method: str + """ + self._req_method = req_method + + @property + def group_id(self): + """Gets the group_id of this TriggerEventDataResponseBody. + + API所属的分组编号(APIG触发器参数)。 + + :return: The group_id of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this TriggerEventDataResponseBody. + + API所属的分组编号(APIG触发器参数)。 + + :param group_id: The group_id of this TriggerEventDataResponseBody. + :type group_id: str + """ + self._group_id = group_id + + @property + def group_name(self): + """Gets the group_name of this TriggerEventDataResponseBody. + + API所属的分组名称(APIG触发器参数)。 + + :return: The group_name of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._group_name + + @group_name.setter + def group_name(self, group_name): + """Sets the group_name of this TriggerEventDataResponseBody. + + API所属的分组名称(APIG触发器参数)。 + + :param group_name: The group_name of this TriggerEventDataResponseBody. + :type group_name: str + """ + self._group_name = group_name + + @property + def match_mode(self): + """Gets the match_mode of this TriggerEventDataResponseBody. + + API的匹配方式(APIG触发器参数)。 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) + + :return: The match_mode of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._match_mode + + @match_mode.setter + def match_mode(self, match_mode): + """Sets the match_mode of this TriggerEventDataResponseBody. + + API的匹配方式(APIG触发器参数)。 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) + + :param match_mode: The match_mode of this TriggerEventDataResponseBody. + :type match_mode: str + """ + self._match_mode = match_mode + + @property + def env_name(self): + """Gets the env_name of this TriggerEventDataResponseBody. + + API的发布环境(APIG触发器参数)。 + + :return: The env_name of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._env_name + + @env_name.setter + def env_name(self, env_name): + """Sets the env_name of this TriggerEventDataResponseBody. + + API的发布环境(APIG触发器参数)。 + + :param env_name: The env_name of this TriggerEventDataResponseBody. + :type env_name: str + """ + self._env_name = env_name + + @property + def env_id(self): + """Gets the env_id of this TriggerEventDataResponseBody. + + API的发布环境id(APIG触发器参数)。 + + :return: The env_id of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._env_id + + @env_id.setter + def env_id(self, env_id): + """Sets the env_id of this TriggerEventDataResponseBody. + + API的发布环境id(APIG触发器参数)。 + + :param env_id: The env_id of this TriggerEventDataResponseBody. + :type env_id: str + """ + self._env_id = env_id + + @property + def api_id(self): + """Gets the api_id of this TriggerEventDataResponseBody. + + API编号(APIG触发器参数)。 + + :return: The api_id of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._api_id + + @api_id.setter + def api_id(self, api_id): + """Sets the api_id of this TriggerEventDataResponseBody. + + API编号(APIG触发器参数)。 + + :param api_id: The api_id of this TriggerEventDataResponseBody. + :type api_id: str + """ + self._api_id = api_id + + @property + def api_name(self): + """Gets the api_name of this TriggerEventDataResponseBody. + + API名称(APIG触发器参数)。 + + :return: The api_name of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._api_name + + @api_name.setter + def api_name(self, api_name): + """Sets the api_name of this TriggerEventDataResponseBody. + + API名称(APIG触发器参数)。 + + :param api_name: The api_name of this TriggerEventDataResponseBody. + :type api_name: str + """ + self._api_name = api_name + + @property + def auth(self): + """Gets the auth of this TriggerEventDataResponseBody. + + API的认证方式(APIG触发器参数)。 - IAM:IAM认证,只允许IAM用户能访问,安全级别中等 - APP:采用Appkey&Appsecret认证,安全级别高,推荐使用 - NONE:无认证模式,所有用户均可访问,不推荐使用 + + :return: The auth of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._auth + + @auth.setter + def auth(self, auth): + """Sets the auth of this TriggerEventDataResponseBody. + + API的认证方式(APIG触发器参数)。 - IAM:IAM认证,只允许IAM用户能访问,安全级别中等 - APP:采用Appkey&Appsecret认证,安全级别高,推荐使用 - NONE:无认证模式,所有用户均可访问,不推荐使用 + + :param auth: The auth of this TriggerEventDataResponseBody. + :type auth: str + """ + self._auth = auth + + @property + def invoke_url(self): + """Gets the invoke_url of this TriggerEventDataResponseBody. + + API调用地址(APIG触发器参数)。 + + :return: The invoke_url of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._invoke_url + + @invoke_url.setter + def invoke_url(self, invoke_url): + """Sets the invoke_url of this TriggerEventDataResponseBody. + + API调用地址(APIG触发器参数)。 + + :param invoke_url: The invoke_url of this TriggerEventDataResponseBody. + :type invoke_url: str + """ + self._invoke_url = invoke_url + + @property + def func_info(self): + """Gets the func_info of this TriggerEventDataResponseBody. + + :return: The func_info of this TriggerEventDataResponseBody. + :rtype: :class:`huaweicloudsdkfunctiongraph.v2.ApigTriggerFuncInfo` + """ + return self._func_info + + @func_info.setter + def func_info(self, func_info): + """Sets the func_info of this TriggerEventDataResponseBody. + + :param func_info: The func_info of this TriggerEventDataResponseBody. + :type func_info: :class:`huaweicloudsdkfunctiongraph.v2.ApigTriggerFuncInfo` + """ + self._func_info = func_info + + @property + def sl_domain(self): + """Gets the sl_domain of this TriggerEventDataResponseBody. + + APIG系统默认分配的子域名(APIG触发器参数)。 + + :return: The sl_domain of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._sl_domain + + @sl_domain.setter + def sl_domain(self, sl_domain): + """Sets the sl_domain of this TriggerEventDataResponseBody. + + APIG系统默认分配的子域名(APIG触发器参数)。 + + :param sl_domain: The sl_domain of this TriggerEventDataResponseBody. + :type sl_domain: str + """ + self._sl_domain = sl_domain + + @property + def backend_type(self): + """Gets the backend_type of this TriggerEventDataResponseBody. + + API的后端类型(APIG触发器参数)。 + + :return: The backend_type of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._backend_type + + @backend_type.setter + def backend_type(self, backend_type): + """Sets the backend_type of this TriggerEventDataResponseBody. + + API的后端类型(APIG触发器参数)。 + + :param backend_type: The backend_type of this TriggerEventDataResponseBody. + :type backend_type: str + """ + self._backend_type = backend_type + + @property + def instance_id(self): + """Gets the instance_id of this TriggerEventDataResponseBody. + + 实例id。DDS、KAFKA、RABBITMQ触发器此参数必填。 - APIG触发器:apig实例id - DDS触发器:文档数据库实例id - KAFKA触发器:KAFKA实例id - RABBITMQ触发器:RABBITMQ实例id + + :return: The instance_id of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this TriggerEventDataResponseBody. + + 实例id。DDS、KAFKA、RABBITMQ触发器此参数必填。 - APIG触发器:apig实例id - DDS触发器:文档数据库实例id - KAFKA触发器:KAFKA实例id - RABBITMQ触发器:RABBITMQ实例id + + :param instance_id: The instance_id of this TriggerEventDataResponseBody. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def roma_app_id(self): + """Gets the roma_app_id of this TriggerEventDataResponseBody. + + API归属的集成应用编号。(APIG触发器参数) + + :return: The roma_app_id of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._roma_app_id + + @roma_app_id.setter + def roma_app_id(self, roma_app_id): + """Sets the roma_app_id of this TriggerEventDataResponseBody. + + API归属的集成应用编号。(APIG触发器参数) + + :param roma_app_id: The roma_app_id of this TriggerEventDataResponseBody. + :type roma_app_id: str + """ + self._roma_app_id = roma_app_id + + @property + def operations(self): + """Gets the operations of this TriggerEventDataResponseBody. + + 自定义操作(CTS触发器参数)。 CTS云审计服务类型和操作订阅所需要的事件通知,当CTS云审计服务获取已订阅的操作记录后,通过CTS触发器将采集到的操作记录作为参数传递来调用FunctionGraph函数。 + + :return: The operations of this TriggerEventDataResponseBody. + :rtype: list[str] + """ + return self._operations + + @operations.setter + def operations(self, operations): + """Sets the operations of this TriggerEventDataResponseBody. + + 自定义操作(CTS触发器参数)。 CTS云审计服务类型和操作订阅所需要的事件通知,当CTS云审计服务获取已订阅的操作记录后,通过CTS触发器将采集到的操作记录作为参数传递来调用FunctionGraph函数。 + + :param operations: The operations of this TriggerEventDataResponseBody. + :type operations: list[str] + """ + self._operations = operations + + @property + def collection_name(self): + """Gets the collection_name of this TriggerEventDataResponseBody. + + 集合名称(DDS触发器参数)。 + + :return: The collection_name of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._collection_name + + @collection_name.setter + def collection_name(self, collection_name): + """Sets the collection_name of this TriggerEventDataResponseBody. + + 集合名称(DDS触发器参数)。 + + :param collection_name: The collection_name of this TriggerEventDataResponseBody. + :type collection_name: str + """ + self._collection_name = collection_name + + @property + def db_name(self): + """Gets the db_name of this TriggerEventDataResponseBody. + + 文档数据库名称(DDS触发器参数)。 + + :return: The db_name of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._db_name + + @db_name.setter + def db_name(self, db_name): + """Sets the db_name of this TriggerEventDataResponseBody. + + 文档数据库名称(DDS触发器参数)。 + + :param db_name: The db_name of this TriggerEventDataResponseBody. + :type db_name: str + """ + self._db_name = db_name + + @property + def db_password(self): + """Gets the db_password of this TriggerEventDataResponseBody. + + 文档数据库密码(DDS触发器参数)。 + + :return: The db_password of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._db_password + + @db_password.setter + def db_password(self, db_password): + """Sets the db_password of this TriggerEventDataResponseBody. + + 文档数据库密码(DDS触发器参数)。 + + :param db_password: The db_password of this TriggerEventDataResponseBody. + :type db_password: str + """ + self._db_password = db_password + + @property + def db_user(self): + """Gets the db_user of this TriggerEventDataResponseBody. + + 文档数据库用户名(DDS触发器参数)。 + + :return: The db_user of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._db_user + + @db_user.setter + def db_user(self, db_user): + """Sets the db_user of this TriggerEventDataResponseBody. + + 文档数据库用户名(DDS触发器参数)。 + + :param db_user: The db_user of this TriggerEventDataResponseBody. + :type db_user: str + """ + self._db_user = db_user + + @property + def instance_addrs(self): + """Gets the instance_addrs of this TriggerEventDataResponseBody. + + 文档数据库实例地址(DDS触发器参数)。 + + :return: The instance_addrs of this TriggerEventDataResponseBody. + :rtype: list[str] + """ + return self._instance_addrs + + @instance_addrs.setter + def instance_addrs(self, instance_addrs): + """Sets the instance_addrs of this TriggerEventDataResponseBody. + + 文档数据库实例地址(DDS触发器参数)。 + + :param instance_addrs: The instance_addrs of this TriggerEventDataResponseBody. + :type instance_addrs: list[str] + """ + self._instance_addrs = instance_addrs + + @property + def mode(self): + """Gets the mode of this TriggerEventDataResponseBody. + + 文档数据库实例类型(DDS触发器参数)。 - Sharding:集群实例 - ReplicaSet:副本集实例 - Single:单节点实例 + + :return: The mode of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._mode + + @mode.setter + def mode(self, mode): + """Sets the mode of this TriggerEventDataResponseBody. + + 文档数据库实例类型(DDS触发器参数)。 - Sharding:集群实例 - ReplicaSet:副本集实例 - Single:单节点实例 + + :param mode: The mode of this TriggerEventDataResponseBody. + :type mode: str + """ + self._mode = mode + + @property + def batch_size(self): + """Gets the batch_size of this TriggerEventDataResponseBody. + + 批处理大小,单次函数执行处理的最大数据量。DIS、DDS、KAFKA、RABBITMQ触发器此参数必填。 - DDS触发器:批处理大小设置1-10,000的范围内 - DIS触发器:批处理大小设置1-10,000的范围内 - KAFKA触发器:批处理大小设置1-1,000的范围内 - RABBITMQ触发器:批处理大小设置1-1,000的范围内 + + :return: The batch_size of this TriggerEventDataResponseBody. + :rtype: int + """ + return self._batch_size + + @batch_size.setter + def batch_size(self, batch_size): + """Sets the batch_size of this TriggerEventDataResponseBody. + + 批处理大小,单次函数执行处理的最大数据量。DIS、DDS、KAFKA、RABBITMQ触发器此参数必填。 - DDS触发器:批处理大小设置1-10,000的范围内 - DIS触发器:批处理大小设置1-10,000的范围内 - KAFKA触发器:批处理大小设置1-1,000的范围内 - RABBITMQ触发器:批处理大小设置1-1,000的范围内 + + :param batch_size: The batch_size of this TriggerEventDataResponseBody. + :type batch_size: int + """ + self._batch_size = batch_size + + @property + def queue_id(self): + """Gets the queue_id of this TriggerEventDataResponseBody. + + 队列id(DMS触发器参数)。 + + :return: The queue_id of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._queue_id + + @queue_id.setter + def queue_id(self, queue_id): + """Sets the queue_id of this TriggerEventDataResponseBody. + + 队列id(DMS触发器参数)。 + + :param queue_id: The queue_id of this TriggerEventDataResponseBody. + :type queue_id: str + """ + self._queue_id = queue_id + + @property + def consumer_group_id(self): + """Gets the consumer_group_id of this TriggerEventDataResponseBody. + + 消费组id(DMS触发器参数)。 + + :return: The consumer_group_id of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._consumer_group_id + + @consumer_group_id.setter + def consumer_group_id(self, consumer_group_id): + """Sets the consumer_group_id of this TriggerEventDataResponseBody. + + 消费组id(DMS触发器参数)。 + + :param consumer_group_id: The consumer_group_id of this TriggerEventDataResponseBody. + :type consumer_group_id: str + """ + self._consumer_group_id = consumer_group_id + + @property + def polling_interval(self): + """Gets the polling_interval of this TriggerEventDataResponseBody. + + 拉取周期。 + + :return: The polling_interval of this TriggerEventDataResponseBody. + :rtype: int + """ + return self._polling_interval + + @polling_interval.setter + def polling_interval(self, polling_interval): + """Sets the polling_interval of this TriggerEventDataResponseBody. + + 拉取周期。 + + :param polling_interval: The polling_interval of this TriggerEventDataResponseBody. + :type polling_interval: int + """ + self._polling_interval = polling_interval + + @property + def stream_name(self): + """Gets the stream_name of this TriggerEventDataResponseBody. + + 通道名称(DIS触发器参数)。 + + :return: The stream_name of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._stream_name + + @stream_name.setter + def stream_name(self, stream_name): + """Sets the stream_name of this TriggerEventDataResponseBody. + + 通道名称(DIS触发器参数)。 + + :param stream_name: The stream_name of this TriggerEventDataResponseBody. + :type stream_name: str + """ + self._stream_name = stream_name + + @property + def sharditerator_type(self): + """Gets the sharditerator_type of this TriggerEventDataResponseBody. + + 起始位置(DIS触发器参数)。 - TRIM_HORIZON:从最早被存储至分区的有效记录开始读取。 - LATEST:从分区中的最新记录开始读取,此设置可以保证总是读到分区中最新记录。 + + :return: The sharditerator_type of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._sharditerator_type + + @sharditerator_type.setter + def sharditerator_type(self, sharditerator_type): + """Sets the sharditerator_type of this TriggerEventDataResponseBody. + + 起始位置(DIS触发器参数)。 - TRIM_HORIZON:从最早被存储至分区的有效记录开始读取。 - LATEST:从分区中的最新记录开始读取,此设置可以保证总是读到分区中最新记录。 + + :param sharditerator_type: The sharditerator_type of this TriggerEventDataResponseBody. + :type sharditerator_type: str + """ + self._sharditerator_type = sharditerator_type + + @property + def polling_unit(self): + """Gets the polling_unit of this TriggerEventDataResponseBody. + + 拉取周期单位(DIS触发器参数)。 - s:秒 - ms:毫秒 + + :return: The polling_unit of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._polling_unit + + @polling_unit.setter + def polling_unit(self, polling_unit): + """Sets the polling_unit of this TriggerEventDataResponseBody. + + 拉取周期单位(DIS触发器参数)。 - s:秒 - ms:毫秒 + + :param polling_unit: The polling_unit of this TriggerEventDataResponseBody. + :type polling_unit: str + """ + self._polling_unit = polling_unit + + @property + def max_fetch_bytes(self): + """Gets the max_fetch_bytes of this TriggerEventDataResponseBody. + + 最大提取字节数(DIS触发器参数)。 + + :return: The max_fetch_bytes of this TriggerEventDataResponseBody. + :rtype: int + """ + return self._max_fetch_bytes + + @max_fetch_bytes.setter + def max_fetch_bytes(self, max_fetch_bytes): + """Sets the max_fetch_bytes of this TriggerEventDataResponseBody. + + 最大提取字节数(DIS触发器参数)。 + + :param max_fetch_bytes: The max_fetch_bytes of this TriggerEventDataResponseBody. + :type max_fetch_bytes: int + """ + self._max_fetch_bytes = max_fetch_bytes + + @property + def is_serial(self): + """Gets the is_serial of this TriggerEventDataResponseBody. + + 串行处理数据(DIS触发器参数),如果开启该选项,取一次数据处理完之后才会取下一次数据;否则只要拉取周期到了就会取数据进行处理。 + + :return: The is_serial of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._is_serial + + @is_serial.setter + def is_serial(self, is_serial): + """Sets the is_serial of this TriggerEventDataResponseBody. + + 串行处理数据(DIS触发器参数),如果开启该选项,取一次数据处理完之后才会取下一次数据;否则只要拉取周期到了就会取数据进行处理。 + + :param is_serial: The is_serial of this TriggerEventDataResponseBody. + :type is_serial: str + """ + self._is_serial = is_serial + + @property + def log_group_id(self): + """Gets the log_group_id of this TriggerEventDataResponseBody. + + 日志组id(LTS触发器参数)。 + + :return: The log_group_id of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._log_group_id + + @log_group_id.setter + def log_group_id(self, log_group_id): + """Sets the log_group_id of this TriggerEventDataResponseBody. + + 日志组id(LTS触发器参数)。 + + :param log_group_id: The log_group_id of this TriggerEventDataResponseBody. + :type log_group_id: str + """ + self._log_group_id = log_group_id + + @property + def log_topic_id(self): + """Gets the log_topic_id of this TriggerEventDataResponseBody. + + 日志流id(LTS触发器参数)。 + + :return: The log_topic_id of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._log_topic_id + + @log_topic_id.setter + def log_topic_id(self, log_topic_id): + """Sets the log_topic_id of this TriggerEventDataResponseBody. + + 日志流id(LTS触发器参数)。 + + :param log_topic_id: The log_topic_id of this TriggerEventDataResponseBody. + :type log_topic_id: str + """ + self._log_topic_id = log_topic_id + + @property + def bucket(self): + """Gets the bucket of this TriggerEventDataResponseBody. + + 桶名称(OBS触发器参数),用作事件源的OBS存储桶,不能和本用户已有桶重名;不能和其他用户已有的桶重名;创建成功后不支持修改。 + + :return: The bucket of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._bucket + + @bucket.setter + def bucket(self, bucket): + """Sets the bucket of this TriggerEventDataResponseBody. + + 桶名称(OBS触发器参数),用作事件源的OBS存储桶,不能和本用户已有桶重名;不能和其他用户已有的桶重名;创建成功后不支持修改。 + + :param bucket: The bucket of this TriggerEventDataResponseBody. + :type bucket: str + """ + self._bucket = bucket + + @property + def prefix(self): + """Gets the prefix of this TriggerEventDataResponseBody. + + 前缀(OBS触发器参数),输入一个可选性前缀来限制对以此关键字开头的对象的通知。 + + :return: The prefix of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._prefix + + @prefix.setter + def prefix(self, prefix): + """Sets the prefix of this TriggerEventDataResponseBody. + + 前缀(OBS触发器参数),输入一个可选性前缀来限制对以此关键字开头的对象的通知。 + + :param prefix: The prefix of this TriggerEventDataResponseBody. + :type prefix: str + """ + self._prefix = prefix + + @property + def suffix(self): + """Gets the suffix of this TriggerEventDataResponseBody. + + 后缀(OBS触发器参数),输入一个可选性后缀来限制对以此关键字结尾的对象的通知 + + :return: The suffix of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._suffix + + @suffix.setter + def suffix(self, suffix): + """Sets the suffix of this TriggerEventDataResponseBody. + + 后缀(OBS触发器参数),输入一个可选性后缀来限制对以此关键字结尾的对象的通知 + + :param suffix: The suffix of this TriggerEventDataResponseBody. + :type suffix: str + """ + self._suffix = suffix + + @property + def events(self): + """Gets the events of this TriggerEventDataResponseBody. + + 触发事件(OBS触发器参数)。 - ObjectCreated:表示所有创建对象的操作,包含Put、Post、Copy对象以及合并段 - Put:使用Put方法上传对象 - Post:使用Post方法上传对象 - Copy:使用copy方法复制对象 - CompleteMultipartUpload:表示合并分段任务 - ObjectRemoved:表示删除对象 - Delete:指定对象版本号删除对象 - DeleteMarkerCreated:不指定对象版本号删除对象 + + :return: The events of this TriggerEventDataResponseBody. + :rtype: list[str] + """ + return self._events + + @events.setter + def events(self, events): + """Sets the events of this TriggerEventDataResponseBody. + + 触发事件(OBS触发器参数)。 - ObjectCreated:表示所有创建对象的操作,包含Put、Post、Copy对象以及合并段 - Put:使用Put方法上传对象 - Post:使用Post方法上传对象 - Copy:使用copy方法复制对象 - CompleteMultipartUpload:表示合并分段任务 - ObjectRemoved:表示删除对象 - Delete:指定对象版本号删除对象 - DeleteMarkerCreated:不指定对象版本号删除对象 + + :param events: The events of this TriggerEventDataResponseBody. + :type events: list[str] + """ + self._events = events + + @property + def topic_urn(self): + """Gets the topic_urn of this TriggerEventDataResponseBody. + + 主题URN(SMN触发器参数)。 + + :return: The topic_urn of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._topic_urn + + @topic_urn.setter + def topic_urn(self, topic_urn): + """Sets the topic_urn of this TriggerEventDataResponseBody. + + 主题URN(SMN触发器参数)。 + + :param topic_urn: The topic_urn of this TriggerEventDataResponseBody. + :type topic_urn: str + """ + self._topic_urn = topic_urn + + @property + def topic_ids(self): + """Gets the topic_ids of this TriggerEventDataResponseBody. + + KAFKA主题id列表(KAFKA触发器参数)。 + + :return: The topic_ids of this TriggerEventDataResponseBody. + :rtype: list[str] + """ + return self._topic_ids + + @topic_ids.setter + def topic_ids(self, topic_ids): + """Sets the topic_ids of this TriggerEventDataResponseBody. + + KAFKA主题id列表(KAFKA触发器参数)。 + + :param topic_ids: The topic_ids of this TriggerEventDataResponseBody. + :type topic_ids: list[str] + """ + self._topic_ids = topic_ids + + @property + def kafka_user(self): + """Gets the kafka_user of this TriggerEventDataResponseBody. + + KAFKA账户名(KAFKA触发器参数)。 + + :return: The kafka_user of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._kafka_user + + @kafka_user.setter + def kafka_user(self, kafka_user): + """Sets the kafka_user of this TriggerEventDataResponseBody. + + KAFKA账户名(KAFKA触发器参数)。 + + :param kafka_user: The kafka_user of this TriggerEventDataResponseBody. + :type kafka_user: str + """ + self._kafka_user = kafka_user + + @property + def kafka_password(self): + """Gets the kafka_password of this TriggerEventDataResponseBody. + + KAFKA账户密码(KAFKA触发器参数)。 + + :return: The kafka_password of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._kafka_password + + @kafka_password.setter + def kafka_password(self, kafka_password): + """Sets the kafka_password of this TriggerEventDataResponseBody. + + KAFKA账户密码(KAFKA触发器参数)。 + + :param kafka_password: The kafka_password of this TriggerEventDataResponseBody. + :type kafka_password: str + """ + self._kafka_password = kafka_password + + @property + def kafka_connect_address(self): + """Gets the kafka_connect_address of this TriggerEventDataResponseBody. + + KAFKA实例连接IP地址(KAFKA触发器参数)。 + + :return: The kafka_connect_address of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._kafka_connect_address + + @kafka_connect_address.setter + def kafka_connect_address(self, kafka_connect_address): + """Sets the kafka_connect_address of this TriggerEventDataResponseBody. + + KAFKA实例连接IP地址(KAFKA触发器参数)。 + + :param kafka_connect_address: The kafka_connect_address of this TriggerEventDataResponseBody. + :type kafka_connect_address: str + """ + self._kafka_connect_address = kafka_connect_address + + @property + def kafka_ssl_enable(self): + """Gets the kafka_ssl_enable of this TriggerEventDataResponseBody. + + KAFKA连接是否开启安全认证(KAFKA触发器参数)。 + + :return: The kafka_ssl_enable of this TriggerEventDataResponseBody. + :rtype: bool + """ + return self._kafka_ssl_enable + + @kafka_ssl_enable.setter + def kafka_ssl_enable(self, kafka_ssl_enable): + """Sets the kafka_ssl_enable of this TriggerEventDataResponseBody. + + KAFKA连接是否开启安全认证(KAFKA触发器参数)。 + + :param kafka_ssl_enable: The kafka_ssl_enable of this TriggerEventDataResponseBody. + :type kafka_ssl_enable: bool + """ + self._kafka_ssl_enable = kafka_ssl_enable + + @property + def access_password(self): + """Gets the access_password of this TriggerEventDataResponseBody. + + RABBITMQ账户密码(RABBITMQ触发器参数)。 + + :return: The access_password of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._access_password + + @access_password.setter + def access_password(self, access_password): + """Sets the access_password of this TriggerEventDataResponseBody. + + RABBITMQ账户密码(RABBITMQ触发器参数)。 + + :param access_password: The access_password of this TriggerEventDataResponseBody. + :type access_password: str + """ + self._access_password = access_password + + @property + def access_user(self): + """Gets the access_user of this TriggerEventDataResponseBody. + + RABBITMQ账户名(RABBITMQ触发器参数)。 + + :return: The access_user of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._access_user + + @access_user.setter + def access_user(self, access_user): + """Sets the access_user of this TriggerEventDataResponseBody. + + RABBITMQ账户名(RABBITMQ触发器参数)。 + + :param access_user: The access_user of this TriggerEventDataResponseBody. + :type access_user: str + """ + self._access_user = access_user + + @property + def connect_address(self): + """Gets the connect_address of this TriggerEventDataResponseBody. + + 实例连接IP地址(RABBITMQ触发器参数)。 + + :return: The connect_address of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._connect_address + + @connect_address.setter + def connect_address(self, connect_address): + """Sets the connect_address of this TriggerEventDataResponseBody. + + 实例连接IP地址(RABBITMQ触发器参数)。 + + :param connect_address: The connect_address of this TriggerEventDataResponseBody. + :type connect_address: str + """ + self._connect_address = connect_address + + @property + def exchange_name(self): + """Gets the exchange_name of this TriggerEventDataResponseBody. + + 交换机名称(RABBITMQ触发器参数)。 + + :return: The exchange_name of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._exchange_name + + @exchange_name.setter + def exchange_name(self, exchange_name): + """Sets the exchange_name of this TriggerEventDataResponseBody. + + 交换机名称(RABBITMQ触发器参数)。 + + :param exchange_name: The exchange_name of this TriggerEventDataResponseBody. + :type exchange_name: str + """ + self._exchange_name = exchange_name + + @property + def vhost(self): + """Gets the vhost of this TriggerEventDataResponseBody. + + 虚拟机名称(RABBITMQ触发器参数)。 + + :return: The vhost of this TriggerEventDataResponseBody. + :rtype: str + """ + return self._vhost + + @vhost.setter + def vhost(self, vhost): + """Sets the vhost of this TriggerEventDataResponseBody. + + 虚拟机名称(RABBITMQ触发器参数)。 + + :param vhost: The vhost of this TriggerEventDataResponseBody. + :type vhost: str + """ + self._vhost = vhost + + @property + def ssl_enable(self): + """Gets the ssl_enable of this TriggerEventDataResponseBody. + + RABBITMQ连接是否开启安全认证(RABBITMQ触发器参数)。 + + :return: The ssl_enable of this TriggerEventDataResponseBody. + :rtype: bool + """ + return self._ssl_enable + + @ssl_enable.setter + def ssl_enable(self, ssl_enable): + """Sets the ssl_enable of this TriggerEventDataResponseBody. + + RABBITMQ连接是否开启安全认证(RABBITMQ触发器参数)。 + + :param ssl_enable: The ssl_enable of this TriggerEventDataResponseBody. + :type ssl_enable: bool + """ + self._ssl_enable = ssl_enable + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TriggerEventDataResponseBody): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_code_request_body.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_code_request_body.py index 27c9da784..5a3dcc605 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_code_request_body.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_code_request_body.py @@ -39,7 +39,7 @@ class UpdateFunctionCodeRequestBody: The model defined in huaweicloud sdk - :param code_type: 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + :param code_type: 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :type code_type: str :param code_url: 当CodeType为obs时,该值为函数代码包在OBS上的地址,CodeType为其他值时,该字段为空。 :type code_url: str @@ -78,7 +78,7 @@ class UpdateFunctionCodeRequestBody: def code_type(self): """Gets the code_type of this UpdateFunctionCodeRequestBody. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :return: The code_type of this UpdateFunctionCodeRequestBody. :rtype: str @@ -89,7 +89,7 @@ class UpdateFunctionCodeRequestBody: def code_type(self, code_type): """Sets the code_type of this UpdateFunctionCodeRequestBody. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :param code_type: The code_type of this UpdateFunctionCodeRequestBody. :type code_type: str diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_code_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_code_response.py index ab74a0968..142111e08 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_code_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_code_response.py @@ -64,9 +64,9 @@ class UpdateFunctionCodeResponse(SdkResponse): :type func_name: str :param domain_id: 域名id。 :type domain_id: str - :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :type runtime: str - :param code_type: 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + :param code_type: 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :type code_type: str :param code_url: 当CodeType为obs时,该值为函数代码包在OBS上的地址,CodeType为其他值时,该字段为空。 :type code_url: str @@ -210,7 +210,7 @@ class UpdateFunctionCodeResponse(SdkResponse): def runtime(self): """Gets the runtime of this UpdateFunctionCodeResponse. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :return: The runtime of this UpdateFunctionCodeResponse. :rtype: str @@ -221,7 +221,7 @@ class UpdateFunctionCodeResponse(SdkResponse): def runtime(self, runtime): """Sets the runtime of this UpdateFunctionCodeResponse. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :param runtime: The runtime of this UpdateFunctionCodeResponse. :type runtime: str @@ -232,7 +232,7 @@ class UpdateFunctionCodeResponse(SdkResponse): def code_type(self): """Gets the code_type of this UpdateFunctionCodeResponse. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :return: The code_type of this UpdateFunctionCodeResponse. :rtype: str @@ -243,7 +243,7 @@ class UpdateFunctionCodeResponse(SdkResponse): def code_type(self, code_type): """Sets the code_type of this UpdateFunctionCodeResponse. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :param code_type: The code_type of this UpdateFunctionCodeResponse. :type code_type: str diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_config_request_body.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_config_request_body.py index af33f2ac9..16fe193ca 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_config_request_body.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_config_request_body.py @@ -46,7 +46,10 @@ class UpdateFunctionConfigRequestBody: 'enable_auth_in_header': 'bool', 'domain_names': 'str', 'restore_hook_handler': 'str', - 'restore_hook_timeout': 'int' + 'restore_hook_timeout': 'int', + 'heartbeat_handler': 'str', + 'enable_class_isolation': 'bool', + 'gpu_type': 'str' } attribute_map = { @@ -79,10 +82,13 @@ class UpdateFunctionConfigRequestBody: 'enable_auth_in_header': 'enable_auth_in_header', 'domain_names': 'domain_names', 'restore_hook_handler': 'restore_hook_handler', - 'restore_hook_timeout': 'restore_hook_timeout' + 'restore_hook_timeout': 'restore_hook_timeout', + 'heartbeat_handler': 'heartbeat_handler', + 'enable_class_isolation': 'enable_class_isolation', + 'gpu_type': 'gpu_type' } - def __init__(self, func_name=None, runtime=None, timeout=None, handler=None, memory_size=None, gpu_memory=None, user_data=None, encrypted_user_data=None, xrole=None, app_xrole=None, description=None, func_vpc=None, mount_config=None, strategy_config=None, custom_image=None, extend_config=None, initializer_handler=None, initializer_timeout=None, pre_stop_handler=None, pre_stop_timeout=None, ephemeral_storage=None, enterprise_project_id=None, log_config=None, network_controller=None, is_stateful_function=None, enable_dynamic_memory=None, enable_auth_in_header=None, domain_names=None, restore_hook_handler=None, restore_hook_timeout=None): + def __init__(self, func_name=None, runtime=None, timeout=None, handler=None, memory_size=None, gpu_memory=None, user_data=None, encrypted_user_data=None, xrole=None, app_xrole=None, description=None, func_vpc=None, mount_config=None, strategy_config=None, custom_image=None, extend_config=None, initializer_handler=None, initializer_timeout=None, pre_stop_handler=None, pre_stop_timeout=None, ephemeral_storage=None, enterprise_project_id=None, log_config=None, network_controller=None, is_stateful_function=None, enable_dynamic_memory=None, enable_auth_in_header=None, domain_names=None, restore_hook_handler=None, restore_hook_timeout=None, heartbeat_handler=None, enable_class_isolation=None, gpu_type=None): """UpdateFunctionConfigRequestBody The model defined in huaweicloud sdk @@ -91,7 +97,7 @@ class UpdateFunctionConfigRequestBody: :type func_name: str :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 :type runtime: str - :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :type timeout: int :param handler: 函数执行入口 规则:xx.xx,必须包含“. ” 举例:对于node.js函数:myfunction.handler,则表示函数的文件名为myfunction.js,执行的入口函数名为handler。 :type handler: str @@ -103,9 +109,9 @@ class UpdateFunctionConfigRequestBody: :type user_data: str :param encrypted_user_data: 用户自定义的name/value信息,用于需要加密的配置。 :type encrypted_user_data: str - :param xrole: 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + :param xrole: 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :type xrole: str - :param app_xrole: 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + :param app_xrole: 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :type app_xrole: str :param description: 函数描述。 :type description: str @@ -119,15 +125,15 @@ class UpdateFunctionConfigRequestBody: :type custom_image: :class:`huaweicloudsdkfunctiongraph.v2.CustomImage` :param extend_config: 函数扩展配置。 :type extend_config: str - :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :type initializer_handler: str - :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :type initializer_timeout: int :param pre_stop_handler: 函数预停止函数的入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.pre_stop_handler,则表示函数的文件名为myfunction.js,初始化的入口函数名为pre_stop_handler。 :type pre_stop_handler: str :param pre_stop_timeout: 初始化超时时间,超时函数将被强行停止,范围1~90秒。 :type pre_stop_timeout: int - :param ephemeral_storage: 临时存储大小, 默认512M, 支持配置10G。 + :param ephemeral_storage: 临时存储大小。默认情况下会为函数的/tmp目录分配512MB的空间。您可以通过临时存储设置将函数的/tmp目录大小调整为10G。 :type ephemeral_storage: int :param enterprise_project_id: 企业项目ID,在企业用户创建函数时必填。 :type enterprise_project_id: str @@ -147,6 +153,12 @@ class UpdateFunctionConfigRequestBody: :type restore_hook_handler: str :param restore_hook_timeout: 快照冷启动Restore Hook的超时时间,超时函数将被强行停止,范围1~300秒。 :type restore_hook_timeout: int + :param heartbeat_handler: 心跳函数函数的入口,规则:xx.xx,必须包含“. ”,只支持JAVA运行时配置。 心跳函数入口需要与函数执行入口在同一文件下。在开启心跳函数配置时,此参数必填。 + :type heartbeat_handler: str + :param enable_class_isolation: 类隔离开关,只支持JAVA运行时配置。开启类隔离后可以支持Kafka转储并提升类加载效率,但也可能会导致某些兼容性问题,请谨慎开启。 + :type enable_class_isolation: bool + :param gpu_type: 显卡类型。 + :type gpu_type: str """ @@ -181,6 +193,9 @@ class UpdateFunctionConfigRequestBody: self._domain_names = None self._restore_hook_handler = None self._restore_hook_timeout = None + self._heartbeat_handler = None + self._enable_class_isolation = None + self._gpu_type = None self.discriminator = None self.func_name = func_name @@ -238,6 +253,12 @@ class UpdateFunctionConfigRequestBody: self.restore_hook_handler = restore_hook_handler if restore_hook_timeout is not None: self.restore_hook_timeout = restore_hook_timeout + if heartbeat_handler is not None: + self.heartbeat_handler = heartbeat_handler + if enable_class_isolation is not None: + self.enable_class_isolation = enable_class_isolation + if gpu_type is not None: + self.gpu_type = gpu_type @property def func_name(self): @@ -287,7 +308,7 @@ class UpdateFunctionConfigRequestBody: def timeout(self): """Gets the timeout of this UpdateFunctionConfigRequestBody. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :return: The timeout of this UpdateFunctionConfigRequestBody. :rtype: int @@ -298,7 +319,7 @@ class UpdateFunctionConfigRequestBody: def timeout(self, timeout): """Sets the timeout of this UpdateFunctionConfigRequestBody. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :param timeout: The timeout of this UpdateFunctionConfigRequestBody. :type timeout: int @@ -419,7 +440,7 @@ class UpdateFunctionConfigRequestBody: def xrole(self): """Gets the xrole of this UpdateFunctionConfigRequestBody. - 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :return: The xrole of this UpdateFunctionConfigRequestBody. :rtype: str @@ -430,7 +451,7 @@ class UpdateFunctionConfigRequestBody: def xrole(self, xrole): """Sets the xrole of this UpdateFunctionConfigRequestBody. - 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :param xrole: The xrole of this UpdateFunctionConfigRequestBody. :type xrole: str @@ -441,7 +462,7 @@ class UpdateFunctionConfigRequestBody: def app_xrole(self): """Gets the app_xrole of this UpdateFunctionConfigRequestBody. - 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :return: The app_xrole of this UpdateFunctionConfigRequestBody. :rtype: str @@ -452,7 +473,7 @@ class UpdateFunctionConfigRequestBody: def app_xrole(self, app_xrole): """Sets the app_xrole of this UpdateFunctionConfigRequestBody. - 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :param app_xrole: The app_xrole of this UpdateFunctionConfigRequestBody. :type app_xrole: str @@ -579,7 +600,7 @@ class UpdateFunctionConfigRequestBody: def initializer_handler(self): """Gets the initializer_handler of this UpdateFunctionConfigRequestBody. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :return: The initializer_handler of this UpdateFunctionConfigRequestBody. :rtype: str @@ -590,7 +611,7 @@ class UpdateFunctionConfigRequestBody: def initializer_handler(self, initializer_handler): """Sets the initializer_handler of this UpdateFunctionConfigRequestBody. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :param initializer_handler: The initializer_handler of this UpdateFunctionConfigRequestBody. :type initializer_handler: str @@ -601,7 +622,7 @@ class UpdateFunctionConfigRequestBody: def initializer_timeout(self): """Gets the initializer_timeout of this UpdateFunctionConfigRequestBody. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :return: The initializer_timeout of this UpdateFunctionConfigRequestBody. :rtype: int @@ -612,7 +633,7 @@ class UpdateFunctionConfigRequestBody: def initializer_timeout(self, initializer_timeout): """Sets the initializer_timeout of this UpdateFunctionConfigRequestBody. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :param initializer_timeout: The initializer_timeout of this UpdateFunctionConfigRequestBody. :type initializer_timeout: int @@ -667,7 +688,7 @@ class UpdateFunctionConfigRequestBody: def ephemeral_storage(self): """Gets the ephemeral_storage of this UpdateFunctionConfigRequestBody. - 临时存储大小, 默认512M, 支持配置10G。 + 临时存储大小。默认情况下会为函数的/tmp目录分配512MB的空间。您可以通过临时存储设置将函数的/tmp目录大小调整为10G。 :return: The ephemeral_storage of this UpdateFunctionConfigRequestBody. :rtype: int @@ -678,7 +699,7 @@ class UpdateFunctionConfigRequestBody: def ephemeral_storage(self, ephemeral_storage): """Sets the ephemeral_storage of this UpdateFunctionConfigRequestBody. - 临时存储大小, 默认512M, 支持配置10G。 + 临时存储大小。默认情况下会为函数的/tmp目录分配512MB的空间。您可以通过临时存储设置将函数的/tmp目录大小调整为10G。 :param ephemeral_storage: The ephemeral_storage of this UpdateFunctionConfigRequestBody. :type ephemeral_storage: int @@ -875,6 +896,72 @@ class UpdateFunctionConfigRequestBody: """ self._restore_hook_timeout = restore_hook_timeout + @property + def heartbeat_handler(self): + """Gets the heartbeat_handler of this UpdateFunctionConfigRequestBody. + + 心跳函数函数的入口,规则:xx.xx,必须包含“. ”,只支持JAVA运行时配置。 心跳函数入口需要与函数执行入口在同一文件下。在开启心跳函数配置时,此参数必填。 + + :return: The heartbeat_handler of this UpdateFunctionConfigRequestBody. + :rtype: str + """ + return self._heartbeat_handler + + @heartbeat_handler.setter + def heartbeat_handler(self, heartbeat_handler): + """Sets the heartbeat_handler of this UpdateFunctionConfigRequestBody. + + 心跳函数函数的入口,规则:xx.xx,必须包含“. ”,只支持JAVA运行时配置。 心跳函数入口需要与函数执行入口在同一文件下。在开启心跳函数配置时,此参数必填。 + + :param heartbeat_handler: The heartbeat_handler of this UpdateFunctionConfigRequestBody. + :type heartbeat_handler: str + """ + self._heartbeat_handler = heartbeat_handler + + @property + def enable_class_isolation(self): + """Gets the enable_class_isolation of this UpdateFunctionConfigRequestBody. + + 类隔离开关,只支持JAVA运行时配置。开启类隔离后可以支持Kafka转储并提升类加载效率,但也可能会导致某些兼容性问题,请谨慎开启。 + + :return: The enable_class_isolation of this UpdateFunctionConfigRequestBody. + :rtype: bool + """ + return self._enable_class_isolation + + @enable_class_isolation.setter + def enable_class_isolation(self, enable_class_isolation): + """Sets the enable_class_isolation of this UpdateFunctionConfigRequestBody. + + 类隔离开关,只支持JAVA运行时配置。开启类隔离后可以支持Kafka转储并提升类加载效率,但也可能会导致某些兼容性问题,请谨慎开启。 + + :param enable_class_isolation: The enable_class_isolation of this UpdateFunctionConfigRequestBody. + :type enable_class_isolation: bool + """ + self._enable_class_isolation = enable_class_isolation + + @property + def gpu_type(self): + """Gets the gpu_type of this UpdateFunctionConfigRequestBody. + + 显卡类型。 + + :return: The gpu_type of this UpdateFunctionConfigRequestBody. + :rtype: str + """ + return self._gpu_type + + @gpu_type.setter + def gpu_type(self, gpu_type): + """Sets the gpu_type of this UpdateFunctionConfigRequestBody. + + 显卡类型。 + + :param gpu_type: The gpu_type of this UpdateFunctionConfigRequestBody. + :type gpu_type: str + """ + self._gpu_type = gpu_type + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_config_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_config_response.py index 9948c7b38..6b6483731 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_config_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_config_response.py @@ -136,9 +136,9 @@ class UpdateFunctionConfigResponse(SdkResponse): :type project_name: str :param package: 函数所属的分组Package,用于用户针对函数的自定义分组。 :type package: str - :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :type runtime: str - :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :type timeout: int :param handler: 函数执行入口 规则:xx.xx,必须包含“. ” 举例:对于node.js函数:myfunction.handler,则表示函数的文件名为myfunction.js,执行的入口函数名为handler。 :type handler: str @@ -148,7 +148,7 @@ class UpdateFunctionConfigResponse(SdkResponse): :type gpu_memory: int :param cpu: 函数占用的cpu资源。 单位为millicore(1 core=1000 millicores)。 取值与MemorySize成比例,默认是128M内存占0.1个核(100 millicores)。 :type cpu: int - :param code_type: 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + :param code_type: 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :type code_type: str :param code_url: 当CodeType为obs时,该值为函数代码包在OBS上的地址,CodeType为其他值时,该字段为空。 :type code_url: str @@ -166,15 +166,15 @@ class UpdateFunctionConfigResponse(SdkResponse): :type version: str :param image_name: 函数版本的内部标识。 :type image_name: str - :param xrole: 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + :param xrole: 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :type xrole: str - :param app_xrole: 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + :param app_xrole: 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :type app_xrole: str :param description: 函数描述。 :type description: str :param last_modified: 函数最后一次更新时间。 :type last_modified: datetime - :param ephemeral_storage: 临时存储大小。 + :param ephemeral_storage: 临时存储大小。默认情况下会为函数的/tmp目录分配512MB的空间。您可以通过临时存储设置将函数的/tmp目录大小调整为10G。 :type ephemeral_storage: int :param func_vpc: :type func_vpc: :class:`huaweicloudsdkfunctiongraph.v2.FuncVpc` @@ -184,9 +184,9 @@ class UpdateFunctionConfigResponse(SdkResponse): :type strategy_config: :class:`huaweicloudsdkfunctiongraph.v2.StrategyConfig` :param dependencies: 函数依赖代码包列表。 :type dependencies: list[:class:`huaweicloudsdkfunctiongraph.v2.Dependency`] - :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :type initializer_handler: str - :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :type initializer_timeout: int :param pre_stop_handler: 函数预停止函数的入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.pre_stop_handler,则表示函数的文件名为myfunction.js,初始化的入口函数名为pre_stop_handler。 :type pre_stop_handler: str @@ -200,7 +200,7 @@ class UpdateFunctionConfigResponse(SdkResponse): :type log_group_id: str :param log_stream_id: 自定义日志查询流id :type log_stream_id: str - :param type: v2表示为公测版本,v1为原来版本。 + :param type: v2表示为正式版本,v1为废弃版本。 :type type: str :param enable_dynamic_memory: 是否启动动态内存配置 :type enable_dynamic_memory: bool @@ -537,7 +537,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def runtime(self): """Gets the runtime of this UpdateFunctionConfigResponse. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :return: The runtime of this UpdateFunctionConfigResponse. :rtype: str @@ -548,7 +548,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def runtime(self, runtime): """Sets the runtime of this UpdateFunctionConfigResponse. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :param runtime: The runtime of this UpdateFunctionConfigResponse. :type runtime: str @@ -559,7 +559,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def timeout(self): """Gets the timeout of this UpdateFunctionConfigResponse. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :return: The timeout of this UpdateFunctionConfigResponse. :rtype: int @@ -570,7 +570,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def timeout(self, timeout): """Sets the timeout of this UpdateFunctionConfigResponse. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :param timeout: The timeout of this UpdateFunctionConfigResponse. :type timeout: int @@ -669,7 +669,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def code_type(self): """Gets the code_type of this UpdateFunctionConfigResponse. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :return: The code_type of this UpdateFunctionConfigResponse. :rtype: str @@ -680,7 +680,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def code_type(self, code_type): """Sets the code_type of this UpdateFunctionConfigResponse. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :param code_type: The code_type of this UpdateFunctionConfigResponse. :type code_type: str @@ -867,7 +867,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def xrole(self): """Gets the xrole of this UpdateFunctionConfigResponse. - 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :return: The xrole of this UpdateFunctionConfigResponse. :rtype: str @@ -878,7 +878,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def xrole(self, xrole): """Sets the xrole of this UpdateFunctionConfigResponse. - 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :param xrole: The xrole of this UpdateFunctionConfigResponse. :type xrole: str @@ -889,7 +889,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def app_xrole(self): """Gets the app_xrole of this UpdateFunctionConfigResponse. - 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :return: The app_xrole of this UpdateFunctionConfigResponse. :rtype: str @@ -900,7 +900,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def app_xrole(self, app_xrole): """Sets the app_xrole of this UpdateFunctionConfigResponse. - 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :param app_xrole: The app_xrole of this UpdateFunctionConfigResponse. :type app_xrole: str @@ -955,7 +955,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def ephemeral_storage(self): """Gets the ephemeral_storage of this UpdateFunctionConfigResponse. - 临时存储大小。 + 临时存储大小。默认情况下会为函数的/tmp目录分配512MB的空间。您可以通过临时存储设置将函数的/tmp目录大小调整为10G。 :return: The ephemeral_storage of this UpdateFunctionConfigResponse. :rtype: int @@ -966,7 +966,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def ephemeral_storage(self, ephemeral_storage): """Sets the ephemeral_storage of this UpdateFunctionConfigResponse. - 临时存储大小。 + 临时存储大小。默认情况下会为函数的/tmp目录分配512MB的空间。您可以通过临时存储设置将函数的/tmp目录大小调整为10G。 :param ephemeral_storage: The ephemeral_storage of this UpdateFunctionConfigResponse. :type ephemeral_storage: int @@ -1053,7 +1053,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def initializer_handler(self): """Gets the initializer_handler of this UpdateFunctionConfigResponse. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :return: The initializer_handler of this UpdateFunctionConfigResponse. :rtype: str @@ -1064,7 +1064,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def initializer_handler(self, initializer_handler): """Sets the initializer_handler of this UpdateFunctionConfigResponse. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :param initializer_handler: The initializer_handler of this UpdateFunctionConfigResponse. :type initializer_handler: str @@ -1075,7 +1075,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def initializer_timeout(self): """Gets the initializer_timeout of this UpdateFunctionConfigResponse. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :return: The initializer_timeout of this UpdateFunctionConfigResponse. :rtype: int @@ -1086,7 +1086,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def initializer_timeout(self, initializer_timeout): """Sets the initializer_timeout of this UpdateFunctionConfigResponse. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :param initializer_timeout: The initializer_timeout of this UpdateFunctionConfigResponse. :type initializer_timeout: int @@ -1229,7 +1229,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def type(self): """Gets the type of this UpdateFunctionConfigResponse. - v2表示为公测版本,v1为原来版本。 + v2表示为正式版本,v1为废弃版本。 :return: The type of this UpdateFunctionConfigResponse. :rtype: str @@ -1240,7 +1240,7 @@ class UpdateFunctionConfigResponse(SdkResponse): def type(self, type): """Sets the type of this UpdateFunctionConfigResponse. - v2表示为公测版本,v1为原来版本。 + v2表示为正式版本,v1为废弃版本。 :param type: The type of this UpdateFunctionConfigResponse. :type type: str diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_max_instance_config_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_max_instance_config_response.py index 9c44a6b3b..eb8190352 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_max_instance_config_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_function_max_instance_config_response.py @@ -120,9 +120,9 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): :type project_name: str :param package: 函数所属的分组Package,用于用户针对函数的自定义分组。 :type package: str - :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + :param runtime: FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :type runtime: str - :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + :param timeout: 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :type timeout: int :param handler: 函数执行入口 规则:xx.xx,必须包含“. ” 举例:对于node.js函数:myfunction.handler,则表示函数的文件名为myfunction.js,执行的入口函数名为handler。 :type handler: str @@ -130,7 +130,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): :type memory_size: int :param cpu: 函数占用的cpu资源。 单位为millicore(1 core=1000 millicores)。 取值与MemorySize成比例,默认是128M内存占0.1个核(100 millicores)。 :type cpu: int - :param code_type: 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + :param code_type: 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :type code_type: str :param code_url: 当CodeType为obs时,该值为函数代码包在OBS上的地址,CodeType为其他值时,该字段为空。 :type code_url: str @@ -148,9 +148,9 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): :type version: str :param image_name: 函数版本的内部标识。 :type image_name: str - :param xrole: 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + :param xrole: 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :type xrole: str - :param app_xrole: 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + :param app_xrole: 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :type app_xrole: str :param description: 函数描述。 :type description: str @@ -164,9 +164,9 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): :type strategy_config: :class:`huaweicloudsdkfunctiongraph.v2.StrategyConfig` :param dependencies: 函数依赖代码包列表。 :type dependencies: list[:class:`huaweicloudsdkfunctiongraph.v2.Dependency`] - :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + :param initializer_handler: 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :type initializer_handler: str - :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + :param initializer_timeout: 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :type initializer_timeout: int :param pre_stop_handler: 函数预停止函数的入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.pre_stop_handler,则表示函数的文件名为myfunction.js,初始化的入口函数名为pre_stop_handler。 :type pre_stop_handler: str @@ -180,7 +180,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): :type log_group_id: str :param log_stream_id: 自定义日志查询流id :type log_stream_id: str - :param type: v2表示为公测版本,v1为原来版本。 + :param type: v2表示为正式版本,v1为废弃版本。 :type type: str :param enable_dynamic_memory: 是否启动动态内存配置 :type enable_dynamic_memory: bool @@ -451,7 +451,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): def runtime(self): """Gets the runtime of this UpdateFunctionMaxInstanceConfigResponse. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :return: The runtime of this UpdateFunctionMaxInstanceConfigResponse. :rtype: str @@ -462,7 +462,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): def runtime(self, runtime): """Sets the runtime of this UpdateFunctionMaxInstanceConfigResponse. - FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 + FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。 Custom Image: 自定义镜像函数。 :param runtime: The runtime of this UpdateFunctionMaxInstanceConfigResponse. :type runtime: str @@ -473,7 +473,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): def timeout(self): """Gets the timeout of this UpdateFunctionMaxInstanceConfigResponse. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :return: The timeout of this UpdateFunctionMaxInstanceConfigResponse. :rtype: int @@ -484,7 +484,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): def timeout(self, timeout): """Sets the timeout of this UpdateFunctionMaxInstanceConfigResponse. - 函数执行超时时间,超时函数将被强行停止,范围3~900秒,可以通过白名单配置延长到12小时,具体可以咨询客服进行配置 + 函数执行超时时间,超时函数将被强行停止,范围3~259200秒。 :param timeout: The timeout of this UpdateFunctionMaxInstanceConfigResponse. :type timeout: int @@ -561,7 +561,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): def code_type(self): """Gets the code_type of this UpdateFunctionMaxInstanceConfigResponse. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :return: The code_type of this UpdateFunctionMaxInstanceConfigResponse. :rtype: str @@ -572,7 +572,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): def code_type(self, code_type): """Sets the code_type of this UpdateFunctionMaxInstanceConfigResponse. - 函数代码类型,取值有4种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 + 函数代码类型,取值有5种。 inline: UI在线编辑代码。 zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源与SWR自定义镜像。 :param code_type: The code_type of this UpdateFunctionMaxInstanceConfigResponse. :type code_type: str @@ -759,7 +759,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): def xrole(self): """Gets the xrole of this UpdateFunctionMaxInstanceConfigResponse. - 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :return: The xrole of this UpdateFunctionMaxInstanceConfigResponse. :rtype: str @@ -770,7 +770,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): def xrole(self, xrole): """Sets the xrole of this UpdateFunctionMaxInstanceConfigResponse. - 函数使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数配置委托。需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。配置后用户可以通过函数执行入口方法中的context参数获取具有委托中权限的token、ak、sk,用于访问其他云服务。如果用户函数不访问任何云服务,则不用提供委托名称。 :param xrole: The xrole of this UpdateFunctionMaxInstanceConfigResponse. :type xrole: str @@ -781,7 +781,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): def app_xrole(self): """Gets the app_xrole of this UpdateFunctionMaxInstanceConfigResponse. - 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :return: The app_xrole of this UpdateFunctionMaxInstanceConfigResponse. :rtype: str @@ -792,7 +792,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): def app_xrole(self, app_xrole): """Sets the app_xrole of this UpdateFunctionMaxInstanceConfigResponse. - 函数app使用的权限委托名称,需要IAM支持,并在IAM界面创建委托,当函数需要访问其他服务时,必须提供该字段。 + 函数执行委托。可为函数执行单独配置执行委托,这将减小不必要的性能损耗;不单独配置执行委托时,函数执行和函数配置将使用同一委托。 :param app_xrole: The app_xrole of this UpdateFunctionMaxInstanceConfigResponse. :type app_xrole: str @@ -923,7 +923,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): def initializer_handler(self): """Gets the initializer_handler of this UpdateFunctionMaxInstanceConfigResponse. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :return: The initializer_handler of this UpdateFunctionMaxInstanceConfigResponse. :rtype: str @@ -934,7 +934,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): def initializer_handler(self, initializer_handler): """Sets the initializer_handler of this UpdateFunctionMaxInstanceConfigResponse. - 函数初始化入口,规则:xx.xx,必须包含“. ”。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 + 函数初始化入口,规则:xx.xx,必须包含“. ”。当配置初始化函数时,此参数必填。 举例:对于node.js函数:myfunction.initializer,则表示函数的文件名为myfunction.js,初始化的入口函数名为initializer。 :param initializer_handler: The initializer_handler of this UpdateFunctionMaxInstanceConfigResponse. :type initializer_handler: str @@ -945,7 +945,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): def initializer_timeout(self): """Gets the initializer_timeout of this UpdateFunctionMaxInstanceConfigResponse. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :return: The initializer_timeout of this UpdateFunctionMaxInstanceConfigResponse. :rtype: int @@ -956,7 +956,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): def initializer_timeout(self, initializer_timeout): """Sets the initializer_timeout of this UpdateFunctionMaxInstanceConfigResponse. - 初始化超时时间,超时函数将被强行停止,范围1~300秒。 + 初始化超时时间,超时函数将被强行停止,范围1~300秒。当配置初始化函数时,此参数必填。 :param initializer_timeout: The initializer_timeout of this UpdateFunctionMaxInstanceConfigResponse. :type initializer_timeout: int @@ -1099,7 +1099,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): def type(self): """Gets the type of this UpdateFunctionMaxInstanceConfigResponse. - v2表示为公测版本,v1为原来版本。 + v2表示为正式版本,v1为废弃版本。 :return: The type of this UpdateFunctionMaxInstanceConfigResponse. :rtype: str @@ -1110,7 +1110,7 @@ class UpdateFunctionMaxInstanceConfigResponse(SdkResponse): def type(self, type): """Sets the type of this UpdateFunctionMaxInstanceConfigResponse. - v2表示为公测版本,v1为原来版本。 + v2表示为正式版本,v1为废弃版本。 :param type: The type of this UpdateFunctionMaxInstanceConfigResponse. :type type: str diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_trigger_request_body.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_trigger_request_body.py index e5786194d..297809480 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_trigger_request_body.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_trigger_request_body.py @@ -18,7 +18,7 @@ class UpdateTriggerRequestBody: openapi_types = { 'trigger_status': 'str', - 'event_data': 'list[TriggerEventData]' + 'event_data': 'list[UpdateriggerEventData]' } attribute_map = { @@ -34,7 +34,7 @@ class UpdateTriggerRequestBody: :param trigger_status: 触发器状态 :type trigger_status: str :param event_data: 触发器更新事件 - :type event_data: list[:class:`huaweicloudsdkfunctiongraph.v2.TriggerEventData`] + :type event_data: list[:class:`huaweicloudsdkfunctiongraph.v2.UpdateriggerEventData`] """ @@ -77,7 +77,7 @@ class UpdateTriggerRequestBody: 触发器更新事件 :return: The event_data of this UpdateTriggerRequestBody. - :rtype: list[:class:`huaweicloudsdkfunctiongraph.v2.TriggerEventData`] + :rtype: list[:class:`huaweicloudsdkfunctiongraph.v2.UpdateriggerEventData`] """ return self._event_data @@ -88,7 +88,7 @@ class UpdateTriggerRequestBody: 触发器更新事件 :param event_data: The event_data of this UpdateTriggerRequestBody. - :type event_data: list[:class:`huaweicloudsdkfunctiongraph.v2.TriggerEventData`] + :type event_data: list[:class:`huaweicloudsdkfunctiongraph.v2.UpdateriggerEventData`] """ self._event_data = event_data diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_trigger_response.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_trigger_response.py index eb9b812b3..4e66cfb36 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_trigger_response.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/update_trigger_response.py @@ -21,7 +21,7 @@ class UpdateTriggerResponse(SdkResponse): 'trigger_id': 'str', 'trigger_type_code': 'str', 'trigger_status': 'str', - 'event_data': 'object', + 'event_data': 'TriggerEventDataResponseBody', 'last_updated_time': 'datetime', 'created_time': 'datetime' } @@ -46,8 +46,8 @@ class UpdateTriggerResponse(SdkResponse): :type trigger_type_code: str :param trigger_status: \"触发器状态\" - ACTIVE: 启用状态。 - DISABLED: 禁用状态。 :type trigger_status: str - :param event_data: 触发器源事件。 - :type event_data: object + :param event_data: + :type event_data: :class:`huaweicloudsdkfunctiongraph.v2.TriggerEventDataResponseBody` :param last_updated_time: 最后更新时间。 :type last_updated_time: datetime :param created_time: 触发器创建时间。 @@ -147,10 +147,8 @@ class UpdateTriggerResponse(SdkResponse): def event_data(self): """Gets the event_data of this UpdateTriggerResponse. - 触发器源事件。 - :return: The event_data of this UpdateTriggerResponse. - :rtype: object + :rtype: :class:`huaweicloudsdkfunctiongraph.v2.TriggerEventDataResponseBody` """ return self._event_data @@ -158,10 +156,8 @@ class UpdateTriggerResponse(SdkResponse): def event_data(self, event_data): """Sets the event_data of this UpdateTriggerResponse. - 触发器源事件。 - :param event_data: The event_data of this UpdateTriggerResponse. - :type event_data: object + :type event_data: :class:`huaweicloudsdkfunctiongraph.v2.TriggerEventDataResponseBody` """ self._event_data = event_data diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/trigger_event_data.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/updaterigger_event_data.py similarity index 79% rename from huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/trigger_event_data.py rename to huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/updaterigger_event_data.py index 401109c7d..264f4717b 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/trigger_event_data.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/updaterigger_event_data.py @@ -5,7 +5,7 @@ import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class TriggerEventData: +class UpdateriggerEventData: """ Attributes: @@ -31,7 +31,7 @@ class TriggerEventData: } def __init__(self, is_serial=None, max_fetch_bytes=None, polling_interval=None, polling_unit=None): - """TriggerEventData + """UpdateriggerEventData The model defined in huaweicloud sdk @@ -64,88 +64,88 @@ class TriggerEventData: @property def is_serial(self): - """Gets the is_serial of this TriggerEventData. + """Gets the is_serial of this UpdateriggerEventData. 串行处理数据 - :return: The is_serial of this TriggerEventData. + :return: The is_serial of this UpdateriggerEventData. :rtype: bool """ return self._is_serial @is_serial.setter def is_serial(self, is_serial): - """Sets the is_serial of this TriggerEventData. + """Sets the is_serial of this UpdateriggerEventData. 串行处理数据 - :param is_serial: The is_serial of this TriggerEventData. + :param is_serial: The is_serial of this UpdateriggerEventData. :type is_serial: bool """ self._is_serial = is_serial @property def max_fetch_bytes(self): - """Gets the max_fetch_bytes of this TriggerEventData. + """Gets the max_fetch_bytes of this UpdateriggerEventData. 最大字节数 - :return: The max_fetch_bytes of this TriggerEventData. + :return: The max_fetch_bytes of this UpdateriggerEventData. :rtype: int """ return self._max_fetch_bytes @max_fetch_bytes.setter def max_fetch_bytes(self, max_fetch_bytes): - """Sets the max_fetch_bytes of this TriggerEventData. + """Sets the max_fetch_bytes of this UpdateriggerEventData. 最大字节数 - :param max_fetch_bytes: The max_fetch_bytes of this TriggerEventData. + :param max_fetch_bytes: The max_fetch_bytes of this UpdateriggerEventData. :type max_fetch_bytes: int """ self._max_fetch_bytes = max_fetch_bytes @property def polling_interval(self): - """Gets the polling_interval of this TriggerEventData. + """Gets the polling_interval of this UpdateriggerEventData. 拉取周期 - :return: The polling_interval of this TriggerEventData. + :return: The polling_interval of this UpdateriggerEventData. :rtype: int """ return self._polling_interval @polling_interval.setter def polling_interval(self, polling_interval): - """Sets the polling_interval of this TriggerEventData. + """Sets the polling_interval of this UpdateriggerEventData. 拉取周期 - :param polling_interval: The polling_interval of this TriggerEventData. + :param polling_interval: The polling_interval of this UpdateriggerEventData. :type polling_interval: int """ self._polling_interval = polling_interval @property def polling_unit(self): - """Gets the polling_unit of this TriggerEventData. + """Gets the polling_unit of this UpdateriggerEventData. 拉取周期单位 - :return: The polling_unit of this TriggerEventData. + :return: The polling_unit of this UpdateriggerEventData. :rtype: str """ return self._polling_unit @polling_unit.setter def polling_unit(self, polling_unit): - """Sets the polling_unit of this TriggerEventData. + """Sets the polling_unit of this UpdateriggerEventData. 拉取周期单位 - :param polling_unit: The polling_unit of this TriggerEventData. + :param polling_unit: The polling_unit of this UpdateriggerEventData. :type polling_unit: str """ self._polling_unit = polling_unit @@ -192,7 +192,7 @@ class TriggerEventData: def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, TriggerEventData): + if not isinstance(other, UpdateriggerEventData): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/version_strategy.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/version_strategy.py new file mode 100644 index 000000000..61668d2b8 --- /dev/null +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/version_strategy.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class VersionStrategy: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'rules': 'list[VersionStrategyRules]', + 'combine_type': 'str' + } + + attribute_map = { + 'rules': 'rules', + 'combine_type': 'combine_type' + } + + def __init__(self, rules=None, combine_type=None): + """VersionStrategy + + The model defined in huaweicloud sdk + + :param rules: 规则列表 + :type rules: list[:class:`huaweicloudsdkfunctiongraph.v2.VersionStrategyRules`] + :param combine_type: 所有规则聚合方式。and:所有规则都满足,or:满足其中一个 + :type combine_type: str + """ + + + + self._rules = None + self._combine_type = None + self.discriminator = None + + if rules is not None: + self.rules = rules + if combine_type is not None: + self.combine_type = combine_type + + @property + def rules(self): + """Gets the rules of this VersionStrategy. + + 规则列表 + + :return: The rules of this VersionStrategy. + :rtype: list[:class:`huaweicloudsdkfunctiongraph.v2.VersionStrategyRules`] + """ + return self._rules + + @rules.setter + def rules(self, rules): + """Sets the rules of this VersionStrategy. + + 规则列表 + + :param rules: The rules of this VersionStrategy. + :type rules: list[:class:`huaweicloudsdkfunctiongraph.v2.VersionStrategyRules`] + """ + self._rules = rules + + @property + def combine_type(self): + """Gets the combine_type of this VersionStrategy. + + 所有规则聚合方式。and:所有规则都满足,or:满足其中一个 + + :return: The combine_type of this VersionStrategy. + :rtype: str + """ + return self._combine_type + + @combine_type.setter + def combine_type(self, combine_type): + """Sets the combine_type of this VersionStrategy. + + 所有规则聚合方式。and:所有规则都满足,or:满足其中一个 + + :param combine_type: The combine_type of this VersionStrategy. + :type combine_type: str + """ + self._combine_type = combine_type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, VersionStrategy): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/version_strategy_rules.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/version_strategy_rules.py new file mode 100644 index 000000000..92d7e75a2 --- /dev/null +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/model/version_strategy_rules.py @@ -0,0 +1,202 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class VersionStrategyRules: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'rule_type': 'str', + 'param': 'str', + 'op': 'str', + 'value': 'str' + } + + attribute_map = { + 'rule_type': 'rule_type', + 'param': 'param', + 'op': 'op', + 'value': 'value' + } + + def __init__(self, rule_type=None, param=None, op=None, value=None): + """VersionStrategyRules + + The model defined in huaweicloud sdk + + :param rule_type: 参数类型。 + :type rule_type: str + :param param: 规则参数名, 只支持大小写字母,数字,下划线,中划线。 + :type param: str + :param op: 规则匹配操作符,目前仅需支持 = 或者in。 + :type op: str + :param value: 规则值,如果op为in,则为逗号分隔的多值字符串 + :type value: str + """ + + + + self._rule_type = None + self._param = None + self._op = None + self._value = None + self.discriminator = None + + if rule_type is not None: + self.rule_type = rule_type + if param is not None: + self.param = param + if op is not None: + self.op = op + if value is not None: + self.value = value + + @property + def rule_type(self): + """Gets the rule_type of this VersionStrategyRules. + + 参数类型。 + + :return: The rule_type of this VersionStrategyRules. + :rtype: str + """ + return self._rule_type + + @rule_type.setter + def rule_type(self, rule_type): + """Sets the rule_type of this VersionStrategyRules. + + 参数类型。 + + :param rule_type: The rule_type of this VersionStrategyRules. + :type rule_type: str + """ + self._rule_type = rule_type + + @property + def param(self): + """Gets the param of this VersionStrategyRules. + + 规则参数名, 只支持大小写字母,数字,下划线,中划线。 + + :return: The param of this VersionStrategyRules. + :rtype: str + """ + return self._param + + @param.setter + def param(self, param): + """Sets the param of this VersionStrategyRules. + + 规则参数名, 只支持大小写字母,数字,下划线,中划线。 + + :param param: The param of this VersionStrategyRules. + :type param: str + """ + self._param = param + + @property + def op(self): + """Gets the op of this VersionStrategyRules. + + 规则匹配操作符,目前仅需支持 = 或者in。 + + :return: The op of this VersionStrategyRules. + :rtype: str + """ + return self._op + + @op.setter + def op(self, op): + """Sets the op of this VersionStrategyRules. + + 规则匹配操作符,目前仅需支持 = 或者in。 + + :param op: The op of this VersionStrategyRules. + :type op: str + """ + self._op = op + + @property + def value(self): + """Gets the value of this VersionStrategyRules. + + 规则值,如果op为in,则为逗号分隔的多值字符串 + + :return: The value of this VersionStrategyRules. + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this VersionStrategyRules. + + 规则值,如果op为in,则为逗号分隔的多值字符串 + + :param value: The value of this VersionStrategyRules. + :type value: str + """ + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, VersionStrategyRules): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-functiongraph/requirements.txt b/huaweicloud-sdk-functiongraph/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-functiongraph/requirements.txt +++ b/huaweicloud-sdk-functiongraph/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-functiongraph/setup.py b/huaweicloud-sdk-functiongraph/setup.py index b067402a7..aa5315226 100644 --- a/huaweicloud-sdk-functiongraph/setup.py +++ b/huaweicloud-sdk-functiongraph/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkfunctiongraph" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ga/requirements.txt b/huaweicloud-sdk-ga/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-ga/requirements.txt +++ b/huaweicloud-sdk-ga/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-ga/setup.py b/huaweicloud-sdk-ga/setup.py index 7a058102e..a1e08990c 100644 --- a/huaweicloud-sdk-ga/setup.py +++ b/huaweicloud-sdk-ga/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkga" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdb/huaweicloudsdkgaussdb/v3/model/modify_gauss_my_sql_proxy_route_mode_request_body.py b/huaweicloud-sdk-gaussdb/huaweicloudsdkgaussdb/v3/model/modify_gauss_my_sql_proxy_route_mode_request_body.py index 1e2e52002..aa2e6d82c 100644 --- a/huaweicloud-sdk-gaussdb/huaweicloudsdkgaussdb/v3/model/modify_gauss_my_sql_proxy_route_mode_request_body.py +++ b/huaweicloud-sdk-gaussdb/huaweicloudsdkgaussdb/v3/model/modify_gauss_my_sql_proxy_route_mode_request_body.py @@ -19,16 +19,20 @@ class ModifyGaussMySqlProxyRouteModeRequestBody: openapi_types = { 'route_mode': 'int', 'master_weight': 'int', - 'readonly_nodes': 'list[ModifyProxyRouteWeightReadonlyNode]' + 'readonly_nodes': 'list[ModifyProxyRouteWeightReadonlyNode]', + 'new_node_auto_add_status': 'str', + 'new_node_weight': 'int' } attribute_map = { 'route_mode': 'route_mode', 'master_weight': 'master_weight', - 'readonly_nodes': 'readonly_nodes' + 'readonly_nodes': 'readonly_nodes', + 'new_node_auto_add_status': 'new_node_auto_add_status', + 'new_node_weight': 'new_node_weight' } - def __init__(self, route_mode=None, master_weight=None, readonly_nodes=None): + def __init__(self, route_mode=None, master_weight=None, readonly_nodes=None, new_node_auto_add_status=None, new_node_weight=None): """ModifyGaussMySqlProxyRouteModeRequestBody The model defined in huaweicloud sdk @@ -39,6 +43,10 @@ class ModifyGaussMySqlProxyRouteModeRequestBody: :type master_weight: int :param readonly_nodes: 只读节点权重配置信息。 :type readonly_nodes: list[:class:`huaweicloudsdkgaussdb.v3.ModifyProxyRouteWeightReadonlyNode`] + :param new_node_auto_add_status: 是否开启新增节点自动加入该Proxy。如果需要设置是否开启新增节点自动加入该Proxy,请联系客服人员添加白名单,加入白名单后,方可输入该字段。 取值范围: - ON:开启。 - OFF:关闭。 + :type new_node_auto_add_status: str + :param new_node_weight: 新增节点的读权重: - 如果路由模式为0,新增节点自动加入为ON,取值为0~1000。 - 如果路由模式不为0或新增节点自动加入为OFF,则可不输入读权重。 + :type new_node_weight: int """ @@ -46,6 +54,8 @@ class ModifyGaussMySqlProxyRouteModeRequestBody: self._route_mode = None self._master_weight = None self._readonly_nodes = None + self._new_node_auto_add_status = None + self._new_node_weight = None self.discriminator = None self.route_mode = route_mode @@ -53,6 +63,10 @@ class ModifyGaussMySqlProxyRouteModeRequestBody: self.master_weight = master_weight if readonly_nodes is not None: self.readonly_nodes = readonly_nodes + if new_node_auto_add_status is not None: + self.new_node_auto_add_status = new_node_auto_add_status + if new_node_weight is not None: + self.new_node_weight = new_node_weight @property def route_mode(self): @@ -120,6 +134,50 @@ class ModifyGaussMySqlProxyRouteModeRequestBody: """ self._readonly_nodes = readonly_nodes + @property + def new_node_auto_add_status(self): + """Gets the new_node_auto_add_status of this ModifyGaussMySqlProxyRouteModeRequestBody. + + 是否开启新增节点自动加入该Proxy。如果需要设置是否开启新增节点自动加入该Proxy,请联系客服人员添加白名单,加入白名单后,方可输入该字段。 取值范围: - ON:开启。 - OFF:关闭。 + + :return: The new_node_auto_add_status of this ModifyGaussMySqlProxyRouteModeRequestBody. + :rtype: str + """ + return self._new_node_auto_add_status + + @new_node_auto_add_status.setter + def new_node_auto_add_status(self, new_node_auto_add_status): + """Sets the new_node_auto_add_status of this ModifyGaussMySqlProxyRouteModeRequestBody. + + 是否开启新增节点自动加入该Proxy。如果需要设置是否开启新增节点自动加入该Proxy,请联系客服人员添加白名单,加入白名单后,方可输入该字段。 取值范围: - ON:开启。 - OFF:关闭。 + + :param new_node_auto_add_status: The new_node_auto_add_status of this ModifyGaussMySqlProxyRouteModeRequestBody. + :type new_node_auto_add_status: str + """ + self._new_node_auto_add_status = new_node_auto_add_status + + @property + def new_node_weight(self): + """Gets the new_node_weight of this ModifyGaussMySqlProxyRouteModeRequestBody. + + 新增节点的读权重: - 如果路由模式为0,新增节点自动加入为ON,取值为0~1000。 - 如果路由模式不为0或新增节点自动加入为OFF,则可不输入读权重。 + + :return: The new_node_weight of this ModifyGaussMySqlProxyRouteModeRequestBody. + :rtype: int + """ + return self._new_node_weight + + @new_node_weight.setter + def new_node_weight(self, new_node_weight): + """Sets the new_node_weight of this ModifyGaussMySqlProxyRouteModeRequestBody. + + 新增节点的读权重: - 如果路由模式为0,新增节点自动加入为ON,取值为0~1000。 - 如果路由模式不为0或新增节点自动加入为OFF,则可不输入读权重。 + + :param new_node_weight: The new_node_weight of this ModifyGaussMySqlProxyRouteModeRequestBody. + :type new_node_weight: int + """ + self._new_node_weight = new_node_weight + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-gaussdb/requirements.txt b/huaweicloud-sdk-gaussdb/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-gaussdb/requirements.txt +++ b/huaweicloud-sdk-gaussdb/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdb/setup.py b/huaweicloud-sdk-gaussdb/setup.py index 36c0c198a..8e9674167 100644 --- a/huaweicloud-sdk-gaussdb/setup.py +++ b/huaweicloud-sdk-gaussdb/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkgaussdb" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdbfornosql/requirements.txt b/huaweicloud-sdk-gaussdbfornosql/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-gaussdbfornosql/requirements.txt +++ b/huaweicloud-sdk-gaussdbfornosql/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdbfornosql/setup.py b/huaweicloud-sdk-gaussdbfornosql/setup.py index 24e6fc294..a0a64d8fe 100644 --- a/huaweicloud-sdk-gaussdbfornosql/setup.py +++ b/huaweicloud-sdk-gaussdbfornosql/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkgaussdbfornosql" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/recycle_instances_detail_result.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/recycle_instances_detail_result.py index 904af524a..a3b092f7f 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/recycle_instances_detail_result.py +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/recycle_instances_detail_result.py @@ -20,13 +20,17 @@ class RecycleInstancesDetailResult: 'id': 'str', 'name': 'str', 'ha_mode': 'str', + 'engine_name': 'str', 'engine_version': 'str', 'pay_model': 'str', 'created_at': 'str', 'deleted_at': 'str', 'volume_type': 'str', + 'volume_size': 'str', 'data_vip': 'str', 'enterprise_project_id': 'str', + 'enterprise_project_name': 'str', + 'backup_level': 'str', 'recycle_backup_id': 'str', 'recycle_status': 'str', 'mode': 'str' @@ -36,19 +40,23 @@ class RecycleInstancesDetailResult: 'id': 'id', 'name': 'name', 'ha_mode': 'ha_mode', + 'engine_name': 'engine_name', 'engine_version': 'engine_version', 'pay_model': 'pay_model', 'created_at': 'created_at', 'deleted_at': 'deleted_at', 'volume_type': 'volume_type', + 'volume_size': 'volume_size', 'data_vip': 'data_vip', 'enterprise_project_id': 'enterprise_project_id', + 'enterprise_project_name': 'enterprise_project_name', + 'backup_level': 'backup_level', 'recycle_backup_id': 'recycle_backup_id', 'recycle_status': 'recycle_status', 'mode': 'mode' } - def __init__(self, id=None, name=None, ha_mode=None, engine_version=None, pay_model=None, created_at=None, deleted_at=None, volume_type=None, data_vip=None, enterprise_project_id=None, recycle_backup_id=None, recycle_status=None, mode=None): + def __init__(self, id=None, name=None, ha_mode=None, engine_name=None, engine_version=None, pay_model=None, created_at=None, deleted_at=None, volume_type=None, volume_size=None, data_vip=None, enterprise_project_id=None, enterprise_project_name=None, backup_level=None, recycle_backup_id=None, recycle_status=None, mode=None): """RecycleInstancesDetailResult The model defined in huaweicloud sdk @@ -59,6 +67,8 @@ class RecycleInstancesDetailResult: :type name: str :param ha_mode: 部署形态。 :type ha_mode: str + :param engine_name: 引擎名称 + :type engine_name: str :param engine_version: 引擎版本号。 :type engine_version: str :param pay_model: 计费模式(0:按需计费;1:包年/包月)。 @@ -69,10 +79,16 @@ class RecycleInstancesDetailResult: :type deleted_at: str :param volume_type: 磁盘类型。(SAS:high;SSD:ultrahigh;ESSD:essd)。 :type volume_type: str + :param volume_size: 磁盘大小 + :type volume_size: str :param data_vip: 数据vip。 :type data_vip: str :param enterprise_project_id: 企业项目ID。 :type enterprise_project_id: str + :param enterprise_project_name: 企业项目名称 + :type enterprise_project_name: str + :param backup_level: 备份级别 + :type backup_level: str :param recycle_backup_id: 备份ID。(指删除实例时产生备份信息中的备份ID)。 :type recycle_backup_id: str :param recycle_status: 回收站备份状态。(Running:运行中;Active:有效的)。 @@ -86,13 +102,17 @@ class RecycleInstancesDetailResult: self._id = None self._name = None self._ha_mode = None + self._engine_name = None self._engine_version = None self._pay_model = None self._created_at = None self._deleted_at = None self._volume_type = None + self._volume_size = None self._data_vip = None self._enterprise_project_id = None + self._enterprise_project_name = None + self._backup_level = None self._recycle_backup_id = None self._recycle_status = None self._mode = None @@ -101,13 +121,21 @@ class RecycleInstancesDetailResult: self.id = id self.name = name self.ha_mode = ha_mode + if engine_name is not None: + self.engine_name = engine_name self.engine_version = engine_version self.pay_model = pay_model self.created_at = created_at self.deleted_at = deleted_at self.volume_type = volume_type + if volume_size is not None: + self.volume_size = volume_size self.data_vip = data_vip self.enterprise_project_id = enterprise_project_id + if enterprise_project_name is not None: + self.enterprise_project_name = enterprise_project_name + if backup_level is not None: + self.backup_level = backup_level self.recycle_backup_id = recycle_backup_id self.recycle_status = recycle_status self.mode = mode @@ -178,6 +206,28 @@ class RecycleInstancesDetailResult: """ self._ha_mode = ha_mode + @property + def engine_name(self): + """Gets the engine_name of this RecycleInstancesDetailResult. + + 引擎名称 + + :return: The engine_name of this RecycleInstancesDetailResult. + :rtype: str + """ + return self._engine_name + + @engine_name.setter + def engine_name(self, engine_name): + """Sets the engine_name of this RecycleInstancesDetailResult. + + 引擎名称 + + :param engine_name: The engine_name of this RecycleInstancesDetailResult. + :type engine_name: str + """ + self._engine_name = engine_name + @property def engine_version(self): """Gets the engine_version of this RecycleInstancesDetailResult. @@ -288,6 +338,28 @@ class RecycleInstancesDetailResult: """ self._volume_type = volume_type + @property + def volume_size(self): + """Gets the volume_size of this RecycleInstancesDetailResult. + + 磁盘大小 + + :return: The volume_size of this RecycleInstancesDetailResult. + :rtype: str + """ + return self._volume_size + + @volume_size.setter + def volume_size(self, volume_size): + """Sets the volume_size of this RecycleInstancesDetailResult. + + 磁盘大小 + + :param volume_size: The volume_size of this RecycleInstancesDetailResult. + :type volume_size: str + """ + self._volume_size = volume_size + @property def data_vip(self): """Gets the data_vip of this RecycleInstancesDetailResult. @@ -332,6 +404,50 @@ class RecycleInstancesDetailResult: """ self._enterprise_project_id = enterprise_project_id + @property + def enterprise_project_name(self): + """Gets the enterprise_project_name of this RecycleInstancesDetailResult. + + 企业项目名称 + + :return: The enterprise_project_name of this RecycleInstancesDetailResult. + :rtype: str + """ + return self._enterprise_project_name + + @enterprise_project_name.setter + def enterprise_project_name(self, enterprise_project_name): + """Sets the enterprise_project_name of this RecycleInstancesDetailResult. + + 企业项目名称 + + :param enterprise_project_name: The enterprise_project_name of this RecycleInstancesDetailResult. + :type enterprise_project_name: str + """ + self._enterprise_project_name = enterprise_project_name + + @property + def backup_level(self): + """Gets the backup_level of this RecycleInstancesDetailResult. + + 备份级别 + + :return: The backup_level of this RecycleInstancesDetailResult. + :rtype: str + """ + return self._backup_level + + @backup_level.setter + def backup_level(self, backup_level): + """Sets the backup_level of this RecycleInstancesDetailResult. + + 备份级别 + + :param backup_level: The backup_level of this RecycleInstancesDetailResult. + :type backup_level: str + """ + self._backup_level = backup_level + @property def recycle_backup_id(self): """Gets the recycle_backup_id of this RecycleInstancesDetailResult. diff --git a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/set_recycle_policy_response.py b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/set_recycle_policy_response.py index b12bdf750..2f7ad48c0 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/set_recycle_policy_response.py +++ b/huaweicloud-sdk-gaussdbforopengauss/huaweicloudsdkgaussdbforopengauss/v3/model/set_recycle_policy_response.py @@ -18,21 +18,52 @@ class SetRecyclePolicyResponse(SdkResponse): sensitive_list = [] openapi_types = { + 'result': 'str' } attribute_map = { + 'result': 'result' } - def __init__(self): + def __init__(self, result=None): """SetRecyclePolicyResponse The model defined in huaweicloud sdk + :param result: 修改结果,“success”表示修改成功 + :type result: str """ super(SetRecyclePolicyResponse, self).__init__() + + self._result = None self.discriminator = None + if result is not None: + self.result = result + + @property + def result(self): + """Gets the result of this SetRecyclePolicyResponse. + + 修改结果,“success”表示修改成功 + + :return: The result of this SetRecyclePolicyResponse. + :rtype: str + """ + return self._result + + @result.setter + def result(self, result): + """Sets the result of this SetRecyclePolicyResponse. + + 修改结果,“success”表示修改成功 + + :param result: The result of this SetRecyclePolicyResponse. + :type result: str + """ + self._result = result + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-gaussdbforopengauss/requirements.txt b/huaweicloud-sdk-gaussdbforopengauss/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/requirements.txt +++ b/huaweicloud-sdk-gaussdbforopengauss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdbforopengauss/setup.py b/huaweicloud-sdk-gaussdbforopengauss/setup.py index 248a0fa38..1aa0fb1b1 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/setup.py +++ b/huaweicloud-sdk-gaussdbforopengauss/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkgaussdbforopengauss" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-geip/requirements.txt b/huaweicloud-sdk-geip/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-geip/requirements.txt +++ b/huaweicloud-sdk-geip/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-geip/setup.py b/huaweicloud-sdk-geip/setup.py index 861831b40..1e61f1c27 100644 --- a/huaweicloud-sdk-geip/setup.py +++ b/huaweicloud-sdk-geip/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkgeip" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ges/requirements.txt b/huaweicloud-sdk-ges/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-ges/requirements.txt +++ b/huaweicloud-sdk-ges/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-ges/setup.py b/huaweicloud-sdk-ges/setup.py index 1d797d4c8..5e33b915a 100644 --- a/huaweicloud-sdk-ges/setup.py +++ b/huaweicloud-sdk-ges/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkges" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gsl/requirements.txt b/huaweicloud-sdk-gsl/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-gsl/requirements.txt +++ b/huaweicloud-sdk-gsl/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-gsl/setup.py b/huaweicloud-sdk-gsl/setup.py index 234eeecbd..1128ba9f5 100644 --- a/huaweicloud-sdk-gsl/setup.py +++ b/huaweicloud-sdk-gsl/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkgsl" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-hilens/requirements.txt b/huaweicloud-sdk-hilens/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-hilens/requirements.txt +++ b/huaweicloud-sdk-hilens/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-hilens/setup.py b/huaweicloud-sdk-hilens/setup.py index 9d3e3a6b6..4ea658cb0 100644 --- a/huaweicloud-sdk-hilens/setup.py +++ b/huaweicloud-sdk-hilens/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkhilens" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-hss/requirements.txt b/huaweicloud-sdk-hss/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-hss/requirements.txt +++ b/huaweicloud-sdk-hss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-hss/setup.py b/huaweicloud-sdk-hss/setup.py index c6171397d..f0ef06340 100644 --- a/huaweicloud-sdk-hss/setup.py +++ b/huaweicloud-sdk-hss/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkhss" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iam/requirements.txt b/huaweicloud-sdk-iam/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-iam/requirements.txt +++ b/huaweicloud-sdk-iam/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-iam/setup.py b/huaweicloud-sdk-iam/setup.py index 8cde472c6..e5a0ad4e8 100644 --- a/huaweicloud-sdk-iam/setup.py +++ b/huaweicloud-sdk-iam/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkiam" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iamaccessanalyzer/requirements.txt b/huaweicloud-sdk-iamaccessanalyzer/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-iamaccessanalyzer/requirements.txt +++ b/huaweicloud-sdk-iamaccessanalyzer/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-iamaccessanalyzer/setup.py b/huaweicloud-sdk-iamaccessanalyzer/setup.py index c0c712f19..b9b0cbade 100644 --- a/huaweicloud-sdk-iamaccessanalyzer/setup.py +++ b/huaweicloud-sdk-iamaccessanalyzer/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkiamaccessanalyzer" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-identitycenter/requirements.txt b/huaweicloud-sdk-identitycenter/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-identitycenter/requirements.txt +++ b/huaweicloud-sdk-identitycenter/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-identitycenter/setup.py b/huaweicloud-sdk-identitycenter/setup.py index 41089e77d..afe773cde 100644 --- a/huaweicloud-sdk-identitycenter/setup.py +++ b/huaweicloud-sdk-identitycenter/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkidentitycenter" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-identitycenterstore/requirements.txt b/huaweicloud-sdk-identitycenterstore/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-identitycenterstore/requirements.txt +++ b/huaweicloud-sdk-identitycenterstore/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-identitycenterstore/setup.py b/huaweicloud-sdk-identitycenterstore/setup.py index 4ba5973c9..e9f6ba561 100644 --- a/huaweicloud-sdk-identitycenterstore/setup.py +++ b/huaweicloud-sdk-identitycenterstore/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkidentitycenterstore" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-idme/requirements.txt b/huaweicloud-sdk-idme/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-idme/requirements.txt +++ b/huaweicloud-sdk-idme/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-idme/setup.py b/huaweicloud-sdk-idme/setup.py index 147598ac2..e9d5f5e62 100644 --- a/huaweicloud-sdk-idme/setup.py +++ b/huaweicloud-sdk-idme/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkidme" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-idmeclassicapi/requirements.txt b/huaweicloud-sdk-idmeclassicapi/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-idmeclassicapi/requirements.txt +++ b/huaweicloud-sdk-idmeclassicapi/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-idmeclassicapi/setup.py b/huaweicloud-sdk-idmeclassicapi/setup.py index 5d4c8aeda..b5c45027d 100644 --- a/huaweicloud-sdk-idmeclassicapi/setup.py +++ b/huaweicloud-sdk-idmeclassicapi/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkidmeclassicapi" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iec/requirements.txt b/huaweicloud-sdk-iec/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-iec/requirements.txt +++ b/huaweicloud-sdk-iec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-iec/setup.py b/huaweicloud-sdk-iec/setup.py index 2269d2482..0933e37a7 100644 --- a/huaweicloud-sdk-iec/setup.py +++ b/huaweicloud-sdk-iec/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkiec" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ief/requirements.txt b/huaweicloud-sdk-ief/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-ief/requirements.txt +++ b/huaweicloud-sdk-ief/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-ief/setup.py b/huaweicloud-sdk-ief/setup.py index 7a4153d05..3fd294f94 100644 --- a/huaweicloud-sdk-ief/setup.py +++ b/huaweicloud-sdk-ief/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkief" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-image/requirements.txt b/huaweicloud-sdk-image/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-image/requirements.txt +++ b/huaweicloud-sdk-image/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-image/setup.py b/huaweicloud-sdk-image/setup.py index 3c9892ef1..79398b20b 100644 --- a/huaweicloud-sdk-image/setup.py +++ b/huaweicloud-sdk-image/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkimage" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-imagesearch/requirements.txt b/huaweicloud-sdk-imagesearch/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-imagesearch/requirements.txt +++ b/huaweicloud-sdk-imagesearch/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-imagesearch/setup.py b/huaweicloud-sdk-imagesearch/setup.py index db46e4362..f25945e26 100644 --- a/huaweicloud-sdk-imagesearch/setup.py +++ b/huaweicloud-sdk-imagesearch/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkimagesearch" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ims/huaweicloudsdkims/v2/model/image_info.py b/huaweicloud-sdk-ims/huaweicloudsdkims/v2/model/image_info.py index 2e0c372cd..6c0670074 100644 --- a/huaweicloud-sdk-ims/huaweicloudsdkims/v2/model/image_info.py +++ b/huaweicloud-sdk-ims/huaweicloudsdkims/v2/model/image_info.py @@ -75,6 +75,7 @@ class ImageInfo: 'sequence_num': 'str', 'active_at': 'str', 'support_agent_list': 'str', + 'image_displayname': 'str', 'support_amd': 'str' } @@ -137,10 +138,11 @@ class ImageInfo: 'sequence_num': '__sequence_num', 'active_at': 'active_at', 'support_agent_list': '__support_agent_list', + 'image_displayname': '__image_displayname', 'support_amd': '__support_amd' } - def __init__(self, backup_id=None, data_origin=None, description=None, image_size=None, image_source_type=None, imagetype=None, isregistered=None, originalimagename=None, os_bit=None, os_type=None, os_version=None, platform=None, productcode=None, support_diskintensive=None, support_highperformance=None, support_kvm=None, support_kvm_gpu_type=None, support_kvm_infiniband=None, support_largememory=None, support_xen=None, support_xen_gpu_type=None, support_xen_hana=None, system_support_market=None, checksum=None, container_format=None, created_at=None, disk_format=None, enterprise_project_id=None, file=None, id=None, min_disk=None, min_ram=None, name=None, owner=None, protected=None, schema=None, _self=None, size=None, status=None, tags=None, updated_at=None, virtual_env_type=None, virtual_size=None, visibility=None, support_fc_inject=None, hw_firmware_type=None, support_arm=None, max_ram=None, system__cmkid=None, os_feature_list=None, account_code=None, hw_vif_multiqueue_enabled=None, is_offshelved=None, lazyloading=None, root_origin=None, sequence_num=None, active_at=None, support_agent_list=None, support_amd=None): + def __init__(self, backup_id=None, data_origin=None, description=None, image_size=None, image_source_type=None, imagetype=None, isregistered=None, originalimagename=None, os_bit=None, os_type=None, os_version=None, platform=None, productcode=None, support_diskintensive=None, support_highperformance=None, support_kvm=None, support_kvm_gpu_type=None, support_kvm_infiniband=None, support_largememory=None, support_xen=None, support_xen_gpu_type=None, support_xen_hana=None, system_support_market=None, checksum=None, container_format=None, created_at=None, disk_format=None, enterprise_project_id=None, file=None, id=None, min_disk=None, min_ram=None, name=None, owner=None, protected=None, schema=None, _self=None, size=None, status=None, tags=None, updated_at=None, virtual_env_type=None, virtual_size=None, visibility=None, support_fc_inject=None, hw_firmware_type=None, support_arm=None, max_ram=None, system__cmkid=None, os_feature_list=None, account_code=None, hw_vif_multiqueue_enabled=None, is_offshelved=None, lazyloading=None, root_origin=None, sequence_num=None, active_at=None, support_agent_list=None, image_displayname=None, support_amd=None): """ImageInfo The model defined in huaweicloud sdk @@ -261,6 +263,8 @@ class ImageInfo: :type active_at: str :param support_agent_list: 镜像是否支持企业主机安全或主机监控。 hss:企业主机安全 ces:主机监控 :type support_agent_list: str + :param image_displayname: 对外展示名称。 + :type image_displayname: str :param support_amd: 是否是AMD架构类型的镜像。取值为“true”或者“false”。 :type support_amd: str """ @@ -325,6 +329,7 @@ class ImageInfo: self._sequence_num = None self._active_at = None self._support_agent_list = None + self._image_displayname = None self._support_amd = None self.discriminator = None @@ -424,6 +429,8 @@ class ImageInfo: self.active_at = active_at if support_agent_list is not None: self.support_agent_list = support_agent_list + if image_displayname is not None: + self.image_displayname = image_displayname if support_amd is not None: self.support_amd = support_amd @@ -1703,6 +1710,28 @@ class ImageInfo: """ self._support_agent_list = support_agent_list + @property + def image_displayname(self): + """Gets the image_displayname of this ImageInfo. + + 对外展示名称。 + + :return: The image_displayname of this ImageInfo. + :rtype: str + """ + return self._image_displayname + + @image_displayname.setter + def image_displayname(self, image_displayname): + """Sets the image_displayname of this ImageInfo. + + 对外展示名称。 + + :param image_displayname: The image_displayname of this ImageInfo. + :type image_displayname: str + """ + self._image_displayname = image_displayname + @property def support_amd(self): """Gets the support_amd of this ImageInfo. diff --git a/huaweicloud-sdk-ims/huaweicloudsdkims/v2/model/update_image_response.py b/huaweicloud-sdk-ims/huaweicloudsdkims/v2/model/update_image_response.py index f683a1917..ce8e58d99 100644 --- a/huaweicloud-sdk-ims/huaweicloudsdkims/v2/model/update_image_response.py +++ b/huaweicloud-sdk-ims/huaweicloudsdkims/v2/model/update_image_response.py @@ -76,6 +76,7 @@ class UpdateImageResponse(SdkResponse): 'sequence_num': 'str', 'active_at': 'str', 'support_agent_list': 'str', + 'image_displayname': 'str', 'support_amd': 'str' } @@ -138,10 +139,11 @@ class UpdateImageResponse(SdkResponse): 'sequence_num': '__sequence_num', 'active_at': 'active_at', 'support_agent_list': '__support_agent_list', + 'image_displayname': '__image_displayname', 'support_amd': '__support_amd' } - def __init__(self, backup_id=None, data_origin=None, description=None, image_size=None, image_source_type=None, imagetype=None, isregistered=None, originalimagename=None, os_bit=None, os_type=None, os_version=None, platform=None, productcode=None, support_diskintensive=None, support_highperformance=None, support_kvm=None, support_kvm_gpu_type=None, support_kvm_infiniband=None, support_largememory=None, support_xen=None, support_xen_gpu_type=None, support_xen_hana=None, system_support_market=None, checksum=None, container_format=None, created_at=None, disk_format=None, enterprise_project_id=None, file=None, id=None, min_disk=None, min_ram=None, name=None, owner=None, protected=None, schema=None, _self=None, size=None, status=None, tags=None, updated_at=None, virtual_env_type=None, virtual_size=None, visibility=None, support_fc_inject=None, hw_firmware_type=None, support_arm=None, max_ram=None, system__cmkid=None, os_feature_list=None, account_code=None, hw_vif_multiqueue_enabled=None, is_offshelved=None, lazyloading=None, root_origin=None, sequence_num=None, active_at=None, support_agent_list=None, support_amd=None): + def __init__(self, backup_id=None, data_origin=None, description=None, image_size=None, image_source_type=None, imagetype=None, isregistered=None, originalimagename=None, os_bit=None, os_type=None, os_version=None, platform=None, productcode=None, support_diskintensive=None, support_highperformance=None, support_kvm=None, support_kvm_gpu_type=None, support_kvm_infiniband=None, support_largememory=None, support_xen=None, support_xen_gpu_type=None, support_xen_hana=None, system_support_market=None, checksum=None, container_format=None, created_at=None, disk_format=None, enterprise_project_id=None, file=None, id=None, min_disk=None, min_ram=None, name=None, owner=None, protected=None, schema=None, _self=None, size=None, status=None, tags=None, updated_at=None, virtual_env_type=None, virtual_size=None, visibility=None, support_fc_inject=None, hw_firmware_type=None, support_arm=None, max_ram=None, system__cmkid=None, os_feature_list=None, account_code=None, hw_vif_multiqueue_enabled=None, is_offshelved=None, lazyloading=None, root_origin=None, sequence_num=None, active_at=None, support_agent_list=None, image_displayname=None, support_amd=None): """UpdateImageResponse The model defined in huaweicloud sdk @@ -262,6 +264,8 @@ class UpdateImageResponse(SdkResponse): :type active_at: str :param support_agent_list: 镜像是否支持企业主机安全或主机监控。 hss:企业主机安全 ces:主机监控 :type support_agent_list: str + :param image_displayname: 对外展示名称。 + :type image_displayname: str :param support_amd: 是否是AMD架构类型的镜像。取值为“true”或者“false”。 :type support_amd: str """ @@ -326,6 +330,7 @@ class UpdateImageResponse(SdkResponse): self._sequence_num = None self._active_at = None self._support_agent_list = None + self._image_displayname = None self._support_amd = None self.discriminator = None @@ -445,6 +450,8 @@ class UpdateImageResponse(SdkResponse): self.active_at = active_at if support_agent_list is not None: self.support_agent_list = support_agent_list + if image_displayname is not None: + self.image_displayname = image_displayname if support_amd is not None: self.support_amd = support_amd @@ -1724,6 +1731,28 @@ class UpdateImageResponse(SdkResponse): """ self._support_agent_list = support_agent_list + @property + def image_displayname(self): + """Gets the image_displayname of this UpdateImageResponse. + + 对外展示名称。 + + :return: The image_displayname of this UpdateImageResponse. + :rtype: str + """ + return self._image_displayname + + @image_displayname.setter + def image_displayname(self, image_displayname): + """Sets the image_displayname of this UpdateImageResponse. + + 对外展示名称。 + + :param image_displayname: The image_displayname of this UpdateImageResponse. + :type image_displayname: str + """ + self._image_displayname = image_displayname + @property def support_amd(self): """Gets the support_amd of this UpdateImageResponse. diff --git a/huaweicloud-sdk-ims/requirements.txt b/huaweicloud-sdk-ims/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-ims/requirements.txt +++ b/huaweicloud-sdk-ims/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-ims/setup.py b/huaweicloud-sdk-ims/setup.py index be7755633..d5583d0f5 100644 --- a/huaweicloud-sdk-ims/setup.py +++ b/huaweicloud-sdk-ims/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkims" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotanalytics/requirements.txt b/huaweicloud-sdk-iotanalytics/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-iotanalytics/requirements.txt +++ b/huaweicloud-sdk-iotanalytics/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-iotanalytics/setup.py b/huaweicloud-sdk-iotanalytics/setup.py index 56b5c50e8..855eb86cd 100644 --- a/huaweicloud-sdk-iotanalytics/setup.py +++ b/huaweicloud-sdk-iotanalytics/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkiotanalytics" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotda/requirements.txt b/huaweicloud-sdk-iotda/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-iotda/requirements.txt +++ b/huaweicloud-sdk-iotda/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-iotda/setup.py b/huaweicloud-sdk-iotda/setup.py index d0e6d1be8..3a9b4cc65 100644 --- a/huaweicloud-sdk-iotda/setup.py +++ b/huaweicloud-sdk-iotda/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkiotda" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotedge/requirements.txt b/huaweicloud-sdk-iotedge/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-iotedge/requirements.txt +++ b/huaweicloud-sdk-iotedge/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-iotedge/setup.py b/huaweicloud-sdk-iotedge/setup.py index f524f7002..1083c004d 100644 --- a/huaweicloud-sdk-iotedge/setup.py +++ b/huaweicloud-sdk-iotedge/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkiotedge" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ivs/requirements.txt b/huaweicloud-sdk-ivs/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-ivs/requirements.txt +++ b/huaweicloud-sdk-ivs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-ivs/setup.py b/huaweicloud-sdk-ivs/setup.py index 97ff2497b..522ec2d5c 100644 --- a/huaweicloud-sdk-ivs/setup.py +++ b/huaweicloud-sdk-ivs/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkivs" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kafka/requirements.txt b/huaweicloud-sdk-kafka/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-kafka/requirements.txt +++ b/huaweicloud-sdk-kafka/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-kafka/setup.py b/huaweicloud-sdk-kafka/setup.py index fa8389233..46b79689f 100644 --- a/huaweicloud-sdk-kafka/setup.py +++ b/huaweicloud-sdk-kafka/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkkafka" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kms/requirements.txt b/huaweicloud-sdk-kms/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-kms/requirements.txt +++ b/huaweicloud-sdk-kms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-kms/setup.py b/huaweicloud-sdk-kms/setup.py index b4b8d60fe..f280f04d2 100644 --- a/huaweicloud-sdk-kms/setup.py +++ b/huaweicloud-sdk-kms/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkkms" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-koomessage/requirements.txt b/huaweicloud-sdk-koomessage/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-koomessage/requirements.txt +++ b/huaweicloud-sdk-koomessage/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-koomessage/setup.py b/huaweicloud-sdk-koomessage/setup.py index 501ef90cd..ddf664148 100644 --- a/huaweicloud-sdk-koomessage/setup.py +++ b/huaweicloud-sdk-koomessage/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkkoomessage" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kps/requirements.txt b/huaweicloud-sdk-kps/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-kps/requirements.txt +++ b/huaweicloud-sdk-kps/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-kps/setup.py b/huaweicloud-sdk-kps/setup.py index e762bac1c..29f8a6123 100644 --- a/huaweicloud-sdk-kps/setup.py +++ b/huaweicloud-sdk-kps/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkkps" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-lakeformation/requirements.txt b/huaweicloud-sdk-lakeformation/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-lakeformation/requirements.txt +++ b/huaweicloud-sdk-lakeformation/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-lakeformation/setup.py b/huaweicloud-sdk-lakeformation/setup.py index c968e9085..63b1e0810 100644 --- a/huaweicloud-sdk-lakeformation/setup.py +++ b/huaweicloud-sdk-lakeformation/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdklakeformation" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-live/requirements.txt b/huaweicloud-sdk-live/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-live/requirements.txt +++ b/huaweicloud-sdk-live/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-live/setup.py b/huaweicloud-sdk-live/setup.py index 0c33518e6..ff33ad6ae 100644 --- a/huaweicloud-sdk-live/setup.py +++ b/huaweicloud-sdk-live/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdklive" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-lts/requirements.txt b/huaweicloud-sdk-lts/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-lts/requirements.txt +++ b/huaweicloud-sdk-lts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-lts/setup.py b/huaweicloud-sdk-lts/setup.py index 0df8d3d2c..5584758e6 100644 --- a/huaweicloud-sdk-lts/setup.py +++ b/huaweicloud-sdk-lts/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdklts" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mapds/requirements.txt b/huaweicloud-sdk-mapds/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-mapds/requirements.txt +++ b/huaweicloud-sdk-mapds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-mapds/setup.py b/huaweicloud-sdk-mapds/setup.py index f1ff14327..a65320ee3 100644 --- a/huaweicloud-sdk-mapds/setup.py +++ b/huaweicloud-sdk-mapds/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkmapds" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mas/requirements.txt b/huaweicloud-sdk-mas/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-mas/requirements.txt +++ b/huaweicloud-sdk-mas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-mas/setup.py b/huaweicloud-sdk-mas/setup.py index 9efd535a6..d7bf31dd4 100644 --- a/huaweicloud-sdk-mas/setup.py +++ b/huaweicloud-sdk-mas/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkmas" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-meeting/requirements.txt b/huaweicloud-sdk-meeting/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-meeting/requirements.txt +++ b/huaweicloud-sdk-meeting/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-meeting/setup.py b/huaweicloud-sdk-meeting/setup.py index 914677f4b..6dd633793 100644 --- a/huaweicloud-sdk-meeting/setup.py +++ b/huaweicloud-sdk-meeting/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkmeeting" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-metastudio/requirements.txt b/huaweicloud-sdk-metastudio/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-metastudio/requirements.txt +++ b/huaweicloud-sdk-metastudio/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-metastudio/setup.py b/huaweicloud-sdk-metastudio/setup.py index 03e8afd7c..2653c575b 100644 --- a/huaweicloud-sdk-metastudio/setup.py +++ b/huaweicloud-sdk-metastudio/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkmetastudio" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-moderation/requirements.txt b/huaweicloud-sdk-moderation/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-moderation/requirements.txt +++ b/huaweicloud-sdk-moderation/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-moderation/setup.py b/huaweicloud-sdk-moderation/setup.py index 97cd4ccae..3deeaf926 100644 --- a/huaweicloud-sdk-moderation/setup.py +++ b/huaweicloud-sdk-moderation/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkmoderation" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mpc/requirements.txt b/huaweicloud-sdk-mpc/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-mpc/requirements.txt +++ b/huaweicloud-sdk-mpc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-mpc/setup.py b/huaweicloud-sdk-mpc/setup.py index 694064d0a..ec76cab90 100644 --- a/huaweicloud-sdk-mpc/setup.py +++ b/huaweicloud-sdk-mpc/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkmpc" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mrs/requirements.txt b/huaweicloud-sdk-mrs/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-mrs/requirements.txt +++ b/huaweicloud-sdk-mrs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-mrs/setup.py b/huaweicloud-sdk-mrs/setup.py index 00e078b68..c96f3fd0b 100644 --- a/huaweicloud-sdk-mrs/setup.py +++ b/huaweicloud-sdk-mrs/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkmrs" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-msgsms/requirements.txt b/huaweicloud-sdk-msgsms/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-msgsms/requirements.txt +++ b/huaweicloud-sdk-msgsms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-msgsms/setup.py b/huaweicloud-sdk-msgsms/setup.py index 5a7c627b4..558e94095 100644 --- a/huaweicloud-sdk-msgsms/setup.py +++ b/huaweicloud-sdk-msgsms/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkmsgsms" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mssi/requirements.txt b/huaweicloud-sdk-mssi/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-mssi/requirements.txt +++ b/huaweicloud-sdk-mssi/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-mssi/setup.py b/huaweicloud-sdk-mssi/setup.py index 34d60a0da..60a4b44f8 100644 --- a/huaweicloud-sdk-mssi/setup.py +++ b/huaweicloud-sdk-mssi/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkmssi" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-nat/requirements.txt b/huaweicloud-sdk-nat/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-nat/requirements.txt +++ b/huaweicloud-sdk-nat/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-nat/setup.py b/huaweicloud-sdk-nat/setup.py index 9f691961e..2211ebce2 100644 --- a/huaweicloud-sdk-nat/setup.py +++ b/huaweicloud-sdk-nat/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdknat" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-nlp/requirements.txt b/huaweicloud-sdk-nlp/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-nlp/requirements.txt +++ b/huaweicloud-sdk-nlp/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-nlp/setup.py b/huaweicloud-sdk-nlp/setup.py index 18cc8fe0b..52377b69b 100644 --- a/huaweicloud-sdk-nlp/setup.py +++ b/huaweicloud-sdk-nlp/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdknlp" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-obs/requirements.txt b/huaweicloud-sdk-obs/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-obs/requirements.txt +++ b/huaweicloud-sdk-obs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-obs/setup.py b/huaweicloud-sdk-obs/setup.py index d0494752e..2e052108e 100644 --- a/huaweicloud-sdk-obs/setup.py +++ b/huaweicloud-sdk-obs/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkobs" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/train_ticket_result.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/train_ticket_result.py index 7d0da108a..d9dcc376d 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/train_ticket_result.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/train_ticket_result.py @@ -34,6 +34,24 @@ class TrainTicketResult: 'name': 'str', 'log_id': 'str', 'sale_location': 'str', + 'invoice_style': 'str', + 'issue_date': 'str', + 'discount_mark': 'str', + 'serial_number': 'str', + 'tax_amount': 'str', + 'tax_rate': 'str', + 'air_conditioning': 'str', + 'original_invoice_number': 'str', + 'unified_social_credit_code': 'str', + 'buyer_name': 'str', + 'total_amount_excluding_tax': 'str', + 'invoice_number': 'str', + 'seal_mark': 'bool', + 'title': 'str', + 'area': 'str', + 'receipt_number': 'str', + 'amount_in_figures': 'str', + 'amount_in_words': 'str', 'confidence': 'object', 'text_location': 'object' } @@ -56,11 +74,29 @@ class TrainTicketResult: 'name': 'name', 'log_id': 'log_id', 'sale_location': 'sale_location', + 'invoice_style': 'invoice_style', + 'issue_date': 'issue_date', + 'discount_mark': 'discount_mark', + 'serial_number': 'serial_number', + 'tax_amount': 'tax_amount', + 'tax_rate': 'tax_rate', + 'air_conditioning': 'air_conditioning', + 'original_invoice_number': 'original_invoice_number', + 'unified_social_credit_code': 'unified_social_credit_code', + 'buyer_name': 'buyer_name', + 'total_amount_excluding_tax': 'total_amount_excluding_tax', + 'invoice_number': 'invoice_number', + 'seal_mark': 'seal_mark', + 'title': 'title', + 'area': 'area', + 'receipt_number': 'receipt_number', + 'amount_in_figures': 'amount_in_figures', + 'amount_in_words': 'amount_in_words', 'confidence': 'confidence', 'text_location': 'text_location' } - def __init__(self, ticket_id=None, check_port=None, train_number=None, departure_station=None, destination_station=None, departure_station_en=None, destination_station_en=None, departure_time=None, seat_number=None, ticket_price=None, sale_method=None, seat_category=None, ticket_changing=None, id_number=None, name=None, log_id=None, sale_location=None, confidence=None, text_location=None): + def __init__(self, ticket_id=None, check_port=None, train_number=None, departure_station=None, destination_station=None, departure_station_en=None, destination_station_en=None, departure_time=None, seat_number=None, ticket_price=None, sale_method=None, seat_category=None, ticket_changing=None, id_number=None, name=None, log_id=None, sale_location=None, invoice_style=None, issue_date=None, discount_mark=None, serial_number=None, tax_amount=None, tax_rate=None, air_conditioning=None, original_invoice_number=None, unified_social_credit_code=None, buyer_name=None, total_amount_excluding_tax=None, invoice_number=None, seal_mark=None, title=None, area=None, receipt_number=None, amount_in_figures=None, amount_in_words=None, confidence=None, text_location=None): """TrainTicketResult The model defined in huaweicloud sdk @@ -99,6 +135,42 @@ class TrainTicketResult: :type log_id: str :param sale_location: 车票售票地点。 :type sale_location: str + :param invoice_style: 类型。包含以下几种类型: - paper:纸质火车票 - electronic:电子发票 - refund_old:旧版退票凭证 - refund_new:新版退票凭证 + :type invoice_style: str + :param issue_date: 开票时间 + :type issue_date: str + :param discount_mark: 打折标识 + :type discount_mark: str + :param serial_number: 电子客票号 + :type serial_number: str + :param tax_amount: 税金价格 + :type tax_amount: str + :param tax_rate: 税率 + :type tax_rate: str + :param air_conditioning: 是否是空调车厢 + :type air_conditioning: str + :param original_invoice_number: 原发票号码 + :type original_invoice_number: str + :param unified_social_credit_code: 统一社会信用号码 + :type unified_social_credit_code: str + :param buyer_name: 购买方名称 + :type buyer_name: str + :param total_amount_excluding_tax: 不含税价格 + :type total_amount_excluding_tax: str + :param invoice_number: 发票号码 + :type invoice_number: str + :param seal_mark: 是否有印章,True表示有印章,False表示不含印章,字段默认为False + :type seal_mark: bool + :param title: 标题 + :type title: str + :param area: 地区 + :type area: str + :param receipt_number: 收据编码 + :type receipt_number: str + :param amount_in_figures: 小写票据金额 + :type amount_in_figures: str + :param amount_in_words: 大写票据金额 + :type amount_in_words: str :param confidence: 相关字段的置信度信息,置信度越大,表示本次识别的对应字段的可靠性越高,在统计意义上,置信度越大,准确率越高。 置信度由算法给出,不直接等价于对应字段的准确率。 :type confidence: object :param text_location: 对应所有在原图上识别到的字段位置信息,包含所有文字区域四个顶点的二维坐标(x,y)。采用图像坐标系,坐标原点为图片左上角,x轴沿水平方向,y轴沿竖直方向。 @@ -124,6 +196,24 @@ class TrainTicketResult: self._name = None self._log_id = None self._sale_location = None + self._invoice_style = None + self._issue_date = None + self._discount_mark = None + self._serial_number = None + self._tax_amount = None + self._tax_rate = None + self._air_conditioning = None + self._original_invoice_number = None + self._unified_social_credit_code = None + self._buyer_name = None + self._total_amount_excluding_tax = None + self._invoice_number = None + self._seal_mark = None + self._title = None + self._area = None + self._receipt_number = None + self._amount_in_figures = None + self._amount_in_words = None self._confidence = None self._text_location = None self.discriminator = None @@ -162,6 +252,42 @@ class TrainTicketResult: self.log_id = log_id if sale_location is not None: self.sale_location = sale_location + if invoice_style is not None: + self.invoice_style = invoice_style + if issue_date is not None: + self.issue_date = issue_date + if discount_mark is not None: + self.discount_mark = discount_mark + if serial_number is not None: + self.serial_number = serial_number + if tax_amount is not None: + self.tax_amount = tax_amount + if tax_rate is not None: + self.tax_rate = tax_rate + if air_conditioning is not None: + self.air_conditioning = air_conditioning + if original_invoice_number is not None: + self.original_invoice_number = original_invoice_number + if unified_social_credit_code is not None: + self.unified_social_credit_code = unified_social_credit_code + if buyer_name is not None: + self.buyer_name = buyer_name + if total_amount_excluding_tax is not None: + self.total_amount_excluding_tax = total_amount_excluding_tax + if invoice_number is not None: + self.invoice_number = invoice_number + if seal_mark is not None: + self.seal_mark = seal_mark + if title is not None: + self.title = title + if area is not None: + self.area = area + if receipt_number is not None: + self.receipt_number = receipt_number + if amount_in_figures is not None: + self.amount_in_figures = amount_in_figures + if amount_in_words is not None: + self.amount_in_words = amount_in_words if confidence is not None: self.confidence = confidence if text_location is not None: @@ -541,6 +667,402 @@ class TrainTicketResult: """ self._sale_location = sale_location + @property + def invoice_style(self): + """Gets the invoice_style of this TrainTicketResult. + + 类型。包含以下几种类型: - paper:纸质火车票 - electronic:电子发票 - refund_old:旧版退票凭证 - refund_new:新版退票凭证 + + :return: The invoice_style of this TrainTicketResult. + :rtype: str + """ + return self._invoice_style + + @invoice_style.setter + def invoice_style(self, invoice_style): + """Sets the invoice_style of this TrainTicketResult. + + 类型。包含以下几种类型: - paper:纸质火车票 - electronic:电子发票 - refund_old:旧版退票凭证 - refund_new:新版退票凭证 + + :param invoice_style: The invoice_style of this TrainTicketResult. + :type invoice_style: str + """ + self._invoice_style = invoice_style + + @property + def issue_date(self): + """Gets the issue_date of this TrainTicketResult. + + 开票时间 + + :return: The issue_date of this TrainTicketResult. + :rtype: str + """ + return self._issue_date + + @issue_date.setter + def issue_date(self, issue_date): + """Sets the issue_date of this TrainTicketResult. + + 开票时间 + + :param issue_date: The issue_date of this TrainTicketResult. + :type issue_date: str + """ + self._issue_date = issue_date + + @property + def discount_mark(self): + """Gets the discount_mark of this TrainTicketResult. + + 打折标识 + + :return: The discount_mark of this TrainTicketResult. + :rtype: str + """ + return self._discount_mark + + @discount_mark.setter + def discount_mark(self, discount_mark): + """Sets the discount_mark of this TrainTicketResult. + + 打折标识 + + :param discount_mark: The discount_mark of this TrainTicketResult. + :type discount_mark: str + """ + self._discount_mark = discount_mark + + @property + def serial_number(self): + """Gets the serial_number of this TrainTicketResult. + + 电子客票号 + + :return: The serial_number of this TrainTicketResult. + :rtype: str + """ + return self._serial_number + + @serial_number.setter + def serial_number(self, serial_number): + """Sets the serial_number of this TrainTicketResult. + + 电子客票号 + + :param serial_number: The serial_number of this TrainTicketResult. + :type serial_number: str + """ + self._serial_number = serial_number + + @property + def tax_amount(self): + """Gets the tax_amount of this TrainTicketResult. + + 税金价格 + + :return: The tax_amount of this TrainTicketResult. + :rtype: str + """ + return self._tax_amount + + @tax_amount.setter + def tax_amount(self, tax_amount): + """Sets the tax_amount of this TrainTicketResult. + + 税金价格 + + :param tax_amount: The tax_amount of this TrainTicketResult. + :type tax_amount: str + """ + self._tax_amount = tax_amount + + @property + def tax_rate(self): + """Gets the tax_rate of this TrainTicketResult. + + 税率 + + :return: The tax_rate of this TrainTicketResult. + :rtype: str + """ + return self._tax_rate + + @tax_rate.setter + def tax_rate(self, tax_rate): + """Sets the tax_rate of this TrainTicketResult. + + 税率 + + :param tax_rate: The tax_rate of this TrainTicketResult. + :type tax_rate: str + """ + self._tax_rate = tax_rate + + @property + def air_conditioning(self): + """Gets the air_conditioning of this TrainTicketResult. + + 是否是空调车厢 + + :return: The air_conditioning of this TrainTicketResult. + :rtype: str + """ + return self._air_conditioning + + @air_conditioning.setter + def air_conditioning(self, air_conditioning): + """Sets the air_conditioning of this TrainTicketResult. + + 是否是空调车厢 + + :param air_conditioning: The air_conditioning of this TrainTicketResult. + :type air_conditioning: str + """ + self._air_conditioning = air_conditioning + + @property + def original_invoice_number(self): + """Gets the original_invoice_number of this TrainTicketResult. + + 原发票号码 + + :return: The original_invoice_number of this TrainTicketResult. + :rtype: str + """ + return self._original_invoice_number + + @original_invoice_number.setter + def original_invoice_number(self, original_invoice_number): + """Sets the original_invoice_number of this TrainTicketResult. + + 原发票号码 + + :param original_invoice_number: The original_invoice_number of this TrainTicketResult. + :type original_invoice_number: str + """ + self._original_invoice_number = original_invoice_number + + @property + def unified_social_credit_code(self): + """Gets the unified_social_credit_code of this TrainTicketResult. + + 统一社会信用号码 + + :return: The unified_social_credit_code of this TrainTicketResult. + :rtype: str + """ + return self._unified_social_credit_code + + @unified_social_credit_code.setter + def unified_social_credit_code(self, unified_social_credit_code): + """Sets the unified_social_credit_code of this TrainTicketResult. + + 统一社会信用号码 + + :param unified_social_credit_code: The unified_social_credit_code of this TrainTicketResult. + :type unified_social_credit_code: str + """ + self._unified_social_credit_code = unified_social_credit_code + + @property + def buyer_name(self): + """Gets the buyer_name of this TrainTicketResult. + + 购买方名称 + + :return: The buyer_name of this TrainTicketResult. + :rtype: str + """ + return self._buyer_name + + @buyer_name.setter + def buyer_name(self, buyer_name): + """Sets the buyer_name of this TrainTicketResult. + + 购买方名称 + + :param buyer_name: The buyer_name of this TrainTicketResult. + :type buyer_name: str + """ + self._buyer_name = buyer_name + + @property + def total_amount_excluding_tax(self): + """Gets the total_amount_excluding_tax of this TrainTicketResult. + + 不含税价格 + + :return: The total_amount_excluding_tax of this TrainTicketResult. + :rtype: str + """ + return self._total_amount_excluding_tax + + @total_amount_excluding_tax.setter + def total_amount_excluding_tax(self, total_amount_excluding_tax): + """Sets the total_amount_excluding_tax of this TrainTicketResult. + + 不含税价格 + + :param total_amount_excluding_tax: The total_amount_excluding_tax of this TrainTicketResult. + :type total_amount_excluding_tax: str + """ + self._total_amount_excluding_tax = total_amount_excluding_tax + + @property + def invoice_number(self): + """Gets the invoice_number of this TrainTicketResult. + + 发票号码 + + :return: The invoice_number of this TrainTicketResult. + :rtype: str + """ + return self._invoice_number + + @invoice_number.setter + def invoice_number(self, invoice_number): + """Sets the invoice_number of this TrainTicketResult. + + 发票号码 + + :param invoice_number: The invoice_number of this TrainTicketResult. + :type invoice_number: str + """ + self._invoice_number = invoice_number + + @property + def seal_mark(self): + """Gets the seal_mark of this TrainTicketResult. + + 是否有印章,True表示有印章,False表示不含印章,字段默认为False + + :return: The seal_mark of this TrainTicketResult. + :rtype: bool + """ + return self._seal_mark + + @seal_mark.setter + def seal_mark(self, seal_mark): + """Sets the seal_mark of this TrainTicketResult. + + 是否有印章,True表示有印章,False表示不含印章,字段默认为False + + :param seal_mark: The seal_mark of this TrainTicketResult. + :type seal_mark: bool + """ + self._seal_mark = seal_mark + + @property + def title(self): + """Gets the title of this TrainTicketResult. + + 标题 + + :return: The title of this TrainTicketResult. + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this TrainTicketResult. + + 标题 + + :param title: The title of this TrainTicketResult. + :type title: str + """ + self._title = title + + @property + def area(self): + """Gets the area of this TrainTicketResult. + + 地区 + + :return: The area of this TrainTicketResult. + :rtype: str + """ + return self._area + + @area.setter + def area(self, area): + """Sets the area of this TrainTicketResult. + + 地区 + + :param area: The area of this TrainTicketResult. + :type area: str + """ + self._area = area + + @property + def receipt_number(self): + """Gets the receipt_number of this TrainTicketResult. + + 收据编码 + + :return: The receipt_number of this TrainTicketResult. + :rtype: str + """ + return self._receipt_number + + @receipt_number.setter + def receipt_number(self, receipt_number): + """Sets the receipt_number of this TrainTicketResult. + + 收据编码 + + :param receipt_number: The receipt_number of this TrainTicketResult. + :type receipt_number: str + """ + self._receipt_number = receipt_number + + @property + def amount_in_figures(self): + """Gets the amount_in_figures of this TrainTicketResult. + + 小写票据金额 + + :return: The amount_in_figures of this TrainTicketResult. + :rtype: str + """ + return self._amount_in_figures + + @amount_in_figures.setter + def amount_in_figures(self, amount_in_figures): + """Sets the amount_in_figures of this TrainTicketResult. + + 小写票据金额 + + :param amount_in_figures: The amount_in_figures of this TrainTicketResult. + :type amount_in_figures: str + """ + self._amount_in_figures = amount_in_figures + + @property + def amount_in_words(self): + """Gets the amount_in_words of this TrainTicketResult. + + 大写票据金额 + + :return: The amount_in_words of this TrainTicketResult. + :rtype: str + """ + return self._amount_in_words + + @amount_in_words.setter + def amount_in_words(self, amount_in_words): + """Sets the amount_in_words of this TrainTicketResult. + + 大写票据金额 + + :param amount_in_words: The amount_in_words of this TrainTicketResult. + :type amount_in_words: str + """ + self._amount_in_words = amount_in_words + @property def confidence(self): """Gets the confidence of this TrainTicketResult. diff --git a/huaweicloud-sdk-ocr/requirements.txt b/huaweicloud-sdk-ocr/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-ocr/requirements.txt +++ b/huaweicloud-sdk-ocr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-ocr/setup.py b/huaweicloud-sdk-ocr/setup.py index d0bd04f91..3e854c63d 100644 --- a/huaweicloud-sdk-ocr/setup.py +++ b/huaweicloud-sdk-ocr/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkocr" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-octopus/requirements.txt b/huaweicloud-sdk-octopus/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-octopus/requirements.txt +++ b/huaweicloud-sdk-octopus/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-octopus/setup.py b/huaweicloud-sdk-octopus/setup.py index b959db0cd..9f822a639 100644 --- a/huaweicloud-sdk-octopus/setup.py +++ b/huaweicloud-sdk-octopus/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkoctopus" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-oms/requirements.txt b/huaweicloud-sdk-oms/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-oms/requirements.txt +++ b/huaweicloud-sdk-oms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-oms/setup.py b/huaweicloud-sdk-oms/setup.py index 86225c9af..0713d2687 100644 --- a/huaweicloud-sdk-oms/setup.py +++ b/huaweicloud-sdk-oms/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkoms" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-optverse/requirements.txt b/huaweicloud-sdk-optverse/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-optverse/requirements.txt +++ b/huaweicloud-sdk-optverse/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-optverse/setup.py b/huaweicloud-sdk-optverse/setup.py index eec292ebf..940ad8d6f 100644 --- a/huaweicloud-sdk-optverse/setup.py +++ b/huaweicloud-sdk-optverse/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkoptverse" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-organizations/requirements.txt b/huaweicloud-sdk-organizations/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-organizations/requirements.txt +++ b/huaweicloud-sdk-organizations/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-organizations/setup.py b/huaweicloud-sdk-organizations/setup.py index c7cba774f..8b9cf87db 100644 --- a/huaweicloud-sdk-organizations/setup.py +++ b/huaweicloud-sdk-organizations/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkorganizations" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-orgid/requirements.txt b/huaweicloud-sdk-orgid/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-orgid/requirements.txt +++ b/huaweicloud-sdk-orgid/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-orgid/setup.py b/huaweicloud-sdk-orgid/setup.py index df051cc04..24cc37818 100644 --- a/huaweicloud-sdk-orgid/setup.py +++ b/huaweicloud-sdk-orgid/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkorgid" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-oroas/requirements.txt b/huaweicloud-sdk-oroas/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-oroas/requirements.txt +++ b/huaweicloud-sdk-oroas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-oroas/setup.py b/huaweicloud-sdk-oroas/setup.py index 3b1871320..ecfbe04c3 100644 --- a/huaweicloud-sdk-oroas/setup.py +++ b/huaweicloud-sdk-oroas/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkoroas" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-osm/requirements.txt b/huaweicloud-sdk-osm/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-osm/requirements.txt +++ b/huaweicloud-sdk-osm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-osm/setup.py b/huaweicloud-sdk-osm/setup.py index 3f4ee1c66..78ae77461 100644 --- a/huaweicloud-sdk-osm/setup.py +++ b/huaweicloud-sdk-osm/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkosm" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-pangulargemodels/requirements.txt b/huaweicloud-sdk-pangulargemodels/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-pangulargemodels/requirements.txt +++ b/huaweicloud-sdk-pangulargemodels/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-pangulargemodels/setup.py b/huaweicloud-sdk-pangulargemodels/setup.py index e730da2e2..c39c310a7 100644 --- a/huaweicloud-sdk-pangulargemodels/setup.py +++ b/huaweicloud-sdk-pangulargemodels/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkpangulargemodels" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-projectman/requirements.txt b/huaweicloud-sdk-projectman/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-projectman/requirements.txt +++ b/huaweicloud-sdk-projectman/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-projectman/setup.py b/huaweicloud-sdk-projectman/setup.py index e3b65f4d4..4ca80dc63 100644 --- a/huaweicloud-sdk-projectman/setup.py +++ b/huaweicloud-sdk-projectman/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkprojectman" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rabbitmq/requirements.txt b/huaweicloud-sdk-rabbitmq/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-rabbitmq/requirements.txt +++ b/huaweicloud-sdk-rabbitmq/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-rabbitmq/setup.py b/huaweicloud-sdk-rabbitmq/setup.py index ec395d882..8f0831823 100644 --- a/huaweicloud-sdk-rabbitmq/setup.py +++ b/huaweicloud-sdk-rabbitmq/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkrabbitmq" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ram/requirements.txt b/huaweicloud-sdk-ram/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-ram/requirements.txt +++ b/huaweicloud-sdk-ram/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-ram/setup.py b/huaweicloud-sdk-ram/setup.py index f6ad150bf..a089a1090 100644 --- a/huaweicloud-sdk-ram/setup.py +++ b/huaweicloud-sdk-ram/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkram" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rds/requirements.txt b/huaweicloud-sdk-rds/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-rds/requirements.txt +++ b/huaweicloud-sdk-rds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-rds/setup.py b/huaweicloud-sdk-rds/setup.py index 79b34ae9a..587f1aaf1 100644 --- a/huaweicloud-sdk-rds/setup.py +++ b/huaweicloud-sdk-rds/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkrds" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-res/requirements.txt b/huaweicloud-sdk-res/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-res/requirements.txt +++ b/huaweicloud-sdk-res/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-res/setup.py b/huaweicloud-sdk-res/setup.py index 34c0df9ce..2e3b89537 100644 --- a/huaweicloud-sdk-res/setup.py +++ b/huaweicloud-sdk-res/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkres" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rgc/requirements.txt b/huaweicloud-sdk-rgc/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-rgc/requirements.txt +++ b/huaweicloud-sdk-rgc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-rgc/setup.py b/huaweicloud-sdk-rgc/setup.py index e764c09a1..3b6017a50 100644 --- a/huaweicloud-sdk-rgc/setup.py +++ b/huaweicloud-sdk-rgc/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkrgc" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rms/requirements.txt b/huaweicloud-sdk-rms/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-rms/requirements.txt +++ b/huaweicloud-sdk-rms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-rms/setup.py b/huaweicloud-sdk-rms/setup.py index 7b2a6388d..db76800cb 100644 --- a/huaweicloud-sdk-rms/setup.py +++ b/huaweicloud-sdk-rms/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkrms" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rocketmq/requirements.txt b/huaweicloud-sdk-rocketmq/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-rocketmq/requirements.txt +++ b/huaweicloud-sdk-rocketmq/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-rocketmq/setup.py b/huaweicloud-sdk-rocketmq/setup.py index bcfbb277e..92f3367ff 100644 --- a/huaweicloud-sdk-rocketmq/setup.py +++ b/huaweicloud-sdk-rocketmq/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkrocketmq" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-roma/requirements.txt b/huaweicloud-sdk-roma/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-roma/requirements.txt +++ b/huaweicloud-sdk-roma/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-roma/setup.py b/huaweicloud-sdk-roma/setup.py index 0dc120b45..47d939105 100644 --- a/huaweicloud-sdk-roma/setup.py +++ b/huaweicloud-sdk-roma/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkroma" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sa/requirements.txt b/huaweicloud-sdk-sa/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-sa/requirements.txt +++ b/huaweicloud-sdk-sa/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-sa/setup.py b/huaweicloud-sdk-sa/setup.py index dbdc36fd4..feee62b32 100644 --- a/huaweicloud-sdk-sa/setup.py +++ b/huaweicloud-sdk-sa/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdksa" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-scm/requirements.txt b/huaweicloud-sdk-scm/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-scm/requirements.txt +++ b/huaweicloud-sdk-scm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-scm/setup.py b/huaweicloud-sdk-scm/setup.py index d728fb587..651cd4e93 100644 --- a/huaweicloud-sdk-scm/setup.py +++ b/huaweicloud-sdk-scm/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkscm" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sdrs/requirements.txt b/huaweicloud-sdk-sdrs/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-sdrs/requirements.txt +++ b/huaweicloud-sdk-sdrs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-sdrs/setup.py b/huaweicloud-sdk-sdrs/setup.py index 0ea349b54..509c428c2 100644 --- a/huaweicloud-sdk-sdrs/setup.py +++ b/huaweicloud-sdk-sdrs/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdksdrs" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v1/region/secmaster_region.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v1/region/secmaster_region.py index 25f90e731..d54a995d7 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v1/region/secmaster_region.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v1/region/secmaster_region.py @@ -7,7 +7,7 @@ class SecMasterRegion: _PROVIDER = RegionProviderChain.get_default_region_provider_chain("SECMASTER") CN_NORTH_4 = Region("cn-north-4", - "https://sa.myhuaweicloud.com") + "https://secmaster.cn-north-4.myhuaweicloud.com") CN_EAST_3 = Region("cn-east-3", "https://secmaster.cn-east-3.myhuaweicloud.com") CN_SOUTH_1 = Region("cn-south-1", diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/region/secmaster_region.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/region/secmaster_region.py index 25f90e731..d54a995d7 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/region/secmaster_region.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/region/secmaster_region.py @@ -7,7 +7,7 @@ class SecMasterRegion: _PROVIDER = RegionProviderChain.get_default_region_provider_chain("SECMASTER") CN_NORTH_4 = Region("cn-north-4", - "https://sa.myhuaweicloud.com") + "https://secmaster.cn-north-4.myhuaweicloud.com") CN_EAST_3 = Region("cn-east-3", "https://secmaster.cn-east-3.myhuaweicloud.com") CN_SOUTH_1 = Region("cn-south-1", diff --git a/huaweicloud-sdk-secmaster/requirements.txt b/huaweicloud-sdk-secmaster/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-secmaster/requirements.txt +++ b/huaweicloud-sdk-secmaster/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-secmaster/setup.py b/huaweicloud-sdk-secmaster/setup.py index de6926208..d24f6829b 100644 --- a/huaweicloud-sdk-secmaster/setup.py +++ b/huaweicloud-sdk-secmaster/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdksecmaster" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-servicestage/requirements.txt b/huaweicloud-sdk-servicestage/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-servicestage/requirements.txt +++ b/huaweicloud-sdk-servicestage/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-servicestage/setup.py b/huaweicloud-sdk-servicestage/setup.py index 38e5e92b5..2047c1a65 100644 --- a/huaweicloud-sdk-servicestage/setup.py +++ b/huaweicloud-sdk-servicestage/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkservicestage" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sfsturbo/requirements.txt b/huaweicloud-sdk-sfsturbo/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-sfsturbo/requirements.txt +++ b/huaweicloud-sdk-sfsturbo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-sfsturbo/setup.py b/huaweicloud-sdk-sfsturbo/setup.py index a8b956878..9a8022e46 100644 --- a/huaweicloud-sdk-sfsturbo/setup.py +++ b/huaweicloud-sdk-sfsturbo/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdksfsturbo" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sis/requirements.txt b/huaweicloud-sdk-sis/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-sis/requirements.txt +++ b/huaweicloud-sdk-sis/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-sis/setup.py b/huaweicloud-sdk-sis/setup.py index aec5d4a1b..a5e232ca8 100644 --- a/huaweicloud-sdk-sis/setup.py +++ b/huaweicloud-sdk-sis/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdksis" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-smn/huaweicloudsdksmn/v2/region/smn_region.py b/huaweicloud-sdk-smn/huaweicloudsdksmn/v2/region/smn_region.py index eecd6a1af..17c4a6069 100644 --- a/huaweicloud-sdk-smn/huaweicloudsdksmn/v2/region/smn_region.py +++ b/huaweicloud-sdk-smn/huaweicloudsdksmn/v2/region/smn_region.py @@ -44,6 +44,12 @@ class SmnRegion: "https://smn.ap-southeast-4.myhuaweicloud.com") TR_WEST_1 = Region("tr-west-1", "https://smn.tr-west-1.myhuaweicloud.com") + EU_WEST_101 = Region("eu-west-101", + "https://smn.eu-west-101.myhuaweicloud.eu") + EU_WEST_0 = Region("eu-west-0", + "https://smn.eu-west-0.myhuaweicloud.com") + MY_KUALALUMPUR_1 = Region("my-kualalumpur-1", + "https://smn.my-kualalumpur-1.myhuaweicloud.com") static_fields = { "af-south-1": AF_SOUTH_1, @@ -65,6 +71,9 @@ class SmnRegion: "cn-north-9": CN_NORTH_9, "ap-southeast-4": AP_SOUTHEAST_4, "tr-west-1": TR_WEST_1, + "eu-west-101": EU_WEST_101, + "eu-west-0": EU_WEST_0, + "my-kualalumpur-1": MY_KUALALUMPUR_1, } @classmethod diff --git a/huaweicloud-sdk-smn/requirements.txt b/huaweicloud-sdk-smn/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-smn/requirements.txt +++ b/huaweicloud-sdk-smn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-smn/setup.py b/huaweicloud-sdk-smn/setup.py index 0957cac1f..4fa4f1da0 100644 --- a/huaweicloud-sdk-smn/setup.py +++ b/huaweicloud-sdk-smn/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdksmn" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sms/huaweicloudsdksms/v3/region/sms_region.py b/huaweicloud-sdk-sms/huaweicloudsdksms/v3/region/sms_region.py index 1fcec9ca0..2c18bced0 100644 --- a/huaweicloud-sdk-sms/huaweicloudsdksms/v3/region/sms_region.py +++ b/huaweicloud-sdk-sms/huaweicloudsdksms/v3/region/sms_region.py @@ -10,10 +10,13 @@ class SmsRegion: "https://sms.ap-southeast-1.myhuaweicloud.com") AP_SOUTHEAST_3 = Region("ap-southeast-3", "https://sms.ap-southeast-3.myhuaweicloud.com") + EU_WEST_101 = Region("eu-west-101", + "https://sms.eu-west-101.myhuaweicloud.eu") static_fields = { "ap-southeast-1": AP_SOUTHEAST_1, "ap-southeast-3": AP_SOUTHEAST_3, + "eu-west-101": EU_WEST_101, } @classmethod diff --git a/huaweicloud-sdk-sms/requirements.txt b/huaweicloud-sdk-sms/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-sms/requirements.txt +++ b/huaweicloud-sdk-sms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-sms/setup.py b/huaweicloud-sdk-sms/setup.py index 12b91f3a0..d5ce2017f 100644 --- a/huaweicloud-sdk-sms/setup.py +++ b/huaweicloud-sdk-sms/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdksms" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-swr/requirements.txt b/huaweicloud-sdk-swr/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-swr/requirements.txt +++ b/huaweicloud-sdk-swr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-swr/setup.py b/huaweicloud-sdk-swr/setup.py index 30f52ee04..50f20265d 100644 --- a/huaweicloud-sdk-swr/setup.py +++ b/huaweicloud-sdk-swr/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkswr" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-tics/requirements.txt b/huaweicloud-sdk-tics/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-tics/requirements.txt +++ b/huaweicloud-sdk-tics/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-tics/setup.py b/huaweicloud-sdk-tics/setup.py index 7d9135ae4..bef71c3eb 100644 --- a/huaweicloud-sdk-tics/setup.py +++ b/huaweicloud-sdk-tics/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdktics" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-tms/requirements.txt b/huaweicloud-sdk-tms/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-tms/requirements.txt +++ b/huaweicloud-sdk-tms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-tms/setup.py b/huaweicloud-sdk-tms/setup.py index 155945534..4d82f5939 100644 --- a/huaweicloud-sdk-tms/setup.py +++ b/huaweicloud-sdk-tms/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdktms" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ugo/requirements.txt b/huaweicloud-sdk-ugo/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-ugo/requirements.txt +++ b/huaweicloud-sdk-ugo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-ugo/setup.py b/huaweicloud-sdk-ugo/setup.py index 7c35e45ab..228cb0a5c 100644 --- a/huaweicloud-sdk-ugo/setup.py +++ b/huaweicloud-sdk-ugo/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkugo" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vas/requirements.txt b/huaweicloud-sdk-vas/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-vas/requirements.txt +++ b/huaweicloud-sdk-vas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-vas/setup.py b/huaweicloud-sdk-vas/setup.py index d41f6eeba..b78718750 100644 --- a/huaweicloud-sdk-vas/setup.py +++ b/huaweicloud-sdk-vas/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkvas" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vcm/requirements.txt b/huaweicloud-sdk-vcm/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-vcm/requirements.txt +++ b/huaweicloud-sdk-vcm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-vcm/setup.py b/huaweicloud-sdk-vcm/setup.py index fb7b57e39..a6b7b9605 100644 --- a/huaweicloud-sdk-vcm/setup.py +++ b/huaweicloud-sdk-vcm/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkvcm" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vod/requirements.txt b/huaweicloud-sdk-vod/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-vod/requirements.txt +++ b/huaweicloud-sdk-vod/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-vod/setup.py b/huaweicloud-sdk-vod/setup.py index a860c8340..b648c9e5b 100644 --- a/huaweicloud-sdk-vod/setup.py +++ b/huaweicloud-sdk-vod/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkvod" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpc/requirements.txt b/huaweicloud-sdk-vpc/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-vpc/requirements.txt +++ b/huaweicloud-sdk-vpc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-vpc/setup.py b/huaweicloud-sdk-vpc/setup.py index 6dc926582..6c794e5f7 100644 --- a/huaweicloud-sdk-vpc/setup.py +++ b/huaweicloud-sdk-vpc/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkvpc" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpcep/requirements.txt b/huaweicloud-sdk-vpcep/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-vpcep/requirements.txt +++ b/huaweicloud-sdk-vpcep/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-vpcep/setup.py b/huaweicloud-sdk-vpcep/setup.py index 4201fd4eb..c50bac0bc 100644 --- a/huaweicloud-sdk-vpcep/setup.py +++ b/huaweicloud-sdk-vpcep/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkvpcep" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpn/requirements.txt b/huaweicloud-sdk-vpn/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-vpn/requirements.txt +++ b/huaweicloud-sdk-vpn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-vpn/setup.py b/huaweicloud-sdk-vpn/setup.py index d81dd35cf..43479b4b1 100644 --- a/huaweicloud-sdk-vpn/setup.py +++ b/huaweicloud-sdk-vpn/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkvpn" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-waf/requirements.txt b/huaweicloud-sdk-waf/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-waf/requirements.txt +++ b/huaweicloud-sdk-waf/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-waf/setup.py b/huaweicloud-sdk-waf/setup.py index cca79d5ed..0ea4a4c49 100644 --- a/huaweicloud-sdk-waf/setup.py +++ b/huaweicloud-sdk-waf/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkwaf" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-workspace/requirements.txt b/huaweicloud-sdk-workspace/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-workspace/requirements.txt +++ b/huaweicloud-sdk-workspace/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-workspace/setup.py b/huaweicloud-sdk-workspace/setup.py index 28a174795..257553366 100644 --- a/huaweicloud-sdk-workspace/setup.py +++ b/huaweicloud-sdk-workspace/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkworkspace" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-workspaceapp/requirements.txt b/huaweicloud-sdk-workspaceapp/requirements.txt index e42e67df2..53768bb2e 100644 --- a/huaweicloud-sdk-workspaceapp/requirements.txt +++ b/huaweicloud-sdk-workspaceapp/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.82 \ No newline at end of file +huaweicloudsdkcore >= 3.1.83 \ No newline at end of file diff --git a/huaweicloud-sdk-workspaceapp/setup.py b/huaweicloud-sdk-workspaceapp/setup.py index 2555c0f28..ea43f7487 100644 --- a/huaweicloud-sdk-workspaceapp/setup.py +++ b/huaweicloud-sdk-workspaceapp/setup.py @@ -4,7 +4,7 @@ from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkworkspaceapp" -VERSION = "3.1.82" +VERSION = "3.1.83" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.82"] +REQUIRES = ["huaweicloudsdkcore>=3.1.83"] OPTIONS = { 'bdist_wheel': {