Tüm Ürünler
Search
Belge Merkezi

:ModifyCloudResourceCert

Son Güncelleme:Oct 26, 2026

Bulut yerel modu için sertifikaları değiştirir.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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:

  • ecs :

    ecs: ECS.

  • clb4 :

    clb4: Katman 4 Classic Load Balancer (CLB).

  • nlb :

    nlb: Network Load Balancer (NLB).

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 :

    default: Varsayılan sertifika.

  • extension :

    extension: Uzantı sertifikası.

default

RegionId

string

Yes

WAF örneğinin bulunduğu bölge. Geçerli değerler:

  • cn-hangzhou: Çin anakarası.

  • ap-southeast-1: Çin anakarası dışı.

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.