Policy #
Package : spaceone.api.identity.v2
Policy #
Policy Methods:
Method | Request | Response |
---|---|---|
create | CreatePolicyRequest | PolicyInfo |
update | UpdatePolicyRequest | PolicyInfo |
delete | PolicyRequest | Empty |
get | PolicyRequest | PolicyInfo |
list | PolicySearchQuery | PoliciesInfo |
stat | PolicyStatQuery | Struct |
create #
POST /identity/v2/policy/create
update #
POST /identity/v2/policy/update
delete #
POST /identity/v2/policy/delete
get #
POST /identity/v2/policy/get
list #
POST /identity/v2/policy/list
stat #
POST /identity/v2/policy/stat
Message #
CreatePolicyRequest #
name (string)
Required
permissions (string)
Repeated
Required
domain_id (string)
Required
tags (Struct)
PoliciesInfo #
results (PolicyInfo)
Repeated
Required
total_count (int32)
Required
PolicyInfo #
policy_id (string)
Required
name (string)
Required
permissions (string)
Repeated
Required
tags (Struct)
Required
is_managed (bool)
Required
domain_id (string)
Required
created_at (string)
Required
updated_at (string)
Required
PolicyRequest #
policy_id (string)
Required
domain_id (string)
Required
PolicySearchQuery #
domain_id (string)
Required
query (Query)
policy_id (string)
name (string)
PolicyStatQuery #
query (StatisticsQuery)
Required
domain_id (string)
Required
UpdatePolicyRequest #
policy_id (string)
Required
domain_id (string)
Required
name (string)
permissions (string)
Repeated
tags (Struct)