Skip to main content

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

Contributors
Suggest changes

Delete a bucket policy statement 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 delete command deletes a condition for the specified bucket policy statement belonging to the object store server bucket.

Parameters

-vserver <Vserver Name> - Vserver Name (privilege: advanced)

This parameter specifies the name of the Vserver for which a condition belonging to a particular bucket policy statement (which belongs to the object store server bucket) you want to delete.

-bucket <TextNoCase> - Object Store Server Bucket Name (privilege: advanced)

This parameter specifies the name of the object store server bucket for which a condition belonging to a particular bucket policy statement needs to be deleted.

-index <integer> - Statement Index (privilege: advanced)

This parameter specifies the index of the object store server bucket policy for which a condition needs to be deleted.

-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 (privilege: advanced)

This parameter specifies the condition operator of a condition which needs to be deleted.

Examples

The following example deletes an object store server bucket policy statement condition for Vserver vs1, bucket bucket1, index 1 and operator as IpAddress.

cluster1::*> vserver object-store-server bucket policy-statement-condition delete -vserver vs1 -bucket bucket1 -index 1 -operator IpAddress