qingcloud-sdk 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 64d5a78c501068c1c208197bd6498d637aad197a
4
- data.tar.gz: 159afd08dbf521cdd548ef62721a2727fea72c50
3
+ metadata.gz: 22d21985199ab18a398be991ddf31595d7b7b6c9
4
+ data.tar.gz: 35230ea46478a13dc96e94bc637560037fef9697
5
5
  SHA512:
6
- metadata.gz: 12dc6d5ee2c4a594e3a4b5b7bf4c2f48176b9d25a6a751980cf706e403244cfea0c7c1b29d6f7ad94ec882b0f7a7bfac63090cad67a13c5d518d429a1bf4c243
7
- data.tar.gz: 06659021062f813a951900940a69df5f09f0338bdb366c905892a5dfdb4da73391e63dbb7bd0c724eff9c39b6af37b509385a5987b01bbf2773fb99f1eb31204
6
+ metadata.gz: f1b9c4018c8d10a387de40c493322eb3627a07464305d429be47dd9fb069c4c3e787741ec61675ac47d9ba6c4b52a97121e5bf70989ec044c4e936843006ac4e
7
+ data.tar.gz: 14f693ae1c1bab53276a551b7e2282ad137476276227b3628d1f54d0314df11c30ff9df427d06e8cd559ffc66e5e641dcd915444926a489b089a183aae3c04bb
@@ -751,14 +751,14 @@ module QingCloud
751
751
  verbose: nil,
752
752
  offset: nil,
753
753
  limit: nil,
754
- zone:) eval(build_fetch_match)
754
+ zone:)eval(build_fetch_match)
755
755
  end
756
756
 
757
757
  # Zone
758
758
 
759
759
  def describe_zones(
760
760
  zones_N: [],
761
- status_N: []) eval(build_fetch_match)
761
+ status_N: [])eval(build_fetch_match)
762
762
  end
763
763
 
764
764
  # RemoteDataBase
@@ -836,21 +836,21 @@ module QingCloud
836
836
  mongo:,
837
837
  offset: nil,
838
838
  limit: nil,
839
- zone:)eval(build_fetch 'DescribeMongoNodes')
839
+ zone:)eval(build_fetch_match)
840
840
  end
841
841
 
842
842
  def describe_mongo_parameters(
843
843
  mongo:,
844
844
  offset: nil,
845
845
  limit: nil,
846
- zone:)eval(build_fetch 'DescribeMongoParameters')
846
+ zone:)eval(build_fetch_match)
847
847
  end
848
848
 
849
849
  def resize_mongos(
850
850
  mongos_N:,
851
851
  mongo_type: nil,
852
852
  storage_size: nil,
853
- zone:)eval(build_fetch 'ResizeMongos')
853
+ zone:)eval(build_fetch_match)
854
854
  end
855
855
 
856
856
  def create_mongo(
@@ -862,17 +862,17 @@ module QingCloud
862
862
  description: nil,
863
863
  auto_backup_time: nil,
864
864
  private_ips: nil,
865
- zone:)eval(build_fetch 'CreateMongo')
865
+ zone:)eval(build_fetch_match)
866
866
  end
867
867
 
868
868
  def stop_mongos(
869
869
  mongos_N:,
870
- zone:)eval(build_fetch 'StopMongos')
870
+ zone:)eval(build_fetch_match)
871
871
  end
872
872
 
873
873
  def start_mongos(
874
874
  mongos_N:,
875
- zone:)eval(build_fetch 'StartMongos')
875
+ zone:)eval(build_fetch_match)
876
876
  end
877
877
 
878
878
  def describe_mongos(
@@ -883,12 +883,12 @@ module QingCloud
883
883
  verbose: nil,
884
884
  offset: nil,
885
885
  limit: nil,
886
- zone:)eval(build_fetch 'DescribeMongos')
886
+ zone:)eval(build_fetch_match)
887
887
  end
888
888
 
889
889
  def delete_mongos(
890
890
  mongos_N:,
891
- zone:)eval(build_fetch 'DeleteMongos')
891
+ zone:)eval(build_fetch_match)
892
892
  end
893
893
 
