yc storage bucket update
Update the specified bucket
Command Usage
Syntax:
yc storage bucket update <BUCKET-NAME> [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
A name of the bucket |
|
|
Sets bucket default storage class |
|
|
Updates bucket's max size |
|
|
Opens bucket for public read |
|
|
Opens bucket for public listing |
|
|
Opens bucket for public config |
|
|
Sets bucket acl with grants Possible property names:
|
|
|
Sets bucket acl using predefined rule |
|
|
Sets buckets versioning Values: 'versioning-disabled', 'versioning-enabled', 'versioning-suspended' |
|
|
Sets bucket cors Possible property names:
|
|
|
Remove CORS of bucket |
|
|
A list of tags (or labels) KEY=VALUE pairs to add. For example, to add two tags named 'foo' and 'bar', both with the value 'baz', use '--tags foo=baz,bar=baz'. |
|
|
Remove tags of bucket |
|
|
Sets bucket lifecycle rules from json input |
|
|
Loads lifecycle rules from file in json format |
|
|
Remove lifecycle rules of bucket |
|
|
Sets bucket website settings from json input |
|
|
Loads website settings from file in json format |
|
|
Remove website settings of bucket |
|
|
Sets bucket policy |
|
|
Same as policy but loads policy from file |
|
|
Sets bucket allowed private endpoints policy: true/false. Example: --enable-private-endpoints=true |
|
|
Sets bucket private endpoints |
|
|
If true, Cloud Console will be able to access bucket regardless of private-endpoints-list: true/false. Example: --private-endpoints-force-cloudconsole-access=true |
|
|
Prints example of lifecycle rules |
|
|
Prints example of website settings |
|
|
Sets encryption kms-master-key-id Possible property names:
|
|
|
Remove encryption from the bucket |
|
|
Disable static key authentication in bucket: true/false. Example: --disable-statickey-auth=true |
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
Global Flags
|
Flag |
Description |
|
|
Set the custom configuration file. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the ID of the cloud to use. |
|
|
Set the ID of the folder to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the OAuth token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Query to select values from the response using jq syntax |
|
|
Display help for the command. |
- Configure a restriction for access only from service connections
- Enabling public access
- Configuring CORS
- Editing a bucket ACL
- Managing bucket object lifecycles
- Limiting the maximum size of a bucket
- Applying or updating a policy
- Adding or updating labels
- Managing bucket versioning
- Selecting a certificate from Certificate Manager
- Set up a static website for your main domain
- Static website hosting