@alicloud/ga20191120 1.0.19 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +28 -16
- package/dist/client.js +37 -16
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +43 -16
package/dist/client.d.ts
CHANGED
|
@@ -781,6 +781,7 @@ export declare class CreateBasicAcceleratorRequest extends $tea.Model {
|
|
|
781
781
|
promotionOptionNo?: string;
|
|
782
782
|
regionId?: string;
|
|
783
783
|
resourceGroupId?: string;
|
|
784
|
+
tag?: CreateBasicAcceleratorRequestTag[];
|
|
784
785
|
static names(): {
|
|
785
786
|
[key: string]: string;
|
|
786
787
|
};
|
|
@@ -7082,6 +7083,19 @@ export declare class CreateBasicAccelerateIpEndpointRelationsRequestAccelerateIp
|
|
|
7082
7083
|
[key: string]: any;
|
|
7083
7084
|
});
|
|
7084
7085
|
}
|
|
7086
|
+
export declare class CreateBasicAcceleratorRequestTag extends $tea.Model {
|
|
7087
|
+
key?: string;
|
|
7088
|
+
value?: string;
|
|
7089
|
+
static names(): {
|
|
7090
|
+
[key: string]: string;
|
|
7091
|
+
};
|
|
7092
|
+
static types(): {
|
|
7093
|
+
[key: string]: any;
|
|
7094
|
+
};
|
|
7095
|
+
constructor(map?: {
|
|
7096
|
+
[key: string]: any;
|
|
7097
|
+
});
|
|
7098
|
+
}
|
|
7085
7099
|
export declare class CreateBasicEndpointsRequestEndpoints extends $tea.Model {
|
|
7086
7100
|
endpointAddress?: string;
|
|
7087
7101
|
endpointSubAddress?: string;
|
|
@@ -9775,8 +9789,7 @@ export default class Client extends OpenApi {
|
|
|
9775
9789
|
*/
|
|
9776
9790
|
bandwidthPackageRemoveAccelerator(request: BandwidthPackageRemoveAcceleratorRequest): Promise<BandwidthPackageRemoveAcceleratorResponse>;
|
|
9777
9791
|
/**
|
|
9778
|
-
*
|
|
9779
|
-
* The **ChangeResourceGroup** operation cannot be repeatedly called for the same GA instance within a specific period of time.
|
|
9792
|
+
* You cannot call the **ChangeResourceGroup** operation again on the same GA instance before the previous operation is complete.
|
|
9780
9793
|
*
|
|
9781
9794
|
* @param request ChangeResourceGroupRequest
|
|
9782
9795
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9784,8 +9797,7 @@ export default class Client extends OpenApi {
|
|
|
9784
9797
|
*/
|
|
9785
9798
|
changeResourceGroupWithOptions(request: ChangeResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ChangeResourceGroupResponse>;
|
|
9786
9799
|
/**
|
|
9787
|
-
*
|
|
9788
|
-
* The **ChangeResourceGroup** operation cannot be repeatedly called for the same GA instance within a specific period of time.
|
|
9800
|
+
* You cannot call the **ChangeResourceGroup** operation again on the same GA instance before the previous operation is complete.
|
|
9789
9801
|
*
|
|
9790
9802
|
* @param request ChangeResourceGroupRequest
|
|
9791
9803
|
* @return ChangeResourceGroupResponse
|
|
@@ -9813,8 +9825,8 @@ export default class Client extends OpenApi {
|
|
|
9813
9825
|
*/
|
|
9814
9826
|
configEndpointProbe(request: ConfigEndpointProbeRequest): Promise<ConfigEndpointProbeResponse>;
|
|
9815
9827
|
/**
|
|
9816
|
-
* **CreateAccelerator** is an asynchronous operation. After you send a request, the system returns
|
|
9817
|
-
* * If the GA instance is in the **init** state, it indicates that the GA instance is being created. In this case, you can perform
|
|
9828
|
+
* **CreateAccelerator** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeAccelerator](~~153235~~) operation to query the status of a GA instance.
|
|
9829
|
+
* * If the GA instance is in the **init** state, it indicates that the GA instance is being created. In this case, you can continue to perform query operations on the GA instance.
|
|
9818
9830
|
* * If the GA instance is in the **active** state, it indicates that the GA instance is created.
|
|
9819
9831
|
*
|
|
9820
9832
|
* @param request CreateAcceleratorRequest
|
|
@@ -9823,8 +9835,8 @@ export default class Client extends OpenApi {
|
|
|
9823
9835
|
*/
|
|
9824
9836
|
createAcceleratorWithOptions(request: CreateAcceleratorRequest, runtime: $Util.RuntimeOptions): Promise<CreateAcceleratorResponse>;
|
|
9825
9837
|
/**
|
|
9826
|
-
* **CreateAccelerator** is an asynchronous operation. After you send a request, the system returns
|
|
9827
|
-
* * If the GA instance is in the **init** state, it indicates that the GA instance is being created. In this case, you can perform
|
|
9838
|
+
* **CreateAccelerator** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeAccelerator](~~153235~~) operation to query the status of a GA instance.
|
|
9839
|
+
* * If the GA instance is in the **init** state, it indicates that the GA instance is being created. In this case, you can continue to perform query operations on the GA instance.
|
|
9828
9840
|
* * If the GA instance is in the **active** state, it indicates that the GA instance is created.
|
|
9829
9841
|
*
|
|
9830
9842
|
* @param request CreateAcceleratorRequest
|
|
@@ -11301,11 +11313,11 @@ export default class Client extends OpenApi {
|
|
|
11301
11313
|
updateAclAttributeWithOptions(request: UpdateAclAttributeRequest, runtime: $Util.RuntimeOptions): Promise<UpdateAclAttributeResponse>;
|
|
11302
11314
|
updateAclAttribute(request: UpdateAclAttributeRequest): Promise<UpdateAclAttributeResponse>;
|
|
11303
11315
|
/**
|
|
11304
|
-
* The UpdateAdditionalCertificateWithListener operation is used to replace an additional certificate. You can
|
|
11305
|
-
* * **UpdateAdditionalCertificateWithListener** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can
|
|
11306
|
-
* * If the certificate that you want to replace is in the **updating** state, it
|
|
11316
|
+
* The UpdateAdditionalCertificateWithListener operation is used to replace an additional certificate. You can use this operation when you want to replace an expired additional certificate with a new additional certificate without changing the associated domain name.
|
|
11317
|
+
* * **UpdateAdditionalCertificateWithListener** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can use the [ListListenerCertificates](~~307743~~) operation to query the state of the additional certificate that is associated with an HTTP listener:
|
|
11318
|
+
* * If the certificate that you want to replace is in the **updating** state, it is being replaced for the HTTP listener. In this case, you can perform only query operations.
|
|
11307
11319
|
* * If the replacement certificate is in the **active** state, it indicates that the replacement operation is complete and the replacement certificate is associated with the HTTP listener.
|
|
11308
|
-
* *
|
|
11320
|
+
* * You cannot perform the **UpdateAdditionalCertificateWithListener** operation again on the same Global Accelerator (GA) instance before the previous operation is complete.
|
|
11309
11321
|
*
|
|
11310
11322
|
* @param request UpdateAdditionalCertificateWithListenerRequest
|
|
11311
11323
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -11313,11 +11325,11 @@ export default class Client extends OpenApi {
|
|
|
11313
11325
|
*/
|
|
11314
11326
|
updateAdditionalCertificateWithListenerWithOptions(request: UpdateAdditionalCertificateWithListenerRequest, runtime: $Util.RuntimeOptions): Promise<UpdateAdditionalCertificateWithListenerResponse>;
|
|
11315
11327
|
/**
|
|
11316
|
-
* The UpdateAdditionalCertificateWithListener operation is used to replace an additional certificate. You can
|
|
11317
|
-
* * **UpdateAdditionalCertificateWithListener** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can
|
|
11318
|
-
* * If the certificate that you want to replace is in the **updating** state, it
|
|
11328
|
+
* The UpdateAdditionalCertificateWithListener operation is used to replace an additional certificate. You can use this operation when you want to replace an expired additional certificate with a new additional certificate without changing the associated domain name.
|
|
11329
|
+
* * **UpdateAdditionalCertificateWithListener** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can use the [ListListenerCertificates](~~307743~~) operation to query the state of the additional certificate that is associated with an HTTP listener:
|
|
11330
|
+
* * If the certificate that you want to replace is in the **updating** state, it is being replaced for the HTTP listener. In this case, you can perform only query operations.
|
|
11319
11331
|
* * If the replacement certificate is in the **active** state, it indicates that the replacement operation is complete and the replacement certificate is associated with the HTTP listener.
|
|
11320
|
-
* *
|
|
11332
|
+
* * You cannot perform the **UpdateAdditionalCertificateWithListener** operation again on the same Global Accelerator (GA) instance before the previous operation is complete.
|
|
11321
11333
|
*
|
|
11322
11334
|
* @param request UpdateAdditionalCertificateWithListenerRequest
|
|
11323
11335
|
* @return UpdateAdditionalCertificateWithListenerResponse
|
package/dist/client.js
CHANGED
|
@@ -1116,6 +1116,7 @@ class CreateBasicAcceleratorRequest extends $tea.Model {
|
|
|
1116
1116
|
promotionOptionNo: 'PromotionOptionNo',
|
|
1117
1117
|
regionId: 'RegionId',
|
|
1118
1118
|
resourceGroupId: 'ResourceGroupId',
|
|
1119
|
+
tag: 'Tag',
|
|
1119
1120
|
};
|
|
1120
1121
|
}
|
|
1121
1122
|
static types() {
|
|
@@ -1133,6 +1134,7 @@ class CreateBasicAcceleratorRequest extends $tea.Model {
|
|
|
1133
1134
|
promotionOptionNo: 'string',
|
|
1134
1135
|
regionId: 'string',
|
|
1135
1136
|
resourceGroupId: 'string',
|
|
1137
|
+
tag: { 'type': 'array', 'itemType': CreateBasicAcceleratorRequestTag },
|
|
1136
1138
|
};
|
|
1137
1139
|
}
|
|
1138
1140
|
}
|
|
@@ -9939,6 +9941,24 @@ class CreateBasicAccelerateIpEndpointRelationsRequestAccelerateIpEndpointRelatio
|
|
|
9939
9941
|
}
|
|
9940
9942
|
}
|
|
9941
9943
|
exports.CreateBasicAccelerateIpEndpointRelationsRequestAccelerateIpEndpointRelations = CreateBasicAccelerateIpEndpointRelationsRequestAccelerateIpEndpointRelations;
|
|
9944
|
+
class CreateBasicAcceleratorRequestTag extends $tea.Model {
|
|
9945
|
+
constructor(map) {
|
|
9946
|
+
super(map);
|
|
9947
|
+
}
|
|
9948
|
+
static names() {
|
|
9949
|
+
return {
|
|
9950
|
+
key: 'Key',
|
|
9951
|
+
value: 'Value',
|
|
9952
|
+
};
|
|
9953
|
+
}
|
|
9954
|
+
static types() {
|
|
9955
|
+
return {
|
|
9956
|
+
key: 'string',
|
|
9957
|
+
value: 'string',
|
|
9958
|
+
};
|
|
9959
|
+
}
|
|
9960
|
+
}
|
|
9961
|
+
exports.CreateBasicAcceleratorRequestTag = CreateBasicAcceleratorRequestTag;
|
|
9942
9962
|
class CreateBasicEndpointsRequestEndpoints extends $tea.Model {
|
|
9943
9963
|
constructor(map) {
|
|
9944
9964
|
super(map);
|
|
@@ -14068,8 +14088,7 @@ class Client extends openapi_client_1.default {
|
|
|
14068
14088
|
return await this.bandwidthPackageRemoveAcceleratorWithOptions(request, runtime);
|
|
14069
14089
|
}
|
|
14070
14090
|
/**
|
|
14071
|
-
*
|
|
14072
|
-
* The **ChangeResourceGroup** operation cannot be repeatedly called for the same GA instance within a specific period of time.
|
|
14091
|
+
* You cannot call the **ChangeResourceGroup** operation again on the same GA instance before the previous operation is complete.
|
|
14073
14092
|
*
|
|
14074
14093
|
* @param request ChangeResourceGroupRequest
|
|
14075
14094
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14110,8 +14129,7 @@ class Client extends openapi_client_1.default {
|
|
|
14110
14129
|
return $tea.cast(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
|
|
14111
14130
|
}
|
|
14112
14131
|
/**
|
|
14113
|
-
*
|
|
14114
|
-
* The **ChangeResourceGroup** operation cannot be repeatedly called for the same GA instance within a specific period of time.
|
|
14132
|
+
* You cannot call the **ChangeResourceGroup** operation again on the same GA instance before the previous operation is complete.
|
|
14115
14133
|
*
|
|
14116
14134
|
* @param request ChangeResourceGroupRequest
|
|
14117
14135
|
* @return ChangeResourceGroupResponse
|
|
@@ -14187,8 +14205,8 @@ class Client extends openapi_client_1.default {
|
|
|
14187
14205
|
return await this.configEndpointProbeWithOptions(request, runtime);
|
|
14188
14206
|
}
|
|
14189
14207
|
/**
|
|
14190
|
-
* **CreateAccelerator** is an asynchronous operation. After you send a request, the system returns
|
|
14191
|
-
* * If the GA instance is in the **init** state, it indicates that the GA instance is being created. In this case, you can perform
|
|
14208
|
+
* **CreateAccelerator** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeAccelerator](~~153235~~) operation to query the status of a GA instance.
|
|
14209
|
+
* * If the GA instance is in the **init** state, it indicates that the GA instance is being created. In this case, you can continue to perform query operations on the GA instance.
|
|
14192
14210
|
* * If the GA instance is in the **active** state, it indicates that the GA instance is created.
|
|
14193
14211
|
*
|
|
14194
14212
|
* @param request CreateAcceleratorRequest
|
|
@@ -14260,8 +14278,8 @@ class Client extends openapi_client_1.default {
|
|
|
14260
14278
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAcceleratorResponse({}));
|
|
14261
14279
|
}
|
|
14262
14280
|
/**
|
|
14263
|
-
* **CreateAccelerator** is an asynchronous operation. After you send a request, the system returns
|
|
14264
|
-
* * If the GA instance is in the **init** state, it indicates that the GA instance is being created. In this case, you can perform
|
|
14281
|
+
* **CreateAccelerator** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeAccelerator](~~153235~~) operation to query the status of a GA instance.
|
|
14282
|
+
* * If the GA instance is in the **init** state, it indicates that the GA instance is being created. In this case, you can continue to perform query operations on the GA instance.
|
|
14265
14283
|
* * If the GA instance is in the **active** state, it indicates that the GA instance is created.
|
|
14266
14284
|
*
|
|
14267
14285
|
* @param request CreateAcceleratorRequest
|
|
@@ -14743,6 +14761,9 @@ class Client extends openapi_client_1.default {
|
|
|
14743
14761
|
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
14744
14762
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
14745
14763
|
}
|
|
14764
|
+
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
14765
|
+
query["Tag"] = request.tag;
|
|
14766
|
+
}
|
|
14746
14767
|
let req = new $OpenApi.OpenApiRequest({
|
|
14747
14768
|
query: openapi_util_1.default.query(query),
|
|
14748
14769
|
});
|
|
@@ -19893,11 +19914,11 @@ class Client extends openapi_client_1.default {
|
|
|
19893
19914
|
return await this.updateAclAttributeWithOptions(request, runtime);
|
|
19894
19915
|
}
|
|
19895
19916
|
/**
|
|
19896
|
-
* The UpdateAdditionalCertificateWithListener operation is used to replace an additional certificate. You can
|
|
19897
|
-
* * **UpdateAdditionalCertificateWithListener** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can
|
|
19898
|
-
* * If the certificate that you want to replace is in the **updating** state, it
|
|
19917
|
+
* The UpdateAdditionalCertificateWithListener operation is used to replace an additional certificate. You can use this operation when you want to replace an expired additional certificate with a new additional certificate without changing the associated domain name.
|
|
19918
|
+
* * **UpdateAdditionalCertificateWithListener** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can use the [ListListenerCertificates](~~307743~~) operation to query the state of the additional certificate that is associated with an HTTP listener:
|
|
19919
|
+
* * If the certificate that you want to replace is in the **updating** state, it is being replaced for the HTTP listener. In this case, you can perform only query operations.
|
|
19899
19920
|
* * If the replacement certificate is in the **active** state, it indicates that the replacement operation is complete and the replacement certificate is associated with the HTTP listener.
|
|
19900
|
-
* *
|
|
19921
|
+
* * You cannot perform the **UpdateAdditionalCertificateWithListener** operation again on the same Global Accelerator (GA) instance before the previous operation is complete.
|
|
19901
19922
|
*
|
|
19902
19923
|
* @param request UpdateAdditionalCertificateWithListenerRequest
|
|
19903
19924
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19944,11 +19965,11 @@ class Client extends openapi_client_1.default {
|
|
|
19944
19965
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateAdditionalCertificateWithListenerResponse({}));
|
|
19945
19966
|
}
|
|
19946
19967
|
/**
|
|
19947
|
-
* The UpdateAdditionalCertificateWithListener operation is used to replace an additional certificate. You can
|
|
19948
|
-
* * **UpdateAdditionalCertificateWithListener** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can
|
|
19949
|
-
* * If the certificate that you want to replace is in the **updating** state, it
|
|
19968
|
+
* The UpdateAdditionalCertificateWithListener operation is used to replace an additional certificate. You can use this operation when you want to replace an expired additional certificate with a new additional certificate without changing the associated domain name.
|
|
19969
|
+
* * **UpdateAdditionalCertificateWithListener** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can use the [ListListenerCertificates](~~307743~~) operation to query the state of the additional certificate that is associated with an HTTP listener:
|
|
19970
|
+
* * If the certificate that you want to replace is in the **updating** state, it is being replaced for the HTTP listener. In this case, you can perform only query operations.
|
|
19950
19971
|
* * If the replacement certificate is in the **active** state, it indicates that the replacement operation is complete and the replacement certificate is associated with the HTTP listener.
|
|
19951
|
-
* *
|
|
19972
|
+
* * You cannot perform the **UpdateAdditionalCertificateWithListener** operation again on the same Global Accelerator (GA) instance before the previous operation is complete.
|
|
19952
19973
|
*
|
|
19953
19974
|
* @param request UpdateAdditionalCertificateWithListenerRequest
|
|
19954
19975
|
* @return UpdateAdditionalCertificateWithListenerResponse
|