huaweicloudsdkiotanalytics 3.1.160__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkiotanalytics/__init__.py +0 -0
- huaweicloudsdkiotanalytics/v1/__init__.py +269 -0
- huaweicloudsdkiotanalytics/v1/iotanalytics_async_client.py +4553 -0
- huaweicloudsdkiotanalytics/v1/iotanalytics_client.py +4550 -0
- huaweicloudsdkiotanalytics/v1/model/__init__.py +266 -0
- huaweicloudsdkiotanalytics/v1/model/add_dev_data_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/add_dev_data_response.py +112 -0
- huaweicloudsdkiotanalytics/v1/model/add_pipeline_job_request.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/add_pipeline_job_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/aggregate_metric.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/aggregate_metrics.py +253 -0
- huaweicloudsdkiotanalytics/v1/model/aggregate_metrics_request.py +283 -0
- huaweicloudsdkiotanalytics/v1/model/aggregate_model.py +220 -0
- huaweicloudsdkiotanalytics/v1/model/aggregate_response.py +219 -0
- huaweicloudsdkiotanalytics/v1/model/analysis_model_request.py +246 -0
- huaweicloudsdkiotanalytics/v1/model/analysis_model_response.py +275 -0
- huaweicloudsdkiotanalytics/v1/model/analysis_request.py +189 -0
- huaweicloudsdkiotanalytics/v1/model/analysis_response.py +277 -0
- huaweicloudsdkiotanalytics/v1/model/api_content_req.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/api_content_rsp.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/asset_add_request.py +258 -0
- huaweicloudsdkiotanalytics/v1/model/asset_mod_request.py +231 -0
- huaweicloudsdkiotanalytics/v1/model/asset_model_add_request.py +201 -0
- huaweicloudsdkiotanalytics/v1/model/asset_model_mod_request.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/asset_model_response.py +289 -0
- huaweicloudsdkiotanalytics/v1/model/asset_property_last_value.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/asset_response.py +521 -0
- huaweicloudsdkiotanalytics/v1/model/column.py +200 -0
- huaweicloudsdkiotanalytics/v1/model/computing_resource.py +347 -0
- huaweicloudsdkiotanalytics/v1/model/content_detail_req.py +361 -0
- huaweicloudsdkiotanalytics/v1/model/content_detail_rsp.py +361 -0
- huaweicloudsdkiotanalytics/v1/model/create_asset_model_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/create_asset_model_response.py +290 -0
- huaweicloudsdkiotanalytics/v1/model/create_asset_new_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/create_asset_new_response.py +522 -0
- huaweicloudsdkiotanalytics/v1/model/create_batch_job_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/create_batch_job_response.py +369 -0
- huaweicloudsdkiotanalytics/v1/model/create_computing_resource_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/create_computing_resource_request_body.py +229 -0
- huaweicloudsdkiotanalytics/v1/model/create_computing_resource_response.py +290 -0
- huaweicloudsdkiotanalytics/v1/model/create_datasource_req_dto.py +166 -0
- huaweicloudsdkiotanalytics/v1/model/create_datasource_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/create_datasource_response.py +257 -0
- huaweicloudsdkiotanalytics/v1/model/create_group_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/create_group_response.py +406 -0
- huaweicloudsdkiotanalytics/v1/model/create_run_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/create_run_request_body.py +143 -0
- huaweicloudsdkiotanalytics/v1/model/create_run_response.py +228 -0
- huaweicloudsdkiotanalytics/v1/model/create_streaming_job_request.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/create_streaming_job_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/create_table_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/create_table_request_body.py +489 -0
- huaweicloudsdkiotanalytics/v1/model/create_table_response.py +464 -0
- huaweicloudsdkiotanalytics/v1/model/data_schema.py +230 -0
- huaweicloudsdkiotanalytics/v1/model/data_store_dto.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/datasource_rest_dto.py +256 -0
- huaweicloudsdkiotanalytics/v1/model/dcs_content_req.py +226 -0
- huaweicloudsdkiotanalytics/v1/model/dcs_content_rsp.py +260 -0
- huaweicloudsdkiotanalytics/v1/model/delete_asset_model_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_asset_model_response.py +85 -0
- huaweicloudsdkiotanalytics/v1/model/delete_asset_new_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_asset_new_response.py +85 -0
- huaweicloudsdkiotanalytics/v1/model/delete_batch_job_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_batch_job_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/delete_computing_resource_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_computing_resource_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/delete_data_store_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_data_store_response.py +85 -0
- huaweicloudsdkiotanalytics/v1/model/delete_datasource_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_datasource_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/delete_group_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_group_response.py +85 -0
- huaweicloudsdkiotanalytics/v1/model/delete_pipeline_job_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_pipeline_job_response.py +112 -0
- huaweicloudsdkiotanalytics/v1/model/delete_run_request.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/delete_run_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/delete_streaming_job_by_id_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_streaming_job_by_id_response.py +112 -0
- huaweicloudsdkiotanalytics/v1/model/delete_table_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_table_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/dis_content_req.py +198 -0
- huaweicloudsdkiotanalytics/v1/model/dis_content_rsp.py +202 -0
- huaweicloudsdkiotanalytics/v1/model/dt_aggregate_metrics.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/dt_aggregate_request.py +140 -0
- huaweicloudsdkiotanalytics/v1/model/dt_schedule.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/dt_stream_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/dt_transform_metrics.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/dt_transform_request.py +140 -0
- huaweicloudsdkiotanalytics/v1/model/edge_content_req.py +143 -0
- huaweicloudsdkiotanalytics/v1/model/edge_content_rsp.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/edge_content_rule_req.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/edge_content_rule_rsp.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/export_dataset_request.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/export_dataset_response.py +85 -0
- huaweicloudsdkiotanalytics/v1/model/expression.py +172 -0
- huaweicloudsdkiotanalytics/v1/model/formula.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/function_graph_content_req.py +282 -0
- huaweicloudsdkiotanalytics/v1/model/function_graph_content_rsp.py +289 -0
- huaweicloudsdkiotanalytics/v1/model/get_data_store.py +318 -0
- huaweicloudsdkiotanalytics/v1/model/get_group.py +405 -0
- huaweicloudsdkiotanalytics/v1/model/get_history_request.py +195 -0
- huaweicloudsdkiotanalytics/v1/model/get_metrics_request.py +164 -0
- huaweicloudsdkiotanalytics/v1/model/get_metrics_value.py +164 -0
- huaweicloudsdkiotanalytics/v1/model/get_property_request.py +143 -0
- huaweicloudsdkiotanalytics/v1/model/history_values.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/import_data_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/import_data_request_body.py +401 -0
- huaweicloudsdkiotanalytics/v1/model/import_data_response.py +174 -0
- huaweicloudsdkiotanalytics/v1/model/input_model.py +138 -0
- huaweicloudsdkiotanalytics/v1/model/input_param.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/input_request.py +138 -0
- huaweicloudsdkiotanalytics/v1/model/input_response.py +140 -0
- huaweicloudsdkiotanalytics/v1/model/iotda_content_req.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/iotda_content_rsp.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/iotda_content_rule_req.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/iotda_content_rule_rsp.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/iotda_rule_action.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/job.py +366 -0
- huaweicloudsdkiotanalytics/v1/model/kafka_auth_info.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/kafka_broker_info.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/kafka_content_req.py +226 -0
- huaweicloudsdkiotanalytics/v1/model/kafka_content_rsp.py +227 -0
- huaweicloudsdkiotanalytics/v1/model/key_value.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/last_asset_property_value_request.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/list_asset_models_request.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/list_asset_models_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_assets_new_request.py +201 -0
- huaweicloudsdkiotanalytics/v1/model/list_assets_new_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_batch_jobs_request.py +289 -0
- huaweicloudsdkiotanalytics/v1/model/list_batch_jobs_response.py +141 -0
- huaweicloudsdkiotanalytics/v1/model/list_computing_resources_request.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/list_computing_resources_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_data_stores_request.py +231 -0
- huaweicloudsdkiotanalytics/v1/model/list_data_stores_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_groups_request.py +260 -0
- huaweicloudsdkiotanalytics/v1/model/list_groups_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_history_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/list_history_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_metrics_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/list_metrics_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_pipeline_jobs_request.py +318 -0
- huaweicloudsdkiotanalytics/v1/model/list_pipeline_jobs_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_runs_request.py +405 -0
- huaweicloudsdkiotanalytics/v1/model/list_runs_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_tables_request.py +260 -0
- huaweicloudsdkiotanalytics/v1/model/list_tables_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_tag_values_request.py +229 -0
- huaweicloudsdkiotanalytics/v1/model/list_tag_values_response.py +174 -0
- huaweicloudsdkiotanalytics/v1/model/metric.py +202 -0
- huaweicloudsdkiotanalytics/v1/model/metric_input.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/metric_list.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/metric_value.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/model_arts_content_req.py +254 -0
- huaweicloudsdkiotanalytics/v1/model/model_arts_content_rsp.py +260 -0
- huaweicloudsdkiotanalytics/v1/model/model_property.py +202 -0
- huaweicloudsdkiotanalytics/v1/model/named_formula.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/node_content_req.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/node_content_rsp.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/obs_content_req.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/obs_content_rsp.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/output_request.py +172 -0
- huaweicloudsdkiotanalytics/v1/model/output_response.py +230 -0
- huaweicloudsdkiotanalytics/v1/model/output_with_model.py +200 -0
- huaweicloudsdkiotanalytics/v1/model/pipeline_job_info_dto.py +463 -0
- huaweicloudsdkiotanalytics/v1/model/property_filter.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/property_model_request.py +282 -0
- huaweicloudsdkiotanalytics/v1/model/property_model_response.py +311 -0
- huaweicloudsdkiotanalytics/v1/model/property_reference_model.py +200 -0
- huaweicloudsdkiotanalytics/v1/model/property_reference_req.py +115 -0
- huaweicloudsdkiotanalytics/v1/model/property_reference_response.py +229 -0
- huaweicloudsdkiotanalytics/v1/model/property_request.py +172 -0
- huaweicloudsdkiotanalytics/v1/model/property_response.py +340 -0
- huaweicloudsdkiotanalytics/v1/model/property_value.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/publish_root_asset_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/publish_root_asset_response.py +85 -0
- huaweicloudsdkiotanalytics/v1/model/raw_request.py +226 -0
- huaweicloudsdkiotanalytics/v1/model/raw_value.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/run.py +366 -0
- huaweicloudsdkiotanalytics/v1/model/run_detail.py +168 -0
- huaweicloudsdkiotanalytics/v1/model/sasl_plain_auth_info.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/schedule.py +342 -0
- huaweicloudsdkiotanalytics/v1/model/show_all_data_source_request.py +202 -0
- huaweicloudsdkiotanalytics/v1/model/show_all_data_source_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/show_asset_model_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/show_asset_model_response.py +290 -0
- huaweicloudsdkiotanalytics/v1/model/show_asset_new_request.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/show_asset_new_response.py +522 -0
- huaweicloudsdkiotanalytics/v1/model/show_batch_job_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/show_batch_job_response.py +369 -0
- huaweicloudsdkiotanalytics/v1/model/show_data_source_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/show_data_source_response.py +257 -0
- huaweicloudsdkiotanalytics/v1/model/show_dataset_request.py +200 -0
- huaweicloudsdkiotanalytics/v1/model/show_dataset_response.py +199 -0
- huaweicloudsdkiotanalytics/v1/model/show_job_by_id_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/show_job_by_id_response.py +141 -0
- huaweicloudsdkiotanalytics/v1/model/show_jobs_request.py +202 -0
- huaweicloudsdkiotanalytics/v1/model/show_jobs_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/show_last_property_value_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/show_last_property_value_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/show_metric_value_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/show_metric_value_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/show_pipeline_job_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/show_pipeline_job_response.py +141 -0
- huaweicloudsdkiotanalytics/v1/model/show_property_raw_value_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/show_property_raw_value_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/show_property_values_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/show_property_values_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/show_run_request.py +171 -0
- huaweicloudsdkiotanalytics/v1/model/show_run_response.py +290 -0
- huaweicloudsdkiotanalytics/v1/model/show_table_preview_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/show_table_preview_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/show_table_schema_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/show_table_schema_response.py +373 -0
- huaweicloudsdkiotanalytics/v1/model/smn_content_req.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/smn_content_rsp.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/sql_job.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/sql_job_query_dataset.py +172 -0
- huaweicloudsdkiotanalytics/v1/model/sql_job_run.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/sql_job_run_detail.py +434 -0
- huaweicloudsdkiotanalytics/v1/model/sql_job_run_response_body.py +201 -0
- huaweicloudsdkiotanalytics/v1/model/start_job_request.py +201 -0
- huaweicloudsdkiotanalytics/v1/model/start_job_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/start_pipeline_job_request.py +201 -0
- huaweicloudsdkiotanalytics/v1/model/start_pipeline_job_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/stop_job_request.py +143 -0
- huaweicloudsdkiotanalytics/v1/model/stop_job_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/stop_pipeline_job_request.py +143 -0
- huaweicloudsdkiotanalytics/v1/model/stop_pipeline_job_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/storage_group.py +202 -0
- huaweicloudsdkiotanalytics/v1/model/stream_model.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/stream_output.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/stream_response.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/streaming_job_info_dto.py +405 -0
- huaweicloudsdkiotanalytics/v1/model/table.py +463 -0
- huaweicloudsdkiotanalytics/v1/model/tag.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/tag_info_dto.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/time_span.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/time_span_dt.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/transform_metric.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/transform_metrics.py +195 -0
- huaweicloudsdkiotanalytics/v1/model/transform_metrics_request.py +226 -0
- huaweicloudsdkiotanalytics/v1/model/transform_model.py +196 -0
- huaweicloudsdkiotanalytics/v1/model/transform_response.py +194 -0
- huaweicloudsdkiotanalytics/v1/model/update_asset_model_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/update_asset_model_response.py +290 -0
- huaweicloudsdkiotanalytics/v1/model/update_asset_new_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/update_asset_new_response.py +522 -0
- huaweicloudsdkiotanalytics/v1/model/update_batch_job_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/update_batch_job_response.py +369 -0
- huaweicloudsdkiotanalytics/v1/model/update_data_source_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/update_data_source_response.py +257 -0
- huaweicloudsdkiotanalytics/v1/model/update_data_store.py +202 -0
- huaweicloudsdkiotanalytics/v1/model/update_data_store_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/update_data_store_response.py +319 -0
- huaweicloudsdkiotanalytics/v1/model/update_datasource_req_dto.py +167 -0
- huaweicloudsdkiotanalytics/v1/model/update_group_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/update_group_response.py +406 -0
- huaweicloudsdkiotanalytics/v1/model/update_pipeline_job_request.py +172 -0
- huaweicloudsdkiotanalytics/v1/model/update_pipeline_job_response.py +203 -0
- huaweicloudsdkiotanalytics/v1/model/update_streaming_job_request.py +172 -0
- huaweicloudsdkiotanalytics/v1/model/update_streaming_job_response.py +203 -0
- huaweicloudsdkiotanalytics/v1/model/validate_sql_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/validate_sql_request_body.py +115 -0
- huaweicloudsdkiotanalytics/v1/model/validate_sql_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/vpcep_info.py +198 -0
- huaweicloudsdkiotanalytics/v1/model/vpcep_info_rsp.py +227 -0
- huaweicloudsdkiotanalytics/v1/region/__init__.py +0 -0
- huaweicloudsdkiotanalytics/v1/region/iotanalytics_region.py +31 -0
- huaweicloudsdkiotanalytics-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdkiotanalytics-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdkiotanalytics-3.1.160.dist-info/RECORD +273 -0
- huaweicloudsdkiotanalytics-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdkiotanalytics-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,369 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class CreateBatchJobResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'job_id': 'str',
|
22
|
+
'job_name': 'str',
|
23
|
+
'tags': 'str',
|
24
|
+
'created_time': 'str',
|
25
|
+
'modified_time': 'str',
|
26
|
+
'job_type': 'str',
|
27
|
+
'export_path': 'str',
|
28
|
+
'merge_result_file': 'bool',
|
29
|
+
'sql_job': 'SqlJob',
|
30
|
+
'schedule': 'Schedule'
|
31
|
+
}
|
32
|
+
|
33
|
+
attribute_map = {
|
34
|
+
'job_id': 'job_id',
|
35
|
+
'job_name': 'job_name',
|
36
|
+
'tags': 'tags',
|
37
|
+
'created_time': 'created_time',
|
38
|
+
'modified_time': 'modified_time',
|
39
|
+
'job_type': 'job_type',
|
40
|
+
'export_path': 'export_path',
|
41
|
+
'merge_result_file': 'merge_result_file',
|
42
|
+
'sql_job': 'sql_job',
|
43
|
+
'schedule': 'schedule'
|
44
|
+
}
|
45
|
+
|
46
|
+
def __init__(self, job_id=None, job_name=None, tags=None, created_time=None, modified_time=None, job_type=None, export_path=None, merge_result_file=None, sql_job=None, schedule=None):
|
47
|
+
r"""CreateBatchJobResponse
|
48
|
+
|
49
|
+
The model defined in huaweicloud sdk
|
50
|
+
|
51
|
+
:param job_id: 仅在响应返回。作业ID。
|
52
|
+
:type job_id: str
|
53
|
+
:param job_name: 作业名称。只能包含数字、英文字母、中文字母、下划线以及中划线。长度为1~128。
|
54
|
+
:type job_name: str
|
55
|
+
:param tags: 标签。只能包含数字、英文字母、中文字符、下划线、中划线、逗号以及斜杠。长度为0~128。
|
56
|
+
:type tags: str
|
57
|
+
:param created_time: 仅在响应返回。创建时间。
|
58
|
+
:type created_time: str
|
59
|
+
:param modified_time: 仅在响应返回。更新时间。
|
60
|
+
:type modified_time: str
|
61
|
+
:param job_type: 作业类型。目前仅支持SqlJob.
|
62
|
+
:type job_type: str
|
63
|
+
:param export_path: 作业查询结果导出到OBS的路径。覆写已存在文件。
|
64
|
+
:type export_path: str
|
65
|
+
:param merge_result_file: 导出文件时是否合并结果文件。true:合并成一个结果文件;false:不合并结果文件。
|
66
|
+
:type merge_result_file: bool
|
67
|
+
:param sql_job:
|
68
|
+
:type sql_job: :class:`huaweicloudsdkiotanalytics.v1.SqlJob`
|
69
|
+
:param schedule:
|
70
|
+
:type schedule: :class:`huaweicloudsdkiotanalytics.v1.Schedule`
|
71
|
+
"""
|
72
|
+
|
73
|
+
super(CreateBatchJobResponse, self).__init__()
|
74
|
+
|
75
|
+
self._job_id = None
|
76
|
+
self._job_name = None
|
77
|
+
self._tags = None
|
78
|
+
self._created_time = None
|
79
|
+
self._modified_time = None
|
80
|
+
self._job_type = None
|
81
|
+
self._export_path = None
|
82
|
+
self._merge_result_file = None
|
83
|
+
self._sql_job = None
|
84
|
+
self._schedule = None
|
85
|
+
self.discriminator = None
|
86
|
+
|
87
|
+
if job_id is not None:
|
88
|
+
self.job_id = job_id
|
89
|
+
if job_name is not None:
|
90
|
+
self.job_name = job_name
|
91
|
+
if tags is not None:
|
92
|
+
self.tags = tags
|
93
|
+
if created_time is not None:
|
94
|
+
self.created_time = created_time
|
95
|
+
if modified_time is not None:
|
96
|
+
self.modified_time = modified_time
|
97
|
+
if job_type is not None:
|
98
|
+
self.job_type = job_type
|
99
|
+
if export_path is not None:
|
100
|
+
self.export_path = export_path
|
101
|
+
if merge_result_file is not None:
|
102
|
+
self.merge_result_file = merge_result_file
|
103
|
+
if sql_job is not None:
|
104
|
+
self.sql_job = sql_job
|
105
|
+
if schedule is not None:
|
106
|
+
self.schedule = schedule
|
107
|
+
|
108
|
+
@property
|
109
|
+
def job_id(self):
|
110
|
+
r"""Gets the job_id of this CreateBatchJobResponse.
|
111
|
+
|
112
|
+
仅在响应返回。作业ID。
|
113
|
+
|
114
|
+
:return: The job_id of this CreateBatchJobResponse.
|
115
|
+
:rtype: str
|
116
|
+
"""
|
117
|
+
return self._job_id
|
118
|
+
|
119
|
+
@job_id.setter
|
120
|
+
def job_id(self, job_id):
|
121
|
+
r"""Sets the job_id of this CreateBatchJobResponse.
|
122
|
+
|
123
|
+
仅在响应返回。作业ID。
|
124
|
+
|
125
|
+
:param job_id: The job_id of this CreateBatchJobResponse.
|
126
|
+
:type job_id: str
|
127
|
+
"""
|
128
|
+
self._job_id = job_id
|
129
|
+
|
130
|
+
@property
|
131
|
+
def job_name(self):
|
132
|
+
r"""Gets the job_name of this CreateBatchJobResponse.
|
133
|
+
|
134
|
+
作业名称。只能包含数字、英文字母、中文字母、下划线以及中划线。长度为1~128。
|
135
|
+
|
136
|
+
:return: The job_name of this CreateBatchJobResponse.
|
137
|
+
:rtype: str
|
138
|
+
"""
|
139
|
+
return self._job_name
|
140
|
+
|
141
|
+
@job_name.setter
|
142
|
+
def job_name(self, job_name):
|
143
|
+
r"""Sets the job_name of this CreateBatchJobResponse.
|
144
|
+
|
145
|
+
作业名称。只能包含数字、英文字母、中文字母、下划线以及中划线。长度为1~128。
|
146
|
+
|
147
|
+
:param job_name: The job_name of this CreateBatchJobResponse.
|
148
|
+
:type job_name: str
|
149
|
+
"""
|
150
|
+
self._job_name = job_name
|
151
|
+
|
152
|
+
@property
|
153
|
+
def tags(self):
|
154
|
+
r"""Gets the tags of this CreateBatchJobResponse.
|
155
|
+
|
156
|
+
标签。只能包含数字、英文字母、中文字符、下划线、中划线、逗号以及斜杠。长度为0~128。
|
157
|
+
|
158
|
+
:return: The tags of this CreateBatchJobResponse.
|
159
|
+
:rtype: str
|
160
|
+
"""
|
161
|
+
return self._tags
|
162
|
+
|
163
|
+
@tags.setter
|
164
|
+
def tags(self, tags):
|
165
|
+
r"""Sets the tags of this CreateBatchJobResponse.
|
166
|
+
|
167
|
+
标签。只能包含数字、英文字母、中文字符、下划线、中划线、逗号以及斜杠。长度为0~128。
|
168
|
+
|
169
|
+
:param tags: The tags of this CreateBatchJobResponse.
|
170
|
+
:type tags: str
|
171
|
+
"""
|
172
|
+
self._tags = tags
|
173
|
+
|
174
|
+
@property
|
175
|
+
def created_time(self):
|
176
|
+
r"""Gets the created_time of this CreateBatchJobResponse.
|
177
|
+
|
178
|
+
仅在响应返回。创建时间。
|
179
|
+
|
180
|
+
:return: The created_time of this CreateBatchJobResponse.
|
181
|
+
:rtype: str
|
182
|
+
"""
|
183
|
+
return self._created_time
|
184
|
+
|
185
|
+
@created_time.setter
|
186
|
+
def created_time(self, created_time):
|
187
|
+
r"""Sets the created_time of this CreateBatchJobResponse.
|
188
|
+
|
189
|
+
仅在响应返回。创建时间。
|
190
|
+
|
191
|
+
:param created_time: The created_time of this CreateBatchJobResponse.
|
192
|
+
:type created_time: str
|
193
|
+
"""
|
194
|
+
self._created_time = created_time
|
195
|
+
|
196
|
+
@property
|
197
|
+
def modified_time(self):
|
198
|
+
r"""Gets the modified_time of this CreateBatchJobResponse.
|
199
|
+
|
200
|
+
仅在响应返回。更新时间。
|
201
|
+
|
202
|
+
:return: The modified_time of this CreateBatchJobResponse.
|
203
|
+
:rtype: str
|
204
|
+
"""
|
205
|
+
return self._modified_time
|
206
|
+
|
207
|
+
@modified_time.setter
|
208
|
+
def modified_time(self, modified_time):
|
209
|
+
r"""Sets the modified_time of this CreateBatchJobResponse.
|
210
|
+
|
211
|
+
仅在响应返回。更新时间。
|
212
|
+
|
213
|
+
:param modified_time: The modified_time of this CreateBatchJobResponse.
|
214
|
+
:type modified_time: str
|
215
|
+
"""
|
216
|
+
self._modified_time = modified_time
|
217
|
+
|
218
|
+
@property
|
219
|
+
def job_type(self):
|
220
|
+
r"""Gets the job_type of this CreateBatchJobResponse.
|
221
|
+
|
222
|
+
作业类型。目前仅支持SqlJob.
|
223
|
+
|
224
|
+
:return: The job_type of this CreateBatchJobResponse.
|
225
|
+
:rtype: str
|
226
|
+
"""
|
227
|
+
return self._job_type
|
228
|
+
|
229
|
+
@job_type.setter
|
230
|
+
def job_type(self, job_type):
|
231
|
+
r"""Sets the job_type of this CreateBatchJobResponse.
|
232
|
+
|
233
|
+
作业类型。目前仅支持SqlJob.
|
234
|
+
|
235
|
+
:param job_type: The job_type of this CreateBatchJobResponse.
|
236
|
+
:type job_type: str
|
237
|
+
"""
|
238
|
+
self._job_type = job_type
|
239
|
+
|
240
|
+
@property
|
241
|
+
def export_path(self):
|
242
|
+
r"""Gets the export_path of this CreateBatchJobResponse.
|
243
|
+
|
244
|
+
作业查询结果导出到OBS的路径。覆写已存在文件。
|
245
|
+
|
246
|
+
:return: The export_path of this CreateBatchJobResponse.
|
247
|
+
:rtype: str
|
248
|
+
"""
|
249
|
+
return self._export_path
|
250
|
+
|
251
|
+
@export_path.setter
|
252
|
+
def export_path(self, export_path):
|
253
|
+
r"""Sets the export_path of this CreateBatchJobResponse.
|
254
|
+
|
255
|
+
作业查询结果导出到OBS的路径。覆写已存在文件。
|
256
|
+
|
257
|
+
:param export_path: The export_path of this CreateBatchJobResponse.
|
258
|
+
:type export_path: str
|
259
|
+
"""
|
260
|
+
self._export_path = export_path
|
261
|
+
|
262
|
+
@property
|
263
|
+
def merge_result_file(self):
|
264
|
+
r"""Gets the merge_result_file of this CreateBatchJobResponse.
|
265
|
+
|
266
|
+
导出文件时是否合并结果文件。true:合并成一个结果文件;false:不合并结果文件。
|
267
|
+
|
268
|
+
:return: The merge_result_file of this CreateBatchJobResponse.
|
269
|
+
:rtype: bool
|
270
|
+
"""
|
271
|
+
return self._merge_result_file
|
272
|
+
|
273
|
+
@merge_result_file.setter
|
274
|
+
def merge_result_file(self, merge_result_file):
|
275
|
+
r"""Sets the merge_result_file of this CreateBatchJobResponse.
|
276
|
+
|
277
|
+
导出文件时是否合并结果文件。true:合并成一个结果文件;false:不合并结果文件。
|
278
|
+
|
279
|
+
:param merge_result_file: The merge_result_file of this CreateBatchJobResponse.
|
280
|
+
:type merge_result_file: bool
|
281
|
+
"""
|
282
|
+
self._merge_result_file = merge_result_file
|
283
|
+
|
284
|
+
@property
|
285
|
+
def sql_job(self):
|
286
|
+
r"""Gets the sql_job of this CreateBatchJobResponse.
|
287
|
+
|
288
|
+
:return: The sql_job of this CreateBatchJobResponse.
|
289
|
+
:rtype: :class:`huaweicloudsdkiotanalytics.v1.SqlJob`
|
290
|
+
"""
|
291
|
+
return self._sql_job
|
292
|
+
|
293
|
+
@sql_job.setter
|
294
|
+
def sql_job(self, sql_job):
|
295
|
+
r"""Sets the sql_job of this CreateBatchJobResponse.
|
296
|
+
|
297
|
+
:param sql_job: The sql_job of this CreateBatchJobResponse.
|
298
|
+
:type sql_job: :class:`huaweicloudsdkiotanalytics.v1.SqlJob`
|
299
|
+
"""
|
300
|
+
self._sql_job = sql_job
|
301
|
+
|
302
|
+
@property
|
303
|
+
def schedule(self):
|
304
|
+
r"""Gets the schedule of this CreateBatchJobResponse.
|
305
|
+
|
306
|
+
:return: The schedule of this CreateBatchJobResponse.
|
307
|
+
:rtype: :class:`huaweicloudsdkiotanalytics.v1.Schedule`
|
308
|
+
"""
|
309
|
+
return self._schedule
|
310
|
+
|
311
|
+
@schedule.setter
|
312
|
+
def schedule(self, schedule):
|
313
|
+
r"""Sets the schedule of this CreateBatchJobResponse.
|
314
|
+
|
315
|
+
:param schedule: The schedule of this CreateBatchJobResponse.
|
316
|
+
:type schedule: :class:`huaweicloudsdkiotanalytics.v1.Schedule`
|
317
|
+
"""
|
318
|
+
self._schedule = schedule
|
319
|
+
|
320
|
+
def to_dict(self):
|
321
|
+
"""Returns the model properties as a dict"""
|
322
|
+
result = {}
|
323
|
+
|
324
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
325
|
+
value = getattr(self, attr)
|
326
|
+
if isinstance(value, list):
|
327
|
+
result[attr] = list(map(
|
328
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
329
|
+
value
|
330
|
+
))
|
331
|
+
elif hasattr(value, "to_dict"):
|
332
|
+
result[attr] = value.to_dict()
|
333
|
+
elif isinstance(value, dict):
|
334
|
+
result[attr] = dict(map(
|
335
|
+
lambda item: (item[0], item[1].to_dict())
|
336
|
+
if hasattr(item[1], "to_dict") else item,
|
337
|
+
value.items()
|
338
|
+
))
|
339
|
+
else:
|
340
|
+
if attr in self.sensitive_list:
|
341
|
+
result[attr] = "****"
|
342
|
+
else:
|
343
|
+
result[attr] = value
|
344
|
+
|
345
|
+
return result
|
346
|
+
|
347
|
+
def to_str(self):
|
348
|
+
"""Returns the string representation of the model"""
|
349
|
+
import simplejson as json
|
350
|
+
if six.PY2:
|
351
|
+
import sys
|
352
|
+
reload(sys)
|
353
|
+
sys.setdefaultencoding("utf-8")
|
354
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
355
|
+
|
356
|
+
def __repr__(self):
|
357
|
+
"""For `print`"""
|
358
|
+
return self.to_str()
|
359
|
+
|
360
|
+
def __eq__(self, other):
|
361
|
+
"""Returns true if both objects are equal"""
|
362
|
+
if not isinstance(other, CreateBatchJobResponse):
|
363
|
+
return False
|
364
|
+
|
365
|
+
return self.__dict__ == other.__dict__
|
366
|
+
|
367
|
+
def __ne__(self, other):
|
368
|
+
"""Returns true if both objects are not equal"""
|
369
|
+
return not self == other
|
@@ -0,0 +1,111 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class CreateComputingResourceRequest:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'body': 'CreateComputingResourceRequestBody'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'body': 'body'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, body=None):
|
28
|
+
r"""CreateComputingResourceRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param body: Body of the CreateComputingResourceRequest
|
33
|
+
:type body: :class:`huaweicloudsdkiotanalytics.v1.CreateComputingResourceRequestBody`
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._body = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
if body is not None:
|
42
|
+
self.body = body
|
43
|
+
|
44
|
+
@property
|
45
|
+
def body(self):
|
46
|
+
r"""Gets the body of this CreateComputingResourceRequest.
|
47
|
+
|
48
|
+
:return: The body of this CreateComputingResourceRequest.
|
49
|
+
:rtype: :class:`huaweicloudsdkiotanalytics.v1.CreateComputingResourceRequestBody`
|
50
|
+
"""
|
51
|
+
return self._body
|
52
|
+
|
53
|
+
@body.setter
|
54
|
+
def body(self, body):
|
55
|
+
r"""Sets the body of this CreateComputingResourceRequest.
|
56
|
+
|
57
|
+
:param body: The body of this CreateComputingResourceRequest.
|
58
|
+
:type body: :class:`huaweicloudsdkiotanalytics.v1.CreateComputingResourceRequestBody`
|
59
|
+
"""
|
60
|
+
self._body = body
|
61
|
+
|
62
|
+
def to_dict(self):
|
63
|
+
"""Returns the model properties as a dict"""
|
64
|
+
result = {}
|
65
|
+
|
66
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
67
|
+
value = getattr(self, attr)
|
68
|
+
if isinstance(value, list):
|
69
|
+
result[attr] = list(map(
|
70
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
71
|
+
value
|
72
|
+
))
|
73
|
+
elif hasattr(value, "to_dict"):
|
74
|
+
result[attr] = value.to_dict()
|
75
|
+
elif isinstance(value, dict):
|
76
|
+
result[attr] = dict(map(
|
77
|
+
lambda item: (item[0], item[1].to_dict())
|
78
|
+
if hasattr(item[1], "to_dict") else item,
|
79
|
+
value.items()
|
80
|
+
))
|
81
|
+
else:
|
82
|
+
if attr in self.sensitive_list:
|
83
|
+
result[attr] = "****"
|
84
|
+
else:
|
85
|
+
result[attr] = value
|
86
|
+
|
87
|
+
return result
|
88
|
+
|
89
|
+
def to_str(self):
|
90
|
+
"""Returns the string representation of the model"""
|
91
|
+
import simplejson as json
|
92
|
+
if six.PY2:
|
93
|
+
import sys
|
94
|
+
reload(sys)
|
95
|
+
sys.setdefaultencoding("utf-8")
|
96
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
97
|
+
|
98
|
+
def __repr__(self):
|
99
|
+
"""For `print`"""
|
100
|
+
return self.to_str()
|
101
|
+
|
102
|
+
def __eq__(self, other):
|
103
|
+
"""Returns true if both objects are equal"""
|
104
|
+
if not isinstance(other, CreateComputingResourceRequest):
|
105
|
+
return False
|
106
|
+
|
107
|
+
return self.__dict__ == other.__dict__
|
108
|
+
|
109
|
+
def __ne__(self, other):
|
110
|
+
"""Returns true if both objects are not equal"""
|
111
|
+
return not self == other
|
@@ -0,0 +1,229 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class CreateComputingResourceRequestBody:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'computing_resource_name': 'str',
|
21
|
+
'computing_resource_type': 'str',
|
22
|
+
'description': 'str',
|
23
|
+
'cu_count': 'int',
|
24
|
+
'charging_mode': 'int'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'computing_resource_name': 'computing_resource_name',
|
29
|
+
'computing_resource_type': 'computing_resource_type',
|
30
|
+
'description': 'description',
|
31
|
+
'cu_count': 'cu_count',
|
32
|
+
'charging_mode': 'charging_mode'
|
33
|
+
}
|
34
|
+
|
35
|
+
def __init__(self, computing_resource_name=None, computing_resource_type=None, description=None, cu_count=None, charging_mode=None):
|
36
|
+
r"""CreateComputingResourceRequestBody
|
37
|
+
|
38
|
+
The model defined in huaweicloud sdk
|
39
|
+
|
40
|
+
:param computing_resource_name: 新建的计算资源名称,名称只能包含数字、英文字母和下划线,但不能是纯数字,且不能以下划线开头。
|
41
|
+
:type computing_resource_name: str
|
42
|
+
:param computing_resource_type: 计算资源的类型。默认为sql。
|
43
|
+
:type computing_resource_type: str
|
44
|
+
:param description: 计算资源的描述信息。
|
45
|
+
:type description: str
|
46
|
+
:param cu_count: 与计算资源绑定的最小计算单元个数。设置值当前只支持16,64,256。
|
47
|
+
:type cu_count: int
|
48
|
+
:param charging_mode: 计算资源的收费模式。只能设置为“1”,表示按照CU时收费。
|
49
|
+
:type charging_mode: int
|
50
|
+
"""
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
self._computing_resource_name = None
|
55
|
+
self._computing_resource_type = None
|
56
|
+
self._description = None
|
57
|
+
self._cu_count = None
|
58
|
+
self._charging_mode = None
|
59
|
+
self.discriminator = None
|
60
|
+
|
61
|
+
self.computing_resource_name = computing_resource_name
|
62
|
+
if computing_resource_type is not None:
|
63
|
+
self.computing_resource_type = computing_resource_type
|
64
|
+
if description is not None:
|
65
|
+
self.description = description
|
66
|
+
self.cu_count = cu_count
|
67
|
+
if charging_mode is not None:
|
68
|
+
self.charging_mode = charging_mode
|
69
|
+
|
70
|
+
@property
|
71
|
+
def computing_resource_name(self):
|
72
|
+
r"""Gets the computing_resource_name of this CreateComputingResourceRequestBody.
|
73
|
+
|
74
|
+
新建的计算资源名称,名称只能包含数字、英文字母和下划线,但不能是纯数字,且不能以下划线开头。
|
75
|
+
|
76
|
+
:return: The computing_resource_name of this CreateComputingResourceRequestBody.
|
77
|
+
:rtype: str
|
78
|
+
"""
|
79
|
+
return self._computing_resource_name
|
80
|
+
|
81
|
+
@computing_resource_name.setter
|
82
|
+
def computing_resource_name(self, computing_resource_name):
|
83
|
+
r"""Sets the computing_resource_name of this CreateComputingResourceRequestBody.
|
84
|
+
|
85
|
+
新建的计算资源名称,名称只能包含数字、英文字母和下划线,但不能是纯数字,且不能以下划线开头。
|
86
|
+
|
87
|
+
:param computing_resource_name: The computing_resource_name of this CreateComputingResourceRequestBody.
|
88
|
+
:type computing_resource_name: str
|
89
|
+
"""
|
90
|
+
self._computing_resource_name = computing_resource_name
|
91
|
+
|
92
|
+
@property
|
93
|
+
def computing_resource_type(self):
|
94
|
+
r"""Gets the computing_resource_type of this CreateComputingResourceRequestBody.
|
95
|
+
|
96
|
+
计算资源的类型。默认为sql。
|
97
|
+
|
98
|
+
:return: The computing_resource_type of this CreateComputingResourceRequestBody.
|
99
|
+
:rtype: str
|
100
|
+
"""
|
101
|
+
return self._computing_resource_type
|
102
|
+
|
103
|
+
@computing_resource_type.setter
|
104
|
+
def computing_resource_type(self, computing_resource_type):
|
105
|
+
r"""Sets the computing_resource_type of this CreateComputingResourceRequestBody.
|
106
|
+
|
107
|
+
计算资源的类型。默认为sql。
|
108
|
+
|
109
|
+
:param computing_resource_type: The computing_resource_type of this CreateComputingResourceRequestBody.
|
110
|
+
:type computing_resource_type: str
|
111
|
+
"""
|
112
|
+
self._computing_resource_type = computing_resource_type
|
113
|
+
|
114
|
+
@property
|
115
|
+
def description(self):
|
116
|
+
r"""Gets the description of this CreateComputingResourceRequestBody.
|
117
|
+
|
118
|
+
计算资源的描述信息。
|
119
|
+
|
120
|
+
:return: The description of this CreateComputingResourceRequestBody.
|
121
|
+
:rtype: str
|
122
|
+
"""
|
123
|
+
return self._description
|
124
|
+
|
125
|
+
@description.setter
|
126
|
+
def description(self, description):
|
127
|
+
r"""Sets the description of this CreateComputingResourceRequestBody.
|
128
|
+
|
129
|
+
计算资源的描述信息。
|
130
|
+
|
131
|
+
:param description: The description of this CreateComputingResourceRequestBody.
|
132
|
+
:type description: str
|
133
|
+
"""
|
134
|
+
self._description = description
|
135
|
+
|
136
|
+
@property
|
137
|
+
def cu_count(self):
|
138
|
+
r"""Gets the cu_count of this CreateComputingResourceRequestBody.
|
139
|
+
|
140
|
+
与计算资源绑定的最小计算单元个数。设置值当前只支持16,64,256。
|
141
|
+
|
142
|
+
:return: The cu_count of this CreateComputingResourceRequestBody.
|
143
|
+
:rtype: int
|
144
|
+
"""
|
145
|
+
return self._cu_count
|
146
|
+
|
147
|
+
@cu_count.setter
|
148
|
+
def cu_count(self, cu_count):
|
149
|
+
r"""Sets the cu_count of this CreateComputingResourceRequestBody.
|
150
|
+
|
151
|
+
与计算资源绑定的最小计算单元个数。设置值当前只支持16,64,256。
|
152
|
+
|
153
|
+
:param cu_count: The cu_count of this CreateComputingResourceRequestBody.
|
154
|
+
:type cu_count: int
|
155
|
+
"""
|
156
|
+
self._cu_count = cu_count
|
157
|
+
|
158
|
+
@property
|
159
|
+
def charging_mode(self):
|
160
|
+
r"""Gets the charging_mode of this CreateComputingResourceRequestBody.
|
161
|
+
|
162
|
+
计算资源的收费模式。只能设置为“1”,表示按照CU时收费。
|
163
|
+
|
164
|
+
:return: The charging_mode of this CreateComputingResourceRequestBody.
|
165
|
+
:rtype: int
|
166
|
+
"""
|
167
|
+
return self._charging_mode
|
168
|
+
|
169
|
+
@charging_mode.setter
|
170
|
+
def charging_mode(self, charging_mode):
|
171
|
+
r"""Sets the charging_mode of this CreateComputingResourceRequestBody.
|
172
|
+
|
173
|
+
计算资源的收费模式。只能设置为“1”,表示按照CU时收费。
|
174
|
+
|
175
|
+
:param charging_mode: The charging_mode of this CreateComputingResourceRequestBody.
|
176
|
+
:type charging_mode: int
|
177
|
+
"""
|
178
|
+
self._charging_mode = charging_mode
|
179
|
+
|
180
|
+
def to_dict(self):
|
181
|
+
"""Returns the model properties as a dict"""
|
182
|
+
result = {}
|
183
|
+
|
184
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
185
|
+
value = getattr(self, attr)
|
186
|
+
if isinstance(value, list):
|
187
|
+
result[attr] = list(map(
|
188
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
189
|
+
value
|
190
|
+
))
|
191
|
+
elif hasattr(value, "to_dict"):
|
192
|
+
result[attr] = value.to_dict()
|
193
|
+
elif isinstance(value, dict):
|
194
|
+
result[attr] = dict(map(
|
195
|
+
lambda item: (item[0], item[1].to_dict())
|
196
|
+
if hasattr(item[1], "to_dict") else item,
|
197
|
+
value.items()
|
198
|
+
))
|
199
|
+
else:
|
200
|
+
if attr in self.sensitive_list:
|
201
|
+
result[attr] = "****"
|
202
|
+
else:
|
203
|
+
result[attr] = value
|
204
|
+
|
205
|
+
return result
|
206
|
+
|
207
|
+
def to_str(self):
|
208
|
+
"""Returns the string representation of the model"""
|
209
|
+
import simplejson as json
|
210
|
+
if six.PY2:
|
211
|
+
import sys
|
212
|
+
reload(sys)
|
213
|
+
sys.setdefaultencoding("utf-8")
|
214
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
215
|
+
|
216
|
+
def __repr__(self):
|
217
|
+
"""For `print`"""
|
218
|
+
return self.to_str()
|
219
|
+
|
220
|
+
def __eq__(self, other):
|
221
|
+
"""Returns true if both objects are equal"""
|
222
|
+
if not isinstance(other, CreateComputingResourceRequestBody):
|
223
|
+
return False
|
224
|
+
|
225
|
+
return self.__dict__ == other.__dict__
|
226
|
+
|
227
|
+
def __ne__(self, other):
|
228
|
+
"""Returns true if both objects are not equal"""
|
229
|
+
return not self == other
|