All Products
Search
Document Center

Web Application Firewall:DescribeHybridCloudResourceDetail

Last Updated:Jun 09, 2026

Mengambil detail nama domain hybrid cloud.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

yundun-waf:DescribeHybridCloudResourceDetail

get

*All Resource

*

  • acs:ResourceGroupId
None

Parameter permintaan

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

ID instance WAF.

Catatan

Panggil DescribeInstance untuk mendapatkan ID instance.

waf-cn-0xldbqt****

Domain

string

Yes

Nama domain.

www.*****.com

Backend

string

No

Alamat menghadap origin.

1.1.XX.XX

PageNumber

integer

No

Nomor halaman. Halaman dimulai dari halaman 1. Nilai default: 1.

1

PageSize

integer

No

Jumlah entri per halaman.

10

CnameEnabled

boolean

No

Menentukan apakah akan mengaktifkan pemulihan bencana public cloud. Nilai valid:

  • true: mengaktifkan pemulihan bencana public cloud.

  • false: tidak mengaktifkan pemulihan bencana public cloud.

true

RegionId

string

No

Region instance WAF. Nilai valid:

  • cn-hangzhou: Tiongkok daratan.

  • ap-southeast-1: di luar Tiongkok daratan.

cn-hangzhou

ResourceManagerResourceGroupId

string

No

ID resource group Alibaba Cloud.

rg-acfm***q

Elemen respons

Element

Type

Description

Example

object

RequestId

string

ID permintaan.

66A98669-CC6E-4F3E-80A6-3014697B11AE

Domain

object

Informasi tentang nama domain.

Status

integer

Status resource.

1

ResourceManagerResourceGroupId

string

ID resource group Alibaba Cloud.

rg-***aby

Uid

string

ID pengguna.

1046011128270720

Listen

object

Informasi listener.

HttpsPorts

array

The HTTPS ports.

integer

An HTTPS port.

443,8443,7443,6443

ProtectionResource

string

The type of the protection resource to be used. Valid values:

  • share: shared cluster.

  • gslb: intelligent load balancing for shared clusters.

share

CustomCiphers

array

The custom cipher suites.

string

A custom cipher suite.

ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384

TLSVersion

string

The TLS version. Valid values:

  • tlsv1

  • tlsv1.1

  • tlsv1.2

tlsv1

Http2Enabled

boolean

Specifies whether to enable HTTP/2. Valid values:

  • true: enables HTTP/2.

  • false: does not enable HTTP/2.

true

CertId

string

The ID of the certificate.

19312542-cn-hangzhou

CipherSuite

integer

The type of the cipher suite. Valid values:

  • 1: all cipher suites.

  • 2: strong cipher suites.

  • 99: custom cipher suites.

0

EnableTLSv3

boolean

Specifies whether TLS 1.3 is supported. Valid values:

  • true: TLS 1.3 is supported.

  • false: TLS 1.3 is not supported.

true

IPv6Enabled

boolean

Specifies whether to enable IPv6. Valid values:

  • true: enables IPv6.

  • false: does not enable IPv6.

true

FocusHttps

boolean

Specifies whether to enable a forced redirect to HTTPS. Valid values:

  • true: enables a forced redirect to HTTPS.

  • false: does not enable a forced redirect to HTTPS.

true

XffHeaders

array

The custom header fields used to obtain client IP addresses. The value is in the ["header1","header2",...] format.

Catatan

This parameter is required only when XffHeaderMode is set to 2. If XffHeaderMode is set to 2, WAF obtains the client IP address from a custom header field.

string

A custom header field used to obtain the client IP address. The value is in the **["header1","header2",...]** format.

Catatan

This parameter is required only when XffHeaderMode is set to 2. If XffHeaderMode is set to 2, WAF obtains the client IP address from a custom header field.

["test"]

XffHeaderMode

integer

The method that WAF uses to obtain the real IP address of a client. Valid values:

  • 0: No Layer 7 proxies are deployed between clients and WAF.

  • 1: WAF reads the first value of the X-Forwarded-For (XFF) header field to obtain the client IP address.

  • 2: WAF reads the value of a custom header field that you specify to obtain the client IP address.

1

ExclusiveIp

boolean

Specifies whether to use an exclusive IP address. Valid values:

  • true: uses an exclusive IP address.

  • false: does not use an exclusive IP address.

true

HttpPorts

array

The list of available HTTP ports. The value is a string. If you specify multiple ports, separate them with commas (,). Example: port1,port2,port3.

integer

An available HTTP port. The value is a string. If you specify multiple ports, separate them with commas (,). Example: port1,port2,port3.

80,8080,9080,9081,9082,8182

Id

integer

ID.

31323

Redirect

object

Pengaturan menghadap origin. Pengaturan header s.

ConnectTimeout

integer

The connection timeout. Unit: milliseconds.

1

Keepalive

boolean

Specifies whether to enable persistent connections. Valid values:

  • true (default): enables persistent connections.

  • false: does not enable persistent connections.

true

SniEnabled

boolean

Specifies whether to enable back-to-origin Server Name Indication (SNI). Valid values:

  • true: enables back-to-origin SNI.

  • false: does not enable back-to-origin SNI.

