• Scalable File Service

sfs
  1. Help Center
  2. Scalable File Service
  3. API Reference(cli)
  4. API Description
  5. Share Access Rules
  6. Querying Share Access Rules

Querying Share Access Rules

Function

This interface is used to query share access rules.

Command

  • Usage
    manila access-list [--columns <columns>] <share>
  • Parameter description

    Name

    Mandatory

    Type

    Description

    share

    Yes

    string

    Specifies the UUID or name of the shared file system.

    columns

    No

    string

    Specifies the queried columns, which are separated by commas (,).

  • Example command
    manila access-list 416112b6-e5c9-4a46-8dd1-80749fc09336

Response

  • Parameter description

    Name

    Mandatory

    Type

    Description

    id

    Yes

    string

    Specifies the UUID of the share access rule.

    access_type

    Yes

    string

    Specifies the type of the share access rule.

    access_to

    Yes

    string

    Specifies the access that the back end grants or denies.

    access_level

    Yes

    string

    Specifies the level of the access rule.

    state

    Yes

    string

    Specifies the status of the access rule. Possible values are active and error.

  • Example response
    +--------------------------------------+-------------+--------------------------------------+--------------+--------+------------+
    | id                                   | access_type | access_to                            | access_level | state  | access_key |
    +--------------------------------------+-------------+--------------------------------------+--------------+-------+------------+
    | e0347b5c-8aec-402c-af83-775c3b5e0ad0 | cert        | 996357e2-ecf4-4b60-afc5-89001ee224d6 | rw           | active |            |
    | c503ae9d-9ba5-4d1d-9897-e37b1b043fc0 | cert        | 0157b53f-4974-4e80-91c9-098532bcaf00 | rw           | active |            |
    +--------------------------------------+-------------+--------------------------------------+--------------+--------+------------+