Skip to content

Commit

Permalink
docs(instance): modifs to instance doc for new developers site (#3078)
Browse files Browse the repository at this point in the history
Co-authored-by: Rémy Léone <rleone@scaleway.com>
  • Loading branch information
scaleway-bot and remyleone committed Apr 24, 2023
1 parent 7391505 commit 7962f12
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARGS:
[stateful=true] Whether the security group is stateful or not
[inbound-default-policy=accept] Default policy for inbound rules (accept | drop)
[outbound-default-policy=accept] Default policy for outbound rules (accept | drop)
[enable-default-security] True to block SMTP on IPv4 and IPv6
[enable-default-security] True to block SMTP on IPv4 and IPv6. This feature is read only, please open a support ticket if you need to make it configurable
[organization-id] Organization ID to use. If none is passed the default organization ID will be used
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ USAGE:
scw instance volume-type <command>

AVAILABLE COMMANDS:
list List volumes types
list List volume types

FLAGS:
-h, --help help for volume-type
Expand Down
6 changes: 3 additions & 3 deletions docs/commands/instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Instance API.
- [List volumes](#list-volumes)
- [Update a volume](#update-a-volume)
- [Volume type management commands](#volume-type-management-commands)
- [List volumes types](#list-volumes-types)
- [List volume types](#list-volume-types)


## Image management commands
Expand Down Expand Up @@ -1138,7 +1138,7 @@ scw instance security-group create [arg=value ...]
| stateful | Default: `true` | Whether the security group is stateful or not |
| inbound-default-policy | Default: `accept`<br />One of: `accept`, `drop` | Default policy for inbound rules |
| outbound-default-policy | Default: `accept`<br />One of: `accept`, `drop` | Default policy for outbound rules |
| enable-default-security | | True to block SMTP on IPv4 and IPv6 |
| enable-default-security | | True to block SMTP on IPv4 and IPv6. This feature is read only, please open a support ticket if you need to make it configurable |
| organization-id | | Organization ID to use. If none is passed the default organization ID will be used |
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config |

Expand Down Expand Up @@ -2933,7 +2933,7 @@ Each of these types will contains all the capabilities and constraints of the vo



### List volumes types
### List volume types

List all volume types and their technical details.

Expand Down
4 changes: 2 additions & 2 deletions internal/namespaces/instance/v1/instance_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ func instanceServerTypeList() *core.Command {

func instanceVolumeTypeList() *core.Command {
return &core.Command{
Short: `List volumes types`,
Short: `List volume types`,
Long: `List all volume types and their technical details.`,
Namespace: "instance",
Resource: "volume-type",
Expand Down Expand Up @@ -2044,7 +2044,7 @@ func instanceSecurityGroupCreate() *core.Command {
},
{
Name: "enable-default-security",
Short: `True to block SMTP on IPv4 and IPv6`,
Short: `True to block SMTP on IPv4 and IPv6. This feature is read only, please open a support ticket if you need to make it configurable`,
Required: false,
Deprecated: false,
Positional: false,
Expand Down

0 comments on commit 7962f12

Please sign in to comment.