release 3.0.77 source code for python
This commit is contained in:
parent
9371bbe087
commit
66b4d0ee87
241
CHANGELOG.md
241
CHANGELOG.md
|
@ -1,3 +1,244 @@
|
|||
# 3.0.77 2022-02-10
|
||||
|
||||
### HuaweiCloud SDK AOM
|
||||
|
||||
- _Features_
|
||||
- None
|
||||
- _Bug Fix_
|
||||
- None
|
||||
- _Change_
|
||||
- Changes of the interface `UpdateAlarmRule`:
|
||||
- Modify the type `string` -> `enum` of the request parameter `statistic`
|
||||
- The request parameter `alarm_level`, `comparison_operator`, `evaluation_periods`, `metric_name`, `namespace`, `period`, `statistic`, `threshold`, `unit` changed to not required
|
||||
|
||||
### HuaweiCloud SDK BSS
|
||||
|
||||
- _Features_
|
||||
- None
|
||||
- _Bug Fix_
|
||||
- None
|
||||
- _Change_
|
||||
- Changes of the interface `ListRateOnPeriodDetail`:
|
||||
- Add the request parameter `fee_installment_mode`
|
||||
- Add the response parameters `installment_official_website_amount`、`installment_period_type`、`installment_official_discount_amount`、`installment_amount`
|
||||
|
||||
### HuaweiCloud SDK CBR
|
||||
|
||||
- _Features_
|
||||
- None
|
||||
- _Bug Fix_
|
||||
- None
|
||||
- _Change_
|
||||
- Changes of the interface `ListProtectable`:
|
||||
- Modify the type `string` -> `boolean` of the response parameter `result`
|
||||
- Modify the type `string` -> `int32` of the response parameter `size`
|
||||
- Changes of the interface `ShowProtectable`:
|
||||
- Modify the type `string` -> `boolean` of the response parameter `result`
|
||||
- Modify the type `string` -> `int32` of the response parameter `size`
|
||||
|
||||
### HuaweiCloud SDK CCE
|
||||
|
||||
- _Features_
|
||||
- Support the interface `ShowVersion`
|
||||
- _Bug Fix_
|
||||
- None
|
||||
- _Change_
|
||||
- Remove the response parameters `kind`, `apiVersion`, `metadata`, `spec`, `status` from the interface `CreateAddonInstance`
|
||||
- Add the response parameters `isStatic`, `privateIPv6IP` to the interface `ListNodes`
|
||||
- Add the request parameter `isStatic` to the interface `CreateNode`
|
||||
- Add the response parameters `isStatic`, `privateIPv6IP` to the interface `DeleteNode`
|
||||
- Add the response parameters `isStatic`, `privateIPv6IP` to the interface `ShowNode`
|
||||
- Add the response parameters `isStatic`, `privateIPv6IP` to the interface `UpdateNode`
|
||||
- Changes of the interface `RemoveNode`:
|
||||
- The request parameter `uid` changed to required
|
||||
- The response parameter `uid` changed to required
|
||||
- Changes of the interface `MigrateNode`:
|
||||
- The request parameter `uid` changed to required
|
||||
- The response parameter `uid` changed to required
|
||||
- Add the response parameter `isStatic` to the interface `ListNodePools`
|
||||
- Add the request parameter `isStatic` to the interface `CreateNodePool`
|
||||
- Add the response parameter `isStatic` to the interface `DeleteNodePool`
|
||||
- Add the response parameter `isStatic` to the interface `ShowNodePool`
|
||||
- Changes of the interface `UpdateNodePool`:
|
||||
- Add the request parameter `isStatic`
|
||||
- Add the response parameter `isStatic`
|
||||
|
||||
### HuaweiCloud SDK CSS
|
||||
|
||||
- _Features_
|
||||
- Support the following interfaces:
|
||||
- `UpdateOndemandClusterToPeriod`
|
||||
- `UpdateClusterName`
|
||||
- `ResetPassword`
|
||||
- `StartKibanaPublic`
|
||||
- `UpdateCloseKibana`
|
||||
- `UpdateAlterKibana`
|
||||
- `UpdatePublicKibanaWhitelist`
|
||||
- `StopPublicKibanaWhitelist`
|
||||
- `CreateCnf`
|
||||
- `UpdateCnf`
|
||||
- `StartPipeline`
|
||||
- `StopPipeline`
|
||||
- `AddFavorite`
|
||||
- `StartConnectivityTest`
|
||||
- `ListTemplates`
|
||||
- `ListConfs`
|
||||
- `ListPipelines`
|
||||
- `ListActions`
|
||||
- `ShowGetConfDetail`
|
||||
- `DeleteConf`
|
||||
- `DeleteTemplate`
|
||||
- `StartLogs`
|
||||
- `StopLogs`
|
||||
- `ShowGetLogSetting`
|
||||
- `UpdateLogSetting`
|
||||
- `StartLogAutoBackupPolicy`
|
||||
- `StopLogAutoBackupPolicy`
|
||||
- `CreateLogBackup`
|
||||
- `ShowLogBackup`
|
||||
- `CreateBindPublic`
|
||||
- `UpdateUnbindPublic`
|
||||
- `UpdatePublicBandWidth`
|
||||
- `StartPublicWhitelist`
|
||||
- `StopPublicWhitelist`
|
||||
- `StartVpecp`
|
||||
- `StopVpecp`
|
||||
- `ShowVpcepConnection`
|
||||
- `UpdateVpcepConnection`
|
||||
- `UpdateVpcepWhitelist`
|
||||
- `UpdateYmls`
|
||||
- `ListYmlsJob`
|
||||
- `ListYmls`
|
||||
- `ListClustersDetails`
|
||||
- `CreateCluster`
|
||||
- `DeleteCluster`
|
||||
- `RestartCluster`
|
||||
- `UpdateExtendCluster`
|
||||
- `UpdateExtendInstanceStorage`
|
||||
- `ListFlavors`
|
||||
- `ShowClusterTag`
|
||||
- `CreateClustersTags`
|
||||
- `ListClustersTags`
|
||||
- `UpdateBatchClustersTags`
|
||||
- `DeleteClustersTags`
|
||||
- `ShowIkThesaurus`
|
||||
- `CreateLoadIkThesaurus`
|
||||
- `DeleteIkThesaurus`
|
||||
- `StartAutoSetting`
|
||||
- `UpdateSnapshotSetting`
|
||||
- `ShowAutoCreatePolicy`
|
||||
- `CreateAutoCreatePolicy`
|
||||
- `CreateSnapshot`
|
||||
- `ListSnapshots`
|
||||
- `StopSnapshot`
|
||||
- `RestoreSnapshot`
|
||||
- `DeleteSnapshot`
|
||||
- _Bug Fix_
|
||||
- None
|
||||
- _Change_
|
||||
- None
|
||||
|
||||
### HuaweiCloud SDK DCS
|
||||
|
||||
- _Features_
|
||||
- Support the interfaces `CreateOnlineMigrationTask`, `SetOnlineMigrationTask`, `BatchStopMigrationTasks`, `StopMigrationTaskSync`
|
||||
- _Bug Fix_
|
||||
- None
|
||||
- _Change_
|
||||
- None
|
||||
|
||||
### HuaweiCloud SDK DevStar
|
||||
|
||||
- _Features_
|
||||
- None
|
||||
- _Bug Fix_
|
||||
- None
|
||||
- _Change_
|
||||
- Changes of the interface `ShowApplicationDependentResources`:
|
||||
- Add the request parameters `X-Auth-Token`, `limit`, `offset`
|
||||
- Add the response parameter `count`
|
||||
|
||||
### HuaweiCloud SDK FunctionGraph
|
||||
|
||||
- _Features_
|
||||
- None
|
||||
- _Bug Fix_
|
||||
- None
|
||||
- _Change_
|
||||
- Changes of the interface `CreateFunction`:
|
||||
- Add the enum values `Java 8`, `Node.js 6.10`, `Node.js 8.10`, `Node.js 10.16`, `Node.js 12.13`, `Python 2.7`, `Python 3.6`, `Go 1.8`, `Go 1.x`, `PHP 7.3`, Remove the enum values `Python2.7`, `Python3.6`, `Go1.8`, `Java8`, `Node.js6.10`, `Node.js8.10`, `Custom`, `PHP7.3` from the request parameter `runtime`
|
||||
- Add the enum values `Java 8`, `Node.js 6.10`, `Node.js 8.10`, `Node.js 10.16`, `Node.js 12.13`, `Python 2.7`, `Python 3.6`, `Go 1.8`, `Go 1.x`, `PHP 7.3`, Remove the enum values `Python2.7`, `Python3.6`, `Go1.8`, `Java8`, `Node.js6.10`, `Node.js8.10`, `Custom`, `PHP7.3` from the response parameter `runtime`
|
||||
- Add the enum values `Java 8`, `Node.js 6.10`, `Node.js 8.10`, `Node.js 10.16`, `Node.js 12.13`, `Python 2.7`, `Python 3.6`, `Go 1.8`, `Go 1.x`, `PHP 7.3`, Remove the enum values `Python2.7`, `Python3.6`, `Go1.8`, `Java8`, `Node.js6.10`, `Node.js8.10`, `Custom`, `PHP7.3` from the response parameter `runtime` to the interface `ListFunctions`
|
||||
- Add the enum values `Java 8`, `Node.js 6.10`, `Node.js 8.10`, `Node.js 10.16`, `Node.js 12.13`, `Python 2.7`, `Python 3.6`, `Go 1.8`, `Go 1.x`, `PHP 7.3`, Remove the enum values `Python2.7`, `Python3.6`, `Go1.8`, `Java8`, `Node.js6.10`, `Node.js8.10`, `Custom`, `PHP7.3` from the response parameter `runtime` to the interface `UpdateFunctionCode`
|
||||
- Add the enum values `Java 8`, `Node.js 6.10`, `Node.js 8.10`, `Node.js 10.16`, `Node.js 12.13`, `Python 2.7`, `Python 3.6`, `Go 1.8`, `Go 1.x`, `PHP 7.3`, Remove the enum values `Python2.7`, `Python3.6`, `Go1.8`, `Java8`, `Node.js6.10`, `Node.js8.10`, `Custom`, `PHP7.3` from the response parameter `runtime` to the interface `ShowFunctionCode`
|
||||
- Changes of the interface `UpdateFunctionConfig`:
|
||||
- Add the enum values `Java 8`, `Node.js 6.10`, `Node.js 8.10`, `Node.js 10.16`, `Node.js 12.13`, `Python 2.7`, `Python 3.6`, `Go 1.8`, `Go 1.x`, `PHP 7.3`, Remove the enum values `Python2.7`, `Python3.6`, `Go1.8`, `Java8`, `Node.js6.10`, `Node.js8.10`, `Custom`, `PHP7.3` from the request parameter `runtime`
|
||||
- Add the enum values `Java 8`, `Node.js 6.10`, `Node.js 8.10`, `Node.js 10.16`, `Node.js 12.13`, `Python 2.7`, `Python 3.6`, `Go 1.8`, `Go 1.x`, `PHP 7.3`, Remove the enum values `Python2.7`, `Python3.6`, `Go1.8`, `Java8`, `Node.js6.10`, `Node.js8.10`, `Custom`, `PHP7.3` from the response parameter `runtime`
|
||||
- Add the enum values `Java 8`, `Node.js 6.10`, `Node.js 8.10`, `Node.js 10.16`, `Node.js 12.13`, `Python 2.7`, `Python 3.6`, `Go 1.8`, `Go 1.x`, `PHP 7.3`, Remove the enum values `Python2.7`, `Python3.6`, `Go1.8`, `Java8`, `Node.js6.10`, `Node.js8.10`, `Custom`, `PHP7.3` from the response parameter `runtime` to the interface `ShowFunctionConfig`
|
||||
- Add the enum values `Java 8`, `Node.js 6.10`, `Node.js 8.10`, `Node.js 10.16`, `Node.js 12.13`, `Python 2.7`, `Python 3.6`, `Go 1.8`, `Go 1.x`, `PHP 7.3`, Remove the enum values `Python2.7`, `Python3.6`, `Go1.8`, `Java8`, `Node.js6.10`, `Node.js8.10`, `Custom`, `PHP7.3` from the response parameter `runtime` to the interface `CreateFunctionVersion`
|
||||
- Add the enum values `Java 8`, `Node.js 6.10`, `Node.js 8.10`, `Node.js 10.16`, `Node.js 12.13`, `Python 2.7`, `Python 3.6`, `Go 1.8`, `Go 1.x`, `PHP 7.3`, Remove the enum values `Python2.7`, `Python3.6`, `Go1.8`, `Java8`, `Node.js6.10`, `Node.js8.10`, `Custom`, `PHP7.3` from the response parameter `runtime` to the interface `ListFunctionVersions`
|
||||
- Add the enum values `Go1.x` to the request parameter `runtime` to the interface `CreateDependency`
|
||||
- Add the enum values `Go1.x` to the request parameter `runtime` to the interface `UpdateDependency`
|
||||
- Add the enum values `Java 8`, `Node.js 6.10`, `Node.js 8.10`, `Node.js 10.16`, `Node.js 12.13`, `Python 2.7`, `Python 3.6`, `Go 1.8`, `Go 1.x`, `PHP 7.3`, Remove the enum values `Python2.7`, `Python3.6`, `Go1.8`, `Java8`, `Node.js6.10`, `Node.js8.10`, `Custom`, `PHP7.3` from the response parameter `runtime` to the interface `ImportFunction`
|
||||
|
||||
### HuaweiCloud SDK GaussDB
|
||||
|
||||
- _Features_
|
||||
- None
|
||||
- _Bug Fix_
|
||||
- None
|
||||
- _Change_
|
||||
- Add the response parameter `alias` to the interface `ShowGaussMySqlInstanceInfo`
|
||||
- Add the response parameter `job_id` to the interface `CreateGaussMySqlBackup`
|
||||
|
||||
### HuaweiCloud SDK GaussDBforNoSQL
|
||||
|
||||
- _Features_
|
||||
- None
|
||||
- _Bug Fix_
|
||||
- None
|
||||
- _Change_
|
||||
- Modify the type `int32` -> `string` of the response parameter `port` of the interface `ListInstances`
|
||||
|
||||
### HuaweiCloud SDK Live
|
||||
|
||||
- _Features_
|
||||
- Support the interfaces `ListTranscodeTaskCount`, `ListAreaDetail`
|
||||
- _Bug Fix_
|
||||
- None
|
||||
- _Change_
|
||||
- Add the request parameter `publish_domain` to the interface `ListRecordData`
|
||||
- Remove the request parameter `plan_record_time` from the interface `CreateRecordRule`
|
||||
- Remove the response parameter `plan_record_time` from the interface `ListRecordRules`
|
||||
- Remove the response parameter `plan_record_time` from the interface `ShowRecordRule`
|
||||
- Changes of the interface `UpdateRecordRule`:
|
||||
- Remove the request parameter `plan_record_time`
|
||||
- Remove the response parameter `plan_record_time`
|
||||
- Remove the request parameter `on_demand_callback_url` from the interface `CreateRecordCallbackConfig`
|
||||
- Remove the response parameter `on_demand_callback_url` from the interface `ListRecordCallbackConfigs`
|
||||
- Remove the response parameter `on_demand_callback_url` from the interface `ShowRecordCallbackConfig`
|
||||
- Remove the request parameter `on_demand_callback_url` from the interface `UpdateRecordCallbackConfig`
|
||||
|
||||
### HuaweiCloud SDK Meeting
|
||||
|
||||
- _Features_
|
||||
- None
|
||||
- _Bug Fix_
|
||||
- None
|
||||
- _Change_
|
||||
- Add the response parameter `existQos` to the interface `SearchQosParticipants`
|
||||
- Add the response parameter `existQos` to the interface `SearchQosParticipantDetail`
|
||||
|
||||
### HuaweiCloud SDK RDS
|
||||
|
||||
- _Features_
|
||||
- None
|
||||
- _Bug Fix_
|
||||
- None
|
||||
- _Change_
|
||||
- Add the request parameter `restore_all_database` to the interface `RestoreToExistingInstance`
|
||||
- Remove the request parameter `is_open_recycle_policy` from the interface `StartRecyclePolicy`
|
||||
|
||||
# 3.0.76 2022-01-25
|
||||
|
||||
### HuaweiCloud SDK APIG
|
||||
|
|
241
CHANGELOG_CN.md
241
CHANGELOG_CN.md
|
@ -1,3 +1,244 @@
|
|||
# 3.0.77 2022-02-10
|
||||
|
||||
### HuaweiCloud SDK AOM
|
||||
|
||||
- _新增特性_
|
||||
- 无
|
||||
- _解决问题_
|
||||
- 无
|
||||
- _特性变更_
|
||||
- 接口`UpdateAlarmRule`:
|
||||
- 请求参数`statistic`类型调整 `string` -> `enum`
|
||||
- 请求参数`alarm_level`、`comparison_operator`、`evaluation_periods`、`metric_name`、`namespace`、`period`、`statistic`、`threshold`、`unit`改为非必填
|
||||
|
||||
### HuaweiCloud SDK BSS
|
||||
|
||||
- _新增特性_
|
||||
- 无
|
||||
- _解决问题_
|
||||
- 无
|
||||
- _特性变更_
|
||||
- 接口`ListRateOnPeriodDetail`:
|
||||
- 新增请求参数 `fee_installment_mode`
|
||||
- 新增响应参数 `installment_official_website_amount`、`installment_period_type`、`installment_official_discount_amount`、`installment_amount`
|
||||
|
||||
### HuaweiCloud SDK CBR
|
||||
|
||||
- _新增特性_
|
||||
- 无
|
||||
- _解决问题_
|
||||
- 无
|
||||
- _特性变更_
|
||||
- 接口`ListProtectable`:
|
||||
- 响应参数`result`类型调整 `string` -> `boolean`
|
||||
- 响应参数`size`类型调整 `string` -> `int32`
|
||||
- 接口`ShowProtectable`:
|
||||
- 响应参数`result`类型调整 `string` -> `boolean`
|
||||
- 响应参数`size`类型调整 `string` -> `int32`
|
||||
|
||||
### HuaweiCloud SDK CCE
|
||||
|
||||
- _新增特性_
|
||||
- 支持接口`ShowVersion`
|
||||
- _解决问题_
|
||||
- 无
|
||||
- _特性变更_
|
||||
- 接口`CreateAddonInstance`移除响应参数 `kind`、`apiVersion`、`metadata`、`spec`、`status`
|
||||
- 接口`ListNodes`新增响应参数 `isStatic`、`privateIPv6IP`
|
||||
- 接口`CreateNode`新增请求参数 `isStatic`
|
||||
- 接口`DeleteNode`新增响应参数 `isStatic`、`privateIPv6IP`
|
||||
- 接口`ShowNode`新增响应参数 `isStatic`、`privateIPv6IP`
|
||||
- 接口`UpdateNode`新增响应参数 `isStatic`、`privateIPv6IP`
|
||||
- 接口`RemoveNode`:
|
||||
- 请求参数`uid`改为必填
|
||||
- 响应参数`uid`改为必填
|
||||
- 接口`MigrateNode`:
|
||||
- 请求参数`uid`改为必填
|
||||
- 响应参数`uid`改为必填
|
||||
- 接口`ListNodePools`新增响应参数 `isStatic`
|
||||
- 接口`CreateNodePool`新增请求参数 `isStatic`
|
||||
- 接口`DeleteNodePool`新增响应参数 `isStatic`
|
||||
- 接口`ShowNodePool`新增响应参数 `isStatic`
|
||||
- 接口`UpdateNodePool`:
|
||||
- 新增请求参数 `isStatic`
|
||||
- 新增响应参数 `isStatic`
|
||||
|
||||
### HuaweiCloud SDK CSS
|
||||
|
||||
- _新增特性_
|
||||
- 支持以下接口:
|
||||
- `UpdateOndemandClusterToPeriod`
|
||||
- `UpdateClusterName`
|
||||
- `ResetPassword`
|
||||
- `StartKibanaPublic`
|
||||
- `UpdateCloseKibana`
|
||||
- `UpdateAlterKibana`
|
||||
- `UpdatePublicKibanaWhitelist`
|
||||
- `StopPublicKibanaWhitelist`
|
||||
- `CreateCnf`
|
||||
- `UpdateCnf`
|
||||
- `StartPipeline`
|
||||
- `StopPipeline`
|
||||
- `AddFavorite`
|
||||
- `StartConnectivityTest`
|
||||
- `ListTemplates`
|
||||
- `ListConfs`
|
||||
- `ListPipelines`
|
||||
- `ListActions`
|
||||
- `ShowGetConfDetail`
|
||||
- `DeleteConf`
|
||||
- `DeleteTemplate`
|
||||
- `StartLogs`
|
||||
- `StopLogs`
|
||||
- `ShowGetLogSetting`
|
||||
- `UpdateLogSetting`
|
||||
- `StartLogAutoBackupPolicy`
|
||||
- `StopLogAutoBackupPolicy`
|
||||
- `CreateLogBackup`
|
||||
- `ShowLogBackup`
|
||||
- `CreateBindPublic`
|
||||
- `UpdateUnbindPublic`
|
||||
- `UpdatePublicBandWidth`
|
||||
- `StartPublicWhitelist`
|
||||
- `StopPublicWhitelist`
|
||||
- `StartVpecp`
|
||||
- `StopVpecp`
|
||||
- `ShowVpcepConnection`
|
||||
- `UpdateVpcepConnection`
|
||||
- `UpdateVpcepWhitelist`
|
||||
- `UpdateYmls`
|
||||
- `ListYmlsJob`
|
||||
- `ListYmls`
|
||||
- `ListClustersDetails`
|
||||
- `CreateCluster`
|
||||
- `DeleteCluster`
|
||||
- `RestartCluster`
|
||||
- `UpdateExtendCluster`
|
||||
- `UpdateExtendInstanceStorage`
|
||||
- `ListFlavors`
|
||||
- `ShowClusterTag`
|
||||
- `CreateClustersTags`
|
||||
- `ListClustersTags`
|
||||
- `UpdateBatchClustersTags`
|
||||
- `DeleteClustersTags`
|
||||
- `ShowIkThesaurus`
|
||||
- `CreateLoadIkThesaurus`
|
||||
- `DeleteIkThesaurus`
|
||||
- `StartAutoSetting`
|
||||
- `UpdateSnapshotSetting`
|
||||
- `ShowAutoCreatePolicy`
|
||||
- `CreateAutoCreatePolicy`
|
||||
- `CreateSnapshot`
|
||||
- `ListSnapshots`
|
||||
- `StopSnapshot`
|
||||
- `RestoreSnapshot`
|
||||
- `DeleteSnapshot`
|
||||
- _解决问题_
|
||||
- 无
|
||||
- _特性变更_
|
||||
- 无
|
||||
|
||||
### HuaweiCloud SDK DCS
|
||||
|
||||
- _新增特性_
|
||||
- 支持接口`CreateOnlineMigrationTask`、`SetOnlineMigrationTask`、`BatchStopMigrationTasks`、`StopMigrationTaskSync`
|
||||
- _解决问题_
|
||||
- 无
|
||||
- _特性变更_
|
||||
- 无
|
||||
|
||||
### HuaweiCloud SDK DevStar
|
||||
|
||||
- _新增特性_
|
||||
- 无
|
||||
- _解决问题_
|
||||
- 无
|
||||
- _特性变更_
|
||||
- 接口`ShowApplicationDependentResources`:
|
||||
- 新增请求参数 `X-Auth-Token`、`limit`、`offset`
|
||||
- 新增响应参数 `count`
|
||||
|
||||
### HuaweiCloud SDK FunctionGraph
|
||||
|
||||
- _新增特性_
|
||||
- 无
|
||||
- _解决问题_
|
||||
- 无
|
||||
- _特性变更_
|
||||
- 接口`CreateFunction`:
|
||||
- 请求参数`runtime`新增枚举值`Java 8`、`Node.js 6.10`、`Node.js 8.10`、`Node.js 10.16`、`Node.js 12.13`、`Python 2.7`、`Python 3.6`、`Go 1.8`、`Go 1.x`、`PHP 7.3`, 移除枚举值`Python2.7`、`Python3.6`、`Go1.8`、`Java8`、`Node.js6.10`、`Node.js8.10`、`Custom`、`PHP7.3`
|
||||
- 响应参数`runtime`新增枚举值`Java 8`、`Node.js 6.10`、`Node.js 8.10`、`Node.js 10.16`、`Node.js 12.13`、`Python 2.7`、`Python 3.6`、`Go 1.8`、`Go 1.x`、`PHP 7.3`, 移除枚举值`Python2.7`、`Python3.6`、`Go1.8`、`Java8`、`Node.js6.10`、`Node.js8.10`、`Custom`、`PHP7.3`
|
||||
- 接口`ListFunctions`响应参数`runtime`新增枚举值`Java 8`、`Node.js 6.10`、`Node.js 8.10`、`Node.js 10.16`、`Node.js 12.13`、`Python 2.7`、`Python 3.6`、`Go 1.8`、`Go 1.x`、`PHP 7.3`, 移除枚举值`Python2.7`、`Python3.6`、`Go1.8`、`Java8`、`Node.js6.10`、`Node.js8.10`、`Custom`、`PHP7.3`
|
||||
- 接口`UpdateFunctionCode`响应参数`runtime`新增枚举值`Java 8`、`Node.js 6.10`、`Node.js 8.10`、`Node.js 10.16`、`Node.js 12.13`、`Python 2.7`、`Python 3.6`、`Go 1.8`、`Go 1.x`、`PHP 7.3`, 移除枚举值`Python2.7`、`Python3.6`、`Go1.8`、`Java8`、`Node.js6.10`、`Node.js8.10`、`Custom`、`PHP7.3`
|
||||
- 接口`ShowFunctionCode`响应参数`runtime`新增枚举值`Java 8`、`Node.js 6.10`、`Node.js 8.10`、`Node.js 10.16`、`Node.js 12.13`、`Python 2.7`、`Python 3.6`、`Go 1.8`、`Go 1.x`、`PHP 7.3`, 移除枚举值`Python2.7`、`Python3.6`、`Go1.8`、`Java8`、`Node.js6.10`、`Node.js8.10`、`Custom`、`PHP7.3`
|
||||
- 接口`UpdateFunctionConfig`:
|
||||
- 请求参数`runtime`新增枚举值`Java 8`、`Node.js 6.10`、`Node.js 8.10`、`Node.js 10.16`、`Node.js 12.13`、`Python 2.7`、`Python 3.6`、`Go 1.8`、`Go 1.x`、`PHP 7.3`, 移除枚举值`Python2.7`、`Python3.6`、`Go1.8`、`Java8`、`Node.js6.10`、`Node.js8.10`、`Custom`、`PHP7.3`
|
||||
- 响应参数`runtime`新增枚举值`Java 8`、`Node.js 6.10`、`Node.js 8.10`、`Node.js 10.16`、`Node.js 12.13`、`Python 2.7`、`Python 3.6`、`Go 1.8`、`Go 1.x`、`PHP 7.3`, 移除枚举值`Python2.7`、`Python3.6`、`Go1.8`、`Java8`、`Node.js6.10`、`Node.js8.10`、`Custom`、`PHP7.3`
|
||||
- 接口`ShowFunctionConfig`响应参数`runtime`新增枚举值`Java 8`、`Node.js 6.10`、`Node.js 8.10`、`Node.js 10.16`、`Node.js 12.13`、`Python 2.7`、`Python 3.6`、`Go 1.8`、`Go 1.x`、`PHP 7.3`, 移除枚举值`Python2.7`、`Python3.6`、`Go1.8`、`Java8`、`Node.js6.10`、`Node.js8.10`、`Custom`、`PHP7.3`
|
||||
- 接口`CreateFunctionVersion`响应参数`runtime`新增枚举值`Java 8`、`Node.js 6.10`、`Node.js 8.10`、`Node.js 10.16`、`Node.js 12.13`、`Python 2.7`、`Python 3.6`、`Go 1.8`、`Go 1.x`、`PHP 7.3`, 移除枚举值`Python2.7`、`Python3.6`、`Go1.8`、`Java8`、`Node.js6.10`、`Node.js8.10`、`Custom`、`PHP7.3`
|
||||
- 接口`ListFunctionVersions`响应参数`runtime`新增枚举值`Java 8`、`Node.js 6.10`、`Node.js 8.10`、`Node.js 10.16`、`Node.js 12.13`、`Python 2.7`、`Python 3.6`、`Go 1.8`、`Go 1.x`、`PHP 7.3`, 移除枚举值`Python2.7`、`Python3.6`、`Go1.8`、`Java8`、`Node.js6.10`、`Node.js8.10`、`Custom`、`PHP7.3`
|
||||
- 接口`CreateDependency`请求参数`runtime`新增枚举值`Go1.x`
|
||||
- 接口`UpdateDependency`请求参数`runtime`新增枚举值`Go1.x`
|
||||
- 接口`ImportFunction`响应参数`runtime`新增枚举值`Java 8`、`Node.js 6.10`、`Node.js 8.10`、`Node.js 10.16`、`Node.js 12.13`、`Python 2.7`、`Python 3.6`、`Go 1.8`、`Go 1.x`、`PHP 7.3`, 移除枚举值`Python2.7`、`Python3.6`、`Go1.8`、`Java8`、`Node.js6.10`、`Node.js8.10`、`Custom`、`PHP7.3`
|
||||
|
||||
### HuaweiCloud SDK GaussDB
|
||||
|
||||
- _新增特性_
|
||||
- 无
|
||||
- _解决问题_
|
||||
- 无
|
||||
- _特性变更_
|
||||
- 接口`ShowGaussMySqlInstanceInfo`新增响应参数`alias`
|
||||
- 接口`CreateGaussMySqlBackup`新增响应参数`job_id`
|
||||
|
||||
### HuaweiCloud SDK GaussDBforNoSQL
|
||||
|
||||
- _新增特性_
|
||||
- 无
|
||||
- _解决问题_
|
||||
- 无
|
||||
- _特性变更_
|
||||
- 接口`ListInstances`响应参数`port`类型调整 `int32` -> `string`
|
||||
|
||||
### HuaweiCloud SDK Live
|
||||
|
||||
- _新增特性_
|
||||
- 支持接口`ListTranscodeTaskCount`、`ListAreaDetail`
|
||||
- _解决问题_
|
||||
- 无
|
||||
- _特性变更_
|
||||
- 接口`ListRecordData`新增请求参数 `publish_domain`
|
||||
- 接口`CreateRecordRule`移除请求参数 `plan_record_time`
|
||||
- 接口`ListRecordRules`移除响应参数 `plan_record_time`
|
||||
- 接口`ShowRecordRule`移除响应参数 `plan_record_time`
|
||||
- 接口`UpdateRecordRule`:
|
||||
- 移除请求参数 `plan_record_time`
|
||||
- 移除响应参数 `plan_record_time`
|
||||
- 接口`CreateRecordCallbackConfig`移除请求参数 `on_demand_callback_url`
|
||||
- 接口`ListRecordCallbackConfigs`移除响应参数 `on_demand_callback_url`
|
||||
- 接口`ShowRecordCallbackConfig`移除响应参数 `on_demand_callback_url`
|
||||
- 接口`UpdateRecordCallbackConfig`移除请求参数 `on_demand_callback_url`
|
||||
|
||||
### HuaweiCloud SDK Meeting
|
||||
|
||||
- _新增特性_
|
||||
- 无
|
||||
- _解决问题_
|
||||
- 无
|
||||
- _特性变更_
|
||||
- 接口`SearchQosParticipants`新增响应参数 `existQos`
|
||||
- 接口`SearchQosParticipantDetail`新增响应参数 `existQos`
|
||||
|
||||
### HuaweiCloud SDK RDS
|
||||
|
||||
- _新增特性_
|
||||
- 无
|
||||
- _解决问题_
|
||||
- 无
|
||||
- _特性变更_
|
||||
- 接口`RestoreToExistingInstance`新增请求参数`restore_all_database`
|
||||
- 接口`StartRecyclePolicy`移除请求参数`is_open_recycle_policy`
|
||||
|
||||
# 3.0.76 2022-01-25
|
||||
|
||||
### HuaweiCloud SDK APIG
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkexample"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkantiddos"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -99,6 +99,7 @@ from huaweicloudsdkaom.v2.model.show_alarm_rule_response import ShowAlarmRuleRes
|
|||
from huaweicloudsdkaom.v2.model.show_metrics_data_request import ShowMetricsDataRequest
|
||||
from huaweicloudsdkaom.v2.model.show_metrics_data_response import ShowMetricsDataResponse
|
||||
from huaweicloudsdkaom.v2.model.statistic_value import StatisticValue
|
||||
from huaweicloudsdkaom.v2.model.update_alarm_rule_param import UpdateAlarmRuleParam
|
||||
from huaweicloudsdkaom.v2.model.update_alarm_rule_request import UpdateAlarmRuleRequest
|
||||
from huaweicloudsdkaom.v2.model.update_alarm_rule_response import UpdateAlarmRuleResponse
|
||||
from huaweicloudsdkaom.v2.model.value_data import ValueData
|
||||
|
|
|
@ -96,6 +96,7 @@ from huaweicloudsdkaom.v2.model.show_alarm_rule_response import ShowAlarmRuleRes
|
|||
from huaweicloudsdkaom.v2.model.show_metrics_data_request import ShowMetricsDataRequest
|
||||
from huaweicloudsdkaom.v2.model.show_metrics_data_response import ShowMetricsDataResponse
|
||||
from huaweicloudsdkaom.v2.model.statistic_value import StatisticValue
|
||||
from huaweicloudsdkaom.v2.model.update_alarm_rule_param import UpdateAlarmRuleParam
|
||||
from huaweicloudsdkaom.v2.model.update_alarm_rule_request import UpdateAlarmRuleRequest
|
||||
from huaweicloudsdkaom.v2.model.update_alarm_rule_response import UpdateAlarmRuleResponse
|
||||
from huaweicloudsdkaom.v2.model.value_data import ValueData
|
||||
|
|
|
@ -0,0 +1,572 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class UpdateAlarmRuleParam:
|
||||
|
||||
|
||||
"""
|
||||
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 = {
|
||||
'action_enabled': 'bool',
|
||||
'alarm_actions': 'list[str]',
|
||||
'alarm_advice': 'str',
|
||||
'alarm_description': 'str',
|
||||
'alarm_level': 'int',
|
||||
'alarm_rule_name': 'str',
|
||||
'comparison_operator': 'str',
|
||||
'dimensions': 'list[Dimension]',
|
||||
'evaluation_periods': 'int',
|
||||
'id_turn_on': 'bool',
|
||||
'insufficient_data_actions': 'list[str]',
|
||||
'metric_name': 'str',
|
||||
'namespace': 'str',
|
||||
'ok_actions': 'list[str]',
|
||||
'period': 'int',
|
||||
'statistic': 'str',
|
||||
'threshold': 'str',
|
||||
'unit': 'str'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'action_enabled': 'action_enabled',
|
||||
'alarm_actions': 'alarm_actions',
|
||||
'alarm_advice': 'alarm_advice',
|
||||
'alarm_description': 'alarm_description',
|
||||
'alarm_level': 'alarm_level',
|
||||
'alarm_rule_name': 'alarm_rule_name',
|
||||
'comparison_operator': 'comparison_operator',
|
||||
'dimensions': 'dimensions',
|
||||
'evaluation_periods': 'evaluation_periods',
|
||||
'id_turn_on': 'id_turn_on',
|
||||
'insufficient_data_actions': 'insufficient_data_actions',
|
||||
'metric_name': 'metric_name',
|
||||
'namespace': 'namespace',
|
||||
'ok_actions': 'ok_actions',
|
||||
'period': 'period',
|
||||
'statistic': 'statistic',
|
||||
'threshold': 'threshold',
|
||||
'unit': 'unit'
|
||||
}
|
||||
|
||||
def __init__(self, action_enabled=None, alarm_actions=None, alarm_advice=None, alarm_description=None, alarm_level=None, alarm_rule_name=None, comparison_operator=None, dimensions=None, evaluation_periods=None, id_turn_on=None, insufficient_data_actions=None, metric_name=None, namespace=None, ok_actions=None, period=None, statistic=None, threshold=None, unit=None):
|
||||
"""UpdateAlarmRuleParam - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._action_enabled = None
|
||||
self._alarm_actions = None
|
||||
self._alarm_advice = None
|
||||
self._alarm_description = None
|
||||
self._alarm_level = None
|
||||
self._alarm_rule_name = None
|
||||
self._comparison_operator = None
|
||||
self._dimensions = None
|
||||
self._evaluation_periods = None
|
||||
self._id_turn_on = None
|
||||
self._insufficient_data_actions = None
|
||||
self._metric_name = None
|
||||
self._namespace = None
|
||||
self._ok_actions = None
|
||||
self._period = None
|
||||
self._statistic = None
|
||||
self._threshold = None
|
||||
self._unit = None
|
||||
self.discriminator = None
|
||||
|
||||
if action_enabled is not None:
|
||||
self.action_enabled = action_enabled
|
||||
if alarm_actions is not None:
|
||||
self.alarm_actions = alarm_actions
|
||||
if alarm_advice is not None:
|
||||
self.alarm_advice = alarm_advice
|
||||
if alarm_description is not None:
|
||||
self.alarm_description = alarm_description
|
||||
if alarm_level is not None:
|
||||
self.alarm_level = alarm_level
|
||||
self.alarm_rule_name = alarm_rule_name
|
||||
if comparison_operator is not None:
|
||||
self.comparison_operator = comparison_operator
|
||||
if dimensions is not None:
|
||||
self.dimensions = dimensions
|
||||
if evaluation_periods is not None:
|
||||
self.evaluation_periods = evaluation_periods
|
||||
if id_turn_on is not None:
|
||||
self.id_turn_on = id_turn_on
|
||||
if insufficient_data_actions is not None:
|
||||
self.insufficient_data_actions = insufficient_data_actions
|
||||
if metric_name is not None:
|
||||
self.metric_name = metric_name
|
||||
if namespace is not None:
|
||||
self.namespace = namespace
|
||||
if ok_actions is not None:
|
||||
self.ok_actions = ok_actions
|
||||
if period is not None:
|
||||
self.period = period
|
||||
if statistic is not None:
|
||||
self.statistic = statistic
|
||||
if threshold is not None:
|
||||
self.threshold = threshold
|
||||
if unit is not None:
|
||||
self.unit = unit
|
||||
|
||||
@property
|
||||
def action_enabled(self):
|
||||
"""Gets the action_enabled of this UpdateAlarmRuleParam.
|
||||
|
||||
是否启用通知。
|
||||
|
||||
:return: The action_enabled of this UpdateAlarmRuleParam.
|
||||
:rtype: bool
|
||||
"""
|
||||
return self._action_enabled
|
||||
|
||||
@action_enabled.setter
|
||||
def action_enabled(self, action_enabled):
|
||||
"""Sets the action_enabled of this UpdateAlarmRuleParam.
|
||||
|
||||
是否启用通知。
|
||||
|
||||
:param action_enabled: The action_enabled of this UpdateAlarmRuleParam.
|
||||
:type: bool
|
||||
"""
|
||||
self._action_enabled = action_enabled
|
||||
|
||||
@property
|
||||
def alarm_actions(self):
|
||||
"""Gets the alarm_actions of this UpdateAlarmRuleParam.
|
||||
|
||||
告警状态通知列表。
|
||||
|
||||
:return: The alarm_actions of this UpdateAlarmRuleParam.
|
||||
:rtype: list[str]
|
||||
"""
|
||||
return self._alarm_actions
|
||||
|
||||
@alarm_actions.setter
|
||||
def alarm_actions(self, alarm_actions):
|
||||
"""Sets the alarm_actions of this UpdateAlarmRuleParam.
|
||||
|
||||
告警状态通知列表。
|
||||
|
||||
:param alarm_actions: The alarm_actions of this UpdateAlarmRuleParam.
|
||||
:type: list[str]
|
||||
"""
|
||||
self._alarm_actions = alarm_actions
|
||||
|
||||
@property
|
||||
def alarm_advice(self):
|
||||
"""Gets the alarm_advice of this UpdateAlarmRuleParam.
|
||||
|
||||
告警清除建议。
|
||||
|
||||
:return: The alarm_advice of this UpdateAlarmRuleParam.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._alarm_advice
|
||||
|
||||
@alarm_advice.setter
|
||||
def alarm_advice(self, alarm_advice):
|
||||
"""Sets the alarm_advice of this UpdateAlarmRuleParam.
|
||||
|
||||
告警清除建议。
|
||||
|
||||
:param alarm_advice: The alarm_advice of this UpdateAlarmRuleParam.
|
||||
:type: str
|
||||
"""
|
||||
self._alarm_advice = alarm_advice
|
||||
|
||||
@property
|
||||
def alarm_description(self):
|
||||
"""Gets the alarm_description of this UpdateAlarmRuleParam.
|
||||
|
||||
阈值规则描述。
|
||||
|
||||
:return: The alarm_description of this UpdateAlarmRuleParam.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._alarm_description
|
||||
|
||||
@alarm_description.setter
|
||||
def alarm_description(self, alarm_description):
|
||||
"""Sets the alarm_description of this UpdateAlarmRuleParam.
|
||||
|
||||
阈值规则描述。
|
||||
|
||||
:param alarm_description: The alarm_description of this UpdateAlarmRuleParam.
|
||||
:type: str
|
||||
"""
|
||||
self._alarm_description = alarm_description
|
||||
|
||||
@property
|
||||
def alarm_level(self):
|
||||
"""Gets the alarm_level of this UpdateAlarmRuleParam.
|
||||
|
||||
告警级别。1:紧急,2:重要,3:一般,4:提示。
|
||||
|
||||
:return: The alarm_level of this UpdateAlarmRuleParam.
|
||||
:rtype: int
|
||||
"""
|
||||
return self._alarm_level
|
||||
|
||||
@alarm_level.setter
|
||||
def alarm_level(self, alarm_level):
|
||||
"""Sets the alarm_level of this UpdateAlarmRuleParam.
|
||||
|
||||
告警级别。1:紧急,2:重要,3:一般,4:提示。
|
||||
|
||||
:param alarm_level: The alarm_level of this UpdateAlarmRuleParam.
|
||||
:type: int
|
||||
"""
|
||||
self._alarm_level = alarm_level
|
||||
|
||||
@property
|
||||
def alarm_rule_name(self):
|
||||
"""Gets the alarm_rule_name of this UpdateAlarmRuleParam.
|
||||
|
||||
阈值规则名称。
|
||||
|
||||
:return: The alarm_rule_name of this UpdateAlarmRuleParam.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._alarm_rule_name
|
||||
|
||||
@alarm_rule_name.setter
|
||||
def alarm_rule_name(self, alarm_rule_name):
|
||||
"""Sets the alarm_rule_name of this UpdateAlarmRuleParam.
|
||||
|
||||
阈值规则名称。
|
||||
|
||||
:param alarm_rule_name: The alarm_rule_name of this UpdateAlarmRuleParam.
|
||||
:type: str
|
||||
"""
|
||||
self._alarm_rule_name = alarm_rule_name
|
||||
|
||||
@property
|
||||
def comparison_operator(self):
|
||||
"""Gets the comparison_operator of this UpdateAlarmRuleParam.
|
||||
|
||||
超限条件。
|
||||
|
||||
:return: The comparison_operator of this UpdateAlarmRuleParam.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._comparison_operator
|
||||
|
||||
@comparison_operator.setter
|
||||
def comparison_operator(self, comparison_operator):
|
||||
"""Sets the comparison_operator of this UpdateAlarmRuleParam.
|
||||
|
||||
超限条件。
|
||||
|
||||
:param comparison_operator: The comparison_operator of this UpdateAlarmRuleParam.
|
||||
:type: str
|
||||
"""
|
||||
self._comparison_operator = comparison_operator
|
||||
|
||||
@property
|
||||
def dimensions(self):
|
||||
"""Gets the dimensions of this UpdateAlarmRuleParam.
|
||||
|
||||
时间序列维度。
|
||||
|
||||
:return: The dimensions of this UpdateAlarmRuleParam.
|
||||
:rtype: list[Dimension]
|
||||
"""
|
||||
return self._dimensions
|
||||
|
||||
@dimensions.setter
|
||||
def dimensions(self, dimensions):
|
||||
"""Sets the dimensions of this UpdateAlarmRuleParam.
|
||||
|
||||
时间序列维度。
|
||||
|
||||
:param dimensions: The dimensions of this UpdateAlarmRuleParam.
|
||||
:type: list[Dimension]
|
||||
"""
|
||||
self._dimensions = dimensions
|
||||
|
||||
@property
|
||||
def evaluation_periods(self):
|
||||
"""Gets the evaluation_periods of this UpdateAlarmRuleParam.
|
||||
|
||||
间隔周期。
|
||||
|
||||
:return: The evaluation_periods of this UpdateAlarmRuleParam.
|
||||
:rtype: int
|
||||
"""
|
||||
return self._evaluation_periods
|
||||
|
||||
@evaluation_periods.setter
|
||||
def evaluation_periods(self, evaluation_periods):
|
||||
"""Sets the evaluation_periods of this UpdateAlarmRuleParam.
|
||||
|
||||
间隔周期。
|
||||
|
||||
:param evaluation_periods: The evaluation_periods of this UpdateAlarmRuleParam.
|
||||
:type: int
|
||||
"""
|
||||
self._evaluation_periods = evaluation_periods
|
||||
|
||||
@property
|
||||
def id_turn_on(self):
|
||||
"""Gets the id_turn_on of this UpdateAlarmRuleParam.
|
||||
|
||||
阈值规则是否启用。
|
||||
|
||||
:return: The id_turn_on of this UpdateAlarmRuleParam.
|
||||
:rtype: bool
|
||||
"""
|
||||
return self._id_turn_on
|
||||
|
||||
@id_turn_on.setter
|
||||
def id_turn_on(self, id_turn_on):
|
||||
"""Sets the id_turn_on of this UpdateAlarmRuleParam.
|
||||
|
||||
阈值规则是否启用。
|
||||
|
||||
:param id_turn_on: The id_turn_on of this UpdateAlarmRuleParam.
|
||||
:type: bool
|
||||
"""
|
||||
self._id_turn_on = id_turn_on
|
||||
|
||||
@property
|
||||
def insufficient_data_actions(self):
|
||||
"""Gets the insufficient_data_actions of this UpdateAlarmRuleParam.
|
||||
|
||||
数据不足通知列表。
|
||||
|
||||
:return: The insufficient_data_actions of this UpdateAlarmRuleParam.
|
||||
:rtype: list[str]
|
||||
"""
|
||||
return self._insufficient_data_actions
|
||||
|
||||
@insufficient_data_actions.setter
|
||||
def insufficient_data_actions(self, insufficient_data_actions):
|
||||
"""Sets the insufficient_data_actions of this UpdateAlarmRuleParam.
|
||||
|
||||
数据不足通知列表。
|
||||
|
||||
:param insufficient_data_actions: The insufficient_data_actions of this UpdateAlarmRuleParam.
|
||||
:type: list[str]
|
||||
"""
|
||||
self._insufficient_data_actions = insufficient_data_actions
|
||||
|
||||
@property
|
||||
def metric_name(self):
|
||||
"""Gets the metric_name of this UpdateAlarmRuleParam.
|
||||
|
||||
时间序列名称。名称长度取值范围为1~255个字符。
|
||||
|
||||
:return: The metric_name of this UpdateAlarmRuleParam.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._metric_name
|
||||
|
||||
@metric_name.setter
|
||||
def metric_name(self, metric_name):
|
||||
"""Sets the metric_name of this UpdateAlarmRuleParam.
|
||||
|
||||
时间序列名称。名称长度取值范围为1~255个字符。
|
||||
|
||||
:param metric_name: The metric_name of this UpdateAlarmRuleParam.
|
||||
:type: str
|
||||
"""
|
||||
self._metric_name = metric_name
|
||||
|
||||
@property
|
||||
def namespace(self):
|
||||
"""Gets the namespace of this UpdateAlarmRuleParam.
|
||||
|
||||
时间序列命名空间。
|
||||
|
||||
:return: The namespace of this UpdateAlarmRuleParam.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._namespace
|
||||
|
||||
@namespace.setter
|
||||
def namespace(self, namespace):
|
||||
"""Sets the namespace of this UpdateAlarmRuleParam.
|
||||
|
||||
时间序列命名空间。
|
||||
|
||||
:param namespace: The namespace of this UpdateAlarmRuleParam.
|
||||
:type: str
|
||||
"""
|
||||
self._namespace = namespace
|
||||
|
||||
@property
|
||||
def ok_actions(self):
|
||||
"""Gets the ok_actions of this UpdateAlarmRuleParam.
|
||||
|
||||
正常状态通知列表。
|
||||
|
||||
:return: The ok_actions of this UpdateAlarmRuleParam.
|
||||
:rtype: list[str]
|
||||
"""
|
||||
return self._ok_actions
|
||||
|
||||
@ok_actions.setter
|
||||
def ok_actions(self, ok_actions):
|
||||
"""Sets the ok_actions of this UpdateAlarmRuleParam.
|
||||
|
||||
正常状态通知列表。
|
||||
|
||||
:param ok_actions: The ok_actions of this UpdateAlarmRuleParam.
|
||||
:type: list[str]
|
||||
"""
|
||||
self._ok_actions = ok_actions
|
||||
|
||||
@property
|
||||
def period(self):
|
||||
"""Gets the period of this UpdateAlarmRuleParam.
|
||||
|
||||
统计周期。
|
||||
|
||||
:return: The period of this UpdateAlarmRuleParam.
|
||||
:rtype: int
|
||||
"""
|
||||
return self._period
|
||||
|
||||
@period.setter
|
||||
def period(self, period):
|
||||
"""Sets the period of this UpdateAlarmRuleParam.
|
||||
|
||||
统计周期。
|
||||
|
||||
:param period: The period of this UpdateAlarmRuleParam.
|
||||
:type: int
|
||||
"""
|
||||
self._period = period
|
||||
|
||||
@property
|
||||
def statistic(self):
|
||||
"""Gets the statistic of this UpdateAlarmRuleParam.
|
||||
|
||||
统计方式。
|
||||
|
||||
:return: The statistic of this UpdateAlarmRuleParam.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._statistic
|
||||
|
||||
@statistic.setter
|
||||
def statistic(self, statistic):
|
||||
"""Sets the statistic of this UpdateAlarmRuleParam.
|
||||
|
||||
统计方式。
|
||||
|
||||
:param statistic: The statistic of this UpdateAlarmRuleParam.
|
||||
:type: str
|
||||
"""
|
||||
self._statistic = statistic
|
||||
|
||||
@property
|
||||
def threshold(self):
|
||||
"""Gets the threshold of this UpdateAlarmRuleParam.
|
||||
|
||||
超限值。
|
||||
|
||||
:return: The threshold of this UpdateAlarmRuleParam.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._threshold
|
||||
|
||||
@threshold.setter
|
||||
def threshold(self, threshold):
|
||||
"""Sets the threshold of this UpdateAlarmRuleParam.
|
||||
|
||||
超限值。
|
||||
|
||||
:param threshold: The threshold of this UpdateAlarmRuleParam.
|
||||
:type: str
|
||||
"""
|
||||
self._threshold = threshold
|
||||
|
||||
@property
|
||||
def unit(self):
|
||||
"""Gets the unit of this UpdateAlarmRuleParam.
|
||||
|
||||
时间序列单位
|
||||
|
||||
:return: The unit of this UpdateAlarmRuleParam.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._unit
|
||||
|
||||
@unit.setter
|
||||
def unit(self, unit):
|
||||
"""Sets the unit of this UpdateAlarmRuleParam.
|
||||
|
||||
时间序列单位
|
||||
|
||||
:param unit: The unit of this UpdateAlarmRuleParam.
|
||||
:type: str
|
||||
"""
|
||||
self._unit = unit
|
||||
|
||||
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, UpdateAlarmRuleParam):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -22,7 +22,7 @@ class UpdateAlarmRuleRequest:
|
|||
sensitive_list = []
|
||||
|
||||
openapi_types = {
|
||||
'body': 'AlarmRuleParam'
|
||||
'body': 'UpdateAlarmRuleParam'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
|
@ -46,7 +46,7 @@ class UpdateAlarmRuleRequest:
|
|||
|
||||
|
||||
:return: The body of this UpdateAlarmRuleRequest.
|
||||
:rtype: AlarmRuleParam
|
||||
:rtype: UpdateAlarmRuleParam
|
||||
"""
|
||||
return self._body
|
||||
|
||||
|
@ -56,7 +56,7 @@ class UpdateAlarmRuleRequest:
|
|||
|
||||
|
||||
:param body: The body of this UpdateAlarmRuleRequest.
|
||||
:type: AlarmRuleParam
|
||||
:type: UpdateAlarmRuleParam
|
||||
"""
|
||||
self._body = body
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkaom"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkapig"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkapm"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkas"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkbcs"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkbms"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -156,7 +156,7 @@ class DemandProductInfo:
|
|||
def resource_spec(self):
|
||||
"""Gets the resource_spec of this DemandProductInfo.
|
||||
|
||||
云服务类型的资源规格,部分云服务类型和资源规格举例如下: 弹性云服务器:根据操作系统类型在云服务器规格的ID后添加“.win”或“.linux”,例如“s2.small.1.linux”。云服务器规格的ID字段,您可以调用查询规格详情和规格扩展信息列表接口获取。 带宽:12_bgp:动态BGP按流量计费带宽12_sbgp:静态BGP按流量计费带宽19_bgp:动态BGP按带宽计费带宽19_sbgp:静态BGP按带宽计费带宽19_share:按带宽计费共享带宽 IP:5_bgp:动态BGP公网IP5_sbgp:静态BGP公网IP
|
||||
云服务类型的资源规格,部分云服务类型和资源规格举例如下: 弹性云服务器:根据操作系统类型在云服务器规格的ID后添加“.win”或“.linux”,例如“s2.small.1.linux”。云服务器规格的ID字段,您可以调用查询规格详情和规格扩展信息列表接口获取。 带宽:12_bgp:动态BGP按流量计费带宽12_sbgp:静态BGP按流量计费带宽19_bgp:动态BGP按带宽计费带宽19_sbgp:静态BGP按带宽计费带宽19_share:按带宽计费共享带宽 IP:5_bgp:动态BGP公网IP5_sbgp:静态BGP公网IP 云硬盘:SATA:普通IO云硬盘SAS:高IO云硬盘GPSSD:通用型SSD云硬盘SSD:超高IO云硬盘
|
||||
|
||||
:return: The resource_spec of this DemandProductInfo.
|
||||
:rtype: str
|
||||
|
@ -167,7 +167,7 @@ class DemandProductInfo:
|
|||
def resource_spec(self, resource_spec):
|
||||
"""Sets the resource_spec of this DemandProductInfo.
|
||||
|
||||
云服务类型的资源规格,部分云服务类型和资源规格举例如下: 弹性云服务器:根据操作系统类型在云服务器规格的ID后添加“.win”或“.linux”,例如“s2.small.1.linux”。云服务器规格的ID字段,您可以调用查询规格详情和规格扩展信息列表接口获取。 带宽:12_bgp:动态BGP按流量计费带宽12_sbgp:静态BGP按流量计费带宽19_bgp:动态BGP按带宽计费带宽19_sbgp:静态BGP按带宽计费带宽19_share:按带宽计费共享带宽 IP:5_bgp:动态BGP公网IP5_sbgp:静态BGP公网IP
|
||||
云服务类型的资源规格,部分云服务类型和资源规格举例如下: 弹性云服务器:根据操作系统类型在云服务器规格的ID后添加“.win”或“.linux”,例如“s2.small.1.linux”。云服务器规格的ID字段,您可以调用查询规格详情和规格扩展信息列表接口获取。 带宽:12_bgp:动态BGP按流量计费带宽12_sbgp:静态BGP按流量计费带宽19_bgp:动态BGP按带宽计费带宽19_sbgp:静态BGP按带宽计费带宽19_share:按带宽计费共享带宽 IP:5_bgp:动态BGP公网IP5_sbgp:静态BGP公网IP 云硬盘:SATA:普通IO云硬盘SAS:高IO云硬盘GPSSD:通用型SSD云硬盘SSD:超高IO云硬盘
|
||||
|
||||
:param resource_spec: The resource_spec of this DemandProductInfo.
|
||||
:type: str
|
||||
|
@ -244,7 +244,7 @@ class DemandProductInfo:
|
|||
def size_measure_id(self):
|
||||
"""Gets the size_measure_id of this DemandProductInfo.
|
||||
|
||||
资源容量度量标识,枚举值如下:15:Mbps(购买带宽时使用) 17:GB(购买云硬盘时使用)14:个(次) 线性产品时该参数不能为空。线性产品为包括硬盘,带宽等在订购时需要指定大小的产品。例如硬盘在订购时需选择10G、20G等不同大小。
|
||||
资源容量度量标识,枚举值如下: 15:Mbps(购买带宽时使用)17:GB(购买云硬盘时使用)14:个(次) 线性产品时该参数不能为空。线性产品为包括硬盘,带宽等在订购时需要指定大小的产品。例如硬盘在订购时需选择10G、20G等不同大小。
|
||||
|
||||
:return: The size_measure_id of this DemandProductInfo.
|
||||
:rtype: int
|
||||
|
@ -255,7 +255,7 @@ class DemandProductInfo:
|
|||
def size_measure_id(self, size_measure_id):
|
||||
"""Sets the size_measure_id of this DemandProductInfo.
|
||||
|
||||
资源容量度量标识,枚举值如下:15:Mbps(购买带宽时使用) 17:GB(购买云硬盘时使用)14:个(次) 线性产品时该参数不能为空。线性产品为包括硬盘,带宽等在订购时需要指定大小的产品。例如硬盘在订购时需选择10G、20G等不同大小。
|
||||
资源容量度量标识,枚举值如下: 15:Mbps(购买带宽时使用)17:GB(购买云硬盘时使用)14:个(次) 线性产品时该参数不能为空。线性产品为包括硬盘,带宽等在订购时需要指定大小的产品。例如硬盘在订购时需选择10G、20G等不同大小。
|
||||
|
||||
:param size_measure_id: The size_measure_id of this DemandProductInfo.
|
||||
:type: int
|
||||
|
|
|
@ -272,7 +272,7 @@ class ListCustomerBillsFeeRecordsRequest:
|
|||
def bill_type(self):
|
||||
"""Gets the bill_type of this ListCustomerBillsFeeRecordsRequest.
|
||||
|
||||
账单类型:1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费
|
||||
账单类型:1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:return: The bill_type of this ListCustomerBillsFeeRecordsRequest.
|
||||
:rtype: int
|
||||
|
@ -283,7 +283,7 @@ class ListCustomerBillsFeeRecordsRequest:
|
|||
def bill_type(self, bill_type):
|
||||
"""Sets the bill_type of this ListCustomerBillsFeeRecordsRequest.
|
||||
|
||||
账单类型:1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费
|
||||
账单类型:1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:param bill_type: The bill_type of this ListCustomerBillsFeeRecordsRequest.
|
||||
:type: int
|
||||
|
|
|
@ -240,7 +240,7 @@ class ListCustomerBillsMonthlyBreakDownRequest:
|
|||
def bill_type(self):
|
||||
"""Gets the bill_type of this ListCustomerBillsMonthlyBreakDownRequest.
|
||||
|
||||
账单类型。1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费
|
||||
账单类型。1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:return: The bill_type of this ListCustomerBillsMonthlyBreakDownRequest.
|
||||
:rtype: int
|
||||
|
@ -251,7 +251,7 @@ class ListCustomerBillsMonthlyBreakDownRequest:
|
|||
def bill_type(self, bill_type):
|
||||
"""Sets the bill_type of this ListCustomerBillsMonthlyBreakDownRequest.
|
||||
|
||||
账单类型。1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费
|
||||
账单类型。1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:param bill_type: The bill_type of this ListCustomerBillsMonthlyBreakDownRequest.
|
||||
:type: int
|
||||
|
|
|
@ -228,7 +228,7 @@ class ListCustomerselfResourceRecordsRequest:
|
|||
def bill_type(self):
|
||||
"""Gets the bill_type of this ListCustomerselfResourceRecordsRequest.
|
||||
|
||||
账单类型。1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费
|
||||
账单类型。1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:return: The bill_type of this ListCustomerselfResourceRecordsRequest.
|
||||
:rtype: int
|
||||
|
@ -239,7 +239,7 @@ class ListCustomerselfResourceRecordsRequest:
|
|||
def bill_type(self, bill_type):
|
||||
"""Sets the bill_type of this ListCustomerselfResourceRecordsRequest.
|
||||
|
||||
账单类型。1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费
|
||||
账单类型。1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:param bill_type: The bill_type of this ListCustomerselfResourceRecordsRequest.
|
||||
:type: int
|
||||
|
|
|
@ -254,7 +254,7 @@ class ListSubCustomerBillDetailRequest:
|
|||
def bill_detail_type(self):
|
||||
"""Gets the bill_detail_type of this ListSubCustomerBillDetailRequest.
|
||||
|
||||
账单类型。1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费20:退款-变更
|
||||
账单类型。1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:return: The bill_detail_type of this ListSubCustomerBillDetailRequest.
|
||||
:rtype: int
|
||||
|
@ -265,7 +265,7 @@ class ListSubCustomerBillDetailRequest:
|
|||
def bill_detail_type(self, bill_detail_type):
|
||||
"""Sets the bill_detail_type of this ListSubCustomerBillDetailRequest.
|
||||
|
||||
账单类型。1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费20:退款-变更
|
||||
账单类型。1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:param bill_detail_type: The bill_detail_type of this ListSubCustomerBillDetailRequest.
|
||||
:type: int
|
||||
|
|
|
@ -438,7 +438,7 @@ class MonthlyBillRecord:
|
|||
def bill_type(self):
|
||||
"""Gets the bill_type of this MonthlyBillRecord.
|
||||
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:return: The bill_type of this MonthlyBillRecord.
|
||||
:rtype: int
|
||||
|
@ -449,7 +449,7 @@ class MonthlyBillRecord:
|
|||
def bill_type(self, bill_type):
|
||||
"""Sets the bill_type of this MonthlyBillRecord.
|
||||
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:param bill_type: The bill_type of this MonthlyBillRecord.
|
||||
:type: int
|
||||
|
|
|
@ -218,7 +218,7 @@ class MonthlyBillRes:
|
|||
def bill_type(self):
|
||||
"""Gets the bill_type of this MonthlyBillRes.
|
||||
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:return: The bill_type of this MonthlyBillRes.
|
||||
:rtype: int
|
||||
|
@ -229,7 +229,7 @@ class MonthlyBillRes:
|
|||
def bill_type(self, bill_type):
|
||||
"""Sets the bill_type of this MonthlyBillRes.
|
||||
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:param bill_type: The bill_type of this MonthlyBillRes.
|
||||
:type: int
|
||||
|
|
|
@ -263,7 +263,7 @@ class NvlCostAnalysedBillDetail:
|
|||
def bill_type(self):
|
||||
"""Gets the bill_type of this NvlCostAnalysedBillDetail.
|
||||
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:return: The bill_type of this NvlCostAnalysedBillDetail.
|
||||
:rtype: int
|
||||
|
@ -274,7 +274,7 @@ class NvlCostAnalysedBillDetail:
|
|||
def bill_type(self, bill_type):
|
||||
"""Sets the bill_type of this NvlCostAnalysedBillDetail.
|
||||
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:param bill_type: The bill_type of this NvlCostAnalysedBillDetail.
|
||||
:type: int
|
||||
|
|
|
@ -23,28 +23,38 @@ class OfficialWebsiteRatingResult:
|
|||
|
||||
openapi_types = {
|
||||
'official_website_amount': 'float',
|
||||
'installment_official_website_amount': 'str',
|
||||
'installment_period_type': 'int',
|
||||
'measure_id': 'int',
|
||||
'product_rating_results': 'list[PeriodProductOfficialRatingResult]'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'official_website_amount': 'official_website_amount',
|
||||
'installment_official_website_amount': 'installment_official_website_amount',
|
||||
'installment_period_type': 'installment_period_type',
|
||||
'measure_id': 'measure_id',
|
||||
'product_rating_results': 'product_rating_results'
|
||||
}
|
||||
|
||||
def __init__(self, official_website_amount=None, measure_id=None, product_rating_results=None):
|
||||
def __init__(self, official_website_amount=None, installment_official_website_amount=None, installment_period_type=None, measure_id=None, product_rating_results=None):
|
||||
"""OfficialWebsiteRatingResult - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._official_website_amount = None
|
||||
self._installment_official_website_amount = None
|
||||
self._installment_period_type = None
|
||||
self._measure_id = None
|
||||
self._product_rating_results = None
|
||||
self.discriminator = None
|
||||
|
||||
if official_website_amount is not None:
|
||||
self.official_website_amount = official_website_amount
|
||||
if installment_official_website_amount is not None:
|
||||
self.installment_official_website_amount = installment_official_website_amount
|
||||
if installment_period_type is not None:
|
||||
self.installment_period_type = installment_period_type
|
||||
if measure_id is not None:
|
||||
self.measure_id = measure_id
|
||||
if product_rating_results is not None:
|
||||
|
@ -72,6 +82,50 @@ class OfficialWebsiteRatingResult:
|
|||
"""
|
||||
self._official_website_amount = official_website_amount
|
||||
|
||||
@property
|
||||
def installment_official_website_amount(self):
|
||||
"""Gets the installment_official_website_amount of this OfficialWebsiteRatingResult.
|
||||
|
||||
分期金额的官网价。 说明: 暂只支持IES产品。
|
||||
|
||||
:return: The installment_official_website_amount of this OfficialWebsiteRatingResult.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._installment_official_website_amount
|
||||
|
||||
@installment_official_website_amount.setter
|
||||
def installment_official_website_amount(self, installment_official_website_amount):
|
||||
"""Sets the installment_official_website_amount of this OfficialWebsiteRatingResult.
|
||||
|
||||
分期金额的官网价。 说明: 暂只支持IES产品。
|
||||
|
||||
:param installment_official_website_amount: The installment_official_website_amount of this OfficialWebsiteRatingResult.
|
||||
:type: str
|
||||
"""
|
||||
self._installment_official_website_amount = installment_official_website_amount
|
||||
|
||||
@property
|
||||
def installment_period_type(self):
|
||||
"""Gets the installment_period_type of this OfficialWebsiteRatingResult.
|
||||
|
||||
分期付款的周期类型。 2:月 说明: 暂只支持IES产品。
|
||||
|
||||
:return: The installment_period_type of this OfficialWebsiteRatingResult.
|
||||
:rtype: int
|
||||
"""
|
||||
return self._installment_period_type
|
||||
|
||||
@installment_period_type.setter
|
||||
def installment_period_type(self, installment_period_type):
|
||||
"""Sets the installment_period_type of this OfficialWebsiteRatingResult.
|
||||
|
||||
分期付款的周期类型。 2:月 说明: 暂只支持IES产品。
|
||||
|
||||
:param installment_period_type: The installment_period_type of this OfficialWebsiteRatingResult.
|
||||
:type: int
|
||||
"""
|
||||
self._installment_period_type = installment_period_type
|
||||
|
||||
@property
|
||||
def measure_id(self):
|
||||
"""Gets the measure_id of this OfficialWebsiteRatingResult.
|
||||
|
|
|
@ -30,7 +30,11 @@ class OptionalDiscountRatingResult:
|
|||
'discount_type': 'int',
|
||||
'discount_name': 'str',
|
||||
'best_offer': 'int',
|
||||
'product_rating_results': 'list[PeriodProductRatingResult]'
|
||||
'product_rating_results': 'list[PeriodProductRatingResult]',
|
||||
'installment_official_website_amount': 'str',
|
||||
'installment_official_discount_amount': 'str',
|
||||
'installment_amount': 'str',
|
||||
'installment_period_type': 'int'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
|
@ -42,10 +46,14 @@ class OptionalDiscountRatingResult:
|
|||
'discount_type': 'discount_type',
|
||||
'discount_name': 'discount_name',
|
||||
'best_offer': 'best_offer',
|
||||
'product_rating_results': 'product_rating_results'
|
||||
'product_rating_results': 'product_rating_results',
|
||||
'installment_official_website_amount': 'installment_official_website_amount',
|
||||
'installment_official_discount_amount': 'installment_official_discount_amount',
|
||||
'installment_amount': 'installment_amount',
|
||||
'installment_period_type': 'installment_period_type'
|
||||
}
|
||||
|
||||
def __init__(self, discount_id=None, amount=None, official_website_amount=None, discount_amount=None, measure_id=None, discount_type=None, discount_name=None, best_offer=None, product_rating_results=None):
|
||||
def __init__(self, discount_id=None, amount=None, official_website_amount=None, discount_amount=None, measure_id=None, discount_type=None, discount_name=None, best_offer=None, product_rating_results=None, installment_official_website_amount=None, installment_official_discount_amount=None, installment_amount=None, installment_period_type=None):
|
||||
"""OptionalDiscountRatingResult - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
@ -59,6 +67,10 @@ class OptionalDiscountRatingResult:
|
|||
self._discount_name = None
|
||||
self._best_offer = None
|
||||
self._product_rating_results = None
|
||||
self._installment_official_website_amount = None
|
||||
self._installment_official_discount_amount = None
|
||||
self._installment_amount = None
|
||||
self._installment_period_type = None
|
||||
self.discriminator = None
|
||||
|
||||
if discount_id is not None:
|
||||
|
@ -79,6 +91,14 @@ class OptionalDiscountRatingResult:
|
|||
self.best_offer = best_offer
|
||||
if product_rating_results is not None:
|
||||
self.product_rating_results = product_rating_results
|
||||
if installment_official_website_amount is not None:
|
||||
self.installment_official_website_amount = installment_official_website_amount
|
||||
if installment_official_discount_amount is not None:
|
||||
self.installment_official_discount_amount = installment_official_discount_amount
|
||||
if installment_amount is not None:
|
||||
self.installment_amount = installment_amount
|
||||
if installment_period_type is not None:
|
||||
self.installment_period_type = installment_period_type
|
||||
|
||||
@property
|
||||
def discount_id(self):
|
||||
|
@ -278,6 +298,94 @@ class OptionalDiscountRatingResult:
|
|||
"""
|
||||
self._product_rating_results = product_rating_results
|
||||
|
||||
@property
|
||||
def installment_official_website_amount(self):
|
||||
"""Gets the installment_official_website_amount of this OptionalDiscountRatingResult.
|
||||
|
||||
分期金额的官网价。 说明: 暂只支持IES产品。
|
||||
|
||||
:return: The installment_official_website_amount of this OptionalDiscountRatingResult.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._installment_official_website_amount
|
||||
|
||||
@installment_official_website_amount.setter
|
||||
def installment_official_website_amount(self, installment_official_website_amount):
|
||||
"""Sets the installment_official_website_amount of this OptionalDiscountRatingResult.
|
||||
|
||||
分期金额的官网价。 说明: 暂只支持IES产品。
|
||||
|
||||
:param installment_official_website_amount: The installment_official_website_amount of this OptionalDiscountRatingResult.
|
||||
:type: str
|
||||
"""
|
||||
self._installment_official_website_amount = installment_official_website_amount
|
||||
|
||||
@property
|
||||
def installment_official_discount_amount(self):
|
||||
"""Gets the installment_official_discount_amount of this OptionalDiscountRatingResult.
|
||||
|
||||
分期金额的折扣价。 说明: 暂只支持IES产品。
|
||||
|
||||
:return: The installment_official_discount_amount of this OptionalDiscountRatingResult.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._installment_official_discount_amount
|
||||
|
||||
@installment_official_discount_amount.setter
|
||||
def installment_official_discount_amount(self, installment_official_discount_amount):
|
||||
"""Sets the installment_official_discount_amount of this OptionalDiscountRatingResult.
|
||||
|
||||
分期金额的折扣价。 说明: 暂只支持IES产品。
|
||||
|
||||
:param installment_official_discount_amount: The installment_official_discount_amount of this OptionalDiscountRatingResult.
|
||||
:type: str
|
||||
"""
|
||||
self._installment_official_discount_amount = installment_official_discount_amount
|
||||
|
||||
@property
|
||||
def installment_amount(self):
|
||||
"""Gets the installment_amount of this OptionalDiscountRatingResult.
|
||||
|
||||
分期金额的成交价。 说明: 分期金额的成交价=分期金额的官网价-分期金额的折扣价。暂只支持IES产品。
|
||||
|
||||
:return: The installment_amount of this OptionalDiscountRatingResult.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._installment_amount
|
||||
|
||||
@installment_amount.setter
|
||||
def installment_amount(self, installment_amount):
|
||||
"""Sets the installment_amount of this OptionalDiscountRatingResult.
|
||||
|
||||
分期金额的成交价。 说明: 分期金额的成交价=分期金额的官网价-分期金额的折扣价。暂只支持IES产品。
|
||||
|
||||
:param installment_amount: The installment_amount of this OptionalDiscountRatingResult.
|
||||
:type: str
|
||||
"""
|
||||
self._installment_amount = installment_amount
|
||||
|
||||
@property
|
||||
def installment_period_type(self):
|
||||
"""Gets the installment_period_type of this OptionalDiscountRatingResult.
|
||||
|
||||
分期付款的周期类型。 2:月 说明: 暂只支持IES产品。
|
||||
|
||||
:return: The installment_period_type of this OptionalDiscountRatingResult.
|
||||
:rtype: int
|
||||
"""
|
||||
return self._installment_period_type
|
||||
|
||||
@installment_period_type.setter
|
||||
def installment_period_type(self, installment_period_type):
|
||||
"""Sets the installment_period_type of this OptionalDiscountRatingResult.
|
||||
|
||||
分期付款的周期类型。 2:月 说明: 暂只支持IES产品。
|
||||
|
||||
:param installment_period_type: The installment_period_type of this OptionalDiscountRatingResult.
|
||||
:type: int
|
||||
"""
|
||||
self._installment_period_type = installment_period_type
|
||||
|
||||
def to_dict(self):
|
||||
"""Returns the model properties as a dict"""
|
||||
result = {}
|
||||
|
|
|
@ -32,7 +32,8 @@ class PeriodProductInfo:
|
|||
'size_measure_id': 'int',
|
||||
'period_type': 'int',
|
||||
'period_num': 'int',
|
||||
'subscription_num': 'int'
|
||||
'subscription_num': 'int',
|
||||
'fee_installment_mode': 'str'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
|
@ -46,10 +47,11 @@ class PeriodProductInfo:
|
|||
'size_measure_id': 'size_measure_id',
|
||||
'period_type': 'period_type',
|
||||
'period_num': 'period_num',
|
||||
'subscription_num': 'subscription_num'
|
||||
'subscription_num': 'subscription_num',
|
||||
'fee_installment_mode': 'fee_installment_mode'
|
||||
}
|
||||
|
||||
def __init__(self, id=None, cloud_service_type=None, resource_type=None, resource_spec=None, region=None, available_zone=None, resource_size=None, size_measure_id=None, period_type=None, period_num=None, subscription_num=None):
|
||||
def __init__(self, id=None, cloud_service_type=None, resource_type=None, resource_spec=None, region=None, available_zone=None, resource_size=None, size_measure_id=None, period_type=None, period_num=None, subscription_num=None, fee_installment_mode=None):
|
||||
"""PeriodProductInfo - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
@ -65,6 +67,7 @@ class PeriodProductInfo:
|
|||
self._period_type = None
|
||||
self._period_num = None
|
||||
self._subscription_num = None
|
||||
self._fee_installment_mode = None
|
||||
self.discriminator = None
|
||||
|
||||
self.id = id
|
||||
|
@ -81,6 +84,8 @@ class PeriodProductInfo:
|
|||
self.period_type = period_type
|
||||
self.period_num = period_num
|
||||
self.subscription_num = subscription_num
|
||||
if fee_installment_mode is not None:
|
||||
self.fee_installment_mode = fee_installment_mode
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
|
@ -152,7 +157,7 @@ class PeriodProductInfo:
|
|||
def resource_spec(self):
|
||||
"""Gets the resource_spec of this PeriodProductInfo.
|
||||
|
||||
云服务类型的资源规格,部分云服务类型和资源规格举例如下: 弹性云服务器:根据操作系统类型在云服务器规格的ID后添加“.win”或“.linux”,例如“s2.small.1.linux”。云服务器规格的ID字段,您可以调用查询规格详情和规格扩展信息列表接口获取。 带宽:12_bgp:动态BGP按流量计费带宽12_sbgp:静态BGP按流量计费带宽19_bgp:动态BGP按带宽计费带宽19_sbgp:静态BGP按带宽计费带宽19_share:按带宽计费共享带宽 IP:5_bgp:动态BGP公网IP5_sbgp:静态BGP公网IP
|
||||
云服务类型的资源规格,部分云服务类型和资源规格举例如下: 弹性云服务器:根据操作系统类型在云服务器规格的ID后添加“.win”或“.linux”,例如“s2.small.1.linux”。云服务器规格的ID字段,您可以调用查询规格详情和规格扩展信息列表接口获取。 带宽:12_bgp:动态BGP按流量计费带宽12_sbgp:静态BGP按流量计费带宽19_bgp:动态BGP按带宽计费带宽19_sbgp:静态BGP按带宽计费带宽19_share:按带宽计费共享带宽 IP:5_bgp:动态BGP公网IP5_sbgp:静态BGP公网IP 云数据库:云数据库的资源规格信息,您可以调用查询数据库规格接口获取。 分布式缓存服务:分布式缓存服务的资源规格信息,您可以调用查询产品规格接口获取。
|
||||
|
||||
:return: The resource_spec of this PeriodProductInfo.
|
||||
:rtype: str
|
||||
|
@ -163,7 +168,7 @@ class PeriodProductInfo:
|
|||
def resource_spec(self, resource_spec):
|
||||
"""Sets the resource_spec of this PeriodProductInfo.
|
||||
|
||||
云服务类型的资源规格,部分云服务类型和资源规格举例如下: 弹性云服务器:根据操作系统类型在云服务器规格的ID后添加“.win”或“.linux”,例如“s2.small.1.linux”。云服务器规格的ID字段,您可以调用查询规格详情和规格扩展信息列表接口获取。 带宽:12_bgp:动态BGP按流量计费带宽12_sbgp:静态BGP按流量计费带宽19_bgp:动态BGP按带宽计费带宽19_sbgp:静态BGP按带宽计费带宽19_share:按带宽计费共享带宽 IP:5_bgp:动态BGP公网IP5_sbgp:静态BGP公网IP
|
||||
云服务类型的资源规格,部分云服务类型和资源规格举例如下: 弹性云服务器:根据操作系统类型在云服务器规格的ID后添加“.win”或“.linux”,例如“s2.small.1.linux”。云服务器规格的ID字段,您可以调用查询规格详情和规格扩展信息列表接口获取。 带宽:12_bgp:动态BGP按流量计费带宽12_sbgp:静态BGP按流量计费带宽19_bgp:动态BGP按带宽计费带宽19_sbgp:静态BGP按带宽计费带宽19_share:按带宽计费共享带宽 IP:5_bgp:动态BGP公网IP5_sbgp:静态BGP公网IP 云数据库:云数据库的资源规格信息,您可以调用查询数据库规格接口获取。 分布式缓存服务:分布式缓存服务的资源规格信息,您可以调用查询产品规格接口获取。
|
||||
|
||||
:param resource_spec: The resource_spec of this PeriodProductInfo.
|
||||
:type: str
|
||||
|
@ -324,6 +329,28 @@ class PeriodProductInfo:
|
|||
"""
|
||||
self._subscription_num = subscription_num
|
||||
|
||||
@property
|
||||
def fee_installment_mode(self):
|
||||
"""Gets the fee_installment_mode of this PeriodProductInfo.
|
||||
|
||||
费用分期模式。 HALF_PAY:半付ZERO_PAY:零付NA:不支持费用分期模式 说明: 此参数不传则默认为空,效果等同于“NA:不支持费用分期模式”。暂只支持IES产品。
|
||||
|
||||
:return: The fee_installment_mode of this PeriodProductInfo.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._fee_installment_mode
|
||||
|
||||
@fee_installment_mode.setter
|
||||
def fee_installment_mode(self, fee_installment_mode):
|
||||
"""Sets the fee_installment_mode of this PeriodProductInfo.
|
||||
|
||||
费用分期模式。 HALF_PAY:半付ZERO_PAY:零付NA:不支持费用分期模式 说明: 此参数不传则默认为空,效果等同于“NA:不支持费用分期模式”。暂只支持IES产品。
|
||||
|
||||
:param fee_installment_mode: The fee_installment_mode of this PeriodProductInfo.
|
||||
:type: str
|
||||
"""
|
||||
self._fee_installment_mode = fee_installment_mode
|
||||
|
||||
def to_dict(self):
|
||||
"""Returns the model properties as a dict"""
|
||||
result = {}
|
||||
|
|
|
@ -25,17 +25,21 @@ class PeriodProductOfficialRatingResult:
|
|||
'id': 'str',
|
||||
'product_id': 'str',
|
||||
'official_website_amount': 'float',
|
||||
'measure_id': 'int'
|
||||
'measure_id': 'int',
|
||||
'installment_official_website_amount': 'str',
|
||||
'installment_period_type': 'int'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'id': 'id',
|
||||
'product_id': 'product_id',
|
||||
'official_website_amount': 'official_website_amount',
|
||||
'measure_id': 'measure_id'
|
||||
'measure_id': 'measure_id',
|
||||
'installment_official_website_amount': 'installment_official_website_amount',
|
||||
'installment_period_type': 'installment_period_type'
|
||||
}
|
||||
|
||||
def __init__(self, id=None, product_id=None, official_website_amount=None, measure_id=None):
|
||||
def __init__(self, id=None, product_id=None, official_website_amount=None, measure_id=None, installment_official_website_amount=None, installment_period_type=None):
|
||||
"""PeriodProductOfficialRatingResult - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
@ -44,6 +48,8 @@ class PeriodProductOfficialRatingResult:
|
|||
self._product_id = None
|
||||
self._official_website_amount = None
|
||||
self._measure_id = None
|
||||
self._installment_official_website_amount = None
|
||||
self._installment_period_type = None
|
||||
self.discriminator = None
|
||||
|
||||
if id is not None:
|
||||
|
@ -54,6 +60,10 @@ class PeriodProductOfficialRatingResult:
|
|||
self.official_website_amount = official_website_amount
|
||||
if measure_id is not None:
|
||||
self.measure_id = measure_id
|
||||
if installment_official_website_amount is not None:
|
||||
self.installment_official_website_amount = installment_official_website_amount
|
||||
if installment_period_type is not None:
|
||||
self.installment_period_type = installment_period_type
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
|
@ -143,6 +153,50 @@ class PeriodProductOfficialRatingResult:
|
|||
"""
|
||||
self._measure_id = measure_id
|
||||
|
||||
@property
|
||||
def installment_official_website_amount(self):
|
||||
"""Gets the installment_official_website_amount of this PeriodProductOfficialRatingResult.
|
||||
|
||||
分期金额的官网价。 说明: 暂只支持IES产品。
|
||||
|
||||
:return: The installment_official_website_amount of this PeriodProductOfficialRatingResult.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._installment_official_website_amount
|
||||
|
||||
@installment_official_website_amount.setter
|
||||
def installment_official_website_amount(self, installment_official_website_amount):
|
||||
"""Sets the installment_official_website_amount of this PeriodProductOfficialRatingResult.
|
||||
|
||||
分期金额的官网价。 说明: 暂只支持IES产品。
|
||||
|
||||
:param installment_official_website_amount: The installment_official_website_amount of this PeriodProductOfficialRatingResult.
|
||||
:type: str
|
||||
"""
|
||||
self._installment_official_website_amount = installment_official_website_amount
|
||||
|
||||
@property
|
||||
def installment_period_type(self):
|
||||
"""Gets the installment_period_type of this PeriodProductOfficialRatingResult.
|
||||
|
||||
分期付款的周期类型。 2:月 说明: 暂只支持IES产品。
|
||||
|
||||
:return: The installment_period_type of this PeriodProductOfficialRatingResult.
|
||||
:rtype: int
|
||||
"""
|
||||
return self._installment_period_type
|
||||
|
||||
@installment_period_type.setter
|
||||
def installment_period_type(self, installment_period_type):
|
||||
"""Sets the installment_period_type of this PeriodProductOfficialRatingResult.
|
||||
|
||||
分期付款的周期类型。 2:月 说明: 暂只支持IES产品。
|
||||
|
||||
:param installment_period_type: The installment_period_type of this PeriodProductOfficialRatingResult.
|
||||
:type: int
|
||||
"""
|
||||
self._installment_period_type = installment_period_type
|
||||
|
||||
def to_dict(self):
|
||||
"""Returns the model properties as a dict"""
|
||||
result = {}
|
||||
|
|
|
@ -27,7 +27,11 @@ class PeriodProductRatingResult:
|
|||
'amount': 'float',
|
||||
'official_website_amount': 'float',
|
||||
'discount_amount': 'float',
|
||||
'measure_id': 'int'
|
||||
'measure_id': 'int',
|
||||
'installment_official_website_amount': 'str',
|
||||
'installment_official_discount_amount': 'str',
|
||||
'installment_amount': 'str',
|
||||
'installment_period_type': 'int'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
|
@ -36,10 +40,14 @@ class PeriodProductRatingResult:
|
|||
'amount': 'amount',
|
||||
'official_website_amount': 'official_website_amount',
|
||||
'discount_amount': 'discount_amount',
|
||||
'measure_id': 'measure_id'
|
||||
'measure_id': 'measure_id',
|
||||
'installment_official_website_amount': 'installment_official_website_amount',
|
||||
'installment_official_discount_amount': 'installment_official_discount_amount',
|
||||
'installment_amount': 'installment_amount',
|
||||
'installment_period_type': 'installment_period_type'
|
||||
}
|
||||
|
||||
def __init__(self, id=None, product_id=None, amount=None, official_website_amount=None, discount_amount=None, measure_id=None):
|
||||
def __init__(self, id=None, product_id=None, amount=None, official_website_amount=None, discount_amount=None, measure_id=None, installment_official_website_amount=None, installment_official_discount_amount=None, installment_amount=None, installment_period_type=None):
|
||||
"""PeriodProductRatingResult - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
@ -50,6 +58,10 @@ class PeriodProductRatingResult:
|
|||
self._official_website_amount = None
|
||||
self._discount_amount = None
|
||||
self._measure_id = None
|
||||
self._installment_official_website_amount = None
|
||||
self._installment_official_discount_amount = None
|
||||
self._installment_amount = None
|
||||
self._installment_period_type = None
|
||||
self.discriminator = None
|
||||
|
||||
if id is not None:
|
||||
|
@ -64,6 +76,14 @@ class PeriodProductRatingResult:
|
|||
self.discount_amount = discount_amount
|
||||
if measure_id is not None:
|
||||
self.measure_id = measure_id
|
||||
if installment_official_website_amount is not None:
|
||||
self.installment_official_website_amount = installment_official_website_amount
|
||||
if installment_official_discount_amount is not None:
|
||||
self.installment_official_discount_amount = installment_official_discount_amount
|
||||
if installment_amount is not None:
|
||||
self.installment_amount = installment_amount
|
||||
if installment_period_type is not None:
|
||||
self.installment_period_type = installment_period_type
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
|
@ -197,6 +217,94 @@ class PeriodProductRatingResult:
|
|||
"""
|
||||
self._measure_id = measure_id
|
||||
|
||||
@property
|
||||
def installment_official_website_amount(self):
|
||||
"""Gets the installment_official_website_amount of this PeriodProductRatingResult.
|
||||
|
||||
分期金额的官网价。 说明: 暂只支持IES产品。
|
||||
|
||||
:return: The installment_official_website_amount of this PeriodProductRatingResult.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._installment_official_website_amount
|
||||
|
||||
@installment_official_website_amount.setter
|
||||
def installment_official_website_amount(self, installment_official_website_amount):
|
||||
"""Sets the installment_official_website_amount of this PeriodProductRatingResult.
|
||||
|
||||
分期金额的官网价。 说明: 暂只支持IES产品。
|
||||
|
||||
:param installment_official_website_amount: The installment_official_website_amount of this PeriodProductRatingResult.
|
||||
:type: str
|
||||
"""
|
||||
self._installment_official_website_amount = installment_official_website_amount
|
||||
|
||||
@property
|
||||
def installment_official_discount_amount(self):
|
||||
"""Gets the installment_official_discount_amount of this PeriodProductRatingResult.
|
||||
|
||||
分期金额的折扣价。 说明: 暂只支持IES产品。
|
||||
|
||||
:return: The installment_official_discount_amount of this PeriodProductRatingResult.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._installment_official_discount_amount
|
||||
|
||||
@installment_official_discount_amount.setter
|
||||
def installment_official_discount_amount(self, installment_official_discount_amount):
|
||||
"""Sets the installment_official_discount_amount of this PeriodProductRatingResult.
|
||||
|
||||
分期金额的折扣价。 说明: 暂只支持IES产品。
|
||||
|
||||
:param installment_official_discount_amount: The installment_official_discount_amount of this PeriodProductRatingResult.
|
||||
:type: str
|
||||
"""
|
||||
self._installment_official_discount_amount = installment_official_discount_amount
|
||||
|
||||
@property
|
||||
def installment_amount(self):
|
||||
"""Gets the installment_amount of this PeriodProductRatingResult.
|
||||
|
||||
分期金额的成交价。 说明: 分期金额的成交价=分期金额的官网价-分期金额的折扣价。暂只支持IES产品。
|
||||
|
||||
:return: The installment_amount of this PeriodProductRatingResult.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._installment_amount
|
||||
|
||||
@installment_amount.setter
|
||||
def installment_amount(self, installment_amount):
|
||||
"""Sets the installment_amount of this PeriodProductRatingResult.
|
||||
|
||||
分期金额的成交价。 说明: 分期金额的成交价=分期金额的官网价-分期金额的折扣价。暂只支持IES产品。
|
||||
|
||||
:param installment_amount: The installment_amount of this PeriodProductRatingResult.
|
||||
:type: str
|
||||
"""
|
||||
self._installment_amount = installment_amount
|
||||
|
||||
@property
|
||||
def installment_period_type(self):
|
||||
"""Gets the installment_period_type of this PeriodProductRatingResult.
|
||||
|
||||
分期付款的周期类型。 2:月 说明: 暂只支持IES产品。
|
||||
|
||||
:return: The installment_period_type of this PeriodProductRatingResult.
|
||||
:rtype: int
|
||||
"""
|
||||
return self._installment_period_type
|
||||
|
||||
@installment_period_type.setter
|
||||
def installment_period_type(self, installment_period_type):
|
||||
"""Sets the installment_period_type of this PeriodProductRatingResult.
|
||||
|
||||
分期付款的周期类型。 2:月 说明: 暂只支持IES产品。
|
||||
|
||||
:param installment_period_type: The installment_period_type of this PeriodProductRatingResult.
|
||||
:type: int
|
||||
"""
|
||||
self._installment_period_type = installment_period_type
|
||||
|
||||
def to_dict(self):
|
||||
"""Returns the model properties as a dict"""
|
||||
result = {}
|
||||
|
|
|
@ -240,7 +240,7 @@ class QueryResRecordsDetailReq:
|
|||
def bill_type(self):
|
||||
"""Gets the bill_type of this QueryResRecordsDetailReq.
|
||||
|
||||
账单类型: 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费
|
||||
账单类型: 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:return: The bill_type of this QueryResRecordsDetailReq.
|
||||
:rtype: int
|
||||
|
@ -251,7 +251,7 @@ class QueryResRecordsDetailReq:
|
|||
def bill_type(self, bill_type):
|
||||
"""Sets the bill_type of this QueryResRecordsDetailReq.
|
||||
|
||||
账单类型: 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费
|
||||
账单类型: 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:param bill_type: The bill_type of this QueryResRecordsDetailReq.
|
||||
:type: int
|
||||
|
|
|
@ -291,7 +291,7 @@ class ResFeeRecordV2:
|
|||
def bill_type(self):
|
||||
"""Gets the bill_type of this ResFeeRecordV2.
|
||||
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:return: The bill_type of this ResFeeRecordV2.
|
||||
:rtype: int
|
||||
|
@ -302,7 +302,7 @@ class ResFeeRecordV2:
|
|||
def bill_type(self, bill_type):
|
||||
"""Sets the bill_type of this ResFeeRecordV2.
|
||||
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更
|
||||
|
||||
:param bill_type: The bill_type of this ResFeeRecordV2.
|
||||
:type: int
|
||||
|
|
|
@ -405,7 +405,7 @@ class SubCustomerMonthlyBillDetail:
|
|||
def bill_detail_type(self):
|
||||
"""Gets the bill_detail_type of this SubCustomerMonthlyBillDetail.
|
||||
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更8:消费-自动续订5:消费-使用12:消费-按时计费4:退款-退订9:调账-补偿13:消费-退订手续费增收14:消费-服务支持计划月末补扣16:调账-扣费20:退款-变更100:退款-退订税金101:调账-补偿税金102:调账-扣费税金
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更8:消费-自动续订5:消费-使用12:消费-按时计费4:退款-退订9:调账-补偿13:消费-退订手续费增收14:消费-服务支持计划月末补扣16:调账-扣费18:消费-按月付费20:退款-变更100:退款-退订税金101:调账-补偿税金102:调账-扣费税金
|
||||
|
||||
:return: The bill_detail_type of this SubCustomerMonthlyBillDetail.
|
||||
:rtype: int
|
||||
|
@ -416,7 +416,7 @@ class SubCustomerMonthlyBillDetail:
|
|||
def bill_detail_type(self, bill_detail_type):
|
||||
"""Sets the bill_detail_type of this SubCustomerMonthlyBillDetail.
|
||||
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更8:消费-自动续订5:消费-使用12:消费-按时计费4:退款-退订9:调账-补偿13:消费-退订手续费增收14:消费-服务支持计划月末补扣16:调账-扣费20:退款-变更100:退款-退订税金101:调账-补偿税金102:调账-扣费税金
|
||||
账单类型。 1:消费-新购2:消费-续订3:消费-变更8:消费-自动续订5:消费-使用12:消费-按时计费4:退款-退订9:调账-补偿13:消费-退订手续费增收14:消费-服务支持计划月末补扣16:调账-扣费18:消费-按月付费20:退款-变更100:退款-退订税金101:调账-补偿税金102:调账-扣费税金
|
||||
|
||||
:param bill_detail_type: The bill_detail_type of this SubCustomerMonthlyBillDetail.
|
||||
:type: int
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkbss"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -23,28 +23,38 @@ class OfficialWebsiteRatingResult:
|
|||
|
||||
openapi_types = {
|
||||
'official_website_amount': 'decimal.Decimal',
|
||||
'installment_official_website_amount': 'str',
|
||||
'installment_period_type': 'int',
|
||||
'measure_id': 'int',
|
||||
'product_rating_results': 'list[PeriodProductOfficialRatingResult]'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'official_website_amount': 'official_website_amount',
|
||||
'installment_official_website_amount': 'installment_official_website_amount',
|
||||
'installment_period_type': 'installment_period_type',
|
||||
'measure_id': 'measure_id',
|
||||
'product_rating_results': 'product_rating_results'
|
||||
}
|
||||
|
||||
def __init__(self, official_website_amount=None, measure_id=None, product_rating_results=None):
|
||||
def __init__(self, official_website_amount=None, installment_official_website_amount=None, installment_period_type=None, measure_id=None, product_rating_results=None):
|
||||
"""OfficialWebsiteRatingResult - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._official_website_amount = None
|
||||
self._installment_official_website_amount = None
|
||||
self._installment_period_type = None
|
||||
self._measure_id = None
|
||||
self._product_rating_results = None
|
||||
self.discriminator = None
|
||||
|
||||
if official_website_amount is not None:
|
||||
self.official_website_amount = official_website_amount
|
||||
if installment_official_website_amount is not None:
|
||||
self.installment_official_website_amount = installment_official_website_amount
|
||||
if installment_period_type is not None:
|
||||
self.installment_period_type = installment_period_type
|
||||
if measure_id is not None:
|
||||
self.measure_id = measure_id
|
||||
if product_rating_results is not None:
|
||||
|
@ -72,6 +82,50 @@ class OfficialWebsiteRatingResult:
|
|||
"""
|
||||
self._official_website_amount = official_website_amount
|
||||
|
||||
@property
|
||||
def installment_official_website_amount(self):
|
||||
"""Gets the installment_official_website_amount of this OfficialWebsiteRatingResult.
|
||||
|
||||
|参数名称:分期金额的官网价|
|
||||
|
||||
:return: The installment_official_website_amount of this OfficialWebsiteRatingResult.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._installment_official_website_amount
|
||||
|
||||
@installment_official_website_amount.setter
|
||||
def installment_official_website_amount(self, installment_official_website_amount):
|
||||
"""Sets the installment_official_website_amount of this OfficialWebsiteRatingResult.
|
||||
|
||||
|参数名称:分期金额的官网价|
|
||||
|
||||
:param installment_official_website_amount: The installment_official_website_amount of this OfficialWebsiteRatingResult.
|
||||
:type: str
|
||||
"""
|
||||
self._installment_official_website_amount = installment_official_website_amount
|
||||
|
||||
@property
|
||||
def installment_period_type(self):
|
||||
"""Gets the installment_period_type of this OfficialWebsiteRatingResult.
|
||||
|
||||
|参数名称:分期付款的周期类型2:月|
|
||||
|
||||
:return: The installment_period_type of this OfficialWebsiteRatingResult.
|
||||
:rtype: int
|
||||
"""
|
||||
return self._installment_period_type
|
||||
|
||||
@installment_period_type.setter
|
||||
def installment_period_type(self, installment_period_type):
|
||||
"""Sets the installment_period_type of this OfficialWebsiteRatingResult.
|
||||
|
||||
|参数名称:分期付款的周期类型2:月|
|
||||
|
||||
:param installment_period_type: The installment_period_type of this OfficialWebsiteRatingResult.
|
||||
:type: int
|
||||
"""
|
||||
self._installment_period_type = installment_period_type
|
||||
|
||||
@property
|
||||
def measure_id(self):
|
||||
"""Gets the measure_id of this OfficialWebsiteRatingResult.
|
||||
|
|
|
@ -30,7 +30,11 @@ class OptionalDiscountRatingResult:
|
|||
'discount_type': 'int',
|
||||
'discount_name': 'str',
|
||||
'best_offer': 'int',
|
||||
'product_rating_results': 'list[PeriodProductRatingResult]'
|
||||
'product_rating_results': 'list[PeriodProductRatingResult]',
|
||||
'installment_official_website_amount': 'str',
|
||||
'installment_official_discount_amount': 'str',
|
||||
'installment_amount': 'str',
|
||||
'installment_period_type': 'int'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
|
@ -42,10 +46,14 @@ class OptionalDiscountRatingResult:
|
|||
'discount_type': 'discount_type',
|
||||
'discount_name': 'discount_name',
|
||||
'best_offer': 'best_offer',
|
||||
'product_rating_results': 'product_rating_results'
|
||||
'product_rating_results': 'product_rating_results',
|
||||
'installment_official_website_amount': 'installment_official_website_amount',
|
||||
'installment_official_discount_amount': 'installment_official_discount_amount',
|
||||
'installment_amount': 'installment_amount',
|
||||
'installment_period_type': 'installment_period_type'
|
||||
}
|
||||
|
||||
def __init__(self, discount_id=None, amount=None, official_website_amount=None, discount_amount=None, measure_id=None, discount_type=None, discount_name=None, best_offer=None, product_rating_results=None):
|
||||
def __init__(self, discount_id=None, amount=None, official_website_amount=None, discount_amount=None, measure_id=None, discount_type=None, discount_name=None, best_offer=None, product_rating_results=None, installment_official_website_amount=None, installment_official_discount_amount=None, installment_amount=None, installment_period_type=None):
|
||||
"""OptionalDiscountRatingResult - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
@ -59,6 +67,10 @@ class OptionalDiscountRatingResult:
|
|||
self._discount_name = None
|
||||
self._best_offer = None
|
||||
self._product_rating_results = None
|
||||
self._installment_official_website_amount = None
|
||||
self._installment_official_discount_amount = None
|
||||
self._installment_amount = None
|
||||
self._installment_period_type = None
|
||||
self.discriminator = None
|
||||
|
||||
if discount_id is not None:
|
||||
|
@ -79,6 +91,14 @@ class OptionalDiscountRatingResult:
|
|||
self.best_offer = best_offer
|
||||
if product_rating_results is not None:
|
||||
self.product_rating_results = product_rating_results
|
||||
if installment_official_website_amount is not None:
|
||||
self.installment_official_website_amount = installment_official_website_amount
|
||||
if installment_official_discount_amount is not None:
|
||||
self.installment_official_discount_amount = installment_official_discount_amount
|
||||
if installment_amount is not None:
|
||||
self.installment_amount = installment_amount
|
||||
if installment_period_type is not None:
|
||||
self.installment_period_type = installment_period_type
|
||||
|
||||
@property
|
||||
def discount_id(self):
|
||||
|
@ -278,6 +298,94 @@ class OptionalDiscountRatingResult:
|
|||
"""
|
||||
self._product_rating_results = product_rating_results
|
||||
|
||||
@property
|
||||
def installment_official_website_amount(self):
|
||||
"""Gets the installment_official_website_amount of this OptionalDiscountRatingResult.
|
||||
|
||||
|参数名称:分期金额的官网价| |参数约束及描述:分期金额的官网价|
|
||||
|
||||
:return: The installment_official_website_amount of this OptionalDiscountRatingResult.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._installment_official_website_amount
|
||||
|
||||
@installment_official_website_amount.setter
|
||||
def installment_official_website_amount(self, installment_official_website_amount):
|
||||
"""Sets the installment_official_website_amount of this OptionalDiscountRatingResult.
|
||||
|
||||
|参数名称:分期金额的官网价| |参数约束及描述:分期金额的官网价|
|
||||
|
||||
:param installment_official_website_amount: The installment_official_website_amount of this OptionalDiscountRatingResult.
|
||||
:type: str
|
||||
"""
|
||||
self._installment_official_website_amount = installment_official_website_amount
|
||||
|
||||
@property
|
||||
def installment_official_discount_amount(self):
|
||||
"""Gets the installment_official_discount_amount of this OptionalDiscountRatingResult.
|
||||
|
||||
|参数名称:分期金额的折扣价| |参数约束及描述:分期金额的折扣价|
|
||||
|
||||
:return: The installment_official_discount_amount of this OptionalDiscountRatingResult.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._installment_official_discount_amount
|
||||
|
||||
@installment_official_discount_amount.setter
|
||||
def installment_official_discount_amount(self, installment_official_discount_amount):
|
||||
"""Sets the installment_official_discount_amount of this OptionalDiscountRatingResult.
|
||||
|
||||
|参数名称:分期金额的折扣价| |参数约束及描述:分期金额的折扣价|
|
||||
|
||||
:param installment_official_discount_amount: The installment_official_discount_amount of this OptionalDiscountRatingResult.
|
||||
:type: str
|
||||
"""
|
||||
self._installment_official_discount_amount = installment_official_discount_amount
|
||||
|
||||
@property
|
||||
def installment_amount(self):
|
||||
"""Gets the installment_amount of this OptionalDiscountRatingResult.
|
||||
|
||||
|参数名称:分期金额的成交价| |参数约束及描述:分期金额的成交价,installment_amount=installment_official_website_amount-installment_discount_amount|
|
||||
|
||||
:return: The installment_amount of this OptionalDiscountRatingResult.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._installment_amount
|
||||
|
||||
@installment_amount.setter
|
||||
def installment_amount(self, installment_amount):
|
||||
"""Sets the installment_amount of this OptionalDiscountRatingResult.
|
||||
|
||||
|参数名称:分期金额的成交价| |参数约束及描述:分期金额的成交价,installment_amount=installment_official_website_amount-installment_discount_amount|
|
||||
|
||||
:param installment_amount: The installment_amount of this OptionalDiscountRatingResult.
|
||||
:type: str
|
||||
"""
|
||||
self._installment_amount = installment_amount
|
||||
|
||||
@property
|
||||
def installment_period_type(self):
|
||||
"""Gets the installment_period_type of this OptionalDiscountRatingResult.
|
||||
|
||||
|参数名称:分期付款的周期类型| |参数约束及描述:2:月|
|
||||
|
||||
:return: The installment_period_type of this OptionalDiscountRatingResult.
|
||||
:rtype: int
|
||||
"""
|
||||
return self._installment_period_type
|
||||
|
||||
@installment_period_type.setter
|
||||
def installment_period_type(self, installment_period_type):
|
||||
"""Sets the installment_period_type of this OptionalDiscountRatingResult.
|
||||
|
||||
|参数名称:分期付款的周期类型| |参数约束及描述:2:月|
|
||||
|
||||
:param installment_period_type: The installment_period_type of this OptionalDiscountRatingResult.
|
||||
:type: int
|
||||
"""
|
||||
self._installment_period_type = installment_period_type
|
||||
|
||||
def to_dict(self):
|
||||
"""Returns the model properties as a dict"""
|
||||
result = {}
|
||||
|
|
|
@ -32,7 +32,8 @@ class PeriodProductInfo:
|
|||
'size_measure_id': 'int',
|
||||
'period_type': 'int',
|
||||
'period_num': 'int',
|
||||
'subscription_num': 'int'
|
||||
'subscription_num': 'int',
|
||||
'fee_installment_mode': 'str'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
|
@ -46,10 +47,11 @@ class PeriodProductInfo:
|
|||
'size_measure_id': 'size_measure_id',
|
||||
'period_type': 'period_type',
|
||||
'period_num': 'period_num',
|
||||
'subscription_num': 'subscription_num'
|
||||
'subscription_num': 'subscription_num',
|
||||
'fee_installment_mode': 'fee_installment_mode'
|
||||
}
|
||||
|
||||
def __init__(self, id=None, cloud_service_type=None, resource_type=None, resource_spec=None, region=None, available_zone=None, resource_size=None, size_measure_id=None, period_type=None, period_num=None, subscription_num=None):
|
||||
def __init__(self, id=None, cloud_service_type=None, resource_type=None, resource_spec=None, region=None, available_zone=None, resource_size=None, size_measure_id=None, period_type=None, period_num=None, subscription_num=None, fee_installment_mode=None):
|
||||
"""PeriodProductInfo - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
@ -65,6 +67,7 @@ class PeriodProductInfo:
|
|||
self._period_type = None
|
||||
self._period_num = None
|
||||
self._subscription_num = None
|
||||
self._fee_installment_mode = None
|
||||
self.discriminator = None
|
||||
|
||||
self.id = id
|
||||
|
@ -81,6 +84,8 @@ class PeriodProductInfo:
|
|||
self.period_type = period_type
|
||||
self.period_num = period_num
|
||||
self.subscription_num = subscription_num
|
||||
if fee_installment_mode is not None:
|
||||
self.fee_installment_mode = fee_installment_mode
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
|
@ -324,6 +329,28 @@ class PeriodProductInfo:
|
|||
"""
|
||||
self._subscription_num = subscription_num
|
||||
|
||||
@property
|
||||
def fee_installment_mode(self):
|
||||
"""Gets the fee_installment_mode of this PeriodProductInfo.
|
||||
|
||||
|参数名称:费用分期模式| |参数约束及描述:HALF_PAY:半付;ZERO_PAY:零付;NA:不支持费用分期模式;不传默认为空,效果等同于NA|
|
||||
|
||||
:return: The fee_installment_mode of this PeriodProductInfo.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._fee_installment_mode
|
||||
|
||||
@fee_installment_mode.setter
|
||||
def fee_installment_mode(self, fee_installment_mode):
|
||||
"""Sets the fee_installment_mode of this PeriodProductInfo.
|
||||
|
||||
|参数名称:费用分期模式| |参数约束及描述:HALF_PAY:半付;ZERO_PAY:零付;NA:不支持费用分期模式;不传默认为空,效果等同于NA|
|
||||
|
||||
:param fee_installment_mode: The fee_installment_mode of this PeriodProductInfo.
|
||||
:type: str
|
||||
"""
|
||||
self._fee_installment_mode = fee_installment_mode
|
||||
|
||||
def to_dict(self):
|
||||
"""Returns the model properties as a dict"""
|
||||
result = {}
|
||||
|
|
|
@ -25,17 +25,21 @@ class PeriodProductOfficialRatingResult:
|
|||
'id': 'str',
|
||||
'product_id': 'str',
|
||||
'official_website_amount': 'decimal.Decimal',
|
||||
'measure_id': 'int'
|
||||
'measure_id': 'int',
|
||||
'installment_official_website_amount': 'str',
|
||||
'installment_period_type': 'int'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'id': 'id',
|
||||
'product_id': 'product_id',
|
||||
'official_website_amount': 'official_website_amount',
|
||||
'measure_id': 'measure_id'
|
||||
'measure_id': 'measure_id',
|
||||
'installment_official_website_amount': 'installment_official_website_amount',
|
||||
'installment_period_type': 'installment_period_type'
|
||||
}
|
||||
|
||||
def __init__(self, id=None, product_id=None, official_website_amount=None, measure_id=None):
|
||||
def __init__(self, id=None, product_id=None, official_website_amount=None, measure_id=None, installment_official_website_amount=None, installment_period_type=None):
|
||||
"""PeriodProductOfficialRatingResult - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
@ -44,6 +48,8 @@ class PeriodProductOfficialRatingResult:
|
|||
self._product_id = None
|
||||
self._official_website_amount = None
|
||||
self._measure_id = None
|
||||
self._installment_official_website_amount = None
|
||||
self._installment_period_type = None
|
||||
self.discriminator = None
|
||||
|
||||
if id is not None:
|
||||
|
@ -54,6 +60,10 @@ class PeriodProductOfficialRatingResult:
|
|||
self.official_website_amount = official_website_amount
|
||||
if measure_id is not None:
|
||||
self.measure_id = measure_id
|
||||
if installment_official_website_amount is not None:
|
||||
self.installment_official_website_amount = installment_official_website_amount
|
||||
if installment_period_type is not None:
|
||||
self.installment_period_type = installment_period_type
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
|
@ -143,6 +153,50 @@ class PeriodProductOfficialRatingResult:
|
|||
"""
|
||||
self._measure_id = measure_id
|
||||
|
||||
@property
|
||||
def installment_official_website_amount(self):
|
||||
"""Gets the installment_official_website_amount of this PeriodProductOfficialRatingResult.
|
||||
|
||||
|参数名称:分期金额的官网价| |参数约束及描述:分期金额的官网价|
|
||||
|
||||
:return: The installment_official_website_amount of this PeriodProductOfficialRatingResult.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._installment_official_website_amount
|
||||
|
||||
@installment_official_website_amount.setter
|
||||
def installment_official_website_amount(self, installment_official_website_amount):
|
||||
"""Sets the installment_official_website_amount of this PeriodProductOfficialRatingResult.
|
||||
|
||||
|参数名称:分期金额的官网价| |参数约束及描述:分期金额的官网价|
|
||||
|
||||
:param installment_official_website_amount: The installment_official_website_amount of this PeriodProductOfficialRatingResult.
|
||||
:type: str
|
||||
"""
|
||||
self._installment_official_website_amount = installment_official_website_amount
|
||||
|
||||
@property
|
||||
def installment_period_type(self):
|
||||
"""Gets the installment_period_type of this PeriodProductOfficialRatingResult.
|
||||
|
||||
|参数名称:分期付款的周期类型2:月|
|
||||
|
||||
:return: The installment_period_type of this PeriodProductOfficialRatingResult.
|
||||
:rtype: int
|
||||
"""
|
||||
return self._installment_period_type
|
||||
|
||||
@installment_period_type.setter
|
||||
def installment_period_type(self, installment_period_type):
|
||||
"""Sets the installment_period_type of this PeriodProductOfficialRatingResult.
|
||||
|
||||
|参数名称:分期付款的周期类型2:月|
|
||||
|
||||
:param installment_period_type: The installment_period_type of this PeriodProductOfficialRatingResult.
|
||||
:type: int
|
||||
"""
|
||||
self._installment_period_type = installment_period_type
|
||||
|
||||
def to_dict(self):
|
||||
"""Returns the model properties as a dict"""
|
||||
result = {}
|
||||
|
|
|
@ -27,7 +27,11 @@ class PeriodProductRatingResult:
|
|||
'amount': 'decimal.Decimal',
|
||||
'official_website_amount': 'decimal.Decimal',
|
||||
'discount_amount': 'decimal.Decimal',
|
||||
'measure_id': 'int'
|
||||
'measure_id': 'int',
|
||||
'installment_official_website_amount': 'str',
|
||||
'installment_official_discount_amount': 'str',
|
||||
'installment_amount': 'str',
|
||||
'installment_period_type': 'int'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
|
@ -36,10 +40,14 @@ class PeriodProductRatingResult:
|
|||
'amount': 'amount',
|
||||
'official_website_amount': 'official_website_amount',
|
||||
'discount_amount': 'discount_amount',
|
||||
'measure_id': 'measure_id'
|
||||
'measure_id': 'measure_id',
|
||||
'installment_official_website_amount': 'installment_official_website_amount',
|
||||
'installment_official_discount_amount': 'installment_official_discount_amount',
|
||||
'installment_amount': 'installment_amount',
|
||||
'installment_period_type': 'installment_period_type'
|
||||
}
|
||||
|
||||
def __init__(self, id=None, product_id=None, amount=None, official_website_amount=None, discount_amount=None, measure_id=None):
|
||||
def __init__(self, id=None, product_id=None, amount=None, official_website_amount=None, discount_amount=None, measure_id=None, installment_official_website_amount=None, installment_official_discount_amount=None, installment_amount=None, installment_period_type=None):
|
||||
"""PeriodProductRatingResult - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
@ -50,6 +58,10 @@ class PeriodProductRatingResult:
|
|||
self._official_website_amount = None
|
||||
self._discount_amount = None
|
||||
self._measure_id = None
|
||||
self._installment_official_website_amount = None
|
||||
self._installment_official_discount_amount = None
|
||||
self._installment_amount = None
|
||||
self._installment_period_type = None
|
||||
self.discriminator = None
|
||||
|
||||
if id is not None:
|
||||
|
@ -64,6 +76,14 @@ class PeriodProductRatingResult:
|
|||
self.discount_amount = discount_amount
|
||||
if measure_id is not None:
|
||||
self.measure_id = measure_id
|
||||
if installment_official_website_amount is not None:
|
||||
self.installment_official_website_amount = installment_official_website_amount
|
||||
if installment_official_discount_amount is not None:
|
||||
self.installment_official_discount_amount = installment_official_discount_amount
|
||||
if installment_amount is not None:
|
||||
self.installment_amount = installment_amount
|
||||
if installment_period_type is not None:
|
||||
self.installment_period_type = installment_period_type
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
|
@ -197,6 +217,94 @@ class PeriodProductRatingResult:
|
|||
"""
|
||||
self._measure_id = measure_id
|
||||
|
||||
@property
|
||||
def installment_official_website_amount(self):
|
||||
"""Gets the installment_official_website_amount of this PeriodProductRatingResult.
|
||||
|
||||
|参数名称:分期金额的官网价| |参数约束及描述:分期金额的官网价|
|
||||
|
||||
:return: The installment_official_website_amount of this PeriodProductRatingResult.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._installment_official_website_amount
|
||||
|
||||
@installment_official_website_amount.setter
|
||||
def installment_official_website_amount(self, installment_official_website_amount):
|
||||
"""Sets the installment_official_website_amount of this PeriodProductRatingResult.
|
||||
|
||||
|参数名称:分期金额的官网价| |参数约束及描述:分期金额的官网价|
|
||||
|
||||
:param installment_official_website_amount: The installment_official_website_amount of this PeriodProductRatingResult.
|
||||
:type: str
|
||||
"""
|
||||
self._installment_official_website_amount = installment_official_website_amount
|
||||
|
||||
@property
|
||||
def installment_official_discount_amount(self):
|
||||
"""Gets the installment_official_discount_amount of this PeriodProductRatingResult.
|
||||
|
||||
|参数名称:分期金额的折扣价| |参数约束及描述:分期金额的折扣价|
|
||||
|
||||
:return: The installment_official_discount_amount of this PeriodProductRatingResult.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._installment_official_discount_amount
|
||||
|
||||
@installment_official_discount_amount.setter
|
||||
def installment_official_discount_amount(self, installment_official_discount_amount):
|
||||
"""Sets the installment_official_discount_amount of this PeriodProductRatingResult.
|
||||
|
||||
|参数名称:分期金额的折扣价| |参数约束及描述:分期金额的折扣价|
|
||||
|
||||
:param installment_official_discount_amount: The installment_official_discount_amount of this PeriodProductRatingResult.
|
||||
:type: str
|
||||
"""
|
||||
self._installment_official_discount_amount = installment_official_discount_amount
|
||||
|
||||
@property
|
||||
def installment_amount(self):
|
||||
"""Gets the installment_amount of this PeriodProductRatingResult.
|
||||
|
||||
|参数名称:分期金额的成交价| |参数约束及描述:分期金额的成交价,installment_amount=installment_official_website_amount-installment_discount_amount|
|
||||
|
||||
:return: The installment_amount of this PeriodProductRatingResult.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._installment_amount
|
||||
|
||||
@installment_amount.setter
|
||||
def installment_amount(self, installment_amount):
|
||||
"""Sets the installment_amount of this PeriodProductRatingResult.
|
||||
|
||||
|参数名称:分期金额的成交价| |参数约束及描述:分期金额的成交价,installment_amount=installment_official_website_amount-installment_discount_amount|
|
||||
|
||||
:param installment_amount: The installment_amount of this PeriodProductRatingResult.
|
||||
:type: str
|
||||
"""
|
||||
self._installment_amount = installment_amount
|
||||
|
||||
@property
|
||||
def installment_period_type(self):
|
||||
"""Gets the installment_period_type of this PeriodProductRatingResult.
|
||||
|
||||
|参数名称:分期付款的周期类型| |参数约束及描述:2:月|
|
||||
|
||||
:return: The installment_period_type of this PeriodProductRatingResult.
|
||||
:rtype: int
|
||||
"""
|
||||
return self._installment_period_type
|
||||
|
||||
@installment_period_type.setter
|
||||
def installment_period_type(self, installment_period_type):
|
||||
"""Sets the installment_period_type of this PeriodProductRatingResult.
|
||||
|
||||
|参数名称:分期付款的周期类型| |参数约束及描述:2:月|
|
||||
|
||||
:param installment_period_type: The installment_period_type of this PeriodProductRatingResult.
|
||||
:type: int
|
||||
"""
|
||||
self._installment_period_type = installment_period_type
|
||||
|
||||
def to_dict(self):
|
||||
"""Returns the model properties as a dict"""
|
||||
result = {}
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkbssintl"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcampusgo"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcbh"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -24,7 +24,7 @@ class ProtectableResult:
|
|||
openapi_types = {
|
||||
'code': 'str',
|
||||
'reason': 'str',
|
||||
'result': 'str',
|
||||
'result': 'bool',
|
||||
'vault': 'VaultGet'
|
||||
}
|
||||
|
||||
|
@ -105,7 +105,7 @@ class ProtectableResult:
|
|||
是否可备份
|
||||
|
||||
:return: The result of this ProtectableResult.
|
||||
:rtype: str
|
||||
:rtype: bool
|
||||
"""
|
||||
return self._result
|
||||
|
||||
|
@ -116,7 +116,7 @@ class ProtectableResult:
|
|||
是否可备份
|
||||
|
||||
:param result: The result of this ProtectableResult.
|
||||
:type: str
|
||||
:type: bool
|
||||
"""
|
||||
self._result = result
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ class ProtectablesResp:
|
|||
'id': 'str',
|
||||
'name': 'str',
|
||||
'protectable': 'ProtectableResult',
|
||||
'size': 'str',
|
||||
'size': 'int',
|
||||
'status': 'str',
|
||||
'type': 'str'
|
||||
}
|
||||
|
@ -185,7 +185,7 @@ class ProtectablesResp:
|
|||
大小,单位GB
|
||||
|
||||
:return: The size of this ProtectablesResp.
|
||||
:rtype: str
|
||||
:rtype: int
|
||||
"""
|
||||
return self._size
|
||||
|
||||
|
@ -196,7 +196,7 @@ class ProtectablesResp:
|
|||
大小,单位GB
|
||||
|
||||
:param size: The size of this ProtectablesResp.
|
||||
:type: str
|
||||
:type: int
|
||||
"""
|
||||
self._size = size
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ class VaultCreate:
|
|||
'billing': 'BillingCreate',
|
||||
'description': 'str',
|
||||
'name': 'str',
|
||||
'resources': 'list[ResourceCreate]',
|
||||
'resources': 'list[ResourceResp]',
|
||||
'tags': 'list[Tag]',
|
||||
'enterprise_project_id': 'str',
|
||||
'auto_bind': 'bool',
|
||||
|
@ -175,7 +175,7 @@ class VaultCreate:
|
|||
绑定的备份资源,未在创建时绑定资源填[]
|
||||
|
||||
:return: The resources of this VaultCreate.
|
||||
:rtype: list[ResourceCreate]
|
||||
:rtype: list[ResourceResp]
|
||||
"""
|
||||
return self._resources
|
||||
|
||||
|
@ -186,7 +186,7 @@ class VaultCreate:
|
|||
绑定的备份资源,未在创建时绑定资源填[]
|
||||
|
||||
:param resources: The resources of this VaultCreate.
|
||||
:type: list[ResourceCreate]
|
||||
:type: list[ResourceResp]
|
||||
"""
|
||||
self._resources = resources
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ class VaultGet:
|
|||
'name': 'str',
|
||||
'project_id': 'str',
|
||||
'provider_id': 'str',
|
||||
'resources': 'list[CheckpointResourceResp]',
|
||||
'resources': 'list[ResourceResp]',
|
||||
'tags': 'list[TagsResp]',
|
||||
'enterprise_project_id': 'str',
|
||||
'auto_bind': 'bool',
|
||||
|
@ -254,7 +254,7 @@ class VaultGet:
|
|||
资源
|
||||
|
||||
:return: The resources of this VaultGet.
|
||||
:rtype: list[CheckpointResourceResp]
|
||||
:rtype: list[ResourceResp]
|
||||
"""
|
||||
return self._resources
|
||||
|
||||
|
@ -265,7 +265,7 @@ class VaultGet:
|
|||
资源
|
||||
|
||||
:param resources: The resources of this VaultGet.
|
||||
:type: list[CheckpointResourceResp]
|
||||
:type: list[ResourceResp]
|
||||
"""
|
||||
self._resources = resources
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcbr"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcbs"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -86,7 +86,7 @@ class MigrateNodeExtendParam:
|
|||
def docker_lvm_config_override(self):
|
||||
"""Gets the docker_lvm_config_override of this MigrateNodeExtendParam.
|
||||
|
||||
Docker数据盘配置项。 待迁移节点的磁盘类型须和创建时一致(即“DockerLVMConfigOverride”参数中“diskType”字段的值须和创建时一致),请确保单次接口调用时批量选择的节点磁盘类型一致。 默认配置示例如下: ``` \"DockerLVMConfigOverride\":\"dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear\" ``` 包含如下字段: - userLV:用户空间的大小,示例格式:vgpaas/20%VG - userPath:用户空间挂载路径,示例格式:/home/wqt-test - diskType:磁盘类型,目前只有evs、hdd和ssd三种格式 - lvType:逻辑卷的类型,目前支持linear和striped两种,示例格式:striped - dockerThinpool:Docker盘的空间大小,示例格式:vgpaas/60%VG - kubernetesLV:Kubelet空间大小,示例格式:vgpaas/20%VG
|
||||
Docker数据盘配置项。 待迁移节点的磁盘类型须和创建时一致(即“DockerLVMConfigOverride”参数中“diskType”字段的值须和创建时一致),请确保单次接口调用时批量选择的节点磁盘类型一致。 默认配置示例如下: ``` \"DockerLVMConfigOverride\":\"dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear\" ``` 包含如下字段: - userLV(可选):用户空间的大小,示例格式:vgpaas/20%VG - userPath(可选):用户空间挂载路径,示例格式:/home/wqt-test - diskType:磁盘类型,目前只有evs、hdd和ssd三种格式 - lvType:逻辑卷的类型,目前支持linear和striped两种,示例格式:striped - dockerThinpool:Docker盘的空间大小,示例格式:vgpaas/60%VG - kubernetesLV:Kubelet空间大小,示例格式:vgpaas/20%VG
|
||||
|
||||
:return: The docker_lvm_config_override of this MigrateNodeExtendParam.
|
||||
:rtype: str
|
||||
|
@ -97,7 +97,7 @@ class MigrateNodeExtendParam:
|
|||
def docker_lvm_config_override(self, docker_lvm_config_override):
|
||||
"""Sets the docker_lvm_config_override of this MigrateNodeExtendParam.
|
||||
|
||||
Docker数据盘配置项。 待迁移节点的磁盘类型须和创建时一致(即“DockerLVMConfigOverride”参数中“diskType”字段的值须和创建时一致),请确保单次接口调用时批量选择的节点磁盘类型一致。 默认配置示例如下: ``` \"DockerLVMConfigOverride\":\"dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear\" ``` 包含如下字段: - userLV:用户空间的大小,示例格式:vgpaas/20%VG - userPath:用户空间挂载路径,示例格式:/home/wqt-test - diskType:磁盘类型,目前只有evs、hdd和ssd三种格式 - lvType:逻辑卷的类型,目前支持linear和striped两种,示例格式:striped - dockerThinpool:Docker盘的空间大小,示例格式:vgpaas/60%VG - kubernetesLV:Kubelet空间大小,示例格式:vgpaas/20%VG
|
||||
Docker数据盘配置项。 待迁移节点的磁盘类型须和创建时一致(即“DockerLVMConfigOverride”参数中“diskType”字段的值须和创建时一致),请确保单次接口调用时批量选择的节点磁盘类型一致。 默认配置示例如下: ``` \"DockerLVMConfigOverride\":\"dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear\" ``` 包含如下字段: - userLV(可选):用户空间的大小,示例格式:vgpaas/20%VG - userPath(可选):用户空间挂载路径,示例格式:/home/wqt-test - diskType:磁盘类型,目前只有evs、hdd和ssd三种格式 - lvType:逻辑卷的类型,目前支持linear和striped两种,示例格式:striped - dockerThinpool:Docker盘的空间大小,示例格式:vgpaas/60%VG - kubernetesLV:Kubelet空间大小,示例格式:vgpaas/20%VG
|
||||
|
||||
:param docker_lvm_config_override: The docker_lvm_config_override of this MigrateNodeExtendParam.
|
||||
:type: str
|
||||
|
|
|
@ -50,8 +50,7 @@ class MigrateNodesSpec:
|
|||
if extend_param is not None:
|
||||
self.extend_param = extend_param
|
||||
self.login = login
|
||||
if nodes is not None:
|
||||
self.nodes = nodes
|
||||
self.nodes = nodes
|
||||
|
||||
@property
|
||||
def os(self):
|
||||
|
|
|
@ -305,7 +305,7 @@ class NodeExtendParam:
|
|||
def docker_lvm_config_override(self):
|
||||
"""Gets the docker_lvm_config_override of this NodeExtendParam.
|
||||
|
||||
Docker数据盘配置项。默认配置示例如下: ``` \"DockerLVMConfigOverride\":\"dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear\" ``` 包含如下字段: - userLV:用户空间的大小,示例格式:vgpaas/20%VG - userPath:用户空间挂载路径,示例格式:/home/wqt-test - diskType:磁盘类型,目前只有evs、hdd和ssd三种格式 - lvType:逻辑卷的类型,目前支持linear和striped两种,示例格式:striped - dockerThinpool:Docker盘的空间大小,示例格式:vgpaas/60%VG - kubernetesLV:Kubelet空间大小,示例格式:vgpaas/20%VG
|
||||
Docker数据盘配置项。默认配置示例如下: ``` \"DockerLVMConfigOverride\":\"dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear\" ``` 包含如下字段: - userLV(可选):用户空间的大小,示例格式:vgpaas/20%VG - userPath(可选):用户空间挂载路径,示例格式:/home/wqt-test - diskType:磁盘类型,目前只有evs、hdd和ssd三种格式 - lvType:逻辑卷的类型,目前支持linear和striped两种,示例格式:striped - dockerThinpool:Docker盘的空间大小,示例格式:vgpaas/60%VG - kubernetesLV:Kubelet空间大小,示例格式:vgpaas/20%VG
|
||||
|
||||
:return: The docker_lvm_config_override of this NodeExtendParam.
|
||||
:rtype: str
|
||||
|
@ -316,7 +316,7 @@ class NodeExtendParam:
|
|||
def docker_lvm_config_override(self, docker_lvm_config_override):
|
||||
"""Sets the docker_lvm_config_override of this NodeExtendParam.
|
||||
|
||||
Docker数据盘配置项。默认配置示例如下: ``` \"DockerLVMConfigOverride\":\"dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear\" ``` 包含如下字段: - userLV:用户空间的大小,示例格式:vgpaas/20%VG - userPath:用户空间挂载路径,示例格式:/home/wqt-test - diskType:磁盘类型,目前只有evs、hdd和ssd三种格式 - lvType:逻辑卷的类型,目前支持linear和striped两种,示例格式:striped - dockerThinpool:Docker盘的空间大小,示例格式:vgpaas/60%VG - kubernetesLV:Kubelet空间大小,示例格式:vgpaas/20%VG
|
||||
Docker数据盘配置项。默认配置示例如下: ``` \"DockerLVMConfigOverride\":\"dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear\" ``` 包含如下字段: - userLV(可选):用户空间的大小,示例格式:vgpaas/20%VG - userPath(可选):用户空间挂载路径,示例格式:/home/wqt-test - diskType:磁盘类型,目前只有evs、hdd和ssd三种格式 - lvType:逻辑卷的类型,目前支持linear和striped两种,示例格式:striped - dockerThinpool:Docker盘的空间大小,示例格式:vgpaas/60%VG - kubernetesLV:Kubelet空间大小,示例格式:vgpaas/20%VG
|
||||
|
||||
:param docker_lvm_config_override: The docker_lvm_config_override of this NodeExtendParam.
|
||||
:type: str
|
||||
|
|
|
@ -37,8 +37,7 @@ class NodeItem:
|
|||
self._uid = None
|
||||
self.discriminator = None
|
||||
|
||||
if uid is not None:
|
||||
self.uid = uid
|
||||
self.uid = uid
|
||||
|
||||
@property
|
||||
def uid(self):
|
||||
|
|
|
@ -69,7 +69,7 @@ class NodePoolCondition:
|
|||
def type(self):
|
||||
"""Gets the type of this NodePoolCondition.
|
||||
|
||||
Condition类型。
|
||||
Condition类型,当前支持类型如下 - \"Scalable\":节点池实际的可扩容状态,如果状态为\"False\"时则不会再次触发节点池扩容行为。 - \"QuotaInsufficient\":节点池扩容依赖的配额不足,影响节点池可扩容状态。 - \"ResourceInsufficient\":节点池扩容依赖的资源不足,影响节点池可扩容状态。 - \"UnexpectedError\":节点池非预期扩容失败,影响节点池可扩容状态。 - \"LockedByOrder\":包周期节点池被订单锁定,此时Reason为待支付订单ID。 - \"Error\":节点池错误,通常由于删除失败触发。
|
||||
|
||||
:return: The type of this NodePoolCondition.
|
||||
:rtype: str
|
||||
|
@ -80,7 +80,7 @@ class NodePoolCondition:
|
|||
def type(self, type):
|
||||
"""Sets the type of this NodePoolCondition.
|
||||
|
||||
Condition类型。
|
||||
Condition类型,当前支持类型如下 - \"Scalable\":节点池实际的可扩容状态,如果状态为\"False\"时则不会再次触发节点池扩容行为。 - \"QuotaInsufficient\":节点池扩容依赖的配额不足,影响节点池可扩容状态。 - \"ResourceInsufficient\":节点池扩容依赖的资源不足,影响节点池可扩容状态。 - \"UnexpectedError\":节点池非预期扩容失败,影响节点池可扩容状态。 - \"LockedByOrder\":包周期节点池被订单锁定,此时Reason为待支付订单ID。 - \"Error\":节点池错误,通常由于删除失败触发。
|
||||
|
||||
:param type: The type of this NodePoolCondition.
|
||||
:type: str
|
||||
|
@ -91,7 +91,7 @@ class NodePoolCondition:
|
|||
def status(self):
|
||||
"""Gets the status of this NodePoolCondition.
|
||||
|
||||
Condition当前状态。
|
||||
Condition当前状态,取值如下 - \"True\" - \"False\"
|
||||
|
||||
:return: The status of this NodePoolCondition.
|
||||
:rtype: str
|
||||
|
@ -102,7 +102,7 @@ class NodePoolCondition:
|
|||
def status(self, status):
|
||||
"""Sets the status of this NodePoolCondition.
|
||||
|
||||
Condition当前状态。
|
||||
Condition当前状态,取值如下 - \"True\" - \"False\"
|
||||
|
||||
:param status: The status of this NodePoolCondition.
|
||||
:type: str
|
||||
|
|
|
@ -113,7 +113,7 @@ class NodePoolStatus:
|
|||
def deleting_node(self):
|
||||
"""Gets the deleting_node of this NodePoolStatus.
|
||||
|
||||
当前节点池中删除中或者删除失败的节点数量。
|
||||
当前节点池中删除中的节点数量。
|
||||
|
||||
:return: The deleting_node of this NodePoolStatus.
|
||||
:rtype: int
|
||||
|
@ -124,7 +124,7 @@ class NodePoolStatus:
|
|||
def deleting_node(self, deleting_node):
|
||||
"""Sets the deleting_node of this NodePoolStatus.
|
||||
|
||||
当前节点池中删除中或者删除失败的节点数量。
|
||||
当前节点池中删除中的节点数量。
|
||||
|
||||
:param deleting_node: The deleting_node of this NodePoolStatus.
|
||||
:type: int
|
||||
|
@ -135,7 +135,7 @@ class NodePoolStatus:
|
|||
def phase(self):
|
||||
"""Gets the phase of this NodePoolStatus.
|
||||
|
||||
节点池状态,为空时节点池处于可用状态。 - Synchronizing:伸缩中 - Synchronized:节点池更新失败时会被置于此状态 - SoldOut:节点资源售罄 - Deleting:删除中 - Error:错误
|
||||
节点池状态。 - 空值:可用(节点池当前节点数已达到预期,且无伸缩中的节点) - Synchronizing:伸缩中(节点池当前节点数未达到预期,且无伸缩中的节点) - Synchronized:伸缩等待中(节点池当前节点数未达到预期,或者存在伸缩中的节点) - SoldOut:节点池当前不可扩容(兼容字段,标记节点池资源售罄、资源配额不足等不可扩容状态) > 上述节点池状态已废弃,仅兼容保留,不建议使用,替代感知方式如下: > - 节点池扩缩状态:可通过currentNode/creatingNode/deletingNode节点状态统计信息,精确感知当前节点池扩缩状态。 > - 节点池可扩容状态:可通过conditions感知节点池详细状态,其中\"Scalable\"可替代SoldOut语义。 - Deleting:删除中 - Error:错误
|
||||
|
||||
:return: The phase of this NodePoolStatus.
|
||||
:rtype: str
|
||||
|
@ -146,7 +146,7 @@ class NodePoolStatus:
|
|||
def phase(self, phase):
|
||||
"""Sets the phase of this NodePoolStatus.
|
||||
|
||||
节点池状态,为空时节点池处于可用状态。 - Synchronizing:伸缩中 - Synchronized:节点池更新失败时会被置于此状态 - SoldOut:节点资源售罄 - Deleting:删除中 - Error:错误
|
||||
节点池状态。 - 空值:可用(节点池当前节点数已达到预期,且无伸缩中的节点) - Synchronizing:伸缩中(节点池当前节点数未达到预期,且无伸缩中的节点) - Synchronized:伸缩等待中(节点池当前节点数未达到预期,或者存在伸缩中的节点) - SoldOut:节点池当前不可扩容(兼容字段,标记节点池资源售罄、资源配额不足等不可扩容状态) > 上述节点池状态已废弃,仅兼容保留,不建议使用,替代感知方式如下: > - 节点池扩缩状态:可通过currentNode/creatingNode/deletingNode节点状态统计信息,精确感知当前节点池扩缩状态。 > - 节点池可扩容状态:可通过conditions感知节点池详细状态,其中\"Scalable\"可替代SoldOut语义。 - Deleting:删除中 - Error:错误
|
||||
|
||||
:param phase: The phase of this NodePoolStatus.
|
||||
:type: str
|
||||
|
@ -179,7 +179,7 @@ class NodePoolStatus:
|
|||
def conditions(self):
|
||||
"""Gets the conditions of this NodePoolStatus.
|
||||
|
||||
节点池每次扩容的动作结果记录,用于确定节点池是否还能继续扩容。
|
||||
节点池当前详细状态列表,详情参见Condition类型定义。
|
||||
|
||||
:return: The conditions of this NodePoolStatus.
|
||||
:rtype: list[NodePoolCondition]
|
||||
|
@ -190,7 +190,7 @@ class NodePoolStatus:
|
|||
def conditions(self, conditions):
|
||||
"""Sets the conditions of this NodePoolStatus.
|
||||
|
||||
节点池每次扩容的动作结果记录,用于确定节点池是否还能继续扩容。
|
||||
节点池当前详细状态列表,详情参见Condition类型定义。
|
||||
|
||||
:param conditions: The conditions of this NodePoolStatus.
|
||||
:type: list[NodePoolCondition]
|
||||
|
|
|
@ -41,8 +41,7 @@ class RemoveNodesSpec:
|
|||
self.discriminator = None
|
||||
|
||||
self.login = login
|
||||
if nodes is not None:
|
||||
self.nodes = nodes
|
||||
self.nodes = nodes
|
||||
|
||||
@property
|
||||
def login(self):
|
||||
|
|
|
@ -25,7 +25,7 @@ class StorageGroups:
|
|||
'name': 'str',
|
||||
'cce_managed': 'bool',
|
||||
'selector_names': 'list[str]',
|
||||
'virtual_spaces': 'VirtualSpace'
|
||||
'virtual_spaces': 'list[VirtualSpace]'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
|
@ -122,9 +122,10 @@ class StorageGroups:
|
|||
def virtual_spaces(self):
|
||||
"""Gets the virtual_spaces of this StorageGroups.
|
||||
|
||||
group中空间配置的详细管理。
|
||||
|
||||
:return: The virtual_spaces of this StorageGroups.
|
||||
:rtype: VirtualSpace
|
||||
:rtype: list[VirtualSpace]
|
||||
"""
|
||||
return self._virtual_spaces
|
||||
|
||||
|
@ -132,9 +133,10 @@ class StorageGroups:
|
|||
def virtual_spaces(self, virtual_spaces):
|
||||
"""Sets the virtual_spaces of this StorageGroups.
|
||||
|
||||
group中空间配置的详细管理。
|
||||
|
||||
:param virtual_spaces: The virtual_spaces of this StorageGroups.
|
||||
:type: VirtualSpace
|
||||
:type: list[VirtualSpace]
|
||||
"""
|
||||
self._virtual_spaces = virtual_spaces
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcce"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkccm"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcdm"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -199,7 +199,7 @@ class ShowDomainStatsRequest:
|
|||
def stat_type(self):
|
||||
"""Gets the stat_type of this ShowDomainStatsRequest.
|
||||
|
||||
网络资源消耗: - bw(带宽) - flux(流量) HTTP状态码(组合指标): - status_code_2xx(状态码详情2xx) - status_code_3xx(状态码详情3xx) - status_code_4xx(状态码详情4xx) - status_code_5xx(状态码详情5xx) - bs_status_code_2xx(回源状态码详情2xx) - bs_status_code_3xx(回源状态码详情3xx) - bs_status_code_4xx(回源状态码详情4xx) - bs_status_code_5xx(回源状态码详情5xx) - status_code和bs_status_code不能一起查询,否则数据会不准确,status_code不支持指定服务区域
|
||||
网络资源消耗: - bw(带宽) - flux(流量) HTTP状态码(组合指标): - status_code_2xx(状态码详情2xx) - status_code_3xx(状态码详情3xx) - status_code_4xx(状态码详情4xx) - status_code_5xx(状态码详情5xx)
|
||||
|
||||
:return: The stat_type of this ShowDomainStatsRequest.
|
||||
:rtype: str
|
||||
|
@ -210,7 +210,7 @@ class ShowDomainStatsRequest:
|
|||
def stat_type(self, stat_type):
|
||||
"""Sets the stat_type of this ShowDomainStatsRequest.
|
||||
|
||||
网络资源消耗: - bw(带宽) - flux(流量) HTTP状态码(组合指标): - status_code_2xx(状态码详情2xx) - status_code_3xx(状态码详情3xx) - status_code_4xx(状态码详情4xx) - status_code_5xx(状态码详情5xx) - bs_status_code_2xx(回源状态码详情2xx) - bs_status_code_3xx(回源状态码详情3xx) - bs_status_code_4xx(回源状态码详情4xx) - bs_status_code_5xx(回源状态码详情5xx) - status_code和bs_status_code不能一起查询,否则数据会不准确,status_code不支持指定服务区域
|
||||
网络资源消耗: - bw(带宽) - flux(流量) HTTP状态码(组合指标): - status_code_2xx(状态码详情2xx) - status_code_3xx(状态码详情3xx) - status_code_4xx(状态码详情4xx) - status_code_5xx(状态码详情5xx)
|
||||
|
||||
:param stat_type: The stat_type of this ShowDomainStatsRequest.
|
||||
:type: str
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcdn"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -221,7 +221,7 @@ class ListAlarmHistoriesRequest:
|
|||
def _from(self):
|
||||
"""Gets the _from of this ListAlarmHistoriesRequest.
|
||||
|
||||
通过时间筛选traces的起始时间(不包括传入时间),UTC时间
|
||||
通过时间筛选traces的起始时间(不包括传入时间) 例如:2022-02-10T10:05:46+08:00
|
||||
|
||||
:return: The _from of this ListAlarmHistoriesRequest.
|
||||
:rtype: str
|
||||
|
@ -232,7 +232,7 @@ class ListAlarmHistoriesRequest:
|
|||
def _from(self, _from):
|
||||
"""Sets the _from of this ListAlarmHistoriesRequest.
|
||||
|
||||
通过时间筛选traces的起始时间(不包括传入时间),UTC时间
|
||||
通过时间筛选traces的起始时间(不包括传入时间) 例如:2022-02-10T10:05:46+08:00
|
||||
|
||||
:param _from: The _from of this ListAlarmHistoriesRequest.
|
||||
:type: str
|
||||
|
@ -243,7 +243,7 @@ class ListAlarmHistoriesRequest:
|
|||
def to(self):
|
||||
"""Gets the to of this ListAlarmHistoriesRequest.
|
||||
|
||||
通过时间筛选traces的终止时间(不包括传入时间),UTC时间
|
||||
通过时间筛选traces的终止时间(不包括传入时间) 例如:2022-02-10T10:05:47+08:00
|
||||
|
||||
:return: The to of this ListAlarmHistoriesRequest.
|
||||
:rtype: str
|
||||
|
@ -254,7 +254,7 @@ class ListAlarmHistoriesRequest:
|
|||
def to(self, to):
|
||||
"""Sets the to of this ListAlarmHistoriesRequest.
|
||||
|
||||
通过时间筛选traces的终止时间(不包括传入时间),UTC时间
|
||||
通过时间筛选traces的终止时间(不包括传入时间) 例如:2022-02-10T10:05:47+08:00
|
||||
|
||||
:param to: The to of this ListAlarmHistoriesRequest.
|
||||
:type: str
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkces"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcgs"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkclassroom"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcloudbuild"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkclouddeploy"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcloudide"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcloudpipeline"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcloudrtc"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcloudtable"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcloudtest"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcodecheck"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcodecraft"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcodehub"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -22,7 +22,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcore"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -4,7 +4,7 @@ from os import path
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
NAME = "huaweicloudsdkcpts"
|
||||
VERSION = "3.0.76"
|
||||
VERSION = "3.0.77"
|
||||
AUTHOR = "HuaweiCloud SDK"
|
||||
AUTHOR_EMAIL = "hwcloudsdk@huawei.com"
|
||||
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
Copyright (c) Huawei Technologies Co., Ltd. 2020-present. All rights reserved.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
|
@ -0,0 +1 @@
|
|||
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
|
@ -0,0 +1,219 @@
|
|||
# coding: utf-8
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
# import CssClient
|
||||
from huaweicloudsdkcss.v1.css_client import CssClient
|
||||
from huaweicloudsdkcss.v1.css_async_client import CssAsyncClient
|
||||
# import models into sdk package
|
||||
from huaweicloudsdkcss.v1.model.actions import Actions
|
||||
from huaweicloudsdkcss.v1.model.add_favorite_req import AddFavoriteReq
|
||||
from huaweicloudsdkcss.v1.model.add_favorite_req_template import AddFavoriteReqTemplate
|
||||
from huaweicloudsdkcss.v1.model.add_favorite_request import AddFavoriteRequest
|
||||
from huaweicloudsdkcss.v1.model.add_favorite_response import AddFavoriteResponse
|
||||
from huaweicloudsdkcss.v1.model.address_and_ports import AddressAndPorts
|
||||
from huaweicloudsdkcss.v1.model.batch_add_or_delete_tag_on_cluster_req import BatchAddOrDeleteTagOnClusterReq
|
||||
from huaweicloudsdkcss.v1.model.bind_public_req import BindPublicReq
|
||||
from huaweicloudsdkcss.v1.model.bind_public_req_eip import BindPublicReqEip
|
||||
from huaweicloudsdkcss.v1.model.bind_public_req_eip_band_width import BindPublicReqEipBandWidth
|
||||
from huaweicloudsdkcss.v1.model.cluster_list import ClusterList
|
||||
from huaweicloudsdkcss.v1.model.cluster_list_action_progress import ClusterListActionProgress
|
||||
from huaweicloudsdkcss.v1.model.cluster_list_datastore import ClusterListDatastore
|
||||
from huaweicloudsdkcss.v1.model.cluster_list_failed_reasons import ClusterListFailedReasons
|
||||
from huaweicloudsdkcss.v1.model.cluster_list_instances import ClusterListInstances
|
||||
from huaweicloudsdkcss.v1.model.cluster_list_tags import ClusterListTags
|
||||
from huaweicloudsdkcss.v1.model.config_list import ConfigList
|
||||
from huaweicloudsdkcss.v1.model.confs import Confs
|
||||
from huaweicloudsdkcss.v1.model.connections import Connections
|
||||
from huaweicloudsdkcss.v1.model.create_auto_create_policy_request import CreateAutoCreatePolicyRequest
|
||||
from huaweicloudsdkcss.v1.model.create_auto_create_policy_response import CreateAutoCreatePolicyResponse
|
||||
from huaweicloudsdkcss.v1.model.create_bind_public_request import CreateBindPublicRequest
|
||||
from huaweicloudsdkcss.v1.model.create_bind_public_response import CreateBindPublicResponse
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_backup_strategy_body import CreateClusterBackupStrategyBody
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_body import CreateClusterBody
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_cluster_response import CreateClusterClusterResponse
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_datastore_body import CreateClusterDatastoreBody
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_instance_body import CreateClusterInstanceBody
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_instance_nics_body import CreateClusterInstanceNicsBody
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_instance_volume_body import CreateClusterInstanceVolumeBody
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_req import CreateClusterReq
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_request import CreateClusterRequest
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_response import CreateClusterResponse
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_tags_body import CreateClusterTagsBody
|
||||
from huaweicloudsdkcss.v1.model.create_clusters_tags_request import CreateClustersTagsRequest
|
||||
from huaweicloudsdkcss.v1.model.create_clusters_tags_response import CreateClustersTagsResponse
|
||||
from huaweicloudsdkcss.v1.model.create_cnf_req import CreateCnfReq
|
||||
from huaweicloudsdkcss.v1.model.create_cnf_request import CreateCnfRequest
|
||||
from huaweicloudsdkcss.v1.model.create_cnf_response import CreateCnfResponse
|
||||
from huaweicloudsdkcss.v1.model.create_load_ik_thesaurus_request import CreateLoadIkThesaurusRequest
|
||||
from huaweicloudsdkcss.v1.model.create_load_ik_thesaurus_response import CreateLoadIkThesaurusResponse
|
||||
from huaweicloudsdkcss.v1.model.create_log_backup_request import CreateLogBackupRequest
|
||||
from huaweicloudsdkcss.v1.model.create_log_backup_response import CreateLogBackupResponse
|
||||
from huaweicloudsdkcss.v1.model.create_snapshot_req import CreateSnapshotReq
|
||||
from huaweicloudsdkcss.v1.model.create_snapshot_request import CreateSnapshotRequest
|
||||
from huaweicloudsdkcss.v1.model.create_snapshot_response import CreateSnapshotResponse
|
||||
from huaweicloudsdkcss.v1.model.custom_templates import CustomTemplates
|
||||
from huaweicloudsdkcss.v1.model.delete_cluster_request import DeleteClusterRequest
|
||||
from huaweicloudsdkcss.v1.model.delete_cluster_response import DeleteClusterResponse
|
||||
from huaweicloudsdkcss.v1.model.delete_clusters_tags_request import DeleteClustersTagsRequest
|
||||
from huaweicloudsdkcss.v1.model.delete_clusters_tags_response import DeleteClustersTagsResponse
|
||||
from huaweicloudsdkcss.v1.model.delete_conf_req import DeleteConfReq
|
||||
from huaweicloudsdkcss.v1.model.delete_conf_request import DeleteConfRequest
|
||||
from huaweicloudsdkcss.v1.model.delete_conf_response import DeleteConfResponse
|
||||
from huaweicloudsdkcss.v1.model.delete_ik_thesaurus_request import DeleteIkThesaurusRequest
|
||||
from huaweicloudsdkcss.v1.model.delete_ik_thesaurus_response import DeleteIkThesaurusResponse
|
||||
from huaweicloudsdkcss.v1.model.delete_snapshot_request import DeleteSnapshotRequest
|
||||
from huaweicloudsdkcss.v1.model.delete_snapshot_response import DeleteSnapshotResponse
|
||||
from huaweicloudsdkcss.v1.model.delete_template_req import DeleteTemplateReq
|
||||
from huaweicloudsdkcss.v1.model.delete_template_request import DeleteTemplateRequest
|
||||
from huaweicloudsdkcss.v1.model.delete_template_response import DeleteTemplateResponse
|
||||
from huaweicloudsdkcss.v1.model.esflavors_versions_flavors_resp import EsflavorsVersionsFlavorsResp
|
||||
from huaweicloudsdkcss.v1.model.esflavors_versions_resp import EsflavorsVersionsResp
|
||||
from huaweicloudsdkcss.v1.model.extend_cluster_grow_req import ExtendClusterGrowReq
|
||||
from huaweicloudsdkcss.v1.model.extend_cluster_instances_resp import ExtendClusterInstancesResp
|
||||
from huaweicloudsdkcss.v1.model.extend_cluster_req import ExtendClusterReq
|
||||
from huaweicloudsdkcss.v1.model.get_log_backup_req import GetLogBackupReq
|
||||
from huaweicloudsdkcss.v1.model.list_actions_request import ListActionsRequest
|
||||
from huaweicloudsdkcss.v1.model.list_actions_response import ListActionsResponse
|
||||
from huaweicloudsdkcss.v1.model.list_clusters_details_request import ListClustersDetailsRequest
|
||||
from huaweicloudsdkcss.v1.model.list_clusters_details_response import ListClustersDetailsResponse
|
||||
from huaweicloudsdkcss.v1.model.list_clusters_tags_request import ListClustersTagsRequest
|
||||
from huaweicloudsdkcss.v1.model.list_clusters_tags_response import ListClustersTagsResponse
|
||||
from huaweicloudsdkcss.v1.model.list_confs_request import ListConfsRequest
|
||||
from huaweicloudsdkcss.v1.model.list_confs_response import ListConfsResponse
|
||||
from huaweicloudsdkcss.v1.model.list_flavors_request import ListFlavorsRequest
|
||||
from huaweicloudsdkcss.v1.model.list_flavors_response import ListFlavorsResponse
|
||||
from huaweicloudsdkcss.v1.model.list_pipelines_request import ListPipelinesRequest
|
||||
from huaweicloudsdkcss.v1.model.list_pipelines_response import ListPipelinesResponse
|
||||
from huaweicloudsdkcss.v1.model.list_snapshot_backups_datastore_resp import ListSnapshotBackupsDatastoreResp
|
||||
from huaweicloudsdkcss.v1.model.list_snapshot_backups_resp import ListSnapshotBackupsResp
|
||||
from huaweicloudsdkcss.v1.model.list_snapshots_request import ListSnapshotsRequest
|
||||
from huaweicloudsdkcss.v1.model.list_snapshots_response import ListSnapshotsResponse
|
||||
from huaweicloudsdkcss.v1.model.list_templates_request import ListTemplatesRequest
|
||||
from huaweicloudsdkcss.v1.model.list_templates_response import ListTemplatesResponse
|
||||
from huaweicloudsdkcss.v1.model.list_ymls_job_request import ListYmlsJobRequest
|
||||
from huaweicloudsdkcss.v1.model.list_ymls_job_response import ListYmlsJobResponse
|
||||
from huaweicloudsdkcss.v1.model.list_ymls_request import ListYmlsRequest
|
||||
from huaweicloudsdkcss.v1.model.list_ymls_response import ListYmlsResponse
|
||||
from huaweicloudsdkcss.v1.model.load_custom_thesaurus_req import LoadCustomThesaurusReq
|
||||
from huaweicloudsdkcss.v1.model.log_configuration import LogConfiguration
|
||||
from huaweicloudsdkcss.v1.model.log_list import LogList
|
||||
from huaweicloudsdkcss.v1.model.pay_info_body import PayInfoBody
|
||||
from huaweicloudsdkcss.v1.model.period_req import PeriodReq
|
||||
from huaweicloudsdkcss.v1.model.pipelines import Pipelines
|
||||
from huaweicloudsdkcss.v1.model.reset_password_req import ResetPasswordReq
|
||||
from huaweicloudsdkcss.v1.model.reset_password_request import ResetPasswordRequest
|
||||
from huaweicloudsdkcss.v1.model.reset_password_response import ResetPasswordResponse
|
||||
from huaweicloudsdkcss.v1.model.restart_cluster_request import RestartClusterRequest
|
||||
from huaweicloudsdkcss.v1.model.restart_cluster_response import RestartClusterResponse
|
||||
from huaweicloudsdkcss.v1.model.restore_snapshot_req import RestoreSnapshotReq
|
||||
from huaweicloudsdkcss.v1.model.restore_snapshot_request import RestoreSnapshotRequest
|
||||
from huaweicloudsdkcss.v1.model.restore_snapshot_response import RestoreSnapshotResponse
|
||||
from huaweicloudsdkcss.v1.model.result import Result
|
||||
from huaweicloudsdkcss.v1.model.role_extend_grow_req import RoleExtendGrowReq
|
||||
from huaweicloudsdkcss.v1.model.role_extend_req import RoleExtendReq
|
||||
from huaweicloudsdkcss.v1.model.set_rds_backup_cnf_req import SetRDSBackupCnfReq
|
||||
from huaweicloudsdkcss.v1.model.setting import Setting
|
||||
from huaweicloudsdkcss.v1.model.show_all_tags_tags_resp import ShowAllTagsTagsResp
|
||||
from huaweicloudsdkcss.v1.model.show_auto_create_policy_request import ShowAutoCreatePolicyRequest
|
||||
from huaweicloudsdkcss.v1.model.show_auto_create_policy_response import ShowAutoCreatePolicyResponse
|
||||
from huaweicloudsdkcss.v1.model.show_cluster_tag_request import ShowClusterTagRequest
|
||||
from huaweicloudsdkcss.v1.model.show_cluster_tag_response import ShowClusterTagResponse
|
||||
from huaweicloudsdkcss.v1.model.show_get_conf_detail_request import ShowGetConfDetailRequest
|
||||
from huaweicloudsdkcss.v1.model.show_get_conf_detail_response import ShowGetConfDetailResponse
|
||||
from huaweicloudsdkcss.v1.model.show_get_log_setting_request import ShowGetLogSettingRequest
|
||||
from huaweicloudsdkcss.v1.model.show_get_log_setting_response import ShowGetLogSettingResponse
|
||||
from huaweicloudsdkcss.v1.model.show_ik_thesaurus_request import ShowIkThesaurusRequest
|
||||
from huaweicloudsdkcss.v1.model.show_ik_thesaurus_response import ShowIkThesaurusResponse
|
||||
from huaweicloudsdkcss.v1.model.show_log_backup_request import ShowLogBackupRequest
|
||||
from huaweicloudsdkcss.v1.model.show_log_backup_response import ShowLogBackupResponse
|
||||
from huaweicloudsdkcss.v1.model.show_tags_tags_resp import ShowTagsTagsResp
|
||||
from huaweicloudsdkcss.v1.model.show_vpcep_connection_request import ShowVpcepConnectionRequest
|
||||
from huaweicloudsdkcss.v1.model.show_vpcep_connection_response import ShowVpcepConnectionResponse
|
||||
from huaweicloudsdkcss.v1.model.start_auto_setting_request import StartAutoSettingRequest
|
||||
from huaweicloudsdkcss.v1.model.start_auto_setting_response import StartAutoSettingResponse
|
||||
from huaweicloudsdkcss.v1.model.start_connectivity_test_req import StartConnectivityTestReq
|
||||
from huaweicloudsdkcss.v1.model.start_connectivity_test_request import StartConnectivityTestRequest
|
||||
from huaweicloudsdkcss.v1.model.start_connectivity_test_response import StartConnectivityTestResponse
|
||||
from huaweicloudsdkcss.v1.model.start_kibana_public_req import StartKibanaPublicReq
|
||||
from huaweicloudsdkcss.v1.model.start_kibana_public_req_elb_whitelist import StartKibanaPublicReqElbWhitelist
|
||||
from huaweicloudsdkcss.v1.model.start_kibana_public_request import StartKibanaPublicRequest
|
||||
from huaweicloudsdkcss.v1.model.start_kibana_public_response import StartKibanaPublicResponse
|
||||
from huaweicloudsdkcss.v1.model.start_log_auto_backup_policy_req import StartLogAutoBackupPolicyReq
|
||||
from huaweicloudsdkcss.v1.model.start_log_auto_backup_policy_request import StartLogAutoBackupPolicyRequest
|
||||
from huaweicloudsdkcss.v1.model.start_log_auto_backup_policy_response import StartLogAutoBackupPolicyResponse
|
||||
from huaweicloudsdkcss.v1.model.start_logs_req import StartLogsReq
|
||||
from huaweicloudsdkcss.v1.model.start_logs_request import StartLogsRequest
|
||||
from huaweicloudsdkcss.v1.model.start_logs_response import StartLogsResponse
|
||||
from huaweicloudsdkcss.v1.model.start_pipeline_req import StartPipelineReq
|
||||
from huaweicloudsdkcss.v1.model.start_pipeline_request import StartPipelineRequest
|
||||
from huaweicloudsdkcss.v1.model.start_pipeline_response import StartPipelineResponse
|
||||
from huaweicloudsdkcss.v1.model.start_public_whitelist_req import StartPublicWhitelistReq
|
||||
from huaweicloudsdkcss.v1.model.start_public_whitelist_request import StartPublicWhitelistRequest
|
||||
from huaweicloudsdkcss.v1.model.start_public_whitelist_response import StartPublicWhitelistResponse
|
||||
from huaweicloudsdkcss.v1.model.start_vpecp_req import StartVpecpReq
|
||||
from huaweicloudsdkcss.v1.model.start_vpecp_request import StartVpecpRequest
|
||||
from huaweicloudsdkcss.v1.model.start_vpecp_response import StartVpecpResponse
|
||||
from huaweicloudsdkcss.v1.model.stop_log_auto_backup_policy_request import StopLogAutoBackupPolicyRequest
|
||||
from huaweicloudsdkcss.v1.model.stop_log_auto_backup_policy_response import StopLogAutoBackupPolicyResponse
|
||||
from huaweicloudsdkcss.v1.model.stop_logs_request import StopLogsRequest
|
||||
from huaweicloudsdkcss.v1.model.stop_logs_response import StopLogsResponse
|
||||
from huaweicloudsdkcss.v1.model.stop_pipeline_request import StopPipelineRequest
|
||||
from huaweicloudsdkcss.v1.model.stop_pipeline_response import StopPipelineResponse
|
||||
from huaweicloudsdkcss.v1.model.stop_public_kibana_whitelist_request import StopPublicKibanaWhitelistRequest
|
||||
from huaweicloudsdkcss.v1.model.stop_public_kibana_whitelist_response import StopPublicKibanaWhitelistResponse
|
||||
from huaweicloudsdkcss.v1.model.stop_public_whitelist_request import StopPublicWhitelistRequest
|
||||
from huaweicloudsdkcss.v1.model.stop_public_whitelist_response import StopPublicWhitelistResponse
|
||||
from huaweicloudsdkcss.v1.model.stop_snapshot_request import StopSnapshotRequest
|
||||
from huaweicloudsdkcss.v1.model.stop_snapshot_response import StopSnapshotResponse
|
||||
from huaweicloudsdkcss.v1.model.stop_vpecp_request import StopVpecpRequest
|
||||
from huaweicloudsdkcss.v1.model.stop_vpecp_response import StopVpecpResponse
|
||||
from huaweicloudsdkcss.v1.model.sys_tags import SysTags
|
||||
from huaweicloudsdkcss.v1.model.system_templates import SystemTemplates
|
||||
from huaweicloudsdkcss.v1.model.tag import Tag
|
||||
from huaweicloudsdkcss.v1.model.tag_list import TagList
|
||||
from huaweicloudsdkcss.v1.model.tag_req import TagReq
|
||||
from huaweicloudsdkcss.v1.model.update_alter_kibana_request import UpdateAlterKibanaRequest
|
||||
from huaweicloudsdkcss.v1.model.update_alter_kibana_response import UpdateAlterKibanaResponse
|
||||
from huaweicloudsdkcss.v1.model.update_batch_clusters_tags_request import UpdateBatchClustersTagsRequest
|
||||
from huaweicloudsdkcss.v1.model.update_batch_clusters_tags_response import UpdateBatchClustersTagsResponse
|
||||
from huaweicloudsdkcss.v1.model.update_close_kibana_request import UpdateCloseKibanaRequest
|
||||
from huaweicloudsdkcss.v1.model.update_close_kibana_response import UpdateCloseKibanaResponse
|
||||
from huaweicloudsdkcss.v1.model.update_cluster_name_req import UpdateClusterNameReq
|
||||
from huaweicloudsdkcss.v1.model.update_cluster_name_request import UpdateClusterNameRequest
|
||||
from huaweicloudsdkcss.v1.model.update_cluster_name_response import UpdateClusterNameResponse
|
||||
from huaweicloudsdkcss.v1.model.update_cnf_request import UpdateCnfRequest
|
||||
from huaweicloudsdkcss.v1.model.update_cnf_response import UpdateCnfResponse
|
||||
from huaweicloudsdkcss.v1.model.update_extend_cluster_request import UpdateExtendClusterRequest
|
||||
from huaweicloudsdkcss.v1.model.update_extend_cluster_response import UpdateExtendClusterResponse
|
||||
from huaweicloudsdkcss.v1.model.update_extend_instance_storage_request import UpdateExtendInstanceStorageRequest
|
||||
from huaweicloudsdkcss.v1.model.update_extend_instance_storage_response import UpdateExtendInstanceStorageResponse
|
||||
from huaweicloudsdkcss.v1.model.update_log_setting_req import UpdateLogSettingReq
|
||||
from huaweicloudsdkcss.v1.model.update_log_setting_request import UpdateLogSettingRequest
|
||||
from huaweicloudsdkcss.v1.model.update_log_setting_response import UpdateLogSettingResponse
|
||||
from huaweicloudsdkcss.v1.model.update_ondemand_cluster_to_period_request import UpdateOndemandClusterToPeriodRequest
|
||||
from huaweicloudsdkcss.v1.model.update_ondemand_cluster_to_period_response import UpdateOndemandClusterToPeriodResponse
|
||||
from huaweicloudsdkcss.v1.model.update_public_band_width_request import UpdatePublicBandWidthRequest
|
||||
from huaweicloudsdkcss.v1.model.update_public_band_width_response import UpdatePublicBandWidthResponse
|
||||
from huaweicloudsdkcss.v1.model.update_public_kibana_bandwidth_req import UpdatePublicKibanaBandwidthReq
|
||||
from huaweicloudsdkcss.v1.model.update_public_kibana_bandwidth_req_band_width import UpdatePublicKibanaBandwidthReqBandWidth
|
||||
from huaweicloudsdkcss.v1.model.update_public_kibana_whitelist_req import UpdatePublicKibanaWhitelistReq
|
||||
from huaweicloudsdkcss.v1.model.update_public_kibana_whitelist_request import UpdatePublicKibanaWhitelistRequest
|
||||
from huaweicloudsdkcss.v1.model.update_public_kibana_whitelist_response import UpdatePublicKibanaWhitelistResponse
|
||||
from huaweicloudsdkcss.v1.model.update_snapshot_setting_req import UpdateSnapshotSettingReq
|
||||
from huaweicloudsdkcss.v1.model.update_snapshot_setting_request import UpdateSnapshotSettingRequest
|
||||
from huaweicloudsdkcss.v1.model.update_snapshot_setting_response import UpdateSnapshotSettingResponse
|
||||
from huaweicloudsdkcss.v1.model.update_unbind_public_request import UpdateUnbindPublicRequest
|
||||
from huaweicloudsdkcss.v1.model.update_unbind_public_response import UpdateUnbindPublicResponse
|
||||
from huaweicloudsdkcss.v1.model.update_vpcep_connection_req import UpdateVpcepConnectionReq
|
||||
from huaweicloudsdkcss.v1.model.update_vpcep_connection_request import UpdateVpcepConnectionRequest
|
||||
from huaweicloudsdkcss.v1.model.update_vpcep_connection_response import UpdateVpcepConnectionResponse
|
||||
from huaweicloudsdkcss.v1.model.update_vpcep_whitelist_req import UpdateVpcepWhitelistReq
|
||||
from huaweicloudsdkcss.v1.model.update_vpcep_whitelist_request import UpdateVpcepWhitelistRequest
|
||||
from huaweicloudsdkcss.v1.model.update_vpcep_whitelist_response import UpdateVpcepWhitelistResponse
|
||||
from huaweicloudsdkcss.v1.model.update_ymls_req import UpdateYmlsReq
|
||||
from huaweicloudsdkcss.v1.model.update_ymls_req_edit import UpdateYmlsReqEdit
|
||||
from huaweicloudsdkcss.v1.model.update_ymls_req_edit_modify import UpdateYmlsReqEditModify
|
||||
from huaweicloudsdkcss.v1.model.update_ymls_request import UpdateYmlsRequest
|
||||
from huaweicloudsdkcss.v1.model.update_ymls_response import UpdateYmlsResponse
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,19 @@
|
|||
import json
|
||||
|
||||
from huaweicloudsdkcpts.exceptions import exceptions
|
||||
|
||||
class CssError:
|
||||
def __init__(self, request_id=None, error_code=None, error_msg=None):
|
||||
self.error_msg = error_msg
|
||||
self.error_code = error_code
|
||||
self.request_id = request_id
|
||||
|
||||
def handle_exception(response_body):
|
||||
css_error = CssError()
|
||||
|
||||
css_error_dict = json.loads(response_body)
|
||||
for key in css_error_dict:
|
||||
if type(css_error_dict[key]) == dict and "error_code" in css_error_dict[key] and "error_msg" in \
|
||||
css_error_dict[key]:
|
||||
css_error = CssError(css_error_dict[key]["request_id"], css_error_dict[key]["error_code"], css_error_dict[key]["error_msg"])
|
||||
return css_error
|
|
@ -0,0 +1,215 @@
|
|||
# coding: utf-8
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
# import models into model package
|
||||
from huaweicloudsdkcss.v1.model.actions import Actions
|
||||
from huaweicloudsdkcss.v1.model.add_favorite_req import AddFavoriteReq
|
||||
from huaweicloudsdkcss.v1.model.add_favorite_req_template import AddFavoriteReqTemplate
|
||||
from huaweicloudsdkcss.v1.model.add_favorite_request import AddFavoriteRequest
|
||||
from huaweicloudsdkcss.v1.model.add_favorite_response import AddFavoriteResponse
|
||||
from huaweicloudsdkcss.v1.model.address_and_ports import AddressAndPorts
|
||||
from huaweicloudsdkcss.v1.model.batch_add_or_delete_tag_on_cluster_req import BatchAddOrDeleteTagOnClusterReq
|
||||
from huaweicloudsdkcss.v1.model.bind_public_req import BindPublicReq
|
||||
from huaweicloudsdkcss.v1.model.bind_public_req_eip import BindPublicReqEip
|
||||
from huaweicloudsdkcss.v1.model.bind_public_req_eip_band_width import BindPublicReqEipBandWidth
|
||||
from huaweicloudsdkcss.v1.model.cluster_list import ClusterList
|
||||
from huaweicloudsdkcss.v1.model.cluster_list_action_progress import ClusterListActionProgress
|
||||
from huaweicloudsdkcss.v1.model.cluster_list_datastore import ClusterListDatastore
|
||||
from huaweicloudsdkcss.v1.model.cluster_list_failed_reasons import ClusterListFailedReasons
|
||||
from huaweicloudsdkcss.v1.model.cluster_list_instances import ClusterListInstances
|
||||
from huaweicloudsdkcss.v1.model.cluster_list_tags import ClusterListTags
|
||||
from huaweicloudsdkcss.v1.model.config_list import ConfigList
|
||||
from huaweicloudsdkcss.v1.model.confs import Confs
|
||||
from huaweicloudsdkcss.v1.model.connections import Connections
|
||||
from huaweicloudsdkcss.v1.model.create_auto_create_policy_request import CreateAutoCreatePolicyRequest
|
||||
from huaweicloudsdkcss.v1.model.create_auto_create_policy_response import CreateAutoCreatePolicyResponse
|
||||
from huaweicloudsdkcss.v1.model.create_bind_public_request import CreateBindPublicRequest
|
||||
from huaweicloudsdkcss.v1.model.create_bind_public_response import CreateBindPublicResponse
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_backup_strategy_body import CreateClusterBackupStrategyBody
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_body import CreateClusterBody
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_cluster_response import CreateClusterClusterResponse
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_datastore_body import CreateClusterDatastoreBody
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_instance_body import CreateClusterInstanceBody
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_instance_nics_body import CreateClusterInstanceNicsBody
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_instance_volume_body import CreateClusterInstanceVolumeBody
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_req import CreateClusterReq
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_request import CreateClusterRequest
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_response import CreateClusterResponse
|
||||
from huaweicloudsdkcss.v1.model.create_cluster_tags_body import CreateClusterTagsBody
|
||||
from huaweicloudsdkcss.v1.model.create_clusters_tags_request import CreateClustersTagsRequest
|
||||
from huaweicloudsdkcss.v1.model.create_clusters_tags_response import CreateClustersTagsResponse
|
||||
from huaweicloudsdkcss.v1.model.create_cnf_req import CreateCnfReq
|
||||
from huaweicloudsdkcss.v1.model.create_cnf_request import CreateCnfRequest
|
||||
from huaweicloudsdkcss.v1.model.create_cnf_response import CreateCnfResponse
|
||||
from huaweicloudsdkcss.v1.model.create_load_ik_thesaurus_request import CreateLoadIkThesaurusRequest
|
||||
from huaweicloudsdkcss.v1.model.create_load_ik_thesaurus_response import CreateLoadIkThesaurusResponse
|
||||
from huaweicloudsdkcss.v1.model.create_log_backup_request import CreateLogBackupRequest
|
||||
from huaweicloudsdkcss.v1.model.create_log_backup_response import CreateLogBackupResponse
|
||||
from huaweicloudsdkcss.v1.model.create_snapshot_req import CreateSnapshotReq
|
||||
from huaweicloudsdkcss.v1.model.create_snapshot_request import CreateSnapshotRequest
|
||||
from huaweicloudsdkcss.v1.model.create_snapshot_response import CreateSnapshotResponse
|
||||
from huaweicloudsdkcss.v1.model.custom_templates import CustomTemplates
|
||||
from huaweicloudsdkcss.v1.model.delete_cluster_request import DeleteClusterRequest
|
||||
from huaweicloudsdkcss.v1.model.delete_cluster_response import DeleteClusterResponse
|
||||
from huaweicloudsdkcss.v1.model.delete_clusters_tags_request import DeleteClustersTagsRequest
|
||||
from huaweicloudsdkcss.v1.model.delete_clusters_tags_response import DeleteClustersTagsResponse
|
||||
from huaweicloudsdkcss.v1.model.delete_conf_req import DeleteConfReq
|
||||
from huaweicloudsdkcss.v1.model.delete_conf_request import DeleteConfRequest
|
||||
from huaweicloudsdkcss.v1.model.delete_conf_response import DeleteConfResponse
|
||||
from huaweicloudsdkcss.v1.model.delete_ik_thesaurus_request import DeleteIkThesaurusRequest
|
||||
from huaweicloudsdkcss.v1.model.delete_ik_thesaurus_response import DeleteIkThesaurusResponse
|
||||
from huaweicloudsdkcss.v1.model.delete_snapshot_request import DeleteSnapshotRequest
|
||||
from huaweicloudsdkcss.v1.model.delete_snapshot_response import DeleteSnapshotResponse
|
||||
from huaweicloudsdkcss.v1.model.delete_template_req import DeleteTemplateReq
|
||||
from huaweicloudsdkcss.v1.model.delete_template_request import DeleteTemplateRequest
|
||||
from huaweicloudsdkcss.v1.model.delete_template_response import DeleteTemplateResponse
|
||||
from huaweicloudsdkcss.v1.model.esflavors_versions_flavors_resp import EsflavorsVersionsFlavorsResp
|
||||
from huaweicloudsdkcss.v1.model.esflavors_versions_resp import EsflavorsVersionsResp
|
||||
from huaweicloudsdkcss.v1.model.extend_cluster_grow_req import ExtendClusterGrowReq
|
||||
from huaweicloudsdkcss.v1.model.extend_cluster_instances_resp import ExtendClusterInstancesResp
|
||||
from huaweicloudsdkcss.v1.model.extend_cluster_req import ExtendClusterReq
|
||||
from huaweicloudsdkcss.v1.model.get_log_backup_req import GetLogBackupReq
|
||||
from huaweicloudsdkcss.v1.model.list_actions_request import ListActionsRequest
|
||||
from huaweicloudsdkcss.v1.model.list_actions_response import ListActionsResponse
|
||||
from huaweicloudsdkcss.v1.model.list_clusters_details_request import ListClustersDetailsRequest
|
||||
from huaweicloudsdkcss.v1.model.list_clusters_details_response import ListClustersDetailsResponse
|
||||
from huaweicloudsdkcss.v1.model.list_clusters_tags_request import ListClustersTagsRequest
|
||||
from huaweicloudsdkcss.v1.model.list_clusters_tags_response import ListClustersTagsResponse
|
||||
from huaweicloudsdkcss.v1.model.list_confs_request import ListConfsRequest
|
||||
from huaweicloudsdkcss.v1.model.list_confs_response import ListConfsResponse
|
||||
from huaweicloudsdkcss.v1.model.list_flavors_request import ListFlavorsRequest
|
||||
from huaweicloudsdkcss.v1.model.list_flavors_response import ListFlavorsResponse
|
||||
from huaweicloudsdkcss.v1.model.list_pipelines_request import ListPipelinesRequest
|
||||
from huaweicloudsdkcss.v1.model.list_pipelines_response import ListPipelinesResponse
|
||||
from huaweicloudsdkcss.v1.model.list_snapshot_backups_datastore_resp import ListSnapshotBackupsDatastoreResp
|
||||
from huaweicloudsdkcss.v1.model.list_snapshot_backups_resp import ListSnapshotBackupsResp
|
||||
from huaweicloudsdkcss.v1.model.list_snapshots_request import ListSnapshotsRequest
|
||||
from huaweicloudsdkcss.v1.model.list_snapshots_response import ListSnapshotsResponse
|
||||
from huaweicloudsdkcss.v1.model.list_templates_request import ListTemplatesRequest
|
||||
from huaweicloudsdkcss.v1.model.list_templates_response import ListTemplatesResponse
|
||||
from huaweicloudsdkcss.v1.model.list_ymls_job_request import ListYmlsJobRequest
|
||||
from huaweicloudsdkcss.v1.model.list_ymls_job_response import ListYmlsJobResponse
|
||||
from huaweicloudsdkcss.v1.model.list_ymls_request import ListYmlsRequest
|
||||
from huaweicloudsdkcss.v1.model.list_ymls_response import ListYmlsResponse
|
||||
from huaweicloudsdkcss.v1.model.load_custom_thesaurus_req import LoadCustomThesaurusReq
|
||||
from huaweicloudsdkcss.v1.model.log_configuration import LogConfiguration
|
||||
from huaweicloudsdkcss.v1.model.log_list import LogList
|
||||
from huaweicloudsdkcss.v1.model.pay_info_body import PayInfoBody
|
||||
from huaweicloudsdkcss.v1.model.period_req import PeriodReq
|
||||
from huaweicloudsdkcss.v1.model.pipelines import Pipelines
|
||||
from huaweicloudsdkcss.v1.model.reset_password_req import ResetPasswordReq
|
||||
from huaweicloudsdkcss.v1.model.reset_password_request import ResetPasswordRequest
|
||||
from huaweicloudsdkcss.v1.model.reset_password_response import ResetPasswordResponse
|
||||
from huaweicloudsdkcss.v1.model.restart_cluster_request import RestartClusterRequest
|
||||
from huaweicloudsdkcss.v1.model.restart_cluster_response import RestartClusterResponse
|
||||
from huaweicloudsdkcss.v1.model.restore_snapshot_req import RestoreSnapshotReq
|
||||
from huaweicloudsdkcss.v1.model.restore_snapshot_request import RestoreSnapshotRequest
|
||||
from huaweicloudsdkcss.v1.model.restore_snapshot_response import RestoreSnapshotResponse
|
||||
from huaweicloudsdkcss.v1.model.result import Result
|
||||
from huaweicloudsdkcss.v1.model.role_extend_grow_req import RoleExtendGrowReq
|
||||
from huaweicloudsdkcss.v1.model.role_extend_req import RoleExtendReq
|
||||
from huaweicloudsdkcss.v1.model.set_rds_backup_cnf_req import SetRDSBackupCnfReq
|
||||
from huaweicloudsdkcss.v1.model.setting import Setting
|
||||
from huaweicloudsdkcss.v1.model.show_all_tags_tags_resp import ShowAllTagsTagsResp
|
||||
from huaweicloudsdkcss.v1.model.show_auto_create_policy_request import ShowAutoCreatePolicyRequest
|
||||
from huaweicloudsdkcss.v1.model.show_auto_create_policy_response import ShowAutoCreatePolicyResponse
|
||||
from huaweicloudsdkcss.v1.model.show_cluster_tag_request import ShowClusterTagRequest
|
||||
from huaweicloudsdkcss.v1.model.show_cluster_tag_response import ShowClusterTagResponse
|
||||
from huaweicloudsdkcss.v1.model.show_get_conf_detail_request import ShowGetConfDetailRequest
|
||||
from huaweicloudsdkcss.v1.model.show_get_conf_detail_response import ShowGetConfDetailResponse
|
||||
from huaweicloudsdkcss.v1.model.show_get_log_setting_request import ShowGetLogSettingRequest
|
||||
from huaweicloudsdkcss.v1.model.show_get_log_setting_response import ShowGetLogSettingResponse
|
||||
from huaweicloudsdkcss.v1.model.show_ik_thesaurus_request import ShowIkThesaurusRequest
|
||||
from huaweicloudsdkcss.v1.model.show_ik_thesaurus_response import ShowIkThesaurusResponse
|
||||
from huaweicloudsdkcss.v1.model.show_log_backup_request import ShowLogBackupRequest
|
||||
from huaweicloudsdkcss.v1.model.show_log_backup_response import ShowLogBackupResponse
|
||||
from huaweicloudsdkcss.v1.model.show_tags_tags_resp import ShowTagsTagsResp
|
||||
from huaweicloudsdkcss.v1.model.show_vpcep_connection_request import ShowVpcepConnectionRequest
|
||||
from huaweicloudsdkcss.v1.model.show_vpcep_connection_response import ShowVpcepConnectionResponse
|
||||
from huaweicloudsdkcss.v1.model.start_auto_setting_request import StartAutoSettingRequest
|
||||
from huaweicloudsdkcss.v1.model.start_auto_setting_response import StartAutoSettingResponse
|
||||
from huaweicloudsdkcss.v1.model.start_connectivity_test_req import StartConnectivityTestReq
|
||||
from huaweicloudsdkcss.v1.model.start_connectivity_test_request import StartConnectivityTestRequest
|
||||
from huaweicloudsdkcss.v1.model.start_connectivity_test_response import StartConnectivityTestResponse
|
||||
from huaweicloudsdkcss.v1.model.start_kibana_public_req import StartKibanaPublicReq
|
||||
from huaweicloudsdkcss.v1.model.start_kibana_public_req_elb_whitelist import StartKibanaPublicReqElbWhitelist
|
||||
from huaweicloudsdkcss.v1.model.start_kibana_public_request import StartKibanaPublicRequest
|
||||
from huaweicloudsdkcss.v1.model.start_kibana_public_response import StartKibanaPublicResponse
|
||||
from huaweicloudsdkcss.v1.model.start_log_auto_backup_policy_req import StartLogAutoBackupPolicyReq
|
||||
from huaweicloudsdkcss.v1.model.start_log_auto_backup_policy_request import StartLogAutoBackupPolicyRequest
|
||||
from huaweicloudsdkcss.v1.model.start_log_auto_backup_policy_response import StartLogAutoBackupPolicyResponse
|
||||
from huaweicloudsdkcss.v1.model.start_logs_req import StartLogsReq
|
||||
from huaweicloudsdkcss.v1.model.start_logs_request import StartLogsRequest
|
||||
from huaweicloudsdkcss.v1.model.start_logs_response import StartLogsResponse
|
||||
from huaweicloudsdkcss.v1.model.start_pipeline_req import StartPipelineReq
|
||||
from huaweicloudsdkcss.v1.model.start_pipeline_request import StartPipelineRequest
|
||||
from huaweicloudsdkcss.v1.model.start_pipeline_response import StartPipelineResponse
|
||||
from huaweicloudsdkcss.v1.model.start_public_whitelist_req import StartPublicWhitelistReq
|
||||
from huaweicloudsdkcss.v1.model.start_public_whitelist_request import StartPublicWhitelistRequest
|
||||
from huaweicloudsdkcss.v1.model.start_public_whitelist_response import StartPublicWhitelistResponse
|
||||
from huaweicloudsdkcss.v1.model.start_vpecp_req import StartVpecpReq
|
||||
from huaweicloudsdkcss.v1.model.start_vpecp_request import StartVpecpRequest
|
||||
from huaweicloudsdkcss.v1.model.start_vpecp_response import StartVpecpResponse
|
||||
from huaweicloudsdkcss.v1.model.stop_log_auto_backup_policy_request import StopLogAutoBackupPolicyRequest
|
||||
from huaweicloudsdkcss.v1.model.stop_log_auto_backup_policy_response import StopLogAutoBackupPolicyResponse
|
||||
from huaweicloudsdkcss.v1.model.stop_logs_request import StopLogsRequest
|
||||
from huaweicloudsdkcss.v1.model.stop_logs_response import StopLogsResponse
|
||||
from huaweicloudsdkcss.v1.model.stop_pipeline_request import StopPipelineRequest
|
||||
from huaweicloudsdkcss.v1.model.stop_pipeline_response import StopPipelineResponse
|
||||
from huaweicloudsdkcss.v1.model.stop_public_kibana_whitelist_request import StopPublicKibanaWhitelistRequest
|
||||
from huaweicloudsdkcss.v1.model.stop_public_kibana_whitelist_response import StopPublicKibanaWhitelistResponse
|
||||
from huaweicloudsdkcss.v1.model.stop_public_whitelist_request import StopPublicWhitelistRequest
|
||||
from huaweicloudsdkcss.v1.model.stop_public_whitelist_response import StopPublicWhitelistResponse
|
||||
from huaweicloudsdkcss.v1.model.stop_snapshot_request import StopSnapshotRequest
|
||||
from huaweicloudsdkcss.v1.model.stop_snapshot_response import StopSnapshotResponse
|
||||
from huaweicloudsdkcss.v1.model.stop_vpecp_request import StopVpecpRequest
|
||||
from huaweicloudsdkcss.v1.model.stop_vpecp_response import StopVpecpResponse
|
||||
from huaweicloudsdkcss.v1.model.sys_tags import SysTags
|
||||
from huaweicloudsdkcss.v1.model.system_templates import SystemTemplates
|
||||
from huaweicloudsdkcss.v1.model.tag import Tag
|
||||
from huaweicloudsdkcss.v1.model.tag_list import TagList
|
||||
from huaweicloudsdkcss.v1.model.tag_req import TagReq
|
||||
from huaweicloudsdkcss.v1.model.update_alter_kibana_request import UpdateAlterKibanaRequest
|
||||
from huaweicloudsdkcss.v1.model.update_alter_kibana_response import UpdateAlterKibanaResponse
|
||||
from huaweicloudsdkcss.v1.model.update_batch_clusters_tags_request import UpdateBatchClustersTagsRequest
|
||||
from huaweicloudsdkcss.v1.model.update_batch_clusters_tags_response import UpdateBatchClustersTagsResponse
|
||||
from huaweicloudsdkcss.v1.model.update_close_kibana_request import UpdateCloseKibanaRequest
|
||||
from huaweicloudsdkcss.v1.model.update_close_kibana_response import UpdateCloseKibanaResponse
|
||||
from huaweicloudsdkcss.v1.model.update_cluster_name_req import UpdateClusterNameReq
|
||||
from huaweicloudsdkcss.v1.model.update_cluster_name_request import UpdateClusterNameRequest
|
||||
from huaweicloudsdkcss.v1.model.update_cluster_name_response import UpdateClusterNameResponse
|
||||
from huaweicloudsdkcss.v1.model.update_cnf_request import UpdateCnfRequest
|
||||
from huaweicloudsdkcss.v1.model.update_cnf_response import UpdateCnfResponse
|
||||
from huaweicloudsdkcss.v1.model.update_extend_cluster_request import UpdateExtendClusterRequest
|
||||
from huaweicloudsdkcss.v1.model.update_extend_cluster_response import UpdateExtendClusterResponse
|
||||
from huaweicloudsdkcss.v1.model.update_extend_instance_storage_request import UpdateExtendInstanceStorageRequest
|
||||
from huaweicloudsdkcss.v1.model.update_extend_instance_storage_response import UpdateExtendInstanceStorageResponse
|
||||
from huaweicloudsdkcss.v1.model.update_log_setting_req import UpdateLogSettingReq
|
||||
from huaweicloudsdkcss.v1.model.update_log_setting_request import UpdateLogSettingRequest
|
||||
from huaweicloudsdkcss.v1.model.update_log_setting_response import UpdateLogSettingResponse
|
||||
from huaweicloudsdkcss.v1.model.update_ondemand_cluster_to_period_request import UpdateOndemandClusterToPeriodRequest
|
||||
from huaweicloudsdkcss.v1.model.update_ondemand_cluster_to_period_response import UpdateOndemandClusterToPeriodResponse
|
||||
from huaweicloudsdkcss.v1.model.update_public_band_width_request import UpdatePublicBandWidthRequest
|
||||
from huaweicloudsdkcss.v1.model.update_public_band_width_response import UpdatePublicBandWidthResponse
|
||||
from huaweicloudsdkcss.v1.model.update_public_kibana_bandwidth_req import UpdatePublicKibanaBandwidthReq
|
||||
from huaweicloudsdkcss.v1.model.update_public_kibana_bandwidth_req_band_width import UpdatePublicKibanaBandwidthReqBandWidth
|
||||
from huaweicloudsdkcss.v1.model.update_public_kibana_whitelist_req import UpdatePublicKibanaWhitelistReq
|
||||
from huaweicloudsdkcss.v1.model.update_public_kibana_whitelist_request import UpdatePublicKibanaWhitelistRequest
|
||||
from huaweicloudsdkcss.v1.model.update_public_kibana_whitelist_response import UpdatePublicKibanaWhitelistResponse
|
||||
from huaweicloudsdkcss.v1.model.update_snapshot_setting_req import UpdateSnapshotSettingReq
|
||||
from huaweicloudsdkcss.v1.model.update_snapshot_setting_request import UpdateSnapshotSettingRequest
|
||||
from huaweicloudsdkcss.v1.model.update_snapshot_setting_response import UpdateSnapshotSettingResponse
|
||||
from huaweicloudsdkcss.v1.model.update_unbind_public_request import UpdateUnbindPublicRequest
|
||||
from huaweicloudsdkcss.v1.model.update_unbind_public_response import UpdateUnbindPublicResponse
|
||||
from huaweicloudsdkcss.v1.model.update_vpcep_connection_req import UpdateVpcepConnectionReq
|
||||
from huaweicloudsdkcss.v1.model.update_vpcep_connection_request import UpdateVpcepConnectionRequest
|
||||
from huaweicloudsdkcss.v1.model.update_vpcep_connection_response import UpdateVpcepConnectionResponse
|
||||
from huaweicloudsdkcss.v1.model.update_vpcep_whitelist_req import UpdateVpcepWhitelistReq
|
||||
from huaweicloudsdkcss.v1.model.update_vpcep_whitelist_request import UpdateVpcepWhitelistRequest
|
||||
from huaweicloudsdkcss.v1.model.update_vpcep_whitelist_response import UpdateVpcepWhitelistResponse
|
||||
from huaweicloudsdkcss.v1.model.update_ymls_req import UpdateYmlsReq
|
||||
from huaweicloudsdkcss.v1.model.update_ymls_req_edit import UpdateYmlsReqEdit
|
||||
from huaweicloudsdkcss.v1.model.update_ymls_req_edit_modify import UpdateYmlsReqEditModify
|
||||
from huaweicloudsdkcss.v1.model.update_ymls_request import UpdateYmlsRequest
|
||||
from huaweicloudsdkcss.v1.model.update_ymls_response import UpdateYmlsResponse
|
|
@ -0,0 +1,276 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class Actions:
|
||||
|
||||
|
||||
"""
|
||||
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',
|
||||
'action_type': 'str',
|
||||
'conf_content': 'str',
|
||||
'status': 'str',
|
||||
'update_at': 'str',
|
||||
'error_msg': 'str',
|
||||
'message': 'str'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'id': 'id',
|
||||
'action_type': 'actionType',
|
||||
'conf_content': 'confContent',
|
||||
'status': 'status',
|
||||
'update_at': 'updateAt',
|
||||
'error_msg': 'errorMsg',
|
||||
'message': 'message'
|
||||
}
|
||||
|
||||
def __init__(self, id=None, action_type=None, conf_content=None, status=None, update_at=None, error_msg=None, message=None):
|
||||
"""Actions - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._id = None
|
||||
self._action_type = None
|
||||
self._conf_content = None
|
||||
self._status = None
|
||||
self._update_at = None
|
||||
self._error_msg = None
|
||||
self._message = None
|
||||
self.discriminator = None
|
||||
|
||||
if id is not None:
|
||||
self.id = id
|
||||
if action_type is not None:
|
||||
self.action_type = action_type
|
||||
if conf_content is not None:
|
||||
self.conf_content = conf_content
|
||||
if status is not None:
|
||||
self.status = status
|
||||
if update_at is not None:
|
||||
self.update_at = update_at
|
||||
if error_msg is not None:
|
||||
self.error_msg = error_msg
|
||||
if message is not None:
|
||||
self.message = message
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
"""Gets the id of this Actions.
|
||||
|
||||
操作记录id。
|
||||
|
||||
:return: The id of this Actions.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._id
|
||||
|
||||
@id.setter
|
||||
def id(self, id):
|
||||
"""Sets the id of this Actions.
|
||||
|
||||
操作记录id。
|
||||
|
||||
:param id: The id of this Actions.
|
||||
:type: str
|
||||
"""
|
||||
self._id = id
|
||||
|
||||
@property
|
||||
def action_type(self):
|
||||
"""Gets the action_type of this Actions.
|
||||
|
||||
操作类型。
|
||||
|
||||
:return: The action_type of this Actions.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._action_type
|
||||
|
||||
@action_type.setter
|
||||
def action_type(self, action_type):
|
||||
"""Sets the action_type of this Actions.
|
||||
|
||||
操作类型。
|
||||
|
||||
:param action_type: The action_type of this Actions.
|
||||
:type: str
|
||||
"""
|
||||
self._action_type = action_type
|
||||
|
||||
@property
|
||||
def conf_content(self):
|
||||
"""Gets the conf_content of this Actions.
|
||||
|
||||
配置文件内容。
|
||||
|
||||
:return: The conf_content of this Actions.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._conf_content
|
||||
|
||||
@conf_content.setter
|
||||
def conf_content(self, conf_content):
|
||||
"""Sets the conf_content of this Actions.
|
||||
|
||||
配置文件内容。
|
||||
|
||||
:param conf_content: The conf_content of this Actions.
|
||||
:type: str
|
||||
"""
|
||||
self._conf_content = conf_content
|
||||
|
||||
@property
|
||||
def status(self):
|
||||
"""Gets the status of this Actions.
|
||||
|
||||
操作状态。
|
||||
|
||||
:return: The status of this Actions.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._status
|
||||
|
||||
@status.setter
|
||||
def status(self, status):
|
||||
"""Sets the status of this Actions.
|
||||
|
||||
操作状态。
|
||||
|
||||
:param status: The status of this Actions.
|
||||
:type: str
|
||||
"""
|
||||
self._status = status
|
||||
|
||||
@property
|
||||
def update_at(self):
|
||||
"""Gets the update_at of this Actions.
|
||||
|
||||
更新时间。
|
||||
|
||||
:return: The update_at of this Actions.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._update_at
|
||||
|
||||
@update_at.setter
|
||||
def update_at(self, update_at):
|
||||
"""Sets the update_at of this Actions.
|
||||
|
||||
更新时间。
|
||||
|
||||
:param update_at: The update_at of this Actions.
|
||||
:type: str
|
||||
"""
|
||||
self._update_at = update_at
|
||||
|
||||
@property
|
||||
def error_msg(self):
|
||||
"""Gets the error_msg of this Actions.
|
||||
|
||||
错误信息。
|
||||
|
||||
:return: The error_msg of this Actions.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._error_msg
|
||||
|
||||
@error_msg.setter
|
||||
def error_msg(self, error_msg):
|
||||
"""Sets the error_msg of this Actions.
|
||||
|
||||
错误信息。
|
||||
|
||||
:param error_msg: The error_msg of this Actions.
|
||||
:type: str
|
||||
"""
|
||||
self._error_msg = error_msg
|
||||
|
||||
@property
|
||||
def message(self):
|
||||
"""Gets the message of this Actions.
|
||||
|
||||
内容。
|
||||
|
||||
:return: The message of this Actions.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._message
|
||||
|
||||
@message.setter
|
||||
def message(self, message):
|
||||
"""Sets the message of this Actions.
|
||||
|
||||
内容。
|
||||
|
||||
:param message: The message of this Actions.
|
||||
:type: str
|
||||
"""
|
||||
self._message = message
|
||||
|
||||
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, Actions):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -8,7 +8,7 @@ import six
|
|||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class PlanRecordTime:
|
||||
class AddFavoriteReq:
|
||||
|
||||
|
||||
"""
|
||||
|
@ -22,71 +22,68 @@ class PlanRecordTime:
|
|||
sensitive_list = []
|
||||
|
||||
openapi_types = {
|
||||
'start_time': 'date',
|
||||
'end_time': 'date'
|
||||
'name': 'str',
|
||||
'template': 'AddFavoriteReqTemplate'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'start_time': 'start_time',
|
||||
'end_time': 'end_time'
|
||||
'name': 'name',
|
||||
'template': 'template'
|
||||
}
|
||||
|
||||
def __init__(self, start_time=None, end_time=None):
|
||||
"""PlanRecordTime - a model defined in huaweicloud sdk"""
|
||||
def __init__(self, name=None, template=None):
|
||||
"""AddFavoriteReq - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._start_time = None
|
||||
self._end_time = None
|
||||
self._name = None
|
||||
self._template = None
|
||||
self.discriminator = None
|
||||
|
||||
self.start_time = start_time
|
||||
if end_time is not None:
|
||||
self.end_time = end_time
|
||||
self.name = name
|
||||
self.template = template
|
||||
|
||||
@property
|
||||
def start_time(self):
|
||||
"""Gets the start_time of this PlanRecordTime.
|
||||
def name(self):
|
||||
"""Gets the name of this AddFavoriteReq.
|
||||
|
||||
录制开始时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。
|
||||
自定义模板名称。
|
||||
|
||||
:return: The start_time of this PlanRecordTime.
|
||||
:rtype: date
|
||||
:return: The name of this AddFavoriteReq.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._start_time
|
||||
return self._name
|
||||
|
||||
@start_time.setter
|
||||
def start_time(self, start_time):
|
||||
"""Sets the start_time of this PlanRecordTime.
|
||||
@name.setter
|
||||
def name(self, name):
|
||||
"""Sets the name of this AddFavoriteReq.
|
||||
|
||||
录制开始时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。
|
||||
自定义模板名称。
|
||||
|
||||
:param start_time: The start_time of this PlanRecordTime.
|
||||
:type: date
|
||||
:param name: The name of this AddFavoriteReq.
|
||||
:type: str
|
||||
"""
|
||||
self._start_time = start_time
|
||||
self._name = name
|
||||
|
||||
@property
|
||||
def end_time(self):
|
||||
"""Gets the end_time of this PlanRecordTime.
|
||||
def template(self):
|
||||
"""Gets the template of this AddFavoriteReq.
|
||||
|
||||
录制结束时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。如果填写,填写的时间必须晚于当前时间。如果不填写,则在计划录制触发后不停止。
|
||||
|
||||
:return: The end_time of this PlanRecordTime.
|
||||
:rtype: date
|
||||
:return: The template of this AddFavoriteReq.
|
||||
:rtype: AddFavoriteReqTemplate
|
||||
"""
|
||||
return self._end_time
|
||||
return self._template
|
||||
|
||||
@end_time.setter
|
||||
def end_time(self, end_time):
|
||||
"""Sets the end_time of this PlanRecordTime.
|
||||
@template.setter
|
||||
def template(self, template):
|
||||
"""Sets the template of this AddFavoriteReq.
|
||||
|
||||
录制结束时间,格式:yyyy-mm-ddThh:mm:ssZ,UTC时间。如果填写,填写的时间必须晚于当前时间。如果不填写,则在计划录制触发后不停止。
|
||||
|
||||
:param end_time: The end_time of this PlanRecordTime.
|
||||
:type: date
|
||||
:param template: The template of this AddFavoriteReq.
|
||||
:type: AddFavoriteReqTemplate
|
||||
"""
|
||||
self._end_time = end_time
|
||||
self._template = template
|
||||
|
||||
def to_dict(self):
|
||||
"""Returns the model properties as a dict"""
|
||||
|
@ -130,7 +127,7 @@ class PlanRecordTime:
|
|||
|
||||
def __eq__(self, other):
|
||||
"""Returns true if both objects are equal"""
|
||||
if not isinstance(other, PlanRecordTime):
|
||||
if not isinstance(other, AddFavoriteReq):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
|
@ -0,0 +1,140 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class AddFavoriteReqTemplate:
|
||||
|
||||
|
||||
"""
|
||||
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 = {
|
||||
'template_name': 'str',
|
||||
'desc': 'str'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'template_name': 'templateName',
|
||||
'desc': 'desc'
|
||||
}
|
||||
|
||||
def __init__(self, template_name=None, desc=None):
|
||||
"""AddFavoriteReqTemplate - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._template_name = None
|
||||
self._desc = None
|
||||
self.discriminator = None
|
||||
|
||||
self.template_name = template_name
|
||||
if desc is not None:
|
||||
self.desc = desc
|
||||
|
||||
@property
|
||||
def template_name(self):
|
||||
"""Gets the template_name of this AddFavoriteReqTemplate.
|
||||
|
||||
模板名称。
|
||||
|
||||
:return: The template_name of this AddFavoriteReqTemplate.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._template_name
|
||||
|
||||
@template_name.setter
|
||||
def template_name(self, template_name):
|
||||
"""Sets the template_name of this AddFavoriteReqTemplate.
|
||||
|
||||
模板名称。
|
||||
|
||||
:param template_name: The template_name of this AddFavoriteReqTemplate.
|
||||
:type: str
|
||||
"""
|
||||
self._template_name = template_name
|
||||
|
||||
@property
|
||||
def desc(self):
|
||||
"""Gets the desc of this AddFavoriteReqTemplate.
|
||||
|
||||
模板描述。
|
||||
|
||||
:return: The desc of this AddFavoriteReqTemplate.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._desc
|
||||
|
||||
@desc.setter
|
||||
def desc(self, desc):
|
||||
"""Sets the desc of this AddFavoriteReqTemplate.
|
||||
|
||||
模板描述。
|
||||
|
||||
:param desc: The desc of this AddFavoriteReqTemplate.
|
||||
:type: str
|
||||
"""
|
||||
self._desc = desc
|
||||
|
||||
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, AddFavoriteReqTemplate):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -0,0 +1,138 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class AddFavoriteRequest:
|
||||
|
||||
|
||||
"""
|
||||
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 = {
|
||||
'cluster_id': 'str',
|
||||
'body': 'AddFavoriteReq'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'cluster_id': 'cluster_id',
|
||||
'body': 'body'
|
||||
}
|
||||
|
||||
def __init__(self, cluster_id=None, body=None):
|
||||
"""AddFavoriteRequest - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._cluster_id = None
|
||||
self._body = None
|
||||
self.discriminator = None
|
||||
|
||||
self.cluster_id = cluster_id
|
||||
if body is not None:
|
||||
self.body = body
|
||||
|
||||
@property
|
||||
def cluster_id(self):
|
||||
"""Gets the cluster_id of this AddFavoriteRequest.
|
||||
|
||||
指定查询集群ID。
|
||||
|
||||
:return: The cluster_id of this AddFavoriteRequest.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._cluster_id
|
||||
|
||||
@cluster_id.setter
|
||||
def cluster_id(self, cluster_id):
|
||||
"""Sets the cluster_id of this AddFavoriteRequest.
|
||||
|
||||
指定查询集群ID。
|
||||
|
||||
:param cluster_id: The cluster_id of this AddFavoriteRequest.
|
||||
:type: str
|
||||
"""
|
||||
self._cluster_id = cluster_id
|
||||
|
||||
@property
|
||||
def body(self):
|
||||
"""Gets the body of this AddFavoriteRequest.
|
||||
|
||||
|
||||
:return: The body of this AddFavoriteRequest.
|
||||
:rtype: AddFavoriteReq
|
||||
"""
|
||||
return self._body
|
||||
|
||||
@body.setter
|
||||
def body(self, body):
|
||||
"""Sets the body of this AddFavoriteRequest.
|
||||
|
||||
|
||||
:param body: The body of this AddFavoriteRequest.
|
||||
:type: AddFavoriteReq
|
||||
"""
|
||||
self._body = body
|
||||
|
||||
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, AddFavoriteRequest):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -0,0 +1,85 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
from huaweicloudsdkcore.sdk_response import SdkResponse
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class AddFavoriteResponse(SdkResponse):
|
||||
|
||||
|
||||
"""
|
||||
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 = {
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
}
|
||||
|
||||
def __init__(self):
|
||||
"""AddFavoriteResponse - a model defined in huaweicloud sdk"""
|
||||
|
||||
super(AddFavoriteResponse, self).__init__()
|
||||
self.discriminator = None
|
||||
|
||||
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, AddFavoriteResponse):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -0,0 +1,167 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class AddressAndPorts:
|
||||
|
||||
|
||||
"""
|
||||
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 = {
|
||||
'address': 'str',
|
||||
'port': 'int',
|
||||
'status': 'int'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'address': 'address',
|
||||
'port': 'port',
|
||||
'status': 'status'
|
||||
}
|
||||
|
||||
def __init__(self, address=None, port=None, status=None):
|
||||
"""AddressAndPorts - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._address = None
|
||||
self._port = None
|
||||
self._status = None
|
||||
self.discriminator = None
|
||||
|
||||
self.address = address
|
||||
if port is not None:
|
||||
self.port = port
|
||||
if status is not None:
|
||||
self.status = status
|
||||
|
||||
@property
|
||||
def address(self):
|
||||
"""Gets the address of this AddressAndPorts.
|
||||
|
||||
IP地址或域名。
|
||||
|
||||
:return: The address of this AddressAndPorts.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._address
|
||||
|
||||
@address.setter
|
||||
def address(self, address):
|
||||
"""Sets the address of this AddressAndPorts.
|
||||
|
||||
IP地址或域名。
|
||||
|
||||
:param address: The address of this AddressAndPorts.
|
||||
:type: str
|
||||
"""
|
||||
self._address = address
|
||||
|
||||
@property
|
||||
def port(self):
|
||||
"""Gets the port of this AddressAndPorts.
|
||||
|
||||
端口号。
|
||||
|
||||
:return: The port of this AddressAndPorts.
|
||||
:rtype: int
|
||||
"""
|
||||
return self._port
|
||||
|
||||
@port.setter
|
||||
def port(self, port):
|
||||
"""Sets the port of this AddressAndPorts.
|
||||
|
||||
端口号。
|
||||
|
||||
:param port: The port of this AddressAndPorts.
|
||||
:type: int
|
||||
"""
|
||||
self._port = port
|
||||
|
||||
@property
|
||||
def status(self):
|
||||
"""Gets the status of this AddressAndPorts.
|
||||
|
||||
联通状态
|
||||
|
||||
:return: The status of this AddressAndPorts.
|
||||
:rtype: int
|
||||
"""
|
||||
return self._status
|
||||
|
||||
@status.setter
|
||||
def status(self, status):
|
||||
"""Sets the status of this AddressAndPorts.
|
||||
|
||||
联通状态
|
||||
|
||||
:param status: The status of this AddressAndPorts.
|
||||
:type: int
|
||||
"""
|
||||
self._status = status
|
||||
|
||||
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, AddressAndPorts):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -0,0 +1,166 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class BatchAddOrDeleteTagOnClusterReq:
|
||||
|
||||
|
||||
"""
|
||||
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 = {
|
||||
'action': 'str',
|
||||
'tags': 'list[TagList]',
|
||||
'sys_tags': 'list[SysTags]'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'action': 'action',
|
||||
'tags': 'tags',
|
||||
'sys_tags': 'sysTags'
|
||||
}
|
||||
|
||||
def __init__(self, action=None, tags=None, sys_tags=None):
|
||||
"""BatchAddOrDeleteTagOnClusterReq - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._action = None
|
||||
self._tags = None
|
||||
self._sys_tags = None
|
||||
self.discriminator = None
|
||||
|
||||
self.action = action
|
||||
self.tags = tags
|
||||
if sys_tags is not None:
|
||||
self.sys_tags = sys_tags
|
||||
|
||||
@property
|
||||
def action(self):
|
||||
"""Gets the action of this BatchAddOrDeleteTagOnClusterReq.
|
||||
|
||||
操作类型。 说明:通过该属性标识当前所需的操作类型。 - create:批量添加标签。 - delete:批量删除标签。
|
||||
|
||||
:return: The action of this BatchAddOrDeleteTagOnClusterReq.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._action
|
||||
|
||||
@action.setter
|
||||
def action(self, action):
|
||||
"""Sets the action of this BatchAddOrDeleteTagOnClusterReq.
|
||||
|
||||
操作类型。 说明:通过该属性标识当前所需的操作类型。 - create:批量添加标签。 - delete:批量删除标签。
|
||||
|
||||
:param action: The action of this BatchAddOrDeleteTagOnClusterReq.
|
||||
:type: str
|
||||
"""
|
||||
self._action = action
|
||||
|
||||
@property
|
||||
def tags(self):
|
||||
"""Gets the tags of this BatchAddOrDeleteTagOnClusterReq.
|
||||
|
||||
标签列表
|
||||
|
||||
:return: The tags of this BatchAddOrDeleteTagOnClusterReq.
|
||||
:rtype: list[TagList]
|
||||
"""
|
||||
return self._tags
|
||||
|
||||
@tags.setter
|
||||
def tags(self, tags):
|
||||
"""Sets the tags of this BatchAddOrDeleteTagOnClusterReq.
|
||||
|
||||
标签列表
|
||||
|
||||
:param tags: The tags of this BatchAddOrDeleteTagOnClusterReq.
|
||||
:type: list[TagList]
|
||||
"""
|
||||
self._tags = tags
|
||||
|
||||
@property
|
||||
def sys_tags(self):
|
||||
"""Gets the sys_tags of this BatchAddOrDeleteTagOnClusterReq.
|
||||
|
||||
标签列表
|
||||
|
||||
:return: The sys_tags of this BatchAddOrDeleteTagOnClusterReq.
|
||||
:rtype: list[SysTags]
|
||||
"""
|
||||
return self._sys_tags
|
||||
|
||||
@sys_tags.setter
|
||||
def sys_tags(self, sys_tags):
|
||||
"""Sets the sys_tags of this BatchAddOrDeleteTagOnClusterReq.
|
||||
|
||||
标签列表
|
||||
|
||||
:param sys_tags: The sys_tags of this BatchAddOrDeleteTagOnClusterReq.
|
||||
:type: list[SysTags]
|
||||
"""
|
||||
self._sys_tags = sys_tags
|
||||
|
||||
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, BatchAddOrDeleteTagOnClusterReq):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -0,0 +1,138 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class BindPublicReq:
|
||||
|
||||
|
||||
"""
|
||||
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 = {
|
||||
'eip': 'BindPublicReqEip',
|
||||
'is_auto_pay': 'int'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'eip': 'eip',
|
||||
'is_auto_pay': 'isAutoPay'
|
||||
}
|
||||
|
||||
def __init__(self, eip=None, is_auto_pay=None):
|
||||
"""BindPublicReq - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._eip = None
|
||||
self._is_auto_pay = None
|
||||
self.discriminator = None
|
||||
|
||||
self.eip = eip
|
||||
if is_auto_pay is not None:
|
||||
self.is_auto_pay = is_auto_pay
|
||||
|
||||
@property
|
||||
def eip(self):
|
||||
"""Gets the eip of this BindPublicReq.
|
||||
|
||||
|
||||
:return: The eip of this BindPublicReq.
|
||||
:rtype: BindPublicReqEip
|
||||
"""
|
||||
return self._eip
|
||||
|
||||
@eip.setter
|
||||
def eip(self, eip):
|
||||
"""Sets the eip of this BindPublicReq.
|
||||
|
||||
|
||||
:param eip: The eip of this BindPublicReq.
|
||||
:type: BindPublicReqEip
|
||||
"""
|
||||
self._eip = eip
|
||||
|
||||
@property
|
||||
def is_auto_pay(self):
|
||||
"""Gets the is_auto_pay of this BindPublicReq.
|
||||
|
||||
是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。 - 1:是(会自动选择折扣和优惠券进行优惠,然后自动从客户华为云账户中支付),自动支付失败后会生成订单成功(该订单应付金额是优惠后金额)、但订单状态为“待支付”,等待客户手动支付(手动支付时,客户还可以修改系统自动选择的折扣和优惠券)。 - 0: 否(需要客户手动去支付,客户可以选择折扣和优惠券)。默认值为“0”。
|
||||
|
||||
:return: The is_auto_pay of this BindPublicReq.
|
||||
:rtype: int
|
||||
"""
|
||||
return self._is_auto_pay
|
||||
|
||||
@is_auto_pay.setter
|
||||
def is_auto_pay(self, is_auto_pay):
|
||||
"""Sets the is_auto_pay of this BindPublicReq.
|
||||
|
||||
是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。 - 1:是(会自动选择折扣和优惠券进行优惠,然后自动从客户华为云账户中支付),自动支付失败后会生成订单成功(该订单应付金额是优惠后金额)、但订单状态为“待支付”,等待客户手动支付(手动支付时,客户还可以修改系统自动选择的折扣和优惠券)。 - 0: 否(需要客户手动去支付,客户可以选择折扣和优惠券)。默认值为“0”。
|
||||
|
||||
:param is_auto_pay: The is_auto_pay of this BindPublicReq.
|
||||
:type: int
|
||||
"""
|
||||
self._is_auto_pay = is_auto_pay
|
||||
|
||||
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, BindPublicReq):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -0,0 +1,138 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class BindPublicReqEip:
|
||||
|
||||
|
||||
"""
|
||||
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 = {
|
||||
'band_width': 'BindPublicReqEipBandWidth',
|
||||
'is_auto_pay': 'int'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'band_width': 'bandWidth',
|
||||
'is_auto_pay': 'isAutoPay'
|
||||
}
|
||||
|
||||
def __init__(self, band_width=None, is_auto_pay=None):
|
||||
"""BindPublicReqEip - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._band_width = None
|
||||
self._is_auto_pay = None
|
||||
self.discriminator = None
|
||||
|
||||
self.band_width = band_width
|
||||
if is_auto_pay is not None:
|
||||
self.is_auto_pay = is_auto_pay
|
||||
|
||||
@property
|
||||
def band_width(self):
|
||||
"""Gets the band_width of this BindPublicReqEip.
|
||||
|
||||
|
||||
:return: The band_width of this BindPublicReqEip.
|
||||
:rtype: BindPublicReqEipBandWidth
|
||||
"""
|
||||
return self._band_width
|
||||
|
||||
@band_width.setter
|
||||
def band_width(self, band_width):
|
||||
"""Sets the band_width of this BindPublicReqEip.
|
||||
|
||||
|
||||
:param band_width: The band_width of this BindPublicReqEip.
|
||||
:type: BindPublicReqEipBandWidth
|
||||
"""
|
||||
self._band_width = band_width
|
||||
|
||||
@property
|
||||
def is_auto_pay(self):
|
||||
"""Gets the is_auto_pay of this BindPublicReqEip.
|
||||
|
||||
是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。 - 1:是(会自动选择折扣和优惠券进行优惠,然后自动从客户华为云账户中支付),自动支付失败后会生成订单成功(该订单应付金额是优惠后金额)、但订单状态为“待支付”,等待客户手动支付(手动支付时,客户还可以修改系统自动选择的折扣和优惠券)。 - 0: 否(需要客户手动去支付,客户可以选择折扣和优惠券)。默认值为“0”。
|
||||
|
||||
:return: The is_auto_pay of this BindPublicReqEip.
|
||||
:rtype: int
|
||||
"""
|
||||
return self._is_auto_pay
|
||||
|
||||
@is_auto_pay.setter
|
||||
def is_auto_pay(self, is_auto_pay):
|
||||
"""Sets the is_auto_pay of this BindPublicReqEip.
|
||||
|
||||
是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。 - 1:是(会自动选择折扣和优惠券进行优惠,然后自动从客户华为云账户中支付),自动支付失败后会生成订单成功(该订单应付金额是优惠后金额)、但订单状态为“待支付”,等待客户手动支付(手动支付时,客户还可以修改系统自动选择的折扣和优惠券)。 - 0: 否(需要客户手动去支付,客户可以选择折扣和优惠券)。默认值为“0”。
|
||||
|
||||
:param is_auto_pay: The is_auto_pay of this BindPublicReqEip.
|
||||
:type: int
|
||||
"""
|
||||
self._is_auto_pay = is_auto_pay
|
||||
|
||||
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, BindPublicReqEip):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -0,0 +1,113 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class BindPublicReqEipBandWidth:
|
||||
|
||||
|
||||
"""
|
||||
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 = {
|
||||
'size': 'int'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'size': 'size'
|
||||
}
|
||||
|
||||
def __init__(self, size=None):
|
||||
"""BindPublicReqEipBandWidth - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._size = None
|
||||
self.discriminator = None
|
||||
|
||||
self.size = size
|
||||
|
||||
@property
|
||||
def size(self):
|
||||
"""Gets the size of this BindPublicReqEipBandWidth.
|
||||
|
||||
带宽大小。
|
||||
|
||||
:return: The size of this BindPublicReqEipBandWidth.
|
||||
:rtype: int
|
||||
"""
|
||||
return self._size
|
||||
|
||||
@size.setter
|
||||
def size(self, size):
|
||||
"""Sets the size of this BindPublicReqEipBandWidth.
|
||||
|
||||
带宽大小。
|
||||
|
||||
:param size: The size of this BindPublicReqEipBandWidth.
|
||||
:type: int
|
||||
"""
|
||||
self._size = size
|
||||
|
||||
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, BindPublicReqEipBandWidth):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -0,0 +1,592 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class ClusterList:
|
||||
|
||||
|
||||
"""
|
||||
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 = {
|
||||
'datastore': 'ClusterListDatastore',
|
||||
'instances': 'list[ClusterListInstances]',
|
||||
'updated': 'str',
|
||||
'name': 'str',
|
||||
'created': 'str',
|
||||
'id': 'str',
|
||||
'status': 'str',
|
||||
'endpoint': 'str',
|
||||
'action_progress': 'ClusterListActionProgress',
|
||||
'actions': 'list[str]',
|
||||
'failed_reasons': 'ClusterListFailedReasons',
|
||||
'authority_enable': 'bool',
|
||||
'vpc_id': 'str',
|
||||
'subnet_id': 'str',
|
||||
'security_group_id': 'str',
|
||||
'enterprise_project_id': 'str',
|
||||
'period': 'bool',
|
||||
'https_enable': 'bool',
|
||||
'tags': 'list[ClusterListTags]'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'datastore': 'datastore',
|
||||
'instances': 'instances',
|
||||
'updated': 'updated',
|
||||
'name': 'name',
|
||||
'created': 'created',
|
||||
'id': 'id',
|
||||
'status': 'status',
|
||||
'endpoint': 'endpoint',
|
||||
'action_progress': 'actionProgress',
|
||||
'actions': 'actions',
|
||||
'failed_reasons': 'failed_reasons',
|
||||
'authority_enable': 'authorityEnable',
|
||||
'vpc_id': 'vpcId',
|
||||
'subnet_id': 'subnetId',
|
||||
'security_group_id': 'securityGroupId',
|
||||
'enterprise_project_id': 'enterprise_project_id',
|
||||
'period': 'period',
|
||||
'https_enable': 'httpsEnable',
|
||||
'tags': 'tags'
|
||||
}
|
||||
|
||||
def __init__(self, datastore=None, instances=None, updated=None, name=None, created=None, id=None, status=None, endpoint=None, action_progress=None, actions=None, failed_reasons=None, authority_enable=None, vpc_id=None, subnet_id=None, security_group_id=None, enterprise_project_id=None, period=None, https_enable=None, tags=None):
|
||||
"""ClusterList - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._datastore = None
|
||||
self._instances = None
|
||||
self._updated = None
|
||||
self._name = None
|
||||
self._created = None
|
||||
self._id = None
|
||||
self._status = None
|
||||
self._endpoint = None
|
||||
self._action_progress = None
|
||||
self._actions = None
|
||||
self._failed_reasons = None
|
||||
self._authority_enable = None
|
||||
self._vpc_id = None
|
||||
self._subnet_id = None
|
||||
self._security_group_id = None
|
||||
self._enterprise_project_id = None
|
||||
self._period = None
|
||||
self._https_enable = None
|
||||
self._tags = None
|
||||
self.discriminator = None
|
||||
|
||||
if datastore is not None:
|
||||
self.datastore = datastore
|
||||
if instances is not None:
|
||||
self.instances = instances
|
||||
if updated is not None:
|
||||
self.updated = updated
|
||||
if name is not None:
|
||||
self.name = name
|
||||
if created is not None:
|
||||
self.created = created
|
||||
if id is not None:
|
||||
self.id = id
|
||||
if status is not None:
|
||||
self.status = status
|
||||
if endpoint is not None:
|
||||
self.endpoint = endpoint
|
||||
if action_progress is not None:
|
||||
self.action_progress = action_progress
|
||||
if actions is not None:
|
||||
self.actions = actions
|
||||
if failed_reasons is not None:
|
||||
self.failed_reasons = failed_reasons
|
||||
if authority_enable is not None:
|
||||
self.authority_enable = authority_enable
|
||||
if vpc_id is not None:
|
||||
self.vpc_id = vpc_id
|
||||
if subnet_id is not None:
|
||||
self.subnet_id = subnet_id
|
||||
if security_group_id is not None:
|
||||
self.security_group_id = security_group_id
|
||||
if enterprise_project_id is not None:
|
||||
self.enterprise_project_id = enterprise_project_id
|
||||
if period is not None:
|
||||
self.period = period
|
||||
if https_enable is not None:
|
||||
self.https_enable = https_enable
|
||||
if tags is not None:
|
||||
self.tags = tags
|
||||
|
||||
@property
|
||||
def datastore(self):
|
||||
"""Gets the datastore of this ClusterList.
|
||||
|
||||
|
||||
:return: The datastore of this ClusterList.
|
||||
:rtype: ClusterListDatastore
|
||||
"""
|
||||
return self._datastore
|
||||
|
||||
@datastore.setter
|
||||
def datastore(self, datastore):
|
||||
"""Sets the datastore of this ClusterList.
|
||||
|
||||
|
||||
:param datastore: The datastore of this ClusterList.
|
||||
:type: ClusterListDatastore
|
||||
"""
|
||||
self._datastore = datastore
|
||||
|
||||
@property
|
||||
def instances(self):
|
||||
"""Gets the instances of this ClusterList.
|
||||
|
||||
节点对象列表。
|
||||
|
||||
:return: The instances of this ClusterList.
|
||||
:rtype: list[ClusterListInstances]
|
||||
"""
|
||||
return self._instances
|
||||
|
||||
@instances.setter
|
||||
def instances(self, instances):
|
||||
"""Sets the instances of this ClusterList.
|
||||
|
||||
节点对象列表。
|
||||
|
||||
:param instances: The instances of this ClusterList.
|
||||
:type: list[ClusterListInstances]
|
||||
"""
|
||||
self._instances = instances
|
||||
|
||||
@property
|
||||
def updated(self):
|
||||
"""Gets the updated of this ClusterList.
|
||||
|
||||
集群上次修改时间,格式为ISO8601: CCYY-MM-DDThh:mm:ss。
|
||||
|
||||
:return: The updated of this ClusterList.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._updated
|
||||
|
||||
@updated.setter
|
||||
def updated(self, updated):
|
||||
"""Sets the updated of this ClusterList.
|
||||
|
||||
集群上次修改时间,格式为ISO8601: CCYY-MM-DDThh:mm:ss。
|
||||
|
||||
:param updated: The updated of this ClusterList.
|
||||
:type: str
|
||||
"""
|
||||
self._updated = updated
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
"""Gets the name of this ClusterList.
|
||||
|
||||
集群名称。
|
||||
|
||||
:return: The name of this ClusterList.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._name
|
||||
|
||||
@name.setter
|
||||
def name(self, name):
|
||||
"""Sets the name of this ClusterList.
|
||||
|
||||
集群名称。
|
||||
|
||||
:param name: The name of this ClusterList.
|
||||
:type: str
|
||||
"""
|
||||
self._name = name
|
||||
|
||||
@property
|
||||
def created(self):
|
||||
"""Gets the created of this ClusterList.
|
||||
|
||||
集群创建时间,格式为ISO8601: CCYY-MM-DDThh:mm:ss。 说明:返回的集群列表信息按照创建时间降序排序,即创建时间最新的集群排在最前。
|
||||
|
||||
:return: The created of this ClusterList.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._created
|
||||
|
||||
@created.setter
|
||||
def created(self, created):
|
||||
"""Sets the created of this ClusterList.
|
||||
|
||||
集群创建时间,格式为ISO8601: CCYY-MM-DDThh:mm:ss。 说明:返回的集群列表信息按照创建时间降序排序,即创建时间最新的集群排在最前。
|
||||
|
||||
:param created: The created of this ClusterList.
|
||||
:type: str
|
||||
"""
|
||||
self._created = created
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
"""Gets the id of this ClusterList.
|
||||
|
||||
集群ID。
|
||||
|
||||
:return: The id of this ClusterList.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._id
|
||||
|
||||
@id.setter
|
||||
def id(self, id):
|
||||
"""Sets the id of this ClusterList.
|
||||
|
||||
集群ID。
|
||||
|
||||
:param id: The id of this ClusterList.
|
||||
:type: str
|
||||
"""
|
||||
self._id = id
|
||||
|
||||
@property
|
||||
def status(self):
|
||||
"""Gets the status of this ClusterList.
|
||||
|
||||
查询返回值。 - 100:创建中。 - 200:可用。 - 303:不可用,如创建失败。
|
||||
|
||||
:return: The status of this ClusterList.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._status
|
||||
|
||||
@status.setter
|
||||
def status(self, status):
|
||||
"""Sets the status of this ClusterList.
|
||||
|
||||
查询返回值。 - 100:创建中。 - 200:可用。 - 303:不可用,如创建失败。
|
||||
|
||||
:param status: The status of this ClusterList.
|
||||
:type: str
|
||||
"""
|
||||
self._status = status
|
||||
|
||||
@property
|
||||
def endpoint(self):
|
||||
"""Gets the endpoint of this ClusterList.
|
||||
|
||||
用户VPC访问IP地址和端口号。
|
||||
|
||||
:return: The endpoint of this ClusterList.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._endpoint
|
||||
|
||||
@endpoint.setter
|
||||
def endpoint(self, endpoint):
|
||||
"""Sets the endpoint of this ClusterList.
|
||||
|
||||
用户VPC访问IP地址和端口号。
|
||||
|
||||
:param endpoint: The endpoint of this ClusterList.
|
||||
:type: str
|
||||
"""
|
||||
self._endpoint = endpoint
|
||||
|
||||
@property
|
||||
def action_progress(self):
|
||||
"""Gets the action_progress of this ClusterList.
|
||||
|
||||
|
||||
:return: The action_progress of this ClusterList.
|
||||
:rtype: ClusterListActionProgress
|
||||
"""
|
||||
return self._action_progress
|
||||
|
||||
@action_progress.setter
|
||||
def action_progress(self, action_progress):
|
||||
"""Sets the action_progress of this ClusterList.
|
||||
|
||||
|
||||
:param action_progress: The action_progress of this ClusterList.
|
||||
:type: ClusterListActionProgress
|
||||
"""
|
||||
self._action_progress = action_progress
|
||||
|
||||
@property
|
||||
def actions(self):
|
||||
"""Gets the actions of this ClusterList.
|
||||
|
||||
集群当前行为,REBOOTING表示重启,GROWING表示扩容,RESTORING表示恢复集群,SNAPSHOTTING表示创建快照。
|
||||
|
||||
:return: The actions of this ClusterList.
|
||||
:rtype: list[str]
|
||||
"""
|
||||
return self._actions
|
||||
|
||||
@actions.setter
|
||||
def actions(self, actions):
|
||||
"""Sets the actions of this ClusterList.
|
||||
|
||||
集群当前行为,REBOOTING表示重启,GROWING表示扩容,RESTORING表示恢复集群,SNAPSHOTTING表示创建快照。
|
||||
|
||||
:param actions: The actions of this ClusterList.
|
||||
:type: list[str]
|
||||
"""
|
||||
self._actions = actions
|
||||
|
||||
@property
|
||||
def failed_reasons(self):
|
||||
"""Gets the failed_reasons of this ClusterList.
|
||||
|
||||
|
||||
:return: The failed_reasons of this ClusterList.
|
||||
:rtype: ClusterListFailedReasons
|
||||
"""
|
||||
return self._failed_reasons
|
||||
|
||||
@failed_reasons.setter
|
||||
def failed_reasons(self, failed_reasons):
|
||||
"""Sets the failed_reasons of this ClusterList.
|
||||
|
||||
|
||||
:param failed_reasons: The failed_reasons of this ClusterList.
|
||||
:type: ClusterListFailedReasons
|
||||
"""
|
||||
self._failed_reasons = failed_reasons
|
||||
|
||||
@property
|
||||
def authority_enable(self):
|
||||
"""Gets the authority_enable of this ClusterList.
|
||||
|
||||
是否开启认证,取值范围为true或false。默认关闭认证功能。当开启认证时,httpsEnable需要设置为true。 - true:表示集群开启认证。 - false:表示集群不开启认证。
|
||||
|
||||
:return: The authority_enable of this ClusterList.
|
||||
:rtype: bool
|
||||
"""
|
||||
return self._authority_enable
|
||||
|
||||
@authority_enable.setter
|
||||
def authority_enable(self, authority_enable):
|
||||
"""Sets the authority_enable of this ClusterList.
|
||||
|
||||
是否开启认证,取值范围为true或false。默认关闭认证功能。当开启认证时,httpsEnable需要设置为true。 - true:表示集群开启认证。 - false:表示集群不开启认证。
|
||||
|
||||
:param authority_enable: The authority_enable of this ClusterList.
|
||||
:type: bool
|
||||
"""
|
||||
self._authority_enable = authority_enable
|
||||
|
||||
@property
|
||||
def vpc_id(self):
|
||||
"""Gets the vpc_id of this ClusterList.
|
||||
|
||||
VPC ID。
|
||||
|
||||
:return: The vpc_id of this ClusterList.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._vpc_id
|
||||
|
||||
@vpc_id.setter
|
||||
def vpc_id(self, vpc_id):
|
||||
"""Sets the vpc_id of this ClusterList.
|
||||
|
||||
VPC ID。
|
||||
|
||||
:param vpc_id: The vpc_id of this ClusterList.
|
||||
:type: str
|
||||
"""
|
||||
self._vpc_id = vpc_id
|
||||
|
||||
@property
|
||||
def subnet_id(self):
|
||||
"""Gets the subnet_id of this ClusterList.
|
||||
|
||||
子网ID。
|
||||
|
||||
:return: The subnet_id of this ClusterList.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._subnet_id
|
||||
|
||||
@subnet_id.setter
|
||||
def subnet_id(self, subnet_id):
|
||||
"""Sets the subnet_id of this ClusterList.
|
||||
|
||||
子网ID。
|
||||
|
||||
:param subnet_id: The subnet_id of this ClusterList.
|
||||
:type: str
|
||||
"""
|
||||
self._subnet_id = subnet_id
|
||||
|
||||
@property
|
||||
def security_group_id(self):
|
||||
"""Gets the security_group_id of this ClusterList.
|
||||
|
||||
安全组ID。
|
||||
|
||||
:return: The security_group_id of this ClusterList.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._security_group_id
|
||||
|
||||
@security_group_id.setter
|
||||
def security_group_id(self, security_group_id):
|
||||
"""Sets the security_group_id of this ClusterList.
|
||||
|
||||
安全组ID。
|
||||
|
||||
:param security_group_id: The security_group_id of this ClusterList.
|
||||
:type: str
|
||||
"""
|
||||
self._security_group_id = security_group_id
|
||||
|
||||
@property
|
||||
def enterprise_project_id(self):
|
||||
"""Gets the enterprise_project_id of this ClusterList.
|
||||
|
||||
集群所属的企业项目ID。 如果集群所属用户没有开通企业项目,则不会返回该参数。
|
||||
|
||||
:return: The enterprise_project_id of this ClusterList.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._enterprise_project_id
|
||||
|
||||
@enterprise_project_id.setter
|
||||
def enterprise_project_id(self, enterprise_project_id):
|
||||
"""Sets the enterprise_project_id of this ClusterList.
|
||||
|
||||
集群所属的企业项目ID。 如果集群所属用户没有开通企业项目,则不会返回该参数。
|
||||
|
||||
:param enterprise_project_id: The enterprise_project_id of this ClusterList.
|
||||
:type: str
|
||||
"""
|
||||
self._enterprise_project_id = enterprise_project_id
|
||||
|
||||
@property
|
||||
def period(self):
|
||||
"""Gets the period of this ClusterList.
|
||||
|
||||
|
||||
:return: The period of this ClusterList.
|
||||
:rtype: bool
|
||||
"""
|
||||
return self._period
|
||||
|
||||
@period.setter
|
||||
def period(self, period):
|
||||
"""Sets the period of this ClusterList.
|
||||
|
||||
|
||||
:param period: The period of this ClusterList.
|
||||
:type: bool
|
||||
"""
|
||||
self._period = period
|
||||
|
||||
@property
|
||||
def https_enable(self):
|
||||
"""Gets the https_enable of this ClusterList.
|
||||
|
||||
是否开启https访问
|
||||
|
||||
:return: The https_enable of this ClusterList.
|
||||
:rtype: bool
|
||||
"""
|
||||
return self._https_enable
|
||||
|
||||
@https_enable.setter
|
||||
def https_enable(self, https_enable):
|
||||
"""Sets the https_enable of this ClusterList.
|
||||
|
||||
是否开启https访问
|
||||
|
||||
:param https_enable: The https_enable of this ClusterList.
|
||||
:type: bool
|
||||
"""
|
||||
self._https_enable = https_enable
|
||||
|
||||
@property
|
||||
def tags(self):
|
||||
"""Gets the tags of this ClusterList.
|
||||
|
||||
集群标签。
|
||||
|
||||
:return: The tags of this ClusterList.
|
||||
:rtype: list[ClusterListTags]
|
||||
"""
|
||||
return self._tags
|
||||
|
||||
@tags.setter
|
||||
def tags(self, tags):
|
||||
"""Sets the tags of this ClusterList.
|
||||
|
||||
集群标签。
|
||||
|
||||
:param tags: The tags of this ClusterList.
|
||||
:type: list[ClusterListTags]
|
||||
"""
|
||||
self._tags = tags
|
||||
|
||||
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, ClusterList):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -0,0 +1,114 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class ClusterListActionProgress:
|
||||
|
||||
|
||||
"""
|
||||
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 = {
|
||||
'creating': 'str'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'creating': 'CREATING'
|
||||
}
|
||||
|
||||
def __init__(self, creating=None):
|
||||
"""ClusterListActionProgress - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._creating = None
|
||||
self.discriminator = None
|
||||
|
||||
if creating is not None:
|
||||
self.creating = creating
|
||||
|
||||
@property
|
||||
def creating(self):
|
||||
"""Gets the creating of this ClusterListActionProgress.
|
||||
|
||||
进度百分比。
|
||||
|
||||
:return: The creating of this ClusterListActionProgress.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._creating
|
||||
|
||||
@creating.setter
|
||||
def creating(self, creating):
|
||||
"""Sets the creating of this ClusterListActionProgress.
|
||||
|
||||
进度百分比。
|
||||
|
||||
:param creating: The creating of this ClusterListActionProgress.
|
||||
:type: str
|
||||
"""
|
||||
self._creating = creating
|
||||
|
||||
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, ClusterListActionProgress):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -0,0 +1,141 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class ClusterListDatastore:
|
||||
|
||||
|
||||
"""
|
||||
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 = {
|
||||
'type': 'str',
|
||||
'version': 'str'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'type': 'type',
|
||||
'version': 'version'
|
||||
}
|
||||
|
||||
def __init__(self, type=None, version=None):
|
||||
"""ClusterListDatastore - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._type = None
|
||||
self._version = None
|
||||
self.discriminator = None
|
||||
|
||||
if type is not None:
|
||||
self.type = type
|
||||
if version is not None:
|
||||
self.version = version
|
||||
|
||||
@property
|
||||
def type(self):
|
||||
"""Gets the type of this ClusterListDatastore.
|
||||
|
||||
支持类型:elasticsearch。
|
||||
|
||||
:return: The type of this ClusterListDatastore.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._type
|
||||
|
||||
@type.setter
|
||||
def type(self, type):
|
||||
"""Sets the type of this ClusterListDatastore.
|
||||
|
||||
支持类型:elasticsearch。
|
||||
|
||||
:param type: The type of this ClusterListDatastore.
|
||||
:type: str
|
||||
"""
|
||||
self._type = type
|
||||
|
||||
@property
|
||||
def version(self):
|
||||
"""Gets the version of this ClusterListDatastore.
|
||||
|
||||
引擎版本号。当前引擎版本为5.5.1、6.2.3、6.5.4、7.1.1、7.6.2、7.9.3。
|
||||
|
||||
:return: The version of this ClusterListDatastore.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._version
|
||||
|
||||
@version.setter
|
||||
def version(self, version):
|
||||
"""Sets the version of this ClusterListDatastore.
|
||||
|
||||
引擎版本号。当前引擎版本为5.5.1、6.2.3、6.5.4、7.1.1、7.6.2、7.9.3。
|
||||
|
||||
:param version: The version of this ClusterListDatastore.
|
||||
:type: 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, ClusterListDatastore):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -0,0 +1,141 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class ClusterListFailedReasons:
|
||||
|
||||
|
||||
"""
|
||||
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 = {
|
||||
'error_code': 'str',
|
||||
'error_msg': 'str'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'error_code': 'error_code',
|
||||
'error_msg': 'error_msg'
|
||||
}
|
||||
|
||||
def __init__(self, error_code=None, error_msg=None):
|
||||
"""ClusterListFailedReasons - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._error_code = None
|
||||
self._error_msg = None
|
||||
self.discriminator = None
|
||||
|
||||
if error_code is not None:
|
||||
self.error_code = error_code
|
||||
if error_msg is not None:
|
||||
self.error_msg = error_msg
|
||||
|
||||
@property
|
||||
def error_code(self):
|
||||
"""Gets the error_code of this ClusterListFailedReasons.
|
||||
|
||||
错误码。 - CSS.6000:表示集群创建失败。 - CSS.6001:表示集群扩容失败。 - CSS.6002:表示集群重启失败。 - CSS.6004:表示集群节点创建失败。 - CSS.6005:表示服务初始化失败。
|
||||
|
||||
:return: The error_code of this ClusterListFailedReasons.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._error_code
|
||||
|
||||
@error_code.setter
|
||||
def error_code(self, error_code):
|
||||
"""Sets the error_code of this ClusterListFailedReasons.
|
||||
|
||||
错误码。 - CSS.6000:表示集群创建失败。 - CSS.6001:表示集群扩容失败。 - CSS.6002:表示集群重启失败。 - CSS.6004:表示集群节点创建失败。 - CSS.6005:表示服务初始化失败。
|
||||
|
||||
:param error_code: The error_code of this ClusterListFailedReasons.
|
||||
:type: str
|
||||
"""
|
||||
self._error_code = error_code
|
||||
|
||||
@property
|
||||
def error_msg(self):
|
||||
"""Gets the error_msg of this ClusterListFailedReasons.
|
||||
|
||||
详细错误信息。
|
||||
|
||||
:return: The error_msg of this ClusterListFailedReasons.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._error_msg
|
||||
|
||||
@error_msg.setter
|
||||
def error_msg(self, error_msg):
|
||||
"""Sets the error_msg of this ClusterListFailedReasons.
|
||||
|
||||
详细错误信息。
|
||||
|
||||
:param error_msg: The error_msg of this ClusterListFailedReasons.
|
||||
:type: str
|
||||
"""
|
||||
self._error_msg = error_msg
|
||||
|
||||
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, ClusterListFailedReasons):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -0,0 +1,249 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class ClusterListInstances:
|
||||
|
||||
|
||||
"""
|
||||
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 = {
|
||||
'status': 'str',
|
||||
'type': 'str',
|
||||
'id': 'str',
|
||||
'name': 'str',
|
||||
'spec_code': 'str',
|
||||
'az_code': 'str'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'status': 'status',
|
||||
'type': 'type',
|
||||
'id': 'id',
|
||||
'name': 'name',
|
||||
'spec_code': 'specCode',
|
||||
'az_code': 'azCode'
|
||||
}
|
||||
|
||||
def __init__(self, status=None, type=None, id=None, name=None, spec_code=None, az_code=None):
|
||||
"""ClusterListInstances - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._status = None
|
||||
self._type = None
|
||||
self._id = None
|
||||
self._name = None
|
||||
self._spec_code = None
|
||||
self._az_code = None
|
||||
self.discriminator = None
|
||||
|
||||
if status is not None:
|
||||
self.status = status
|
||||
if type is not None:
|
||||
self.type = type
|
||||
if id is not None:
|
||||
self.id = id
|
||||
if name is not None:
|
||||
self.name = name
|
||||
if spec_code is not None:
|
||||
self.spec_code = spec_code
|
||||
if az_code is not None:
|
||||
self.az_code = az_code
|
||||
|
||||
@property
|
||||
def status(self):
|
||||
"""Gets the status of this ClusterListInstances.
|
||||
|
||||
状态。 - 100:创建中。 - 200:可用。 - 303:不可用,如创建失败。
|
||||
|
||||
:return: The status of this ClusterListInstances.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._status
|
||||
|
||||
@status.setter
|
||||
def status(self, status):
|
||||
"""Sets the status of this ClusterListInstances.
|
||||
|
||||
状态。 - 100:创建中。 - 200:可用。 - 303:不可用,如创建失败。
|
||||
|
||||
:param status: The status of this ClusterListInstances.
|
||||
:type: str
|
||||
"""
|
||||
self._status = status
|
||||
|
||||
@property
|
||||
def type(self):
|
||||
"""Gets the type of this ClusterListInstances.
|
||||
|
||||
支持类型:ess(Elasticsearch节点)。
|
||||
|
||||
:return: The type of this ClusterListInstances.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._type
|
||||
|
||||
@type.setter
|
||||
def type(self, type):
|
||||
"""Sets the type of this ClusterListInstances.
|
||||
|
||||
支持类型:ess(Elasticsearch节点)。
|
||||
|
||||
:param type: The type of this ClusterListInstances.
|
||||
:type: str
|
||||
"""
|
||||
self._type = type
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
"""Gets the id of this ClusterListInstances.
|
||||
|
||||
实例ID。
|
||||
|
||||
:return: The id of this ClusterListInstances.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._id
|
||||
|
||||
@id.setter
|
||||
def id(self, id):
|
||||
"""Sets the id of this ClusterListInstances.
|
||||
|
||||
实例ID。
|
||||
|
||||
:param id: The id of this ClusterListInstances.
|
||||
:type: str
|
||||
"""
|
||||
self._id = id
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
"""Gets the name of this ClusterListInstances.
|
||||
|
||||
实例名字。
|
||||
|
||||
:return: The name of this ClusterListInstances.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._name
|
||||
|
||||
@name.setter
|
||||
def name(self, name):
|
||||
"""Sets the name of this ClusterListInstances.
|
||||
|
||||
实例名字。
|
||||
|
||||
:param name: The name of this ClusterListInstances.
|
||||
:type: str
|
||||
"""
|
||||
self._name = name
|
||||
|
||||
@property
|
||||
def spec_code(self):
|
||||
"""Gets the spec_code of this ClusterListInstances.
|
||||
|
||||
节点规格名称。
|
||||
|
||||
:return: The spec_code of this ClusterListInstances.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._spec_code
|
||||
|
||||
@spec_code.setter
|
||||
def spec_code(self, spec_code):
|
||||
"""Sets the spec_code of this ClusterListInstances.
|
||||
|
||||
节点规格名称。
|
||||
|
||||
:param spec_code: The spec_code of this ClusterListInstances.
|
||||
:type: str
|
||||
"""
|
||||
self._spec_code = spec_code
|
||||
|
||||
@property
|
||||
def az_code(self):
|
||||
"""Gets the az_code of this ClusterListInstances.
|
||||
|
||||
节点所属AZ信息。
|
||||
|
||||
:return: The az_code of this ClusterListInstances.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._az_code
|
||||
|
||||
@az_code.setter
|
||||
def az_code(self, az_code):
|
||||
"""Sets the az_code of this ClusterListInstances.
|
||||
|
||||
节点所属AZ信息。
|
||||
|
||||
:param az_code: The az_code of this ClusterListInstances.
|
||||
:type: str
|
||||
"""
|
||||
self._az_code = az_code
|
||||
|
||||
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, ClusterListInstances):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -0,0 +1,141 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class ClusterListTags:
|
||||
|
||||
|
||||
"""
|
||||
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 = {
|
||||
'key': 'str',
|
||||
'value': 'str'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'key': 'key',
|
||||
'value': 'value'
|
||||
}
|
||||
|
||||
def __init__(self, key=None, value=None):
|
||||
"""ClusterListTags - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._key = None
|
||||
self._value = None
|
||||
self.discriminator = None
|
||||
|
||||
if key is not None:
|
||||
self.key = key
|
||||
if value is not None:
|
||||
self.value = value
|
||||
|
||||
@property
|
||||
def key(self):
|
||||
"""Gets the key of this ClusterListTags.
|
||||
|
||||
集群标签的key值。
|
||||
|
||||
:return: The key of this ClusterListTags.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._key
|
||||
|
||||
@key.setter
|
||||
def key(self, key):
|
||||
"""Sets the key of this ClusterListTags.
|
||||
|
||||
集群标签的key值。
|
||||
|
||||
:param key: The key of this ClusterListTags.
|
||||
:type: str
|
||||
"""
|
||||
self._key = key
|
||||
|
||||
@property
|
||||
def value(self):
|
||||
"""Gets the value of this ClusterListTags.
|
||||
|
||||
集群标签的value值。
|
||||
|
||||
:return: The value of this ClusterListTags.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._value
|
||||
|
||||
@value.setter
|
||||
def value(self, value):
|
||||
"""Sets the value of this ClusterListTags.
|
||||
|
||||
集群标签的value值。
|
||||
|
||||
:param value: The value of this ClusterListTags.
|
||||
:type: 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, ClusterListTags):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -0,0 +1,276 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class ConfigList:
|
||||
|
||||
|
||||
"""
|
||||
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',
|
||||
'cluster_id': 'str',
|
||||
'create_at': 'object',
|
||||
'status': 'str',
|
||||
'finished_at': 'object',
|
||||
'modify_delete_reset': 'str',
|
||||
'failed_msg': 'str'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'id': 'id',
|
||||
'cluster_id': 'clusterId',
|
||||
'create_at': 'createAt',
|
||||
'status': 'status',
|
||||
'finished_at': 'finishedAt',
|
||||
'modify_delete_reset': 'modifyDeleteReset',
|
||||
'failed_msg': 'failedMsg'
|
||||
}
|
||||
|
||||
def __init__(self, id=None, cluster_id=None, create_at=None, status=None, finished_at=None, modify_delete_reset=None, failed_msg=None):
|
||||
"""ConfigList - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._id = None
|
||||
self._cluster_id = None
|
||||
self._create_at = None
|
||||
self._status = None
|
||||
self._finished_at = None
|
||||
self._modify_delete_reset = None
|
||||
self._failed_msg = None
|
||||
self.discriminator = None
|
||||
|
||||
if id is not None:
|
||||
self.id = id
|
||||
if cluster_id is not None:
|
||||
self.cluster_id = cluster_id
|
||||
if create_at is not None:
|
||||
self.create_at = create_at
|
||||
if status is not None:
|
||||
self.status = status
|
||||
if finished_at is not None:
|
||||
self.finished_at = finished_at
|
||||
if modify_delete_reset is not None:
|
||||
self.modify_delete_reset = modify_delete_reset
|
||||
if failed_msg is not None:
|
||||
self.failed_msg = failed_msg
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
"""Gets the id of this ConfigList.
|
||||
|
||||
操作ID
|
||||
|
||||
:return: The id of this ConfigList.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._id
|
||||
|
||||
@id.setter
|
||||
def id(self, id):
|
||||
"""Sets the id of this ConfigList.
|
||||
|
||||
操作ID
|
||||
|
||||
:param id: The id of this ConfigList.
|
||||
:type: str
|
||||
"""
|
||||
self._id = id
|
||||
|
||||
@property
|
||||
def cluster_id(self):
|
||||
"""Gets the cluster_id of this ConfigList.
|
||||
|
||||
集群ID。
|
||||
|
||||
:return: The cluster_id of this ConfigList.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._cluster_id
|
||||
|
||||
@cluster_id.setter
|
||||
def cluster_id(self, cluster_id):
|
||||
"""Sets the cluster_id of this ConfigList.
|
||||
|
||||
集群ID。
|
||||
|
||||
:param cluster_id: The cluster_id of this ConfigList.
|
||||
:type: str
|
||||
"""
|
||||
self._cluster_id = cluster_id
|
||||
|
||||
@property
|
||||
def create_at(self):
|
||||
"""Gets the create_at of this ConfigList.
|
||||
|
||||
创建时间。
|
||||
|
||||
:return: The create_at of this ConfigList.
|
||||
:rtype: object
|
||||
"""
|
||||
return self._create_at
|
||||
|
||||
@create_at.setter
|
||||
def create_at(self, create_at):
|
||||
"""Sets the create_at of this ConfigList.
|
||||
|
||||
创建时间。
|
||||
|
||||
:param create_at: The create_at of this ConfigList.
|
||||
:type: object
|
||||
"""
|
||||
self._create_at = create_at
|
||||
|
||||
@property
|
||||
def status(self):
|
||||
"""Gets the status of this ConfigList.
|
||||
|
||||
状态。
|
||||
|
||||
:return: The status of this ConfigList.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._status
|
||||
|
||||
@status.setter
|
||||
def status(self, status):
|
||||
"""Sets the status of this ConfigList.
|
||||
|
||||
状态。
|
||||
|
||||
:param status: The status of this ConfigList.
|
||||
:type: str
|
||||
"""
|
||||
self._status = status
|
||||
|
||||
@property
|
||||
def finished_at(self):
|
||||
"""Gets the finished_at of this ConfigList.
|
||||
|
||||
结束时间。
|
||||
|
||||
:return: The finished_at of this ConfigList.
|
||||
:rtype: object
|
||||
"""
|
||||
return self._finished_at
|
||||
|
||||
@finished_at.setter
|
||||
def finished_at(self, finished_at):
|
||||
"""Sets the finished_at of this ConfigList.
|
||||
|
||||
结束时间。
|
||||
|
||||
:param finished_at: The finished_at of this ConfigList.
|
||||
:type: object
|
||||
"""
|
||||
self._finished_at = finished_at
|
||||
|
||||
@property
|
||||
def modify_delete_reset(self):
|
||||
"""Gets the modify_delete_reset of this ConfigList.
|
||||
|
||||
修改参数配置记录。
|
||||
|
||||
:return: The modify_delete_reset of this ConfigList.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._modify_delete_reset
|
||||
|
||||
@modify_delete_reset.setter
|
||||
def modify_delete_reset(self, modify_delete_reset):
|
||||
"""Sets the modify_delete_reset of this ConfigList.
|
||||
|
||||
修改参数配置记录。
|
||||
|
||||
:param modify_delete_reset: The modify_delete_reset of this ConfigList.
|
||||
:type: str
|
||||
"""
|
||||
self._modify_delete_reset = modify_delete_reset
|
||||
|
||||
@property
|
||||
def failed_msg(self):
|
||||
"""Gets the failed_msg of this ConfigList.
|
||||
|
||||
返回错误信息。
|
||||
|
||||
:return: The failed_msg of this ConfigList.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._failed_msg
|
||||
|
||||
@failed_msg.setter
|
||||
def failed_msg(self, failed_msg):
|
||||
"""Sets the failed_msg of this ConfigList.
|
||||
|
||||
返回错误信息。
|
||||
|
||||
:param failed_msg: The failed_msg of this ConfigList.
|
||||
:type: str
|
||||
"""
|
||||
self._failed_msg = failed_msg
|
||||
|
||||
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, ConfigList):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
|
@ -0,0 +1,220 @@
|
|||
# coding: utf-8
|
||||
|
||||
import re
|
||||
import six
|
||||
|
||||
|
||||
|
||||
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
||||
|
||||
|
||||
class Confs:
|
||||
|
||||
|
||||
"""
|
||||
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',
|
||||
'status': 'str',
|
||||
'conf_content': 'str',
|
||||
'setting': 'Setting',
|
||||
'update_at': 'str'
|
||||
}
|
||||
|
||||
attribute_map = {
|
||||
'name': 'name',
|
||||
'status': 'status',
|
||||
'conf_content': 'confContent',
|
||||
'setting': 'setting',
|
||||
'update_at': 'updateAt'
|
||||
}
|
||||
|
||||
def __init__(self, name=None, status=None, conf_content=None, setting=None, update_at=None):
|
||||
"""Confs - a model defined in huaweicloud sdk"""
|
||||
|
||||
|
||||
|
||||
self._name = None
|
||||
self._status = None
|
||||
self._conf_content = None
|
||||
self._setting = None
|
||||
self._update_at = None
|
||||
self.discriminator = None
|
||||
|
||||
if name is not None:
|
||||
self.name = name
|
||||
if status is not None:
|
||||
self.status = status
|
||||
if conf_content is not None:
|
||||
self.conf_content = conf_content
|
||||
if setting is not None:
|
||||
self.setting = setting
|
||||
if update_at is not None:
|
||||
self.update_at = update_at
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
"""Gets the name of this Confs.
|
||||
|
||||
配置文件名称。
|
||||
|
||||
:return: The name of this Confs.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._name
|
||||
|
||||
@name.setter
|
||||
def name(self, name):
|
||||
"""Sets the name of this Confs.
|
||||
|
||||
配置文件名称。
|
||||
|
||||
:param name: The name of this Confs.
|
||||
:type: str
|
||||
"""
|
||||
self._name = name
|
||||
|
||||
@property
|
||||
def status(self):
|
||||
"""Gets the status of this Confs.
|
||||
|
||||
配置文件状态。
|
||||
|
||||
:return: The status of this Confs.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._status
|
||||
|
||||
@status.setter
|
||||
def status(self, status):
|
||||
"""Sets the status of this Confs.
|
||||
|
||||
配置文件状态。
|
||||
|
||||
:param status: The status of this Confs.
|
||||
:type: str
|
||||
"""
|
||||
self._status = status
|
||||
|
||||
@property
|
||||
def conf_content(self):
|
||||
"""Gets the conf_content of this Confs.
|
||||
|
||||
配置文件内容。
|
||||
|
||||
:return: The conf_content of this Confs.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._conf_content
|
||||
|
||||
@conf_content.setter
|
||||
def conf_content(self, conf_content):
|
||||
"""Sets the conf_content of this Confs.
|
||||
|
||||
配置文件内容。
|
||||
|
||||
:param conf_content: The conf_content of this Confs.
|
||||
:type: str
|
||||
"""
|
||||
self._conf_content = conf_content
|
||||
|
||||
@property
|
||||
def setting(self):
|
||||
"""Gets the setting of this Confs.
|
||||
|
||||
|
||||
:return: The setting of this Confs.
|
||||
:rtype: Setting
|
||||
"""
|
||||
return self._setting
|
||||
|
||||
@setting.setter
|
||||
def setting(self, setting):
|
||||
"""Sets the setting of this Confs.
|
||||
|
||||
|
||||
:param setting: The setting of this Confs.
|
||||
:type: Setting
|
||||
"""
|
||||
self._setting = setting
|
||||
|
||||
@property
|
||||
def update_at(self):
|
||||
"""Gets the update_at of this Confs.
|
||||
|
||||
更新时间。
|
||||
|
||||
:return: The update_at of this Confs.
|
||||
:rtype: str
|
||||
"""
|
||||
return self._update_at
|
||||
|
||||
@update_at.setter
|
||||
def update_at(self, update_at):
|
||||
"""Sets the update_at of this Confs.
|
||||
|
||||
更新时间。
|
||||
|
||||
:param update_at: The update_at of this Confs.
|
||||
:type: str
|
||||
"""
|
||||
self._update_at = update_at
|
||||
|
||||
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, Confs):
|
||||
return False
|
||||
|
||||
return self.__dict__ == other.__dict__
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Returns true if both objects are not equal"""
|
||||
return not self == other
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue