Skip to content

Commit 8485e13

Browse files
authored
Merge branch 'main' into dev/olivierdubo/browser_databases
Signed-off-by: Olivier <146172274+duboolivier@users.noreply.github.com>
2 parents 3371193 + 2df8eb4 commit 8485e13

20 files changed

Lines changed: 1952 additions & 17 deletions

doc/ovhcloud_support-tickets.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Retrieve information and manage your support tickets
3030
### SEE ALSO
3131

3232
* [ovhcloud](ovhcloud.md) - CLI to manage your OVHcloud services
33+
* [ovhcloud support-tickets create](ovhcloud_support-tickets_create.md) - Create a new support ticket
3334
* [ovhcloud support-tickets get](ovhcloud_support-tickets_get.md) - Retrieve information of a specific support ticket
3435
* [ovhcloud support-tickets list](ovhcloud_support-tickets_list.md) - List your support tickets
3536
* [ovhcloud support-tickets messages](ovhcloud_support-tickets_messages.md) - List messages for a support ticket
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
## ovhcloud support-tickets create
2+
3+
Create a new support ticket
4+
5+
### Synopsis
6+
7+
Use this command to create a new support ticket.
8+
There are three ways to define the creation parameters:
9+
10+
1. Using only CLI flags:
11+
12+
ovhcloud support-tickets create --subject 'My issue' --body 'Detailed description of the issue' --product publiccloud --category assistance
13+
14+
2. Using a configuration file:
15+
16+
First you can generate an example of parameters file using the following command:
17+
18+
ovhcloud support-tickets create --init-file ./params.json
19+
20+
You will be able to choose from several examples of parameters. Once an example has been selected, the content is written in the given file.
21+
After editing the file to set the correct creation parameters, run:
22+
23+
ovhcloud support-tickets create --from-file ./params.json
24+
25+
Note that you can also pipe the content of the parameters file, like the following:
26+
27+
cat ./params.json | ovhcloud support-tickets create
28+
29+
In both cases, you can override the parameters in the given file using command line flags, for example:
30+
31+
ovhcloud support-tickets create --from-file ./params.json --subject 'Overridden subject'
32+
33+
3. Using your default text editor:
34+
35+
ovhcloud support-tickets create --editor
36+
37+
You will be able to choose from several examples of parameters. Once an example has been selected, the CLI will open your
38+
default text editor to update the parameters. When saving the file, the creation will start.
39+
40+
Note that it is also possible to override values in the presented examples using command line flags like the following:
41+
42+
ovhcloud support-tickets create --editor --subject 'Overridden subject'
43+
44+
45+
```
46+
ovhcloud support-tickets create [flags]
47+
```
48+
49+
### Options
50+
51+
```
52+
--body string Ticket message body
53+
--category string Ticket category (assistance, billing, incident)
54+
--editor Use a text editor to define parameters
55+
--from-file string File containing parameters
56+
-h, --help help for create
57+
--impact string Ticket impact - Business/Enterprise support only (low, medium, high)
58+
--init-file string Create a file with example parameters
59+
--product string Ticket product (adsl, cdn, dedicated, dedicated-billing, dedicated-other, dedicatedcloud, domain, exchange, fax, hosting, housing, iaas, mail, network, publiccloud, sms, ssl, storage, telecom-billing, telecom-other, vac, voip, vps, web-billing, web-other)
60+
--replace Replace parameters file if it already exists
61+
--service-name string Service name (resource identifier) the ticket is about
62+
--subcategory string Ticket subcategory (alerts, autorenew, bill, down, inProgress, new, other, perfs, start, usage)
63+
--subject string Ticket subject (short summary)
64+
--urgency string Ticket urgency - Business/Enterprise support only (low, medium, high)
65+
--watchers strings Comma-separated list of e-mail addresses to notify on ticket updates (max. 10)
66+
```
67+
68+
### Options inherited from parent commands
69+
70+
```
71+
-d, --debug Activate debug mode (will log all HTTP requests details)
72+
-e, --ignore-errors Ignore errors in API calls when it is not fatal to the execution
73+
-o, --output string Output format: json, yaml, interactive, or a custom format expression (using https://github.com/PaesslerAG/gval syntax)
74+
Examples:
75+
--output json
76+
--output yaml
77+
--output interactive
78+
--output 'id' (to extract a single field)
79+
--output 'nested.field.subfield' (to extract a nested field)
80+
--output '[id, "name"]' (to extract multiple fields as an array)
81+
--output '{"newKey": oldKey, "otherKey": nested.field}' (to extract and rename fields in an object)
82+
--output 'name+","+type' (to extract and concatenate fields in a string)
83+
--output '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields)
84+
--profile string Use a specific profile from the configuration file
85+
```
86+
87+
### SEE ALSO
88+
89+
* [ovhcloud support-tickets](ovhcloud_support-tickets.md) - Retrieve information and manage your support tickets
90+

doc/ovhcloud_upgrade.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
## ovhcloud upgrade
2+
3+
Upgrade OVHcloud CLI to the latest version
4+
5+
```
6+
ovhcloud upgrade [flags]
7+
```
8+
9+
### Options
10+
11+
```
12+
-h, --help help for upgrade
13+
-y, --yes Skip confirmation prompt
14+
```
15+
16+
### Options inherited from parent commands
17+
18+
```
19+
-d, --debug Activate debug mode (will log all HTTP requests details)
20+
-e, --ignore-errors Ignore errors in API calls when it is not fatal to the execution
21+
-o, --output string Output format: json, yaml, interactive, or a custom format expression (using https://github.com/PaesslerAG/gval syntax)
22+
Examples:
23+
--output json
24+
--output yaml
25+
--output interactive
26+
--output 'id' (to extract a single field)
27+
--output 'nested.field.subfield' (to extract a nested field)
28+
--output '[id, "name"]' (to extract multiple fields as an array)
29+
--output '{"newKey": oldKey, "otherKey": nested.field}' (to extract and rename fields in an object)
30+
--output 'name+","+type' (to extract and concatenate fields in a string)
31+
--output '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields)
32+
--profile string Use a specific profile from the configuration file
33+
```
34+
35+
### SEE ALSO
36+
37+
* [ovhcloud](ovhcloud.md) - CLI to manage your OVHcloud services
38+

0 commit comments

Comments
 (0)