CaaS / CVPC API Developer Center

Firewall

CaaS Directions

describeNetworkAcls is used to list detailed information for more than one set of firewall services. If there are no parameters networkAclId or orderUuid, the information on all the firewall services will be listed.

CaaS Request Parameter

Parameter Directions Note

networkAclId

(Not a necessary parameter)

List of Firewall Instance ID
Type : String
Default Value : No
Whether it is plural : Yes
Multiple values can be supported

orderUuid

(Not a necessary parameter)

Order Number
Type : String
Default Value : No
Whether it is plural : Yes
Multiple values can be supported

CaaS Response Parameter

Parameter Directions Note

requestId

(Not a necessary parameter)

Request ID
Type : JSON value : string
Whether it is plural : No
It is automatically produced by the system
networkAclList List of Firewall Information
Type : JSON value : array
Whether it is plural : Yes
NetworkAclEntry List

CaaS Request Example

Example 1:
https://hws.hicloud.hinet.net/cloud_hws/api/hws/?action=describeNetworkAcls
&chtAuthType=hwspass
&version=${version}
&expires=${expires}
&accessKey=${accessKey}
&signature=${signature}

Example 2:
https://hws.hicloud.hinet.net/cloud_hws/api/hws/?action=describeNetworkAcls
&networkAclId=BF550100010003
&chtAuthType=hwspass
&version=${version}
&expires=${expires}
&accessKey=${accessKey}
&signature=${signature}
		

CaaS Response Example

[
	"requestId":"xxxEXAMPLE",
	{
		"orderUuid": "cspde802-1ed4-4a2a-8078-ca0a29deeff0",
		"networkAclId": "BF550100010003",
		"applyDate": "2012-01-01T01:01:01Z",
		"startDate": "2012-01-01T01:02:01Z",
		"endDate": null,
		"name": "myNetworkAcl01",
		"provisionStatus": "provisionok",
		"provisionMessage": null,
		"businessTag": "9a92f90c-532a-4a5d-9e3c-0c1805bc2583",
		"policyStringList": [
			"1;;1;;all;;deny;;TCP;;53-53",
			"2;;1;;all;;deny;;TCP;;21-21"
		],
		"instanceId": "BV550100010003",
		"regionId": "region-tw-1"
	},
	{
		"orderUuid": "pe0fkd0f-df4b-48d0-93bd-4f355c85b2d8",
		"networkAclId": "BF550100010004",
		"applyDate": "2012-01-01T01:01:01Z",
		"startDat": "2012-01-01T01:02:01Z",
		"endDate": null,
		"name": " myNetworkAcl02",
		"provisionStatus": "provisionok",
		"provisionMessage": null,
		"businessTag": "9a92f90c-532a-4a5d-9e3c-0c1805bc2583",
		"policyStringList": [
			"1;;1;;all;;deny;;TCP;;53-53",
			"2;;1;;all;;deny;;TCP;;21-21"
		],
		"instanceId": "BV550100010004",
		"regionId": "region-tw-1"
	}
]
		

CVPC Directions

describeNetworkAcls is used to list detailed information for more than one set of firewall services. If there are no parameters networkAclId or orderUuid, the information on all the firewall services will be listed.

CVPC Request Parameter

Parameter Directions Note

networkAclId

(Not a necessary parameter)

List of Firewall Instance ID
Type : String
Default Value : No
Whether it is plural : Yes
Multiple values can be supported

orderUuid

(Not a necessary parameter)

Order Number
Type : String
Default Value : No
Whether it is plural : Yes
Multiple values can be supported

businessTag

Service category
Type : String
Default Value : No
Whether it is plural : No
CaaS cb168f20-c515-4e41-84cd-830dedfe7f49;
CVPC a2931aa4-8751-4f09-8df3-bcc0d18f8b75;

vpcBusinessServiceId

Vpc Service identifier
Type : String
Default Value : No
Whether it is plural : No

CVPC Response Parameter

Parameter Directions Note

requestId

(Not a necessary parameter)

Request ID
Type : JSON value : string
Whether it is plural : No
It is automatically produced by the system
networkAclList List of Firewall Information
Type : JSON value : array
Whether it is plural : Yes
NetworkAclEntry List

CVPC Request Example




