Bulut yerel modu için sertifikaları değiştirir.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:ModifyCloudResourceCert |
none |
*Tüm kaynaklar.
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
WAF örneğinin örnek kimliği. Not
WAF örneğinin örnek kimliğini sorgulamak için DescribeInstance işlemini çağırabilirsiniz. |
waf_v2_public_cn-*** |
ResourceProduct
deprecated
|
string |
No |
Bulut hizmetinin türü. Valid values:
|
clb4 |
ResourceInstanceId
deprecated
|
string |
No |
Bulut hizmeti örneğinin kimliği. |
lb-bp1*****jqnnqk5uj2p |
Port
deprecated
|
integer |
No |
WAF'a eklenen bulut hizmetinin bağlantı noktası. |
443 |
| Certificates |
array<object> |
Yes |
Sertifikaların listesi. Not
Varsayılan sertifika kimliği ve tüm uzantı sertifika kimlikleri dahil olmak üzere tüm sertifika kimliklerini girmelisiniz. Gönderimden sonra WAF, gönderilen sertifika kimliklerini mevcut olanlarla karşılaştırır. Yeni kimlikler eklenir ve eksik kimlikler silinir. Silinen sertifikalarla ilişkili hizmetler etkilenebilir. |
|
|
object |
Yes |
Sertifika listesi. |
||
| CertificateId |
string |
Yes |
Sertifika kimliği. |
232***-cn-hangzhou |
| AppliedType |
string |
Yes |
HTTPS protokolü için sertifika türü. Valid values:
|
default |
| RegionId |
string |
Yes |
WAF örneğinin bulunduğu bölge. Geçerli değerler:
|
cn-hangzhou |
| CloudResourceId |
string |
No |
Eklenen kaynağın kimliği. Bu kimlik, bulut yerel modunda WAF tarafından otomatik olarak oluşturulur. Not
Bir kaynağı eklemek ve yanıtta kaynak kimliğini görüntülemek için CreateCloudResource işlemini çağırabilirsiniz. |
lb-bp*********k5uj2p-443-clb7 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt şeması. |
||
| RequestId |
string |
İstek kimliği. |
A47D2DC0-7151-51EF-BFB7-*** |
Examples
Success response
JSON format
{
"RequestId": "A47D2DC0-7151-51EF-BFB7-***"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Waf.Pullin.CertNotExist | Certificate does not exist in SSL Certificate Center, certificate type:%s, certificate ID:%s. | Sertifika mevcut değil. |
| 400 | Waf.Pullin.OnlyBeOneDefaultCert | There can be only one default certificate. | Yalnızca bir varsayılan sertifikaya izin verilir. |
| 400 | Waf.Pullin.MaxCertCountLimit | The number of selected certificate IDs exceeds the maximum number in the system. | Seçilen sertifika kimliklerinin sayısı sistem üst sınırını aşıyor. |
| 400 | Waf.Pullin.CertExpired | Certificate expired, certificate ID:%s . | Sertifikanın süresi doldu. |
| 400 | Waf.Pullin.CloudResourceInvalid | CloudResourceId parameter is illegal. | CloudResourceId parametresi geçersizdir. |
| 400 | Waf.Pullin.CloudProductParamEmpty | The resource Id of the cloud product accessing WAF is null or null values exist in the three input parameters of the cloud product name, port, and cloud product instance. | Bulut yerel modundaki WAF kaynak kimliği boş ya da şu üç giriş parametresinden en az biri boş: bulut hizmeti adı, port ve bulut hizmeti örneği. |
| 400 | Waf.Pullin.CloudProductParamNotMatch | The value of the cloud product, port, instance, and input parameter to which the resource ID of the cloud product is connected to WAF does not match. | Bulut yerel modundaki WAF kaynak kimliğiyle ilişkili bulut hizmeti, port ve örnek, giriş parametresi değerleriyle eşleşmiyor. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.