ionoscloud-dbaas-postgres 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e37d9612241b0a233cf84514af2f746e6f1b784bfd7f81fe4e4bbadfa6fca7c
4
- data.tar.gz: 60a714fa5a56d371083b0244bb517395e123b5dd1900a16851341704a06630a5
3
+ metadata.gz: 894b228c3bf9ec75c35bde3d4fb4d8b89b90cd4760c068a98bf62fdbf7c6d02c
4
+ data.tar.gz: 6f8b66e9a795b70a6254cbbba08527ded5d1ae121e23339e6c096681bf43ea82
5
5
  SHA512:
6
- metadata.gz: f1e02d49a2a98ca76450dc40a8f9105feb404fa4fa2d783a275fd66293df6b4020063bacc1a32d63ef43cfd3e13a88370f4cc4d1fe6f4fd12665c88e37e95dcf
7
- data.tar.gz: ef17584c8d21973b4569fcd21109c56f47d9c1320fec2c36ec57d03485695afd249f6706332fd94bb66218c0c2dddb7816c6beaaac913aa2142762031d4f82ed
6
+ metadata.gz: b4f54d6f0c42c0f453f235b501fe259ea85bb638f40004e8150c8b47269c0128326e23b8e47eb781bdeeda23bd0a1110cb2472be7aaf58b7c7a8dc4eee23ad9a
7
+ data.tar.gz: 04deb33b7909affdb72fea77d406fbcaa5eb1085a3fc6a6c5e4b118856464b7fd3934f89ea9c61f1f76653719c81d31b4fbaf030447cd9c0a5b74e73e2b0e747
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ionoscloud-dbaas-postgres (1.0.1)
4
+ ionoscloud-dbaas-postgres (1.0.2)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -67,4 +67,4 @@ DEPENDENCIES
67
67
  rubocop (~> 0.66.0)
68
68
 
69
69
  BUNDLED WITH
70
- 2.3.10
70
+ 2.3.13
@@ -6,8 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **display_name** | **String** | The friendly name of your cluster. | [optional] |
8
8
  | **postgres_version** | **String** | The PostgreSQL version of your cluster. | [optional] |
9
- | **location** | [**Location**](Location.md) | | [optional] |
10
- | **backup_location** | [**BackupLocation**](BackupLocation.md) | | [optional] |
9
+ | **location** | **String** | The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation. | [optional] |
10
+ | **backup_location** | **String** | The S3 location where the backups will be stored. | [optional] |
11
11
  | **instances** | **Integer** | The total number of instances in the cluster (one master and n-1 standbys). | [optional] |
12
12
  | **ram** | **Integer** | The amount of memory per instance in megabytes. Has to be a multiple of 1024. | [optional] |
13
13
  | **cores** | **Integer** | The number of CPU cores per instance. | [optional] |
