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