Example 1(vpcBusinessServiceId):
https://hws.hicloud.hinet.net/cloud_hws/api/hws/?action=describeNetworkAcls
&chtAuthType=hwspass
&vpcBusinessServiceId=VV55020001IOSE
&version=${version}
&expires=${expires}
&accessKey=${accessKey}
&signature=${signature}
&businessTag=cb168f20-c515-4e41-84cd-830dedfe7f49

Example 2(networkAclId):
https://hws.hicloud.hinet.net/cloud_hws/api/hws/?action=describeNetworkAcls
&networkAclId=VF55020001IOSJ
&chtAuthType=hwspass
&version=${version}
&expires=${expires}
&accessKey=${accessKey}
&signature=${signature}
&businessTag=cb168f20-c515-4e41-84cd-830dedfe7f49






		

CVPC Response Example

{"networkAclList":[{"applyDate":"2016-11-14T07:54:41Z","businessTag":"a2931aa4-8751-4f09-8df3-bcc0d18f8b75","endDate":null,"instanceId":"VV55020001IOSF","name":null,"networkAclId":"VF55020001IOSK","orderUuid":"7e599f73-e791-496c-8323-a76d01a58bd1","policyStringList":["4;;1;;subnet$192.168.55.0/24;;subnet$192.168.55.0/24;;deny;;TCP/3306-3306, TCP/27017-27017;;null;;LOG$1;;2::0;;1;;subnet$0.0.0.0;;nat$VT55020001IOSL;;accept;;TCP/3306-3306, TCP/27017-27017;;null;;LOG$1;;0::7;;1;;subnet$192.168.55.0/24;;subnet$192.168.55.0/24;;accept;;TCP/3306-3306, TCP/27017-27017;;null;;LOG$1;;4::5;;1;;subnet$192.168.55.0/24;;subnet$192.168.55.0/24;;accept;;TCP/3306-3306, TCP/27017-27017;;null;;LOG$1;;3::2;;1;;fqdn$xxxxx;;slb$VL55020001IOSR;;accept;;ICMP;;null;;LOG$1;;0::3;;0;;subnet$192.168.55.0/24;;iprange$192.168.55.0-192.168.55.100;;accept;;UDP/3306-3306, TCP/27017-27017;;null;;LOG$1,IP_POOL$210.61.223.76-210.61.223.76;;1::1;;1;;subnet$192.168.55.0/24;;portforward$VT55020001IOSJ;;accept;;IP/6;;null;;LOG$1;;0"],"provisionMessage":"PROVISION_SUCCESS","provisionStatus":"provisionok","regionId":"region-tw-1","startDate":"2016-11-14T07:56:00Z"},{"applyDate":"2016-11-15T03:05:01Z","businessTag":"a2931aa4-8751-4f09-8df3-bcc0d18f8b75","endDate":null,"instanceId":"VV55020001IOSE","name":null,"networkAclId":"VF55020001IOST","orderUuid":"9e3f7bb6-6322-4786-9032-7ec11f7672c8","policyStringList":["7;;1;;subnet$192.168.55.0/24;;subnet$192.168.55.0/24;;accept;;TCP/3306-3306, TCP/27017-27017;;null;;LOG$1;;4::2;;1;;fqdn$xxxxx;;slb$VL55020001IOSR;;accept;;ICMP;;null;;LOG$1;;0::4;;1;;subnet$192.168.55.0/24;;subnet$192.168.55.0/24;;deny;;TCP/3306-3306, TCP/27017-27017;;null;;LOG$1;;2::5;;1;;subnet$192.168.55.0/24;;subnet$192.168.55.0/24;;accept;;TCP/3306-3306, TCP/27017-27017;;null;;LOG$1;;3::0;;1;;subnet$0.0.0.0;;nat$VT55020001IOSL;;accept;;TCP/3306-3306, TCP/27017-27017;;null;;LOG$1;;0::3;;0;;subnet$192.168.55.0/24;;iprange$192.168.55.0-192.168.55.100;;accept;;UDP/3306-3306, TCP/27017-27017;;null;;LOG$1,IP_POOL$210.61.223.76-210.61.223.76;;1::1;;1;;subnet$192.168.55.0/24;;portforward$VT55020001IOSJ;;accept;;IP/6;;null;;LOG$1;;0"],"provisionMessage":"PROVISION_SUCCESS","provisionStatus":"provisionok","regionId":"region-tw-1","startDate":"2016-11-15T03:07:00Z"}],"requestId":"2c957f615865ec0c015865fb4eb00005"}
		

Error Message

OrderProcessFail