894
894
  def create_mongo_from_snapshot(
@@ -897,27 +897,27 @@ module QingCloud
897
897
  mongo_name: nil,
898
898
  description: nil,
899
899
  auto_backup_time: nil,
900
- zone:)eval(build_fetch 'CreateMongoFromSnapshot')
900
+ zone:)eval(build_fetch_match)
901
901
  end
902
902
 
903
903
  def change_mongo_vxnet(
904
904
  mongo:,
905
905
  vxnet:,
906
906
  private_ips: nil,
907
- zone:)eval(build_fetch 'ChangeMongoVxnet')
907
+ zone:)eval(build_fetch_match)
908
908
  end
909
909
 
910
910
  def add_mongo_instances(
911
911
  mongo:,
912
912
  node_count: nil,
913
913
  private_ips: nil,
914
- zone:)eval(build_fetch 'AddMongoInstances')
914
+ zone:)eval(build_fetch_match)
915
915
  end
916
916
 
917
917
  def remove_mongo_instances(
918
918
  mongo:,
919
919
  mongo_instances:,
920
- zone:)eval(build_fetch 'RemoveMongoInstances')
920
+ zone:)eval(build_fetch_match)
921
921
  end
922
922
 
923
923
  def modify_mongo_attributes(
@@ -925,13 +925,13 @@ module QingCloud
925
925
  mongo_name: nil,
926
926
  description: nil,
927
927
  auto_backup_time: nil,
928
- zone:)eval(build_fetch 'ModifyMongoAttributes')
928
+ zone:)eval(build_fetch_match)
929
929
  end
930
930
 
931
931
  def modify_mongo_instances(
932
932
  mongo:,
933
933
  private_ips: nil,
934
- zone:)eval(build_fetch 'ModifyMongoInstances')
934
+ zone:)eval(build_fetch_match)
935
935
  end
936
936
 
937
937
  def get_mongo_monitor(
@@ -940,7 +940,7 @@ module QingCloud
940
940
  step:,
941
941
  start_time:,
942
942
  end_time:,
943
- zone:)eval(build_fetch 'GetMongoMonitor')
943
+ zone:)eval(build_fetch_match)
944
944
  end
945
945
 
946
946
  # Cache
@@ -953,7 +953,7 @@ module QingCloud
953
953
  verbose: nil,
954
954
  offset: nil,
955
955
  limit: nil,
956
- zone:)eval(build_fetch 'DescribeCaches')
956
+ zone:)eval(build_fetch_match)
957
957
  end
958
958
 
959
959
  def create_cache(
@@ -965,40 +965,40 @@ module QingCloud
965
965
  cache_parameter_group: nil,
966
966
  private_ips_N_cache_role: [],
967
967
  private_ips_N_private_ips: [],
968
- zone:)eval(build_fetch 'CreateCache')
968
+ zone:)eval(build_fetch_match)
969
969
  end
970
970
 
971
971
  def stop_caches(
972
972
  caches_N:,
973
- zone:)eval(build_fetch 'StopCaches')
973
+ zone:)eval(build_fetch_match)
974
974
  end
975
975
 
976
976
  def start_caches(
977
977
  caches_N:,
978
- zone:)eval(build_fetch 'StartCaches')
978
+ zone:)eval(build_fetch_match)
979
979
  end
980
980
 
981
981
  def restart_caches(
982
982
  caches_N:,
983
- zone:)eval(build_fetch 'RestartCaches')
983
+ zone:)eval(build_fetch_match)
984
984
  end
985
985
 
986
986
  def delete_caches(
987
987
  caches_N:,
988
- zone:)eval(build_fetch 'DeleteCaches')
988
+ zone:)eval(build_fetch_match)
989
989
  end
990
990
 
991
991
  def resize_caches(
992
992
  caches_N:,
993
993
  cache_size:,
994
- zone:)eval(build_fetch 'ResizeCaches')
994
+ zone:)eval(build_fetch_match)
995
995
  end
996
996
 
997
997
  def update_cache(
998
998
  cache:,
999
999
  private_ips_N_cache_node_id: [],
1000
1000
  private_ips_N_private_ip: [],
1001
- zone:)eval(build_fetch 'UpdateCache')
1001
+ zone:)eval(build_fetch_match)
1002
1002
  end
1003
1003
 
