Policy
Package : spaceone.api.repository.v1
Policy
Policy Methods:
create
POST /repository/v1/policies
update
PUT /repository/v1/policy/{policy}
delete
DELETE /repository/v1/policy/{policy}
get
GET /repository/v1/policies/{policy}
list
GET /repository/v1/policies
POST /repository/v1/policies/search
stat
POST /repository/v1/policies/stat
Message
CreatePolicyRequest
No
Field
Type
Required
Description
1
name
string
✅
2
permissions
list of string
✅
5
project_id
string
❌
6
domain_id
string
✅
GetRepositoryPolicyRequest
No
Field
Type
Required
Description
1
policy_id
string
✅
2
domain_id
string
✅
3
repository_id
string
❌
4
only
list of string
❌
PoliciesInfo
PolicyInfo
No
Field
Type
Description
1
policy_id
string
2
name
string
3
permissions
list of string
list of permissions
7
project_id
string
8
domain_id
string
9
created_at
string
10
updated_at
string
PolicyQuery
No
Field
Type
Required
Description
2
policy_id
string
❌
3
name
string
❌
4
project_id
string
❌
5
repository_id
string
✅
6
domain_id
string
✅
PolicyRequest
No
Field
Type
Required
Description
1
policy_id
string
✅
2
domain_id
string
✅
PolicyStatQuery
No
Field
Type
Required
Description
2
repository_id
string
✅
3
domain_id
string
✅
UpdatePolicyRequest
No
Field
Type
Required
Description
1
policy_id
string
✅
2
name
string
❌
3
permissions
list of string
❌
6
domain_id
string
✅
Last updated