knife-ionoscloud 5.0.0.beta.1 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +20 -0
- data/.github/workflows/publish.yml +25 -14
- data/README.md +81 -0
- data/docs/README.md +33 -18
- data/docs/changelog.md +2 -1
- data/docs/subcommands/backupunit_create.md +11 -8
- data/docs/subcommands/backupunit_delete.md +11 -8
- data/docs/subcommands/backupunit_list.md +11 -8
- data/docs/subcommands/backupunit_ssourl.md +13 -10
- data/docs/subcommands/composite_server_create.md +12 -9
- data/docs/subcommands/contract_list.md +11 -8
- data/docs/subcommands/datacenter_create.md +14 -10
- data/docs/subcommands/datacenter_delete.md +11 -8
- data/docs/subcommands/datacenter_list.md +11 -8
- data/docs/subcommands/firewall_create.md +14 -11
- data/docs/subcommands/firewall_delete.md +14 -11
- data/docs/subcommands/firewall_list.md +14 -11
- data/docs/subcommands/group_create.md +11 -8
- data/docs/subcommands/group_delete.md +11 -8
- data/docs/subcommands/group_get.md +12 -9
- data/docs/subcommands/group_list.md +11 -8
- data/docs/subcommands/group_user_add.md +12 -9
- data/docs/subcommands/group_user_remove.md +12 -9
- data/docs/subcommands/image_list.md +11 -8
- data/docs/subcommands/ipblock_create.md +12 -9
- data/docs/subcommands/ipblock_delete.md +11 -8
- data/docs/subcommands/ipblock_list.md +11 -8
- data/docs/subcommands/ipfailover_add.md +15 -12
- data/docs/subcommands/ipfailover_remove.md +14 -11
- data/docs/subcommands/k8s_create.md +11 -8
- data/docs/subcommands/k8s_delete.md +11 -8
- data/docs/subcommands/k8s_list.md +11 -8
- data/docs/subcommands/kubeconfig_get.md +12 -9
- data/docs/subcommands/label_add.md +12 -9
- data/docs/subcommands/label_list.md +11 -8
- data/docs/subcommands/label_remove.md +12 -9
- data/docs/subcommands/lan_create.md +12 -9
- data/docs/subcommands/lan_delete.md +12 -9
- data/docs/subcommands/lan_list.md +12 -9
- data/docs/subcommands/loadbalancer_create.md +12 -9
- data/docs/subcommands/loadbalancer_delete.md +12 -9
- data/docs/subcommands/loadbalancer_get.md +13 -10
- data/docs/subcommands/loadbalancer_list.md +12 -9
- data/docs/subcommands/loadbalancer_nic_add.md +13 -10
- data/docs/subcommands/loadbalancer_nic_remove.md +13 -10
- data/docs/subcommands/location_list.md +11 -8
- data/docs/subcommands/nic_create.md +14 -12
- data/docs/subcommands/nic_delete.md +13 -10
- data/docs/subcommands/nic_list.md +13 -10
- data/docs/subcommands/node_delete.md +13 -10
- data/docs/subcommands/node_list.md +13 -10
- data/docs/subcommands/node_replace.md +14 -11
- data/docs/subcommands/nodepool_create.md +19 -16
- data/docs/subcommands/nodepool_delete.md +12 -9
- data/docs/subcommands/nodepool_list.md +12 -9
- data/docs/subcommands/pcc_create.md +11 -8
- data/docs/subcommands/pcc_delete.md +11 -8
- data/docs/subcommands/pcc_list.md +11 -8
- data/docs/subcommands/request_list.md +12 -9
- data/docs/subcommands/request_status.md +12 -9
- data/docs/subcommands/request_wait.md +12 -9
- data/docs/subcommands/resource_list.md +11 -10
- data/docs/subcommands/s3key_create.md +12 -9
- data/docs/subcommands/s3key_delete.md +12 -9
- data/docs/subcommands/s3key_list.md +12 -9
- data/docs/subcommands/server_create.md +13 -10
- data/docs/subcommands/server_delete.md +13 -10
- data/docs/subcommands/server_list.md +12 -9
- data/docs/subcommands/server_reboot.md +12 -9
- data/docs/subcommands/server_start.md +13 -10
- data/docs/subcommands/server_stop.md +12 -9
- data/docs/subcommands/share_create.md +13 -10
- data/docs/subcommands/share_delete.md +12 -9
- data/docs/subcommands/share_list.md +12 -9
- data/docs/subcommands/snapshot_create.md +13 -10
- data/docs/subcommands/snapshot_delete.md +11 -8
- data/docs/subcommands/snapshot_list.md +11 -8
- data/docs/subcommands/snapshot_restore.md +14 -11
- data/docs/subcommands/user_create.md +12 -10
- data/docs/subcommands/user_delete.md +11 -8
- data/docs/subcommands/user_list.md +12 -9
- data/docs/subcommands/user_ssourl.md +12 -9
- data/docs/subcommands/volume_attach.md +13 -10
- data/docs/subcommands/volume_create.md +12 -9
- data/docs/subcommands/volume_delete.md +12 -9
- data/docs/subcommands/volume_detach.md +13 -10
- data/docs/subcommands/volume_list.md +12 -9
- data/docs/summary.md +1 -0
- data/git-versioning.sh +113 -0
- data/lib/knife-ionoscloud/version.rb +1 -1
- data/sonar-project.properties +12 -0
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6f600f5f7cde46e790731b30ffd8180db5d375c4d6fd1b9b10647ee77bade25
|
4
|
+
data.tar.gz: 62d7fea589b66d308cee20a9849246fb31a983b6c919f91f910c2d718bf79652
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f76084ab2fc1e1ef87e597a353442f91f7fe7ff3937b0bad75c26891aafb715f4f4260bbb383a718e335e28bc1009d97d1d470a1c27fb0ad95431ed0ecbb13ca
|
7
|
+
data.tar.gz: d23d88f3b5fcbb650cc6fdbe02c60c74451e67e990eb2652de9b6b4056e57d55c4fc9c9cc78265b2e50099bfe3a546ea335d6f4e29f00b8144f4a874f84409c2
|
@@ -0,0 +1,20 @@
|
|
1
|
+
name: Build
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
- master
|
6
|
+
pull_request:
|
7
|
+
types: [opened, synchronize, reopened]
|
8
|
+
jobs:
|
9
|
+
sonarcloud:
|
10
|
+
name: SonarCloud
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
steps:
|
13
|
+
- uses: actions/checkout@v2
|
14
|
+
with:
|
15
|
+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
16
|
+
- name: SonarCloud Scan
|
17
|
+
uses: SonarSource/sonarcloud-github-action@master
|
18
|
+
env:
|
19
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
|
20
|
+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
@@ -3,11 +3,9 @@
|
|
3
3
|
name: Publish
|
4
4
|
|
5
5
|
on:
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
description: 'Version to publish (e.g. v1.2.3)'
|
10
|
-
required: true
|
6
|
+
push:
|
7
|
+
tags:
|
8
|
+
- 'v*'
|
11
9
|
|
12
10
|
jobs:
|
13
11
|
publish:
|
@@ -19,15 +17,9 @@ jobs:
|
|
19
17
|
steps:
|
20
18
|
- name: Checkout
|
21
19
|
uses: actions/checkout@v2
|
22
|
-
|
23
|
-
- name:
|
24
|
-
|
25
|
-
run: |
|
26
|
-
if [ "${{ github.event.inputs.version }}" != cat lib/knife-ionoscloud/version.rb | grep 'VERSION =' | tr -s ' ' | cut -d ' ' -f 4 | sed 's/^.//;s/.$//' ]; then
|
27
|
-
echo "Specified version does not match the one from version.rb!"
|
28
|
-
exit 1
|
29
|
-
fi
|
30
|
-
echo Next version will be: v${{ github.event.inputs.version }}
|
20
|
+
|
21
|
+
- name: Unshallow
|
22
|
+
run: git fetch --prune --unshallow
|
31
23
|
|
32
24
|
- name: Setup Ruby
|
33
25
|
uses: ruby/setup-ruby@v1.61.1
|
@@ -46,6 +38,21 @@ jobs:
|
|
46
38
|
- name: Run the tests
|
47
39
|
run: rspec
|
48
40
|
|
41
|
+
- name: Get the new version
|
42
|
+
id: new_version
|
43
|
+
run: echo ::set-output name=VERSION::$(git tag --list "v*" --sort=version:refname | tail -n 1)
|
44
|
+
|
45
|
+
- name: Get the old version
|
46
|
+
id: old_version
|
47
|
+
run: echo ::set-output name=VERSION::$(git tag --list "v*" --sort=version:refname | tail -n 2 | head -n 1)
|
48
|
+
|
49
|
+
- name: Check Version
|
50
|
+
run: |
|
51
|
+
if [ "${{ steps.new_version.outputs.VERSION }}" != v$(cat lib/knife-ionoscloud/version.rb | grep 'VERSION =' | tr -s ' ' | cut -d ' ' -f 4 | sed 's/^.//;s/.$//') ]; then
|
52
|
+
echo "Tag version does not match the one from version.rb!"
|
53
|
+
exit 1
|
54
|
+
fi
|
55
|
+
|
49
56
|
- name: Create RubyGems release of the Knife plugin
|
50
57
|
shell: bash
|
51
58
|
run: |
|
@@ -56,3 +63,7 @@ jobs:
|
|
56
63
|
EOF
|
57
64
|
chmod 0600 ~/.gem/credentials
|
58
65
|
gem push $(gem build knife-ionoscloud.gemspec | grep 'File' | tr -s ' ' | cut -d ' ' -f 3)
|
66
|
+
|
67
|
+
- name: Check version and create GitHub branch
|
68
|
+
run: |
|
69
|
+
/usr/bin/bash ./git-versioning.sh ${{ steps.new_version.outputs.VERSION }} ${{ steps.old_version.outputs.VERSION }}
|
data/README.md
ADDED
@@ -0,0 +1,81 @@
|
|
1
|
+
# Knife Plugin for IONOS Cloud
|
2
|
+
|
3
|
+
![CI](https://github.com/ionos-cloud/knife-ionos-cloud/workflows/CI/badge.svg)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/knife-ionoscloud.svg)](https://badge.fury.io/rb/knife-ionoscloud)
|
5
|
+
[![Gitter](https://badges.gitter.im/ionos-cloud/sdk-general.png)](https://gitter.im/ionos-cloud/sdk-general)
|
6
|
+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=knife-plugin&metric=alert_status)](https://sonarcloud.io/dashboard?id=knife-plugin)
|
7
|
+
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=knife-plugin&metric=bugs)](https://sonarcloud.io/dashboard?id=knife-plugin)
|
8
|
+
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=knife-plugin&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=knife-plugin)
|
9
|
+
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=knife-plugin&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=knife-plugin)
|
10
|
+
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=knife-plugin&metric=security_rating)](https://sonarcloud.io/dashboard?id=knife-plugin)
|
11
|
+
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=knife-plugin&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=knife-plugin)
|
12
|
+
|
13
|
+
## Overview
|
14
|
+
|
15
|
+
Chef is a popular configuration management tool that allows simplified configuration and maintenance of both servers and cloud provider environments through the use of common templates called recipes. The Chef `knife` command line tool allows management of various nodes within those environments. The `knife-ionoscloud` plugin utilizes the IONOS Cloud REST API to provision and manage various cloud resources on the IONOS Cloud platform.
|
16
|
+
|
17
|
+
In depth documaentation can be found at [here](https://docs.ionos.com/knife-plugin).
|
18
|
+
|
19
|
+
|
20
|
+
## Getting Started
|
21
|
+
|
22
|
+
An IONOS account is required for access to the Cloud API; credentials from your registration are used to authenticate against the IONOS Cloud API.
|
23
|
+
|
24
|
+
### Installation
|
25
|
+
|
26
|
+
The `knife-ionoscloud` plugin can be installed as a gem:
|
27
|
+
|
28
|
+
```text
|
29
|
+
$ gem install knife-ionoscloud
|
30
|
+
```
|
31
|
+
|
32
|
+
Or the plugin can be installed by adding the following line to your application's Gemfile:
|
33
|
+
|
34
|
+
```text
|
35
|
+
gem 'knife-ionoscloud'
|
36
|
+
```
|
37
|
+
|
38
|
+
And then execute:
|
39
|
+
|
40
|
+
```text
|
41
|
+
$ bundle
|
42
|
+
```
|
43
|
+
|
44
|
+
### Configuration
|
45
|
+
|
46
|
+
The Ionoscloud account credentials can be added to the `knife.rb` configuration file.
|
47
|
+
|
48
|
+
```text
|
49
|
+
knife[:ionoscloud_username] = 'username'
|
50
|
+
knife[:ionoscloud_password] = 'password'
|
51
|
+
```
|
52
|
+
|
53
|
+
If a virtual data center has already been created under the Ionoscloud account, then the data center UUID can be added to the `knife.rb` which reduces the need to include the `--datacenter-id [datacenter_id]` parameter for each action within the data center.
|
54
|
+
|
55
|
+
```text
|
56
|
+
knife[:datacenter_id] = 'f3f3b6fe-017d-43a3-b42a-a759144b2e99'
|
57
|
+
|
58
|
+
knife[:ionoscloud_debug] = true
|
59
|
+
```
|
60
|
+
|
61
|
+
The configuration parameters can also be passed using shell environment variables. First, the following should be added to the `knife.rb` configuration file:
|
62
|
+
|
63
|
+
```text
|
64
|
+
knife[:ionoscloud_username] = ENV['IONOSCLOUD_USERNAME']
|
65
|
+
knife[:ionoscloud_password] = ENV['IONOSCLOUD_PASSWORD']
|
66
|
+
```
|
67
|
+
|
68
|
+
Now the parameters can be set as environment variables:
|
69
|
+
|
70
|
+
```text
|
71
|
+
$ export IONOSCLOUD_USERNAME='username'
|
72
|
+
$ export IONOSCLOUD_PASSWORD='password'
|
73
|
+
```
|
74
|
+
|
75
|
+
### Testing
|
76
|
+
|
77
|
+
```text
|
78
|
+
$ rspec spec
|
79
|
+
```
|
80
|
+
|
81
|
+
Bugs & feature requests can be open on the repository issues: [https://github.com/ionos-cloud/knife-ionos-cloud/issues/new/choose](https://github.com/ionos-cloud/knife-ionos-cloud/issues/new/choose)
|
data/docs/README.md
CHANGED
@@ -1,57 +1,71 @@
|
|
1
|
-
#
|
1
|
+
# Introduction
|
2
2
|
|
3
|
-
![CI](https://github.com/ionos-cloud/knife-ionos-cloud/workflows/CI/badge.svg)
|
4
|
-
[![Gem Version](https://badge.fury.io/rb/knife-ionoscloud.svg)](https://badge.fury.io/rb/knife-ionoscloud)
|
5
|
-
[![Gitter](https://badges.gitter.im/ionos-cloud/sdk-general.png)](https://gitter.im/ionos-cloud/sdk-general)
|
3
|
+
![CI](https://github.com/ionos-cloud/knife-ionos-cloud/workflows/CI/badge.svg) [![Gem Version](https://badge.fury.io/rb/knife-ionoscloud.svg)](https://badge.fury.io/rb/knife-ionoscloud) [![Gitter](https://badges.gitter.im/ionos-cloud/sdk-general.png)](https://gitter.im/ionos-cloud/sdk-general)
|
6
4
|
|
7
5
|
## Overview
|
8
6
|
|
9
|
-
Chef is a popular configuration management tool that allows simplified configuration and maintenance of both servers and cloud provider environments through the use of common templates called recipes. The Chef `knife` command line tool allows management of various nodes within those environments. The `knife-ionoscloud` plugin utilizes the
|
7
|
+
Chef is a popular configuration management tool that allows simplified configuration and maintenance of both servers and cloud provider environments through the use of common templates called recipes. The Chef `knife` command line tool allows management of various nodes within those environments. The `knife-ionoscloud` plugin utilizes the IONOS Cloud REST API to provision and manage various cloud resources on the IONOS Cloud platform.
|
10
8
|
|
11
9
|
## Getting Started
|
12
10
|
|
13
|
-
|
11
|
+
An IONOS account is required for access to the Cloud API; credentials from your registration are used to authenticate against the IONOS Cloud API.
|
14
12
|
|
15
13
|
### Installation
|
16
14
|
|
17
15
|
The `knife-ionoscloud` plugin can be installed as a gem:
|
18
16
|
|
19
|
-
|
17
|
+
```text
|
18
|
+
$ gem install knife-ionoscloud
|
19
|
+
```
|
20
20
|
|
21
21
|
Or the plugin can be installed by adding the following line to your application's Gemfile:
|
22
22
|
|
23
|
-
|
23
|
+
```text
|
24
|
+
gem 'knife-ionoscloud'
|
25
|
+
```
|
24
26
|
|
25
27
|
And then execute:
|
26
28
|
|
27
|
-
|
29
|
+
```text
|
30
|
+
$ bundle
|
31
|
+
```
|
28
32
|
|
29
33
|
### Configuration
|
30
34
|
|
31
35
|
The Ionoscloud account credentials can be added to the `knife.rb` configuration file.
|
32
36
|
|
33
|
-
|
34
|
-
|
37
|
+
```text
|
38
|
+
knife[:ionoscloud_username] = 'username'
|
39
|
+
knife[:ionoscloud_password] = 'password'
|
40
|
+
```
|
35
41
|
|
36
42
|
If a virtual data center has already been created under the Ionoscloud account, then the data center UUID can be added to the `knife.rb` which reduces the need to include the `--datacenter-id [datacenter_id]` parameter for each action within the data center.
|
37
43
|
|
38
|
-
|
44
|
+
```text
|
45
|
+
knife[:datacenter_id] = 'f3f3b6fe-017d-43a3-b42a-a759144b2e99'
|
39
46
|
|
40
|
-
|
47
|
+
knife[:ionoscloud_debug] = true
|
48
|
+
```
|
41
49
|
|
42
50
|
The configuration parameters can also be passed using shell environment variables. First, the following should be added to the `knife.rb` configuration file:
|
43
51
|
|
44
|
-
|
45
|
-
|
52
|
+
```text
|
53
|
+
knife[:ionoscloud_username] = ENV['IONOSCLOUD_USERNAME']
|
54
|
+
knife[:ionoscloud_password] = ENV['IONOSCLOUD_PASSWORD']
|
55
|
+
```
|
46
56
|
|
47
57
|
Now the parameters can be set as environment variables:
|
48
58
|
|
49
|
-
|
50
|
-
|
59
|
+
```text
|
60
|
+
$ export IONOSCLOUD_USERNAME='username'
|
61
|
+
$ export IONOSCLOUD_PASSWORD='password'
|
62
|
+
```
|
51
63
|
|
52
64
|
### Testing
|
53
65
|
|
54
|
-
|
66
|
+
```text
|
67
|
+
$ rspec spec
|
68
|
+
```
|
55
69
|
|
56
70
|
## Feature Reference
|
57
71
|
|
@@ -65,3 +79,4 @@ The IONOS Cloud plugin for Knife aims to offer access to all resources in the IO
|
|
65
79
|
1. How can I open a bug/feature request?
|
66
80
|
|
67
81
|
Bugs & feature requests can be open on the repository issues: [https://github.com/ionos-cloud/knife-ionos-cloud/issues/new/choose](https://github.com/ionos-cloud/knife-ionos-cloud/issues/new/choose)
|
82
|
+
|
data/docs/changelog.md
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
#
|
1
|
+
# Changelog
|
2
|
+
|
@@ -2,20 +2,21 @@
|
|
2
2
|
|
3
3
|
Create a new backup unit.
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
```text
|
6
|
+
knife ionoscloud backupunit create (options)
|
7
|
+
```
|
7
8
|
|
8
9
|
## Available options:
|
9
|
-
---
|
10
10
|
|
11
11
|
### Required options:
|
12
|
+
|
12
13
|
* name
|
13
14
|
* password
|
14
15
|
* email
|
15
|
-
*
|
16
|
-
*
|
16
|
+
* ionoscloud\_username
|
17
|
+
* ionoscloud\_password
|
17
18
|
|
18
|
-
```
|
19
|
+
```text
|
19
20
|
name: --name NAME, -n NAME
|
20
21
|
alphanumeric name you want assigned to the backup unit (required)
|
21
22
|
|
@@ -30,9 +31,11 @@ Create a new backup unit.
|
|
30
31
|
|
31
32
|
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
32
33
|
your Ionoscloud password (required)
|
33
|
-
|
34
34
|
```
|
35
35
|
|
36
36
|
## Example
|
37
37
|
|
38
|
-
|
38
|
+
```text
|
39
|
+
knife ionoscloud backupunit create --name NAME --password PASSWORD --email EMAIL --username USERNAME --password PASSWORD
|
40
|
+
```
|
41
|
+
|
@@ -2,25 +2,28 @@
|
|
2
2
|
|
3
3
|
A backup unit may be deleted using a DELETE request. Deleting a backup unit is a dangerous operation. A successful DELETE request will remove the backup plans inside a backup unit, ALL backups associated with the backup unit, the backup user and finally the backup unit itself.
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
```text
|
6
|
+
knife ionoscloud backupunit delete BACKUPUNIT_ID [BACKUPUNIT_ID]
|
7
|
+
```
|
7
8
|
|
8
9
|
## Available options:
|
9
|
-
---
|
10
10
|
|
11
11
|
### Required options:
|
12
|
-
* ionoscloud_username
|
13
|
-
* ionoscloud_password
|
14
12
|
|
15
|
-
|
13
|
+
* ionoscloud\_username
|
14
|
+
* ionoscloud\_password
|
15
|
+
|
16
|
+
```text
|
16
17
|
ionoscloud_username: --username USERNAME, -u USERNAME
|
17
18
|
your Ionoscloud username (required)
|
18
19
|
|
19
20
|
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
20
21
|
your Ionoscloud password (required)
|
21
|
-
|
22
22
|
```
|
23
23
|
|
24
24
|
## Example
|
25
25
|
|
26
|
-
|
26
|
+
```text
|
27
|
+
knife ionoscloud backupunit delete BACKUPUNIT_ID [BACKUPUNIT_ID]--username USERNAME --password PASSWORD
|
28
|
+
```
|
29
|
+
|
@@ -2,25 +2,28 @@
|
|
2
2
|
|
3
3
|
Retrieve a list of all the backup units the supplied credentials have access to.
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
```text
|
6
|
+
knife ionoscloud backupunit list
|
7
|
+
```
|
7
8
|
|
8
9
|
## Available options:
|
9
|
-
---
|
10
10
|
|
11
11
|
### Required options:
|
12
|
-
* ionoscloud_username
|
13
|
-
* ionoscloud_password
|
14
12
|
|
15
|
-
|
13
|
+
* ionoscloud\_username
|
14
|
+
* ionoscloud\_password
|
15
|
+
|
16
|
+
```text
|
16
17
|
ionoscloud_username: --username USERNAME, -u USERNAME
|
17
18
|
your Ionoscloud username (required)
|
18
19
|
|
19
20
|
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
20
21
|
your Ionoscloud password (required)
|
21
|
-
|
22
22
|
```
|
23
23
|
|
24
24
|
## Example
|
25
25
|
|
26
|
-
|
26
|
+
```text
|
27
|
+
knife ionoscloud backupunit list--username USERNAME --password PASSWORD
|
28
|
+
```
|
29
|
+
|
@@ -1,19 +1,20 @@
|
|
1
1
|
# BackupunitSsourl
|
2
2
|
|
3
|
-
The ProfitBricks backup system features a web-based GUI. Once you have created a backup unit, you can access the GUI with a Single Sign On (SSO) URL that can be retrieved from the Cloud API using this request.
|
4
|
-
|
5
|
-
knife ionoscloud backupunit ssourl (options)
|
3
|
+
The ProfitBricks backup system features a web-based GUI. Once you have created a backup unit, you can access the GUI with a Single Sign On \(SSO\) URL that can be retrieved from the Cloud API using this request.
|
6
4
|
|
5
|
+
```text
|
6
|
+
knife ionoscloud backupunit ssourl (options)
|
7
|
+
```
|
7
8
|
|
8
9
|
## Available options:
|
9
|
-
---
|
10
10
|
|
11
11
|
### Required options:
|
12
|
-
* backupunit_id
|
13
|
-
* ionoscloud_username
|
14
|
-
* ionoscloud_password
|
15
12
|
|
16
|
-
|
13
|
+
* backupunit\_id
|
14
|
+
* ionoscloud\_username
|
15
|
+
* ionoscloud\_password
|
16
|
+
|
17
|
+
```text
|
17
18
|
backupunit_id: --backupunit-id BACKUPUNIT_ID, -B BACKUPUNIT_ID
|
18
19
|
the ID of the Backup unit. (required)
|
19
20
|
|
@@ -22,9 +23,11 @@ The ProfitBricks backup system features a web-based GUI. Once you have created a
|
|
22
23
|
|
23
24
|
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
24
25
|
your Ionoscloud password (required)
|
25
|
-
|
26
26
|
```
|
27
27
|
|
28
28
|
## Example
|
29
29
|
|
30
|
-
|
30
|
+
```text
|
31
|
+
knife ionoscloud backupunit ssourl --backupunit-id BACKUPUNIT_ID --username USERNAME --password PASSWORD
|
32
|
+
```
|
33
|
+
|
@@ -2,14 +2,15 @@
|
|
2
2
|
|
3
3
|
This creates a new composite server with an attached volume and NIC in a specified virtual data center.
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
```text
|
6
|
+
knife ionoscloud composite server create (options)
|
7
|
+
```
|
7
8
|
|
8
9
|
## Available options:
|
9
|
-
---
|
10
10
|
|
11
11
|
### Required options:
|
12
|
-
|
12
|
+
|
13
|
+
* datacenter\_id
|
13
14
|
* name
|
14
15
|
* cores
|
15
16
|
* ram
|
@@ -17,10 +18,10 @@ This creates a new composite server with an attached volume and NIC in a specifi
|
|
17
18
|
* type
|
18
19
|
* dhcp
|
19
20
|
* lan
|
20
|
-
*
|
21
|
-
*
|
21
|
+
* ionoscloud\_username
|
22
|
+
* ionoscloud\_password
|
22
23
|
|
23
|
-
```
|
24
|
+
```text
|
24
25
|
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
|
25
26
|
name of the virtual datacenter (required)
|
26
27
|
|
@@ -89,9 +90,11 @@ This creates a new composite server with an attached volume and NIC in a specifi
|
|
89
90
|
|
90
91
|
ionoscloud_password: --password PASSWORD, -p PASSWORD
|
91
92
|
your Ionoscloud password (required)
|
92
|
-
|
93
93
|
```
|
94
94
|
|
95
95
|
## Example
|
96
96
|
|
97
|
-
|
97
|
+
```text
|
98
|
+
knife ionoscloud composite server create --datacenter-id DATACENTER_ID --name NAME --cores CORES --cpu-family CPU_FAMILY --ram RAM --availability-zone AVAILABILITY_ZONE --volume-name NAME --size SIZE --bus BUS --image ID --image-alias IMAGE_ALIAS --type TYPE --licence-type LICENCE --image-password PASSWORD --volume-availability-zone AVAILABILITY_ZONE --ssh-keys SSHKEY1,SSHKEY2,... --nic-name NAME --ips IP[,IP,...] --dhcp --lan ID --nat --username USERNAME --password PASSWORD
|
99
|
+
```
|
100
|
+
|