You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/billing/how-to/use-the-cost-manager.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ The Scaleway cost manager is a comprehensive tool to monitor and analyze cloud r
39
39
<Messagetype="note">
40
40
If you are filtering by Product, you must first select the Product Category.
41
41
</Message>
42
-
-**Product** - The product itself. The consumption shown is the sum of all your products of the same type. For example, if you select **Instances**, the consumption chart will display the value referring to all Instances in your selected Project.
42
+
-**Product** - The product itself. The consumption shown is the sum of all your products of the same type. For example, if you select **CPU & GPU Instances**, the consumption chart will display the value referring to all Instances in your selected Project.
43
43
-**Project** - One or all Projects in your Organization. Leave empty to select all at once.
@@ -67,7 +67,7 @@ Besides creating your Elastic Metal servers from the graphical [Scaleway console
67
67
68
68
You will receive a JSON-formatted list of all operating systems available, and their associated ID. Take note of the ID of the image you want to install:
69
69
70
-
```
70
+
```json
71
71
{
72
72
"total_count": 8,
73
73
"os": [
@@ -88,7 +88,7 @@ Besides creating your Elastic Metal servers from the graphical [Scaleway console
88
88
4. Create the Elastic Metal server from the API using cURL and the `POST` command on the endpoint `/baremetal/v1/zones/fr-par-2/servers`:
89
89
90
90
The syntax to [create the server](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-create-an-elastic-metal-server) is as follows:
91
-
```
91
+
```json
92
92
{
93
93
"offer_id": "<OFFER_ID>",
94
94
"project_id": "$SCW_SECRET_KEY",
@@ -109,14 +109,28 @@ Besides creating your Elastic Metal servers from the graphical [Scaleway console
109
109
110
110
In the following example, we create a server running on Ubuntu 20.04 LTS:
111
111
112
-
```
113
-
curl -X POST -H "X-Auth-Token: $SCW_KEY" -H "Content-Type: application/json" -d "{ \"offer_id\": \"7fde3890-9787-488c-ac89-c4e00a4e5f83\", \"project_id\": \"$SCW_PROJECT\", \"name\": \"my-bmaas\", \"description\": \"my server running on ubuntu\", \"tags\": [
Again, the API returns a JSON output informing you about the server creation:
118
132
119
-
```
133
+
```json
120
134
{
121
135
"id": "<SERVER_ID>",
122
136
"organization_id": "<ORGANIZATION_ID>",
@@ -146,7 +160,7 @@ Besides creating your Elastic Metal servers from the graphical [Scaleway console
146
160
}
147
161
```
148
162
5. The server is being delivered to your account and is automatically being installed on the operating system chosen. You can retrieve the status of the installation using the following API call:
0 commit comments