@@ -50,9 +50,9 @@ export class ChangeResourceGroupResponseBody extends $tea.Model {
5050}
5151
5252export class ChangeResourceGroupResponse extends $tea . Model {
53- headers : { [ key : string ] : string } ;
54- statusCode : number ;
55- body : ChangeResourceGroupResponseBody ;
53+ headers ? : { [ key : string ] : string } ;
54+ statusCode ? : number ;
55+ body ? : ChangeResourceGroupResponseBody ;
5656 static names ( ) : { [ key : string ] : string } {
5757 return {
5858 headers : 'headers' ,
@@ -76,6 +76,7 @@ export class ChangeResourceGroupResponse extends $tea.Model {
7676
7777export class CreateInstanceRequest extends $tea . Model {
7878 clusterType ?: string ;
79+ disableReplication ?: boolean ;
7980 instanceDescription ?: string ;
8081 instanceName ?: string ;
8182 network ?: string ;
@@ -87,6 +88,7 @@ export class CreateInstanceRequest extends $tea.Model {
8788 static names ( ) : { [ key : string ] : string } {
8889 return {
8990 clusterType : 'ClusterType' ,
91+ disableReplication : 'DisableReplication' ,
9092 instanceDescription : 'InstanceDescription' ,
9193 instanceName : 'InstanceName' ,
9294 network : 'Network' ,
@@ -101,6 +103,7 @@ export class CreateInstanceRequest extends $tea.Model {
101103 static types ( ) : { [ key : string ] : any } {
102104 return {
103105 clusterType : 'string' ,
106+ disableReplication : 'boolean' ,
104107 instanceDescription : 'string' ,
105108 instanceName : 'string' ,
106109 network : 'string' ,
@@ -143,9 +146,9 @@ export class CreateInstanceResponseBody extends $tea.Model {
143146}
144147
145148export class CreateInstanceResponse extends $tea . Model {
146- headers : { [ key : string ] : string } ;
147- statusCode : number ;
148- body : CreateInstanceResponseBody ;
149+ headers ? : { [ key : string ] : string } ;
150+ statusCode ? : number ;
151+ body ? : CreateInstanceResponseBody ;
149152 static names ( ) : { [ key : string ] : string } {
150153 return {
151154 headers : 'headers' ,
@@ -206,9 +209,9 @@ export class DeleteInstanceResponseBody extends $tea.Model {
206209}
207210
208211export class DeleteInstanceResponse extends $tea . Model {
209- headers : { [ key : string ] : string } ;
210- statusCode : number ;
211- body : DeleteInstanceResponseBody ;
212+ headers ? : { [ key : string ] : string } ;
213+ statusCode ? : number ;
214+ body ? : DeleteInstanceResponseBody ;
212215 static names ( ) : { [ key : string ] : string } {
213216 return {
214217 headers : 'headers' ,
@@ -272,9 +275,9 @@ export class DescribeRegionsResponseBody extends $tea.Model {
272275}
273276
274277export class DescribeRegionsResponse extends $tea . Model {
275- headers : { [ key : string ] : string } ;
276- statusCode : number ;
277- body : DescribeRegionsResponseBody ;
278+ headers ? : { [ key : string ] : string } ;
279+ statusCode ? : number ;
280+ body ? : DescribeRegionsResponseBody ;
278281 static names ( ) : { [ key : string ] : string } {
279282 return {
280283 headers : 'headers' ,
@@ -395,9 +398,9 @@ export class GetInstanceResponseBody extends $tea.Model {
395398}
396399
397400export class GetInstanceResponse extends $tea . Model {
398- headers : { [ key : string ] : string } ;
399- statusCode : number ;
400- body : GetInstanceResponseBody ;
401+ headers ? : { [ key : string ] : string } ;
402+ statusCode ? : number ;
403+ body ? : GetInstanceResponseBody ;
401404 static names ( ) : { [ key : string ] : string } {
402405 return {
403406 headers : 'headers' ,
@@ -479,9 +482,9 @@ export class ListInstancesResponseBody extends $tea.Model {
479482}
480483
481484export class ListInstancesResponse extends $tea . Model {
482- headers : { [ key : string ] : string } ;
483- statusCode : number ;
484- body : ListInstancesResponseBody ;
485+ headers ? : { [ key : string ] : string } ;
486+ statusCode ? : number ;
487+ body ? : ListInstancesResponseBody ;
485488 static names ( ) : { [ key : string ] : string } {
486489 return {
487490 headers : 'headers' ,
@@ -594,9 +597,9 @@ export class ListTagResourcesResponseBody extends $tea.Model {
594597}
595598
596599export class ListTagResourcesResponse extends $tea . Model {
597- headers : { [ key : string ] : string } ;
598- statusCode : number ;
599- body : ListTagResourcesResponseBody ;
600+ headers ? : { [ key : string ] : string } ;
601+ statusCode ? : number ;
602+ body ? : ListTagResourcesResponseBody ;
600603 static names ( ) : { [ key : string ] : string } {
601604 return {
602605 headers : 'headers' ,
@@ -663,9 +666,9 @@ export class TagResourcesResponseBody extends $tea.Model {
663666}
664667
665668export class TagResourcesResponse extends $tea . Model {
666- headers : { [ key : string ] : string } ;
667- statusCode : number ;
668- body : TagResourcesResponseBody ;
669+ headers ? : { [ key : string ] : string } ;
670+ statusCode ? : number ;
671+ body ? : TagResourcesResponseBody ;
669672 static names ( ) : { [ key : string ] : string } {
670673 return {
671674 headers : 'headers' ,
@@ -735,9 +738,9 @@ export class UntagResourcesResponseBody extends $tea.Model {
735738}
736739
737740export class UntagResourcesResponse extends $tea . Model {
738- headers : { [ key : string ] : string } ;
739- statusCode : number ;
740- body : UntagResourcesResponseBody ;
741+ headers ? : { [ key : string ] : string } ;
742+ statusCode ? : number ;
743+ body ? : UntagResourcesResponseBody ;
741744 static names ( ) : { [ key : string ] : string } {
742745 return {
743746 headers : 'headers' ,
@@ -813,9 +816,9 @@ export class UpdateInstanceResponseBody extends $tea.Model {
813816}
814817
815818export class UpdateInstanceResponse extends $tea . Model {
816- headers : { [ key : string ] : string } ;
817- statusCode : number ;
818- body : UpdateInstanceResponseBody ;
819+ headers ? : { [ key : string ] : string } ;
820+ statusCode ? : number ;
821+ body ? : UpdateInstanceResponseBody ;
819822 static names ( ) : { [ key : string ] : string } {
820823 return {
821824 headers : 'headers' ,
@@ -882,19 +885,25 @@ export class DescribeRegionsResponseBodyRegions extends $tea.Model {
882885}
883886
884887export class GetInstanceResponseBodyTags extends $tea . Model {
888+ key ?: string ;
885889 tagKey ?: string ;
886890 tagValue ?: string ;
891+ value ?: string ;
887892 static names ( ) : { [ key : string ] : string } {
888893 return {
894+ key : 'Key' ,
889895 tagKey : 'TagKey' ,
890896 tagValue : 'TagValue' ,
897+ value : 'Value' ,
891898 } ;
892899 }
893900
894901 static types ( ) : { [ key : string ] : any } {
895902 return {
903+ key : 'string' ,
896904 tagKey : 'string' ,
897905 tagValue : 'string' ,
906+ value : 'string' ,
898907 } ;
899908 }
900909
@@ -1095,6 +1104,10 @@ export default class Client extends OpenApi {
10951104 body [ "ClusterType" ] = request . clusterType ;
10961105 }
10971106
1107+ if ( ! Util . isUnset ( request . disableReplication ) ) {
1108+ body [ "DisableReplication" ] = request . disableReplication ;
1109+ }
1110+
10981111 if ( ! Util . isUnset ( request . instanceDescription ) ) {
10991112 body [ "InstanceDescription" ] = request . instanceDescription ;
11001113 }
0 commit comments