1004
1004
  def change_cache_vxnet(
@@ -1006,14 +1006,14 @@ module QingCloud
1006
1006
  vxnet:,
1007
1007
  private_ips_N_cache_node_id: [],
1008
1008
  private_ips_N_private_ip: [],
1009
- zone:)eval(build_fetch 'ChangeCacheVxnet')
1009
+ zone:)eval(build_fetch_match)
1010
1010
  end
1011
1011
 
1012
1012
  def modify_cache_attributes(
1013
1013
  cache:,
1014
1014
  cache_name: nil,
1015
1015
  description: nil,
1016
- zone:)eval(build_fetch 'ModifyCacheAttributes')
1016
+ zone:)eval(build_fetch_match)
1017
1017
  end
1018
1018
 
1019
1019
  def describe_cache_nodes(
@@ -1024,7 +1024,7 @@ module QingCloud
1024
1024
  verbose: nil,
1025
1025
  offset: nil,
1026
1026
  limit: nil,
1027
- zone:)eval(build_fetch 'DescribeCacheNodes')
1027
+ zone:)eval(build_fetch_match)
1028
1028
  end
1029
1029
 
1030
1030
  def add_cache_nodes(
@@ -1032,25 +1032,25 @@ module QingCloud
1032
1032
  node_count:,
1033
1033
  private_ips_N_cache_role: [],
1034
1034
  private_ips_N_private_ips: nil,
1035
- zone:)eval(build_fetch 'AddCacheNodes')
1035
+ zone:)eval(build_fetch_match)
1036
1036
  end
1037
1037
 
1038
1038
  def delete_cache_nodes(
1039
1039
  cache:,
1040
1040
  cache_nodes_N:,
1041
- zone:)eval(build_fetch 'DeleteCacheNodes')
1041
+ zone:)eval(build_fetch_match)
1042
1042
  end
1043
1043
 
1044
1044
  def restart_cache_nodes(
1045
1045
  cache:,
1046
1046
  cache_nodes_N:,
1047
- zone:)eval(build_fetch 'RestartCacheNodes')
1047
+ zone:)eval(build_fetch_match)
1048
1048
  end
1049
1049
 
1050
1050
  def modify_cache_node_attributes(
1051
1051
  cache_node:,
1052
1052
  cache_node_name: nil,
1053
- zone:)eval(build_fetch 'ModifyCacheNodeAttributes')
1053
+ zone:)eval(build_fetch_match)
1054
1054
  end
1055
1055
 
1056
1056
  def create_cache_from_snapshot(
@@ -1061,7 +1061,7 @@ module QingCloud
1061
1061
  cache_parameter_group: nil,
1062
1062
  private_ips_N_cache_role: [],
1063
1063
  private_ips_N_private_ips: [],
1064
- zone:)eval(build_fetch 'CreateCacheFromSnapshot')
1064
+ zone:)eval(build_fetch_match)
1065
1065
  end
1066
1066
 
1067
1067
  def describe_cache_parameter_groups(
@@ -1071,49 +1071,49 @@ module QingCloud
1071
1071
  verbose: nil,
1072
1072
  offset: nil,
1073
1073
  limit: nil,
1074
- zone:)eval(build_fetch 'DescribeCacheParameterGroups')
1074
+ zone:)eval(build_fetch_match)
1075
1075
  end
1076
1076
 
1077
1077
  def create_cache_parameter_group(
1078
1078
  cache_type:,
1079
1079
  cache_parameter_group_name: nil,
1080
- zone:)eval(build_fetch 'CreateCacheParameterGroup')
1080
+ zone:)eval(build_fetch_match)
1081
1081
  end
1082
1082
 
1083
1083
  def apply_cache_parameter_group(
1084
1084
  cache_parameter_group:,
1085
1085
  caches_N: [],
1086
- zone:)eval(build_fetch 'ApplyCacheParameterGroup')
1086
+ zone:)eval(build_fetch_match)
1087
1087
  end
1088
1088
 
1089
1089
  def delete_cache_parameter_groups(
1090
1090
  cache_parameter_groups_N:,
1091
- zone:)eval(build_fetch 'DeleteCacheParameterGroups')
1091
+ zone:)eval(build_fetch_match)
1092
1092
  end
1093
1093
 
