Merge "api-ref: clarify retype docs around default policy permissions"
This commit is contained in:
commit
464e8fc8ea
@ -973,8 +973,13 @@ metadata_items:
|
|||||||
type: integer
|
type: integer
|
||||||
migration_policy:
|
migration_policy:
|
||||||
description: |
|
description: |
|
||||||
Specify if make migration when retyping volume, the value is 'on-demand'
|
Specify if the volume should be migrated when it is re-typed.
|
||||||
or 'never'.
|
Possible values are ``on-demand`` or ``never``. If not specified, the
|
||||||
|
default is ``never``.
|
||||||
|
|
||||||
|
.. note:: If the volume is attached to a server instance and will be
|
||||||
|
migrated, then by default policy only users with the administrative role
|
||||||
|
should attempt the retype operation.
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
@ -315,6 +315,10 @@ Change type of existing volume. Specify the ``os-retype`` action in the request
|
|||||||
Change the volume type of existing volume, Cinder may migrate the volume to
|
Change the volume type of existing volume, Cinder may migrate the volume to
|
||||||
proper volume host according to the new volume type.
|
proper volume host according to the new volume type.
|
||||||
|
|
||||||
|
Policy defaults enable only users with the administrative role or the owner of
|
||||||
|
the volume to perform this operation. Cloud providers can change these
|
||||||
|
permissions through the policy.json file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
|
|
||||||
|
@ -1187,8 +1187,13 @@ metadata_items:
|
|||||||
type: integer
|
type: integer
|
||||||
migration_policy:
|
migration_policy:
|
||||||
description: |
|
description: |
|
||||||
Specify if make migration when retyping volume, the value is 'on-demand'
|
Specify if the volume should be migrated when it is re-typed.
|
||||||
or 'never'.
|
Possible values are ``on-demand`` or ``never``. If not specified, the
|
||||||
|
default is ``never``.
|
||||||
|
|
||||||
|
.. note:: If the volume is attached to a server instance and will be
|
||||||
|
migrated, then by default policy only users with the administrative role
|
||||||
|
should attempt the retype operation.
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
@ -312,6 +312,10 @@ Change type of existing volume. Specify the ``os-retype`` action in the request
|
|||||||
Change the volume type of existing volume, Cinder may migrate the volume to
|
Change the volume type of existing volume, Cinder may migrate the volume to
|
||||||
proper volume host according to the new volume type.
|
proper volume host according to the new volume type.
|
||||||
|
|
||||||
|
Policy defaults enable only users with the administrative role or the owner of
|
||||||
|
the volume to perform this operation. Cloud providers can change these
|
||||||
|
permissions through the policy.json file.
|
||||||
|
|
||||||
Normal response codes: 202
|
Normal response codes: 202
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user