Update the S3 server configuration for an SVM
PATCH /protocols/s3/services/{svm.uuid}
Updates the S3 Server configuration of an SVM.
Related ONTAP commands
-
vserver object-store-server modify
Learn more
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
svm.uuid |
string |
path |
True |
UUID of the SVM to which this object belongs. |
Request Body
Name | Type | Description |
---|---|---|
_links |
||
comment |
string |
Can contain any additional information about the server being created or modified. |
enabled |
boolean |
Specifies whether the S3 server being created or modified should be up or down. |
name |
string |
Specifies the name of the S3 server. A server name can contain 0 to 15 characters using only the following combination of characters':' 0-9, A-Z, a-z, ".", and "-". |
Example request
{
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"comment": "S3 server",
"name": "Server-1"
}
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Codes
Error Code | Description |
---|---|
92405789 |
The specified object server name contains invalid characters. Valid characters for an object store server name are 0-9, A-Z, a-z, ".", and "-". |
92405790 |
Object store server names must have between 1 and 15 characters. |
Name | Type | Description |
---|---|---|
error |
Example error
{
"error": {
"arguments": [
{
"code": "string",
"message": "string"
}
],
"code": "4",
"message": "entry doesn't exist",
"target": "uuid"
}
}
Definitions
See Definitions
href
Name | Type | Description |
---|---|---|
href |
string |
self_link
Name | Type | Description |
---|---|---|
self |
_links
Name | Type | Description |
---|---|---|
self |
aggregates
Aggregate
Name | Type | Description |
---|---|---|
_links |
||
name |
string |
|
uuid |
string |
encryption
Name | Type | Description |
---|---|---|
enabled |
boolean |
Specifies whether encryption is enabled on the bucket. By default, encryption is disabled on a bucket. |
svm
Name | Type | Description |
---|---|---|
_links |
||
name |
string |
The name of the SVM. |
uuid |
string |
The unique identifier of the SVM. |
volume
Specifies the FlexGroup volume name and UUID where the bucket is hosted.
Name | Type | Description |
---|---|---|
_links |
||
name |
string |
The name of the volume. |
uuid |
string |
Unique identifier for the volume. This corresponds to the instance-uuid that is exposed in the CLI and ONTAPI. It does not change due to a volume move.
|
s3_bucket
A bucket is a container of objects. Each bucket defines an object namespace. S3 requests specify objects using a bucket-name and object-name pair. An object resides within a bucket.
Name | Type | Description |
---|---|---|
comment |
string |
Can contain any additional information about the bucket being created or modified. |
encryption |
||
logical_used_size |
integer |
Specifies the bucket logical used size up to this point. |
size |
integer |
Specifies the bucket size in bytes; ranges from 80MB to 64TB. |
svm |
||
uuid |
string |
Specifies the unique identifier of the bucket. |
volume |
Specifies the FlexGroup volume name and UUID where the bucket is hosted. |
s3_user
This is a container of S3 users.
Name | Type | Description |
---|---|---|
access_key |
string |
Specifies the access key for the user. |
comment |
string |
Can contain any additional information about the user being created or modified. |
svm |
s3_service
Specifies the S3 server configuration.
Name | Type | Description |
---|---|---|
_links |
||
comment |
string |
Can contain any additional information about the server being created or modified. |
enabled |
boolean |
Specifies whether the S3 server being created or modified should be up or down. |
name |
string |
Specifies the name of the S3 server. A server name can contain 0 to 15 characters using only the following combination of characters':' 0-9, A-Z, a-z, ".", and "-". |
error_arguments
Name | Type | Description |
---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
error
Name | Type | Description |
---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |