Policy

Package : spaceone.api.repository.v1

Policy

Policy Methods:

create

POST /repository/v1/policies

Type

Message

Request

Response

update

PUT /repository/v1/policy/{policy}

Type

Message

Request

Response

delete

DELETE /repository/v1/policy/{policy}

Type

Message

Request

Response

get

GET /repository/v1/policies/{policy}

Type

Message

Request

Response

list

GET /repository/v1/policies

POST /repository/v1/policies/search

Type

Message

Request

Response

stat

POST /repository/v1/policies/stat

Type

Message

Request

Response

Message

CreatePolicyRequest

No

Field

Type

Required

Description

1

name

string

2

permissions

string

3

labels

string

4

tags

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

string

PoliciesInfo

No

Field

Type

Description

1

results

2

total_count

PolicyInfo

No

Field

Type

Description

1

name

string

2

service_type

string

3

policy

4

labels

string

5

tags

6

repository_info

7

project_id

string

8

domain_id

string

9

created_at

PolicyQuery

No

Field

Type

Required

Description

1

query

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

1

query

2

repository_id

string

3

domain_id

string

UpdatePolicyRequest

No

Field

Type

Required

Description

1

policy_id

string

2

name

string

3

permissions

string

4

labels

string

5

tags

6

domain_id

string

Last updated