vserver object-store-server bucket policy-statement-condition show

Show the bucket policy condition

Availability: This command is available to cluster and Vserver administrators at the advanced privilege level.

Description

The vserver object-store-server bucket policy-statement-condition show command displays information about object store server bucket policy condition.

Parameters

{ [-fields <fieldname>, ...]
If you specify the -fields <fieldname>, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
| [-instance ]}
If you specify the -instance parameter, the command displays detailed information about all fields.
[-vserver <Vserver Name>] - Vserver Name
If you specify this parameter, the command displays information on the object store server bucket policy statement conditions for the specified Vserver.
[-bucket <TextNoCase>] - Object Store Server Bucket Name
If you specify this parameter, the command displays information on the object store server bucket policy statement conditions for the specified bucket.
[-index <integer>] - Statement Index
If you specify this parameter, the command displays information on the object store server bucket policy statement conditions for the specified bucket policy index.
[-operator {ip-address|not-ip-address|string-equals|string-not-equals|string-equals-ignore-case|string-not-equals-ignore-case|string-like|string-not-like|numeric-equals|numeric-not-equals|numeric-greater-than|numeric-greater-than-equals|numeric-less-than|numeric-less-than-equals}] - Policy Condition Operator
If you specify this parameter, the command displays information on the object store server bucket policy statement conditions that match the specified condition operator.
[-source-ips <IP Address or Subnet>, ...] - List of IP Addresses with Access Allowed or Denied
If you specify this parameter, the command displays information on the object store server bucket policy statement conditions that match the specified bucket policy condition source IP addresses.
[-usernames <text>, ...] - List of Usernames with Access Allowed or Denied
If you specify this parameter, the command displays information on the object store server bucket policy statement conditions that match the specified usernames.
[-prefixes <text>, ...] - List of Prefixes to be Matched
If you specify this parameter, the command displays information on the object store server bucket policy statement conditions that match the specified prefixes.
[-max-keys <integer>, ...] - List of Maximum Keys Allowed to be Fetched
If you specify this parameter, the command displays information on the object store server bucket policy statement conditions that match the specified max-keys.
[-delimiters <text>, ...] - List of Delimiters to be Matched
If you specify this parameter, the command displays information on the object store server bucket policy statement conditions that match the specified delimiters.

Examples

The following example displays information on object store server bucket policy statement conditions for vserver vs1, bucket bb1 and index 1:

cluster1::*> vserver object-store-server bucket policy-statement-condition show -vserver vs1 -bucket bb1 -index 1
Vserver: vs1
 Bucket: bb1

Index Operator     Source-IPs    Usernames    Prefixes     Max-Keys Delimiters
----- ------------ ------------- ------------ ------------ -------- -----------
    1 ip-address   1.1.1.0/24    -            -                   - -
    1 string-like  -             user1        pref                - delim1
2 entries were displayed.