gcp create-object
Create object
Description
create object in cloud storage
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
name
- (string)
object name
Example: "logfile1"
Default: _None_
Attributes: optional
bucket
- (string)
bucket name for the object
Example: --bucket "bucket-1"
Default: _None_
Attributes: required
body
- (string)
body of the object
Example: --body "log- Instance initialized"
Default: _None_
Attributes: required
Examples
gcp create-object "logfile1" --bucket "bucket-1" --body "log- Instance initialized"
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "create" |
Service Type | "gcp" |
Service Instance | |
Namespace | |
Object Type | "object" |
Object ID | name |
Please see Access Control for details.