Merge "Add 'description' in share type API Doc"
This commit is contained in:
commit
3088bf8ebf
@ -3011,6 +3011,20 @@ share_type_access:is_public:
|
|||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
min_version: 2.7
|
min_version: 2.7
|
||||||
|
share_type_description:
|
||||||
|
description: |
|
||||||
|
The description of the share type.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
min_version: 2.41
|
||||||
|
share_type_description_request:
|
||||||
|
description: |
|
||||||
|
The description of the share type.
|
||||||
|
in: body
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
min_version: 2.41
|
||||||
share_type_id_1:
|
share_type_id_1:
|
||||||
description: |
|
description: |
|
||||||
The share type ID of the member.
|
The share type ID of the member.
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
"snapshot_support": true
|
"snapshot_support": true
|
||||||
},
|
},
|
||||||
"share_type_access:is_public": true,
|
"share_type_access:is_public": true,
|
||||||
"name": "testing"
|
"name": "testing",
|
||||||
|
"description": "share type description"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,8 @@
|
|||||||
"snapshot_support": "True"
|
"snapshot_support": "True"
|
||||||
},
|
},
|
||||||
"id": "7fa1342b-de9d-4d89-bdc8-af67795c0e52",
|
"id": "7fa1342b-de9d-4d89-bdc8-af67795c0e52",
|
||||||
"name": "testing"
|
"name": "testing",
|
||||||
|
"description": "share type description"
|
||||||
},
|
},
|
||||||
"volume_type": {
|
"volume_type": {
|
||||||
"required_extra_specs": {
|
"required_extra_specs": {
|
||||||
@ -29,6 +30,7 @@
|
|||||||
"snapshot_support": "True"
|
"snapshot_support": "True"
|
||||||
},
|
},
|
||||||
"id": "7fa1342b-de9d-4d89-bdc8-af67795c0e52",
|
"id": "7fa1342b-de9d-4d89-bdc8-af67795c0e52",
|
||||||
"name": "testing"
|
"name": "testing",
|
||||||
|
"description": "share type description"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,8 @@
|
|||||||
"driver_handles_share_servers": "True"
|
"driver_handles_share_servers": "True"
|
||||||
},
|
},
|
||||||
"id": "420e6a31-3f3d-4ed7-9d11-59450372182a",
|
"id": "420e6a31-3f3d-4ed7-9d11-59450372182a",
|
||||||
"name": "default"
|
"name": "default",
|
||||||
|
"description": "share type description"
|
||||||
},
|
},
|
||||||
"volume_type": {
|
"volume_type": {
|
||||||
"required_extra_specs": {
|
"required_extra_specs": {
|
||||||
@ -19,6 +20,7 @@
|
|||||||
"driver_handles_share_servers": "True"
|
"driver_handles_share_servers": "True"
|
||||||
},
|
},
|
||||||
"id": "420e6a31-3f3d-4ed7-9d11-59450372182a",
|
"id": "420e6a31-3f3d-4ed7-9d11-59450372182a",
|
||||||
"name": "default"
|
"name": "default",
|
||||||
|
"description": "share type description"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
"driver_handles_share_servers": "True"
|
"driver_handles_share_servers": "True"
|
||||||
},
|
},
|
||||||
"id": "420e6a31-3f3d-4ed7-9d11-59450372182a",
|
"id": "420e6a31-3f3d-4ed7-9d11-59450372182a",
|
||||||
"name": "default"
|
"name": "default",
|
||||||
|
"description": "share type description"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"required_extra_specs": {
|
"required_extra_specs": {
|
||||||
@ -25,7 +26,8 @@
|
|||||||
"snapshot_support": "True"
|
"snapshot_support": "True"
|
||||||
},
|
},
|
||||||
"id": "7fa1342b-de9d-4d89-bdc8-af67795c0e52",
|
"id": "7fa1342b-de9d-4d89-bdc8-af67795c0e52",
|
||||||
"name": "testing"
|
"name": "testing",
|
||||||
|
"description": "share type description"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"share_types": [
|
"share_types": [
|
||||||
@ -38,7 +40,8 @@
|
|||||||
"driver_handles_share_servers": "True"
|
"driver_handles_share_servers": "True"
|
||||||
},
|
},
|
||||||
"id": "420e6a31-3f3d-4ed7-9d11-59450372182a",
|
"id": "420e6a31-3f3d-4ed7-9d11-59450372182a",
|
||||||
"name": "default"
|
"name": "default",
|
||||||
|
"description": "share type description"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"required_extra_specs": {
|
"required_extra_specs": {
|
||||||
@ -54,7 +57,8 @@
|
|||||||
"snapshot_support": "True"
|
"snapshot_support": "True"
|
||||||
},
|
},
|
||||||
"id": "7fa1342b-de9d-4d89-bdc8-af67795c0e52",
|
"id": "7fa1342b-de9d-4d89-bdc8-af67795c0e52",
|
||||||
"name": "testing"
|
"name": "testing",
|
||||||
|
"description": "share type description"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -117,6 +117,7 @@ Response parameters
|
|||||||
- revert_to_snapshot_support: revert_to_snapshot_support
|
- revert_to_snapshot_support: revert_to_snapshot_support
|
||||||
- share_type_access:is_public: share_type_access:is_public
|
- share_type_access:is_public: share_type_access:is_public
|
||||||
- create_share_from_snapshot_support: create_share_from_snapshot_support
|
- create_share_from_snapshot_support: create_share_from_snapshot_support
|
||||||
|
- description: share_type_description
|
||||||
|
|
||||||
Response example
|
Response example
|
||||||
----------------
|
----------------
|
||||||
@ -155,6 +156,7 @@ Response parameters
|
|||||||
- snapshot_support: snapshot_support_1
|
- snapshot_support: snapshot_support_1
|
||||||
- share_type_access:is_public: share_type_access:is_public
|
- share_type_access:is_public: share_type_access:is_public
|
||||||
- name: share_type_name
|
- name: share_type_name
|
||||||
|
- description: share_type_description
|
||||||
|
|
||||||
Response example
|
Response example
|
||||||
----------------
|
----------------
|
||||||
@ -229,6 +231,7 @@ Request
|
|||||||
- mount_snapshot_support: mount_snapshot_support
|
- mount_snapshot_support: mount_snapshot_support
|
||||||
- revert_to_snapshot_support: revert_to_snapshot_support
|
- revert_to_snapshot_support: revert_to_snapshot_support
|
||||||
- create_share_from_snapshot_support: create_share_from_snapshot_support
|
- create_share_from_snapshot_support: create_share_from_snapshot_support
|
||||||
|
- description: share_type_description_request
|
||||||
|
|
||||||
Request example
|
Request example
|
||||||
---------------
|
---------------
|
||||||
@ -253,6 +256,7 @@ Response parameters
|
|||||||
- mount_snapshot_support: mount_snapshot_support
|
- mount_snapshot_support: mount_snapshot_support
|
||||||
- revert_to_snapshot_support: revert_to_snapshot_support
|
- revert_to_snapshot_support: revert_to_snapshot_support
|
||||||
- create_share_from_snapshot_support: create_share_from_snapshot_support
|
- create_share_from_snapshot_support: create_share_from_snapshot_support
|
||||||
|
- description: share_type_description
|
||||||
|
|
||||||
Response example
|
Response example
|
||||||
----------------
|
----------------
|
||||||
|
Loading…
Reference in New Issue
Block a user