1094
1094
  def modify_cache_parameter_group_attributes(
1095
1095
  cache_parameter_group:,
1096
1096
  cache_parameter_group_name: nil,
1097
1097
  description: nil,
1098
- zone:)eval(build_fetch 'ModifyCacheParameterGroupAttributes')
1098
+ zone:)eval(build_fetch_match)
1099
1099
  end
1100
1100
 
1101
1101
  def describe_cache_parameters(
1102
1102
  cache_parameter_group:,
1103
- zone:)eval(build_fetch 'DescribeCacheParameters')
1103
+ zone:)eval(build_fetch_match)
1104
1104
  end
1105
1105
 
1106
1106
  def update_cache_parameters(
1107
1107
  cache_parameter_group:,
1108
1108
  parameters_N_cache_parameter_name:,
1109
1109
  parameters_N_cache_parameter_value:,
1110
- zone:)eval(build_fetch 'UpdateCacheParameters')
1110
+ zone:)eval(build_fetch_match)
1111
1111
  end
1112
1112
 
1113
1113
  def reset_cache_parameters(
1114
1114
  cache_parameter_group:,
1115
1115
  cache_parameter_names_N: [],
1116
- zone:)eval(build_fetch 'ResetCacheParameters')
1116
+ zone:)eval(build_fetch_match)
1117
1117
  end
1118
1118
 
1119
1119
  # S2
@@ -1125,7 +1125,7 @@ module QingCloud
1125
1125
  s2_server_type: nil,
1126
1126
  private_ip: nil,
1127
1127
  description: nil,
1128
- zone:)eval(build_fetch 'CreateS2Server')
1128
+ zone:)eval(build_fetch_match)
1129
1129
  end
1130
1130
 
1131
1131
  def describe_s2_servers(
@@ -1136,47 +1136,47 @@ module QingCloud
1136
1136
  verbose: nil,
1137
1137
  offset: nil,
1138
1138
  limit: nil,
1139
- zone:)eval(build_fetch 'DescribeS2Servers')
1139
+ zone:)eval(build_fetch_match)
1140
1140
  end
1141
1141
 
1142
1142
  def modify_s2_server(
1143
1143
  s2_server:,
1144
1144
  name: nil,
1145
1145
  description: nil,
1146
- zone:)eval(build_fetch 'ModifyS2Server')
1146
+ zone:)eval(build_fetch_match)
1147
1147
  end
1148
1148
 
1149
1149
  def resize_s2_servers(
1150
1150
  s2_server:,
1151
1151
  s2_server_type:,
1152
- zone:)eval(build_fetch 'ResizeS2Servers')
1152
+ zone:)eval(build_fetch_match)
1153
1153
  end
1154
1154
 
1155
1155
  def delete_s2_servers(
1156
1156
  s2servers_N:,
1157
- zone:)eval(build_fetch 'DeleteS2Servers')
1157
+ zone:)eval(build_fetch_match)
1158
1158
  end
1159
1159
 
1160
1160
  def power_on_s2_servers(
1161
1161
  s2_servers_N:,
1162
- zone:)eval(build_fetch 'PowerOnS2Servers')
1162
+ zone:)eval(build_fetch_match)
1163
1163
  end
1164
1164
 
1165
1165
  def power_off_s2_servers(
1166
1166
  s2_servers_N:,
1167
- zone:)eval(build_fetch 'PowerOffS2Servers')
1167
+ zone:)eval(build_fetch_match)
1168
1168
  end
1169
1169
 
1170
1170
  def update_s2_servers(
1171
1171
  s2_servers_N:,
1172
- zone:)eval(build_fetch 'UpdateS2Servers')
1172
+ zone:)eval(build_fetch_match)
1173
1173
  end
1174
1174
 
1175
1175
  def change_s2_server_vxnet(
1176
1176
  s2_server:,
1177
1177
  vxnet:,
1178
1178
  private_ip: nil,
1179
- zone:)eval(build_fetch 'ChangeS2ServerVxnet')
1179
+ zone:)eval(build_fetch_match)
1180
1180
  end
1181
1181
 
