Skip to main content

PolicyCloudApplicationCollection Schema

Data structure for Policy Cloud Application Collection objects.

Item Type​

This is a collection (list) of PolicyCloudApplication items.

Usage​

# Example: Working with PolicyCloudApplicationCollection
items = [
{"app":"app-value-1","app_name":"app_name-value-1","parent":"parent-value-1","parent_name":"parent_name-value-1"},
{"app":"app-value-2","app_name":"app_name-value-2","parent":"parent-value-2","parent_name":"parent_name-value-2"}
]

# Pass to an action that requires this collection type
resource.some_action(body=items)

JSON Example​

[
{
"app": "app-value-1",
"app_name": "app_name-value-1",
"parent": "parent-value-1",
"parent_name": "parent_name-value-1"
},
{
"app": "app-value-2",
"app_name": "app_name-value-2",
"parent": "parent-value-2",
"parent_name": "parent_name-value-2"
}
]