true

CnameEnabled

boolean

Specifies whether to enable public cloud disaster recovery. Valid values:

  • true: enables public cloud disaster recovery.

  • false: does not enable public cloud disaster recovery.

true

KeepaliveTimeout

integer

The idle timeout of a persistent connection.

1

ReadTimeout

integer

The read timeout of a request.

1

Backends

array

The IP address or domain name of the origin server.

string

The IP address or domain name of the origin server.

1.1.1.1

SniHost

string

The custom value of the SNI extension field. If this parameter is left empty, the value of the Host field in the request header is used as the value of the SNI extension field.

Catatan

This parameter is returned only if SniEnabled is set to true.

eew111

FocusHttpBackend

boolean

Specifies whether to enable a forced back-to-origin request over HTTP. Valid values:

  • true: enables a forced back-to-origin request over HTTP.

  • false: does not enable a forced back-to-origin request over HTTP.

true

WriteTimeout

integer

The write timeout. Unit: milliseconds.

1

RoutingRules

string

The forwarding rules for the hybrid cloud. The value is a string that consists of a JSON array. Each element in the array is a struct that contains the following field:

  • rs: an array.

[{\"backupRs\":[],\"location\":\"v3-test\",\"locationId\":1148,\"rs\":[\"39.98.217.197\",\"2.2.2.2\"]}]

Retry

boolean

Specifies whether to retry a request if the request fails to be sent to the origin server. Valid values:

  • true: retries the request.

  • false: does not retry the request.

true

RequestHeaders

array<object>

The HTTP request headers.

object

The specified custom request header field.

Value

string

The value of the header field.

9506360478730

Key

string

The key of the header field.

L2x1ZmZ5L2NvcmUvYXBwcy9tLnl1bmR1bi53YWYuMS9wbHVnaW5z

KeepaliveRequests

integer

The number of requests that can be reused in a persistent connection. Valid values: 60 to 1,000. Unit: requests.

Catatan

After you enable persistent connections, you can specify the number of requests that can be reused.

1000

Loadbalance

string

The load balancing algorithm for back-to-origin requests. Valid values:

  • iphash: IP hash.

  • roundRobin: round-robin.

  • leastTime: least time.

iphash

BackendPorts

array<object>

自定义端口配置,默认与监听端口一致。

object

自定义端口配置,默认与监听端口一致。

ListenPort

integer

监听端口。

80

BackendPort

integer

回源端口。

80

Protocol

string

监听端口的协议类型。取值:

  • http:表示 HTTP 协议。

  • https:表示 HTTPS 协议。

http

ProxyProtocol

boolean

是否开启了保持客户端源 IP 功能。

  • true:开启了保持客户端源 IP 功能。开启后,支持后端服务查看客户端的原始 IP 地址。

  • false:未开启保持客户端源 IP 功能。

false

Domain

string

Nama domain.

www.*****.com

Cname

string

Canonical name (CNAME).

kdmqyi3ck7xogegxpiyfpb0fj21mgkxn.****.com

Contoh

Respons sukses

JSONformat

{
  "RequestId": "66A98669-CC6E-4F3E-80A6-3014697B11AE",
  "Domain": {
    "Status": 1,
    "ResourceManagerResourceGroupId": "rg-***aby",
    "Uid": "1046011128270720",
    "Listen": {
      "HttpsPorts": [
        0
      ],
      "ProtectionResource": "share",
      "CustomCiphers": [
        "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384"
      ],
      "TLSVersion": "tlsv1",
      "Http2Enabled": true,
      "CertId": "19312542-cn-hangzhou",
      "CipherSuite": 0,
      "EnableTLSv3": true,
      "IPv6Enabled": true,
      "FocusHttps": true,
      "XffHeaders": [
        "[\"test\"]"
      ],
      "XffHeaderMode": 1,
      "ExclusiveIp": true,
      "HttpPorts": [
        0
      ]
    },
    "Id": 31323,
    "Redirect": {
      "ConnectTimeout": 1,
      "Keepalive": true,
      "SniEnabled": true,
      "CnameEnabled": true,
      "KeepaliveTimeout": 1,
      "ReadTimeout": 1,
      "Backends": [
        "1.1.1.1"
      ],
      "SniHost": "eew111",
      "FocusHttpBackend": true,
      "WriteTimeout": 1,
      "RoutingRules": "[{\\\"backupRs\\\":[],\\\"location\\\":\\\"v3-test\\\",\\\"locationId\\\":1148,\\\"rs\\\":[\\\"39.98.217.197\\\",\\\"2.2.2.2\\\"]}]",
      "Retry": true,
      "RequestHeaders": [
        {
          "Value": "9506360478730",
          "Key": "L2x1ZmZ5L2NvcmUvYXBwcy9tLnl1bmR1bi53YWYuMS9wbHVnaW5z"
        }
      ],
      "KeepaliveRequests": 1000,
      "Loadbalance": "iphash"
    },
    "Domain": "www.*****.com",
    "Cname": "kdmqyi3ck7xogegxpiyfpb0fj21mgkxn.****.com"
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.