1182
1182
  def create_s2_shared_target(
@@ -1186,7 +1186,7 @@ module QingCloud
1186
1186
  description: nil,
1187
1187
  volumes_N: [],
1188
1188
  initiator_names_N: [],
1189
- zone:)eval(build_fetch 'CreateS2SharedTarget')
1189
+ zone:)eval(build_fetch_match)
1190
1190
  end
1191
1191
 
1192
1192
  def describe_s2_shared_targets(
@@ -1196,41 +1196,41 @@ module QingCloud
1196
1196
  verbose: nil,
1197
1197
  offset: nil,
1198
1198
  limit: nil,
1199
- zone:)eval(build_fetch 'DescribeS2SharedTargets')
1199
+ zone:)eval(build_fetch_match)
1200
1200
  end
1201
1201
 
1202
1202
  def delete_s2_shared_targets(
1203
1203
  shared_targets_N:,
1204
- zone:)eval(build_fetch 'DeleteS2SharedTargets')
1204
+ zone:)eval(build_fetch_match)
1205
1205
  end
1206
1206
 
1207
1207
  def enable_s2_shared_targets(
1208
1208
  shared_targets_N:,
1209
- zone:)eval(build_fetch 'EnableS2SharedTargets')
1209
+ zone:)eval(build_fetch_match)
1210
1210
  end
1211
1211
 
1212
1212
  def disable_s2_shared_targets(
1213
1213
  shared_targets_N:,
1214
- zone:)eval(build_fetch 'DisableS2SharedTargets')
1214
+ zone:)eval(build_fetch_match)
1215
1215
  end
1216
1216
 
1217
1217
  def modify_s2_shared_targets(
1218
1218
  shared_targets_N:,
1219
1219
  operation:,
1220
1220
  initiator_names_N:,
1221
- zone:)eval(build_fetch 'ModifyS2SharedTargets')
1221
+ zone:)eval(build_fetch_match)
1222
1222
  end
1223
1223
 
1224
1224
  def attach_to_s2_shared_target(
1225
1225
  shared_target:,
1226
1226
  volumes_N:,
1227
- zone:)eval(build_fetch 'AttachToS2SharedTarget')
1227
+ zone:)eval(build_fetch_match)
1228
1228
  end
1229
1229
 
1230
1230
  def detach_from_s2_shared_target(
1231
1231
  shared_target:,
1232
1232
  volumes_N:,
1233
- zone:)eval(build_fetch 'DetachFromS2SharedTarget')
1233
+ zone:)eval(build_fetch_match)
1234
1234
  end
1235
1235
 
1236
1236
  def describe_s2_default_parameters(
@@ -1238,7 +1238,7 @@ module QingCloud
1238
1238
  target_type:,
1239
1239
  offset:,
1240
1240
  limit:,
1241
- zone:)eval(build_fetch 'DescribeS2DefaultParameters')
1241
+ zone:)eval(build_fetch_match)
1242
1242
  end
1243
1243
 
1244
1244
  # Spark
@@ -1249,23 +1249,23 @@ module QingCloud
1249
1249
  spark_node_name: nil,
1250
1250
  private_ips_N_role: [],
1251
1251
  private_ips_N_private_ips: [],
1252
- zone:)eval(build_fetch 'AddSparkNodes')
1252
+ zone:)eval(build_fetch_match)
1253
1253
  end
1254
1254
 
1255
1255
  def delete_spark_nodes(
1256
1256
  spark:,
1257
1257
  spark_nodes_N:,
1258
- zone:)eval(build_fetch 'AddSparkNodes')
1258
+ zone:)eval(build_fetch_match)
1259
1259
  end
1260
1260
 
1261
1261
  def start_sparks(
1262
1262
  sparks_N:,
1263
- zone:)eval(build_fetch 'StartSparks')
1263
+ zone:)eval(build_fetch_match)
1264
1264
  end
1265
1265
 
1266
1266
  def stop_sparks(
1267
1267
  sparks_N:,
1268
- zone:)eval(build_fetch 'StopSparks')
1268
+ zone:)eval(build_fetch_match)
1269
1269
  end
1270
1270
  end
1271
1271
 
@@ -1,7 +1,7 @@
1
1
  module QingCloud
2
2
  module SDK
3
3
 
4
- VERSION = '0.4.0'
4
+ VERSION = '0.4.1'
5
5
 
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qingcloud-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aspire