ListPolicesForPrivateAccessTag
Batch query policies for private network access tags in your Alibaba Cloud account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
csas:ListPolicesForPrivateAccessTag |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TagIds |
array |
Yes |
A collection of private network access tag IDs. Enter a maximum of 100 private network access tag IDs. |
|
|
string |
No |
The private network access tag ID. Obtain this value from:
|
tag-b927baf3e592**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of this request. |
4D169859-A4F2-5EC8-853B-8447787C0D8A |
| Tags |
array<object> |
List of private network access tags. |
|
|
array<object> |
Private network access tag. |
||
| TagId |
string |
Private network access tag ID. |
tag-b927baf3e592**** |
| Polices |
array<object> |
Collection of private network access policies. |
|
|
array<object> |
Private network access policy. |
||
| PolicyId |
string |
Private network access policy ID. |
pa-policy-867ef4007c8a**** |
| Name |
string |
Private network access policy name. |
private_access_policy_name |
| Description |
string |
Description of the private network access policy. |
这是一条内网访问策略 |
| PolicyAction |
string |
The action that the private access policy performs. Valid values:
Valid values:
|
Allow |
| Priority |
integer |
The private network access policy priority. The number 1 indicates the highest priority. |
1 |
| Status |
string |
The status of the private network access policy. Values:
Valid values:
|
Enabled |
| ApplicationType |
string |
The application type of the private network access policy. Values:
Valid values:
|
Application |
| UserGroupType |
string |
The user group type of the private network access policy. Values:
Valid values:
|
Normal |
| CustomUserAttributes |
array<object> |
A collection of custom user group attributes. Multiple custom user group attributes have an OR relationship and take effect as a union. |
|
|
object |
Custom user group attribute. |
||
| UserGroupType |
string |
The type of user group. Values:
Valid values:
|
department |
| Relation |
string |
The relationship of the user group. Values:
Valid values:
|
Equal |
| Value |
string |
The value of the user group attribute.
|
OU=部门1,OU=SASE钉钉 |
| IdpId |
integer |
The identity provider ID of the user group. This value exists if the custom user group type is department. |
12 |
| CreateTime |
string |
Creation time of the private network access policy. |
2023-02-21 14:10:16 |
Examples
Success response
JSON format
{
"RequestId": "4D169859-A4F2-5EC8-853B-8447787C0D8A",
"Tags": [
{
"TagId": "tag-b927baf3e592****\n",
"Polices": [
{
"PolicyId": "pa-policy-867ef4007c8a****",
"Name": "private_access_policy_name\n",
"Description": "这是一条内网访问策略",
"PolicyAction": "Allow",
"Priority": 1,
"Status": "Enabled",
"ApplicationType": "Application",
"UserGroupType": "Normal",
"CustomUserAttributes": [
{
"UserGroupType": "department\n",
"Relation": "Equal",
"Value": "OU=部门1,OU=SASE钉钉",
"IdpId": 12
}
],
"CreateTime": "2023-02-21 14:10:16"
}
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.