@@ -25,8 +25,8 @@ require 'ionoscloud-dbaas-postgres'
25
25
  instance = IonoscloudDbaasPostgres::ClusterProperties.new(
26
26
  display_name: PostgreSQL cluster,
27
27
  postgres_version: 13,
28
- location: null,
29
- backup_location: null,
28
+ location: de/fra,
29
+ backup_location: de,
30
30
  instances: 2,
31
31
  ram: 2048,
32
32
  cores: 4,
@@ -11,8 +11,8 @@
11
11
  | **storage_size** | **Integer** | The amount of storage per instance in megabytes. | |
12
12
  | **storage_type** | [**StorageType**](StorageType.md) | | |
13
13
  | **connections** | [**Array<Connection>**](Connection.md) | | |
14
- | **location** | [**Location**](Location.md) | | |
15
- | **backup_location** | [**BackupLocation**](BackupLocation.md) | | [optional] |
14
+ | **location** | **String** | The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation. | |
15
+ | **backup_location** | **String** | The S3 location where the backups will be stored. | [optional] |
16
16
  | **display_name** | **String** | The friendly name of your cluster. | |
17
17
  | **maintenance_window** | [**MaintenanceWindow**](MaintenanceWindow.md) | | [optional] |
18
18
  | **credentials** | [**DBUser**](DBUser.md) | | |
@@ -32,8 +32,8 @@ instance = IonoscloudDbaasPostgres::CreateClusterProperties.new(
32
32
  storage_size: 5000,
33
33
  storage_type: null,
34
34
  connections: null,
35
- location: null,
36
- backup_location: null,
35
+ location: de/fra,
36
+ backup_location: de,
37
37
  display_name: PostgreSQL cluster,
38
38
  maintenance_window: null,
39
39
  credentials: null,
@@ -38,7 +38,7 @@ module IonoscloudDbaasPostgres
38
38
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
39
39
  def initialize(config = Configuration.default)
40
40
  @config = config
41
- @user_agent = "sdk-ruby-dbaas-postgres/1.0.1"
41
+ @user_agent = "sdk-ruby-dbaas-postgres/v1.0.2"
42
42
  @default_headers = {
43
43
  'Content-Type' => 'application/json',
44
44
  'User-Agent' => @user_agent
@@ -22,8 +22,10 @@ module IonoscloudDbaasPostgres
22
22
  # The PostgreSQL version of your cluster.
23
23
  attr_accessor :postgres_version
24
24
 
25
+ # The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation.
25
26
  attr_accessor :location
26
27
 
28
+ # The S3 location where the backups will be stored.
27
29
  attr_accessor :backup_location
28
30
 
29
31
  # The total number of instances in the cluster (one master and n-1 standbys).
@@ -74,8 +76,8 @@ module IonoscloudDbaasPostgres
74
76
  {
75
77
  :'display_name' => :'String',
76
78
  :'postgres_version' => :'String',
77
- :'location' => :'Location',
78
- :'backup_location' => :'BackupLocation',
79
+ :'location' => :'String',
80
+ :'backup_location' => :'String',
79
81
  :'instances' => :'Integer',
80
82
  :'ram' => :'Integer',
81
83
  :'cores' => :'Integer',
@@ -35,8 +35,10 @@ module IonoscloudDbaasPostgres
35
35
 
36
36
  attr_accessor :connections
37
37
 
38
+ # The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation.
38
39
  attr_accessor :location
39
40
 
41
+ # The S3 location where the backups will be stored.
40
42
  attr_accessor :backup_location
41
43
 
42
44
  # The friendly name of your cluster.
@@ -85,8 +87,8 @@ module IonoscloudDbaasPostgres
85
87
  :'storage_size' => :'Integer',
86
88
  :'storage_type' => :'StorageType',
87
89
  :'connections' => :'Array<Connection>',
88
- :'location' => :'Location',
89
- :'backup_location' => :'BackupLocation',
90
+ :'location' => :'String',
91
+ :'backup_location' => :'String',
90
92
  :'display_name' => :'String',
91
93
  :'maintenance_window' => :'MaintenanceWindow',
92
94
  :'credentials' => :'DBUser',
@@ -17,6 +17,8 @@ module IonoscloudDbaasPostgres
17
17
  class StorageType
18
18
  HDD = "HDD".freeze
19
19
  SSD = "SSD".freeze
20
+ SSD_STANDARD = "SSD Standard".freeze
21
+ SSD_PREMIUM = "SSD Premium".freeze
20
22
 
21
23
  # Builds the enum from string
22
24
  # @param [String] The enum value in the form of the string
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.2.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module IonoscloudDbaasPostgres
14
- VERSION = '1.0.1'
14
+ VERSION = '1.0.2'
15
15
  end
@@ -18,7 +18,6 @@ require 'ionoscloud-dbaas-postgres/configuration'
18
18
 
19
19
  # Models
20
20
  require 'ionoscloud-dbaas-postgres/models/api_version'
21
- require 'ionoscloud-dbaas-postgres/models/backup_location'
22
21
  require 'ionoscloud-dbaas-postgres/models/backup_metadata'
23
22
  require 'ionoscloud-dbaas-postgres/models/backup_response'
24
23
  require 'ionoscloud-dbaas-postgres/models/cluster_backup'
@@ -39,7 +38,6 @@ require 'ionoscloud-dbaas-postgres/models/db_user'
39
38
  require 'ionoscloud-dbaas-postgres/models/day_of_the_week'
40
39
  require 'ionoscloud-dbaas-postgres/models/error_message'
41
40
  require 'ionoscloud-dbaas-postgres/models/error_response'
42
- require 'ionoscloud-dbaas-postgres/models/location'
43
41
  require 'ionoscloud-dbaas-postgres/models/maintenance_window'
44
42
  require 'ionoscloud-dbaas-postgres/models/metadata'
45
43
  require 'ionoscloud-dbaas-postgres/models/pagination'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ionoscloud-dbaas-postgres
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-28 00:00:00.000000000 Z
11
+ date: 2022-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -74,7 +74,6 @@ files:
74
74
  - docs/api/MetadataApi.md
75
75
  - docs/api/RestoresApi.md
76
76
  - docs/models/APIVersion.md
77
- - docs/models/BackupLocation.md
78
77
  - docs/models/BackupMetadata.md
79
78
  - docs/models/BackupResponse.md
80
79
  - docs/models/ClusterBackup.md
@@ -95,7 +94,6 @@ files:
95
94
  - docs/models/DayOfTheWeek.md
96
95
  - docs/models/ErrorMessage.md
97
96
  - docs/models/ErrorResponse.md
98
- - docs/models/Location.md
99
97
  - docs/models/MaintenanceWindow.md
100
98
  - docs/models/Metadata.md
101
99
  - docs/models/Pagination.md
@@ -121,7 +119,6 @@ files:
121
119
  - lib/ionoscloud-dbaas-postgres/api_error.rb
122
120
  - lib/ionoscloud-dbaas-postgres/configuration.rb
123
121
  - lib/ionoscloud-dbaas-postgres/models/api_version.rb
124
- - lib/ionoscloud-dbaas-postgres/models/backup_location.rb
125
122
  - lib/ionoscloud-dbaas-postgres/models/backup_metadata.rb
126
123
  - lib/ionoscloud-dbaas-postgres/models/backup_response.rb
127
124
  - lib/ionoscloud-dbaas-postgres/models/cluster_backup.rb
@@ -142,7 +139,6 @@ files:
142
139
  - lib/ionoscloud-dbaas-postgres/models/db_user.rb
143
140
  - lib/ionoscloud-dbaas-postgres/models/error_message.rb
144
141
  - lib/ionoscloud-dbaas-postgres/models/error_response.rb
145
- - lib/ionoscloud-dbaas-postgres/models/location.rb
146
142
  - lib/ionoscloud-dbaas-postgres/models/maintenance_window.rb
147
143
  - lib/ionoscloud-dbaas-postgres/models/metadata.rb
148
144
  - lib/ionoscloud-dbaas-postgres/models/pagination.rb
@@ -1,15 +0,0 @@
1
- # BackupLocation
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'ionoscloud-dbaas-postgres'
12
-
13
- instance = IonoscloudDbaasPostgres::BackupLocation.new()
14
- ```
15
-
@@ -1,15 +0,0 @@
1
- # Location
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'ionoscloud-dbaas-postgres'
12
-
13
- instance = IonoscloudDbaasPostgres::Location.new()
14
- ```
15
-
@@ -1,38 +0,0 @@
1
- =begin
2
- #IONOS DBaaS REST API
3
-
4
- #An enterprise-grade Database is provided as a Service (DBaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API. The API allows you to create additional database clusters or modify existing ones. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive.
5
-
6
- The version of the OpenAPI document: 0.1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'date'
14
- require 'time'
15
-
16
- module IonoscloudDbaasPostgres
17
- class BackupLocation
18
- DE = "de".freeze
19
- EU_SOUTH_2 = "eu-south-2".freeze
20
- EU_CENTRAL_2 = "eu-central-2".freeze
21
-
22
- # Builds the enum from string
23
- # @param [String] The enum value in the form of the string
24
- # @return [String] The enum value
25
- def self.build_from_hash(value)
26
- new.build_from_hash(value)
27
- end
28
-
29
- # Builds the enum from string
30
- # @param [String] The enum value in the form of the string
31
- # @return [String] The enum value
32
- def build_from_hash(value)
33
- constantValues = BackupLocation.constants.select { |c| BackupLocation::const_get(c) == value }
34
- raise "Invalid ENUM value #{value} for class #BackupLocation" if constantValues.empty?
35
- value
36
- end
37
- end
38
- end
@@ -1,41 +0,0 @@
1
- =begin
2
- #IONOS DBaaS REST API
3
-
4
- #An enterprise-grade Database is provided as a Service (DBaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API. The API allows you to create additional database clusters or modify existing ones. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive.
5
-
6
- The version of the OpenAPI document: 0.1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'date'
14
- require 'time'
15
-
16
- module IonoscloudDbaasPostgres
17
- class Location
18
- DE_FRA = "de/fra".freeze
19
- DE_TXL = "de/txl".freeze
20
- GB_LHR = "gb/lhr".freeze
21
- ES_VIT = "es/vit".freeze
22
- US_EWR = "us/ewr".freeze
23
- US_LAS = "us/las".freeze
24
-
25
- # Builds the enum from string
26
- # @param [String] The enum value in the form of the string
27
- # @return [String] The enum value
28
- def self.build_from_hash(value)
29
- new.build_from_hash(value)
30
- end
31
-
32
- # Builds the enum from string
33
- # @param [String] The enum value in the form of the string
34
- # @return [String] The enum value
35
- def build_from_hash(value)
36
- constantValues = Location.constants.select { |c| Location::const_get(c) == value }
37
- raise "Invalid ENUM value #{value} for class #Location" if constantValues.empty?
38
- value
39
- end
40
- end
41
- end