Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/kube_nodepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func init() {
return slices.Contains([]string{"List", "Get", "Create", "Update", "Delete"}, m.Name)
}, kubeapi("kubeclient_nodepool"))
apiCmd, _ := lo.Find(nodepoolCmd.Commands(), func(c *cobra.Command) bool { return c.Name() == "api" })
apiCmd.PersistentFlags().String("cluster", "", "Name or ID of cluster")
apiCmd.PersistentFlags().String("cluster", "", "[REQUIRED] Name or ID of cluster")
_ = apiCmd.MarkPersistentFlagRequired("cluster")
apiCmd.PersistentFlags().String("project", preferences.Preferences.Kube.DefaultProject, "Name or ID of project")
// nodepool commands need to be added to the upper level, otherwise we will get kube nodepool nodepool
Expand Down
2 changes: 1 addition & 1 deletion cmd/kube_secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var (

func init() {
oksCmd.AddCommand(secretCmd)
secretCmd.Flags().String("name", "", "name of secret")
secretCmd.Flags().String("name", "", "[REQUIRED] name of secret")
secretCmd.Flags().String("namespace", "kube-system", "namespace of secret")
_ = secretCmd.MarkFlagRequired("name")
}
Expand Down
16 changes: 8 additions & 8 deletions docs/reference/octl_iaas_account_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ octl iaas account create [flags]

```
--additional-email strings One or more additional email addresses for the account.
--city string The city of the account owner.
--company-name string The name of the company for the account.
--country string The country of the account owner.
--customer-id string The ID of the customer.
--email string The main email address for the account.
--first-name string The first name of the account owner.
--city string [REQUIRED] The city of the account owner.
--company-name string [REQUIRED] The name of the company for the account.
--country string [REQUIRED] The country of the account owner.
--customer-id string [REQUIRED] The ID of the customer.
--email string [REQUIRED] The main email address for the account.
--first-name string [REQUIRED] The first name of the account owner.
-h, --help help for create
--job-title string The job title of the account owner.
--last-name string The last name of the account owner.
--last-name string [REQUIRED] The last name of the account owner.
--mobile-number string The mobile phone number of the account owner.
--phone-number string The landline phone number of the account owner.
--state-province string The state/province of the account.
--vat-number string The value added tax (VAT) number for the account.
--zip-code string The ZIP code of the city.
--zip-code string [REQUIRED] The ZIP code of the city.
```

### Options inherited from parent commands
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/octl_iaas_adminpassword_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ octl iaas adminpassword list [flags]

```
-h, --help help for list
--vm-id string The ID of the VM.
--vm-id string [REQUIRED] The ID of the VM.
```

### Options inherited from parent commands
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/octl_iaas_ca_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ octl iaas ca create [flags]
```
--description string The description of the CA.
-h, --help help for create
--pem string The CA in PEM format.
--pem string [REQUIRED] The CA in PEM format.
```

### Options inherited from parent commands
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/octl_iaas_clientgateway_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ octl iaas clientgateway create [flags]
### Options

```
--bgp-asn int The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet.
--connection-type string The communication protocol used to establish tunnel with your client gateway (always ipsec.1).
--bgp-asn int [REQUIRED] The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet.
--connection-type string [REQUIRED] The communication protocol used to establish tunnel with your client gateway (always ipsec.1).
-h, --help help for create
--public-ip string The public fixed IPv4 address of your client gateway.
--public-ip string [REQUIRED] The public fixed IPv4 address of your client gateway.
```

### Options inherited from parent commands
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/octl_iaas_co2emissionaccount_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ octl iaas co2emissionaccount list [flags]
### Options

```
--from-month osctime The beginning of the time period, in ISO 8601 date format (for example, 2020-06-01).
--from-month osctime [REQUIRED] The beginning of the time period, in ISO 8601 date format (for example, 2020-06-01).
-h, --help help for list
--overall If false, returns only the CO2 emission of the specific account that sends the request.
--to-month osctime The end of the time period, in ISO 8601 date format (for example, 2020-06-14).
--to-month osctime [REQUIRED] The end of the time period, in ISO 8601 date format (for example, 2020-06-14).
```

### Options inherited from parent commands
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/octl_iaas_consoleoutput_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ octl iaas consoleoutput list [flags]

```
-h, --help help for list
--vm-id string The ID of the VM.
--vm-id string [REQUIRED] The ID of the VM.
```

### Options inherited from parent commands
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/octl_iaas_dedicatedgroup_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ octl iaas dedicatedgroup create [flags]
### Options

```
--cpu-generation int The processor generation for the VMs in the dedicated group (for example, 4).
--cpu-generation int [REQUIRED] The processor generation for the VMs in the dedicated group (for example, 4).
-h, --help help for create
--name string A name for the dedicated group.
--subregion string The Subregion in which you want to create the dedicated group.
--name string [REQUIRED] A name for the dedicated group.
--subregion string [REQUIRED] The Subregion in which you want to create the dedicated group.
```

### Options inherited from parent commands
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/octl_iaas_dedicatedgroup_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ octl iaas dedicatedgroup update dedicated_group_id [dedicated_group_id]... [flag

```
-h, --help help for update
--name string The new name of the dedicated group.
--name string [REQUIRED] The new name of the dedicated group.
```

### Options inherited from parent commands
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/octl_iaas_directlink_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ octl iaas directlink create [flags]
### Options

```
--bandwidth string The bandwidth of the DirectLink (1Gbps | 10Gbps).
--bandwidth string [REQUIRED] The bandwidth of the DirectLink (1Gbps | 10Gbps).
-h, --help help for create
--location string The code of the requested location for the DirectLink, returned by the [ReadLocations](#readlocations) method.
--name string The name of the DirectLink.
--location string [REQUIRED] The code of the requested location for the DirectLink, returned by the [ReadLocations](#readlocations) method.
--name string [REQUIRED] The name of the DirectLink.
```

### Options inherited from parent commands
Expand Down
10 changes: 5 additions & 5 deletions docs/reference/octl_iaas_directlinkinterface_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ octl iaas directlinkinterface create [flags]
### Options

```
--bgp-asn int
--bgp-asn int [REQUIRED]
--bgp-key string
--client-private-ip string
--direct-link-id string The ID of the existing DirectLink for which you want to create the DirectLink interface.
--direct-link-interface-name string
--direct-link-id string [REQUIRED] The ID of the existing DirectLink for which you want to create the DirectLink interface.
--direct-link-interface-name string [REQUIRED]
-h, --help help for create
--outscale-private-ip string
--virtual-gateway-id string
--vlan int
--virtual-gateway-id string [REQUIRED]
--vlan int [REQUIRED]
```

### Options inherited from parent commands
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/octl_iaas_directlinkinterface_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ octl iaas directlinkinterface update direct_link_interface_id [direct_link_inter

```
-h, --help help for update
--mtu int The maximum transmission unit (MTU) of the DirectLink interface, in bytes.
--mtu int [REQUIRED] The maximum transmission unit (MTU) of the DirectLink interface, in bytes.
```

### Options inherited from parent commands
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/octl_iaas_entitieslinkedtopolicy_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ octl iaas entitieslinkedtopolicy list [flags]
--entity-type strings The type of entity linked to the policy you want to get information about.
--first-item int The item starting the list of entities requested.
-h, --help help for list
--policy-orn string The OUTSCALE Resource Name (ORN) of the policy.
--policy-orn string [REQUIRED] The OUTSCALE Resource Name (ORN) of the policy.
```

### Options inherited from parent commands
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/octl_iaas_flexiblegpu_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ octl iaas flexiblegpu create [flags]
--delete-on-vm-deletion If true, the fGPU is deleted when the VM is terminated.
--generation string The processor generation that the fGPU must be compatible with.
-h, --help help for create
--model-name string The model of fGPU you want to allocate.
--subregion string The Subregion in which you want to create the fGPU.
--model-name string [REQUIRED] The model of fGPU you want to allocate.
--subregion string [REQUIRED] The Subregion in which you want to create the fGPU.
```

### Options inherited from parent commands
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/octl_iaas_flexiblegpu_link.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ octl iaas flexiblegpu link fgpu_id [flags]

```
-h, --help help for link
--vm-id string The ID of the VM you want to attach the fGPU to.
--vm-id string [REQUIRED] The ID of the VM you want to attach the fGPU to.
```

### Options inherited from parent commands
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/octl_iaas_imageexporttask_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ octl iaas imageexporttask create [flags]

```
-h, --help help for create
--image-id string The ID of the OMI to export.
--osu-export-disk-image-format string The format of the export disk (qcow2 | raw).
--image-id string [REQUIRED] The ID of the OMI to export.
--osu-export-disk-image-format string [REQUIRED] The format of the export disk (qcow2 | raw).
--osu-export-osu-api-key-api-key-id string The API key of the OOS account that enables you to access the bucket.
--osu-export-osu-api-key-secret-key string The secret key of the OOS account that enables you to access the bucket.
--osu-export-osu-bucket string The name of the OOS bucket where you want to export the object.
--osu-export-osu-bucket string [REQUIRED] The name of the OOS bucket where you want to export the object.
--osu-export-osu-manifest-url string The URL of the manifest file.
--osu-export-osu-prefix string The prefix for the key of the OOS object.
```
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/octl_iaas_internetservice_link.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ octl iaas internetservice link service_id [flags]

```
-h, --help help for link
--net-id string The ID of the Net to which you want to attach the internet service.
--net-id string [REQUIRED] The ID of the Net to which you want to attach the internet service.
```

### Options inherited from parent commands
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/octl_iaas_internetservice_unlink.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ octl iaas internetservice unlink service_id [flags]

```
-h, --help help for unlink
--net-id string The ID of the Net from which you want to detach the internet service.
--net-id string [REQUIRED] The ID of the Net from which you want to detach the internet service.
```

### Options inherited from parent commands
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/octl_iaas_keypair_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ octl iaas keypair create [flags]

```
-h, --help help for create
--name string A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters).
--name string [REQUIRED] A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters).
--public-key base64File The file storing the public key to import in your account, if you are importing an existing keypair.
```

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/octl_iaas_linkedpolicy_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ octl iaas linkedpolicy list [flags]
--first-item int The item starting the list of policies requested.
-h, --help help for list
--path-prefix string The path prefix of the policies.
--user-name string The name of the user the policies are linked to.
--user-name string [REQUIRED] The name of the user the policies are linked to.
```

### Options inherited from parent commands
Expand Down
8 changes: 4 additions & 4 deletions docs/reference/octl_iaas_listenerrule_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ octl iaas listenerrule create [flags]
--action string The type of action for the rule (always forward).
-h, --help help for create
--host-name-pattern string A host-name pattern for the rule, with a maximum length of 128 characters.
--listener-load-balancer-name string The name of the load balancer to which the listener is attached.
--listener-load-balancer-port int The port of load balancer on which the load balancer is listening (between 1 and 65535 both included).
--listener-rule-name string A human-readable name for the listener rule.
--listener-load-balancer-name string [REQUIRED] The name of the load balancer to which the listener is attached.
--listener-load-balancer-port int [REQUIRED] The port of load balancer on which the load balancer is listening (between 1 and 65535 both included).
--listener-rule-name string [REQUIRED] A human-readable name for the listener rule.
--path-pattern string A path pattern for the rule, with a maximum length of 128 characters.
--priority int The priority level of the listener rule, between 1 and 19999 both included.
--priority int [REQUIRED] The priority level of the listener rule, between 1 and 19999 both included.
--vm-id strings The IDs of the backend VMs.
```

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/octl_iaas_loadbalancer_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ octl iaas loadbalancer create [flags]
--listener-load-balancer-port int The port on which the load balancer is listening (between 1 and 65535, both included).
--listener-load-balancer-protocol string The routing protocol (HTTP | HTTPS | TCP | SSL).
--listener-server-certificate-id string The OUTSCALE Resource Name (ORN) of the server certificate.
--name string The unique name of the load balancer, with a maximum length of 32 alphanumeric characters and dashes (-).
--name string [REQUIRED] The unique name of the load balancer, with a maximum length of 32 alphanumeric characters and dashes (-).
--public-ip string (internet-facing only) The public IP you want to associate with the load balancer.
--security-group strings (Net only) One or more IDs of security groups you want to assign to the load balancer.
--subnet strings (Net only) The ID of the Subnet in which you want to create the load balancer.
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/octl_iaas_loadbalancerlistener_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ octl iaas loadbalancerlistener create [flags]
--listener-load-balancer-port int The port on which the load balancer is listening (between 1 and 65535, both included).
--listener-load-balancer-protocol string The routing protocol (HTTP | HTTPS | TCP | SSL).
--listener-server-certificate-id string The OUTSCALE Resource Name (ORN) of the server certificate.
--name string The name of the load balancer for which you want to create listeners.
--name string [REQUIRED] The name of the load balancer for which you want to create listeners.
```

### Options inherited from parent commands
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/octl_iaas_loadbalancerpolicy_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ octl iaas loadbalancerpolicy create [flags]
--cookie-expiration-period int The lifetime of the cookie, in seconds.
--cookie-name string The name of the application cookie used for stickiness, between 1 and 255 characters.
-h, --help help for create
--name string The name of the load balancer for which you want to create a policy.
--policy-name string The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
--policy-type string The type of stickiness policy you want to create: app or load_balancer.
--name string [REQUIRED] The name of the load balancer for which you want to create a policy.
--policy-name string [REQUIRED] The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
--policy-type string [REQUIRED] The type of stickiness policy you want to create: app or load_balancer.
```

### Options inherited from parent commands
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ octl iaas managedpolicieslinkedtousergroup list [flags]
-h, --help help for list
--path-prefix string The path prefix of the groups.
--user-group-id strings The IDs of the user groups.
--user-group-name string The name of the group.
--user-group-name string [REQUIRED] The name of the group.
```

### Options inherited from parent commands
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/octl_iaas_natservice_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ octl iaas natservice create [flags]
```
--client-token string A unique identifier which enables you to manage the idempotency.
-h, --help help for create
--public-ip-id string The allocation ID of the public IP to associate with the NAT service.
--subnet-id string The ID of the Subnet in which you want to create the NAT service.
--public-ip-id string [REQUIRED] The allocation ID of the public IP to associate with the NAT service.
--subnet-id string [REQUIRED] The ID of the Subnet in which you want to create the NAT service.
```

### Options inherited from parent commands
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/octl_iaas_net_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ octl iaas net create [flags]

```
-h, --help help for create
--ip-range string The IP range for the Net, in CIDR notation (for example, 10.0.0.0/16).
--ip-range string [REQUIRED] The IP range for the Net, in CIDR notation (for example, 10.0.0.0/16).
--tenancy string The tenancy options for the VMs: - default if a VM created in a Net can be launched with any tenancy.
```

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/octl_iaas_net_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ octl iaas net update net_id [net_id]... [flags]
### Options

```
--dhcp-options-set-id string The ID of the DHCP options set (or default if you want to associate the default one).
--dhcp-options-set-id string [REQUIRED] The ID of the DHCP options set (or default if you want to associate the default one).
-h, --help help for update
```

Expand Down
4 changes: 2 additions & 2 deletions docs/reference/octl_iaas_netaccesspoint_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ octl iaas netaccesspoint create [flags]

```
-h, --help help for create
--net-id string The ID of the Net.
--net-id string [REQUIRED] The ID of the Net.
--route-table-id strings One or more IDs of route tables to use for the connection.
--service-name string The name of the service (in the format com.outscale.region.service).
--service-name string [REQUIRED] The name of the service (in the format com.outscale.region.service).
```

### Options inherited from parent commands
Expand Down
Loading
Loading